Forum Discussion
Altera_Forum
Honored Contributor
16 years agoAdd instructions in the processor NIOS
Hi everybody!!
I wonder if anyone knows how to put instructions in the processor NIOS...These instructions are created by me. I tried to follow the manual but is not working. I also tried to create a new component to be added to the tab of the custom instructions NIOS II processor but my component did not appear on this tab. I'm from Brazil, so my English is not very good, if not understand anything I speak I try to explain again. Thanks you!3 Replies
- Altera_Forum
Honored Contributor
do you mean custom instructions ?
open your project with the sopc builder have a look at menue -> tools -> options change to the IP search path make shure there is a path listed that contains your custom ip custom ips will not be visible where normals ips are in your component library on the left side instead double clic on your nios core go to last tab Custom Instructions your custom ip will be available on the left side, highlight it and add it now you should see it on the right side with its opcode extension close the nios core window regenerate the sopc recompile your fpga now your design has the custom ip functionality if you use the ide, just recompile your application at it should now know your custom ip - Altera_Forum
Honored Contributor
mki, thanks for your reply.
The problem is not the vhdl code. It is the time to put the code as instruction NIOS processor. How do I put this code vhdl I did as the instruction NIOS? I only know I have to do that in SOPC, but do not know how... Thanks you! - Altera_Forum
Honored Contributor
It´s hard to see what´s wrong. Now we can only guess. Can you post your VHDL/Verilog Code. That would help. The first thing I thought what could be wrong was there is something wrong with your Avalon bus.