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?
Link Copied
For more complete information about compiler optimizations, see our Optimization Notice.