A
Allen Sun
Guest
Question about case statement, for example:
case (sel)
1'b0: dataout = a;
1'b1: dataout = b;
endcase
Is this fully defined case statement?
How about sel = 'x' or 'z'? Because I know case statement can
distinguish '0', '1', 'x', 'z'.
Thanks.
case (sel)
1'b0: dataout = a;
1'b1: dataout = b;
endcase
Is this fully defined case statement?
How about sel = 'x' or 'z'? Because I know case statement can
distinguish '0', '1', 'x', 'z'.
Thanks.