Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

No expected warning

Hello,

I was wondering for a while why my code does not work properly. Then found out the following:

wire sampling_end = (write_record == 16'h_83_ff);

Obviously, value to the right in comparison is 16-bit, and to the left is 14-bit. Having logs thoroughly checked, did not find any mention of this issue.

Do I miss anything? Why Quartus (12.0, build 263) does not issue warning when comparing values of different width?
No RepliesBe the first to reply