I have a parameter defined as: parameter TARGET = 18000000000
. The hexadecimal equivalent of this number is "4 30E2 3400".
But when I am porting this design on FPGA and checking the waveform, I can see that 820130816
is getting passed. The hexadecimal equivalent of this number is "30E2 3400".
So, it seems that only lower 32-bits are getting considered here while the upper bits are getting ignored.
Can someone tell me is there any upper limit on parameter value that we can pass (in this case, 32-bits)? Or am I doing it incorrectly?