Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
713 Views

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