Forum Discussion
Altera_Forum
Honored Contributor
8 years agonewbie question: synchronous versus combinational bus mux using case statement
Hello all- Can anyone explain why the first (synchronous) version below compiles in quartus, but the second (combinational) does not? In the 2nd case the error is: Error (10137): Verilog ...
Altera_Forum
Honored Contributor
8 years agoThis is a quirk of Verilog. Reg is just a data type in the Verilog. What it maps to in logic is down to the behaviour in the code. It is just unfortunate they chose the name "reg"