Altera_Forum
Honored Contributor
11 years agoFailed to map instruction style information
I'm using Quartus 13.1.0 (only supported version of picocomputing m506 bsp)
I have problem with compilation of kernels (source code and error log are attached). The only difference between kernels is: worked version: W = ((input) << 24) | (((input) & 0xff00) << 8) | ((input) >> 24) | (((input) << 8) & 0xff00);
non worled version: w = ((input) << 24) | (((input) & 0xff00) << 8) | ((input) >> 24) | (((input) >> 8) & 0xff00); As you can see I changed << to >>. This is minimized version of the kernel to simplify the problem. Operation performed is byteswap (little endian to big endian).