4.3.1. Writing the Custom Instruction HDL File
4.3.2. Opening the Component Editor
4.3.3. Specifying the Custom Instruction Component Type
4.3.4. Displaying the Custom Instruction Block Symbol
4.3.5. Adding the Custom Instruction HDL File
4.3.6. Configuring the Custom Instruction Parameter Type
4.3.7. Setting Up the Custom Instruction Interfaces
4.3.8. Saving and Adding the Custom Instruction
4.3.9. Generating and Compiling the Processor System
1. Nios® V Processor Custom Instruction Overview
Custom instructions allow you to customize the Nios® V processor to meet the needs of a particular application. You can accelerate time-critical software algorithms by converting them into custom hardware logic blocks. Custom instructions provide an easy way to experiment with hardware-software tradeoffs at any point in the design process because you can easily alter the design of the FPGA-based Nios® V processor.
The custom instruction logic connects to the Nios® V processor arithmetic logic unit (ALU) as shown in the following figure. The feature is available in the Nios® V/g processor variant only.
Figure 1. Custom Instruction Logic Connections to the Nios® V Processor ALU
The Nios® V processor custom instruction does not support the following operations:
- Branch operations
- Read or write Control and Status Registers (CSRs)
- Modify processor cache