Forum Discussion

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

Does the alt_u16 type support 0xFFFF or not?

Please consider the following code: ... alt_u16 i; .... for(i=0x0000; i<=0xFFFF; i++) ... I am getting the following warning during my compilation: comparison is always true due...