Forum Discussion
Altera_Forum
Honored Contributor
16 years agoExponents in Verilog
Hi, I am pretty new to Verilog and Quartus II, and was hoping someone could help me out. My output is a 12-bit signed register. I get the value of this through an equation, and as part of that ...
Altera_Forum
Honored Contributor
16 years agoWe should be clear. You are not getting an error but a warning. The warning is simply telling you that the value (2**B) has a result that is larger than 12 bits.
You can safely ignore the warning. or change it to this: {12'd2}**B; Jake