Accelerating a C Function with User Logic
Hey. I've implemented an algorithm in NIOS II which is in C. The thing is that it's running too slow, as expected, because I have a function which is called many times. I want to accelerate that function but can't decide which route to take. The function has an array, a structure and some floating point variables as input, and returns a floating point. The problem is that another user function is called inside that function. In order to switch to user logic would I have to convert that function to HDL as well? Also I definitely can't use a simple custom instruction so would I have to use a custom component or is there another method which would work better in this situation? I'm using Quartus 13.0 along with the NIOS EDS. My target board is a DE1 for now.
Ammar