wsiwe
New Contributor
6 years agosynthesis have a wrong result when some logic in generate block
Quartus version is 16.1 lite and 18.1 lite.
As RTL, ror_size_ex is from dsp_…[17:16], when dsp_...[17:16] is 0, , it should be cx_b_dsp_i
But see the synthesis result, when dsp_...[17:16] is 0, ror_res_ex is always 0.
The synthesis result is wrong. I think it is a quartus bug, do you have some suggestion about this issue if we do not modify RTL.
Then add ror_res_ex_shiftX signal outside the generate block, and use these signal to assign ror_res_ex. The synthesis result as below and it seems correct.