Forum Discussion

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

Failed 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).

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I reproduced the issue with 13.1 I tried 13.1 update 4 and an internal build of the next release and both compile that kernel to completion. 13.1 update 4 (13.1.4) is available for download if you want to install it to work around the issue.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Pico M506 bsp doesn't support 13.1 update 4, so I think we must request updated bsp (if it exist) from Pico. Thank you