Forum Discussion
Altera_Forum
Honored Contributor
15 years agowhat causes Verilog error?
I have another error when compiled with Quartus II: if (Data_Lmt == 0) begin CS1reg <= 1'b1; CS2reg <= 1'b1; Databus <= SPIdata_reg; // Error (10137): V...
Altera_Forum
Honored Contributor
15 years agoDatabus has to be inout type. The statement Databus <= SPIdata_reg; must be within that if loop and the if is within the always block...
In this case, how could I fix this error? Thanks.