--- Quote Start ---
All of these statements are very confusing.
You are indicating you are using lots of features of Quartus, eg., SOPC components and custom NIOS II instructions, yet none of your explanations make sense. I fear you do not understand any of them.
Why don't you start out by explaining exactly what you are supposed to implement, as well as the constraints on what type of logic you are allowed to do, eg.,
Project:
Determine the five greatest values from 16 input values
Implementation:
a) In pure HDL, with the result valid in one clock
b) In pure HDL, with the result valid in multiple clocks
c) Using a NIOS II processor and software, with data in FPGA RAM
d) Using a NIOS II processor using a custom instruction
If you get to choose the implementation, then start with the simplest, i.e., the software solution (c). Start by writing the code on your desktop computer. Then work on other versions of the code.
Cheers,
Dave
--- Quote End ---
I'am so sorry, for my explanation.
Yes Dave, i confuse between custom instruction and SOPC Component. At first i belive they were the same, if you can that you give me the difference between it. When can i use custon instruction and when i use SOPC component.
I will try to explain what i suppose to implement. I have PRC algorithm that contain 16 bloc of SBC( mentionned on the attached file). It mean that i need 16 SBC bloc work en parallel.
1- the result of this algorithm it valid on two clock cycle.
2- For me i search if i can implement it "Using a NIOS II processor using a custom instruction", if it is possible ok, else i implement it '"Using a NIOS II processor and software, with data in FPGA RAM".
I use this solution because i implement it using c, but it give a big execution time, about 18 microseond. Om my project i have a real time contraint, and my project should be execute on 0.5 microsecond.
I hope that is clear.
Thank you very much.