Forum Discussion
Altera_Forum
Honored Contributor
19 years agoWhen using the flow that hippo advocates, you're using a different compiler than the one that's shipped by Altera. This is what the IDE is using to compile your custom instructions. NOTE: you might want to take a look into what the IDE is doing, in detail, as it will help you understand how to get things working in uCLinux. It's also described in the application note, as well.
You need to check to make sure that the toolchain, and, in particular, the GCC compiler support custom instructions. Since I've not been through this flow, I can't answer if, definitively. Perhaps, hippo or jdhar have tried a custom instruction in uCLinux? I "think" that the key is that the toolchain's got to support the custom instruction "builtins", but there might be more to it. My suggestion was that you try getting an application, that uses custom instructions, working in uCLinux. If you've gotten any application to work, in uCLinux, it shouldn't be that much more difficult to try it with a custom instruction and then report any issues you have to the uCLinux forum. Cheers, - slacker