Visible to Intel only — GUID: icb1675823137434
Ixiasoft
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
Visible to Intel only — GUID: icb1675823137434
Ixiasoft
4.3.1. Writing the Custom Instruction HDL File
Instantiate the Custom Instruction Manager, then begin writing the custom instruction HDL file. You can start by using the following example:
module custom_instruction(
input clk,
input reset,
input [31:0] data0,
input [31:0] data1,
input [31:0] ctrl,
input [31:0] alu_result,
input enable,
output done,
output [31:0] result
);
//begin the custom instruction here.
endmodule