Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)

No expected warning

Altera_Forum
Honored Contributor II
945 Views

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?
0 Kudos
0 Replies
Reply