Forum Discussion
Altera_Forum
Honored Contributor
11 years agoIf the constant value is 2^n, then the result is simply a bitshift.
Similarly, if it has just a couple of bits set, it may be easier just to create an adder.If the constant value is 2^n, then the result is simply a bitshift.
Similarly, if it has just a couple of bits set, it may be easier just to create an adder.