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.3. Implementing Custom Instruction Software
The Nios® V processor custom instruction software interface outlines the custom instruction details for the software developer.
For each custom instruction, the Board Support Package Editor generates a macro in the system header file, system.h and an accompanying GDB debug mnemonics file, custom_instruction_debug.xml. You can use the macro directly in your C or C++ application code. You do not need to program the assembly code to access the custom instructions. A software can also invoke custom instructions in the assembly language. The GDB debug mnemonics file can be used with the Ashling* RiscFree* IDE for Intel® FPGAs to provide debug mnemonics for user defined custom instruction encodings.
Related Information