choonlle
Full Member level 2
Case A:
always @(ctrl or dataIn0 or dataIn1)
dataOut <= (ctrl) ? dataIn1 : dataIn0;
Case B:
always @(ctrl or dataIn0 or dataIn1)
dataOut = (ctrl) ? dataIn1 : dataIn0;
Which case is correct? WHY?
always @(ctrl or dataIn0 or dataIn1)
dataOut <= (ctrl) ? dataIn1 : dataIn0;
Case B:
always @(ctrl or dataIn0 or dataIn1)
dataOut = (ctrl) ? dataIn1 : dataIn0;
Which case is correct? WHY?