33. Data Types

Question.2

What is the result of using dual assign statements on a uwire?

module io_mux(
    input a, b, sel,
    output out
);
    uwire out;
    assign out = sel ? a : 1'bz;
    assign out = ~sel ? b : 1'bz;
endmodule

 

Need Help? Refer to the Quick Guide below

Select Answer