Forum Discussion
Altera_Forum
Honored Contributor
14 years agoNeither do we, without looking at your code, but that being said:
The most likely thing is your first constant is a nice power of 2 ie 262144 = 0x40000 where as the other two value you gave are not powers of 2, so my guess is that your logic allows the synthesis tool to optimize the design to just a few gates when you have a power of 2 in your constant. Pete