Visible to Intel only — GUID: njb1675823263248
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: njb1675823263248
Ixiasoft
4.3.5. Adding the Custom Instruction HDL File
To specify the synthesis HDL files for your custom instruction, browse to the HDL logic definition files in the design example.
To specify the synthesis files, follow these steps:
- Click Next to display the Files tab.
- Under Synthesis Files, click Add Files.
- Browse to the custom instruction HDL file and click Open.
Note: The Intel® Quartus® Prime Analysis and Synthesis program checks the design for errors when you add the files. Ensure that no error message appears.
- If there are multiple HDL files, follow the steps below. Else, proceed to the next step.
- Go to the top-level HDL file.
- At the same row, click the Attributes column.
- Turn on Top-level File in the File Attributes window.
- Click OK.
- Click Analyze HDL Files to synthesize the top-level file.
- To simulate the system, you can add your simulation files under Verilog Simulation Files or VHDL Simulation Files in the in the Files tab.
Figure 19. Component Editor – Synthesis Files
Figure 20. Component Editor – Verilog Simulation Files
Figure 21. Component Editor – VHDL Simulation Files