Forum Discussion
Altera_Forum
Honored Contributor
15 years agoCustom Istruction
What is a Custom instruction ? Im doing a project where I have a verilog module that reads data from the audio codec and when the audio buffer gets full, I intend to read the buffer using a Nios proc...
Altera_Forum
Honored Contributor
15 years agoIt's a method of extending the ALU of the CPU. So you can map up to 256 'new' instructions to the ALU using custom instructions. It's good for short and simple operators like MAC (multiply and accumulate) for example. If you plan on sending a large buffer through some hardware acceleration normally a DMA and a dedicated hardware accelerator is usually the better approach. To learn more check out the custom instruction information on this page: http://www.altera.com/literature/lit-nio2.jsp