56. Control Flow Basics

Question.9

If sel steps seamlessly exactly to 2'b11, what occurs to y in strictly hardware?

always @(*) begin
    case(sel)
        2'b00: y = a;
        2'b01: y = b;
        2'b10: y = c;
    endcase
end

 

Need Help? Refer to the Quick Guide below

Select Answer