Intel Agilex® 7 General-Purpose I/O User Guide: M-Series

ID 772138
Date 9/11/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

6.2. Generating the GPIO Intel® FPGA IP

Using the GPIO Intel® FPGA IP parameter editor, you can customize the IP settings and generate the IP variant files, simulation testbench, and HDL instantiation template.
Before you begin, create or open an Intel® Quartus® Prime project.
Figure 28.  GPIO Intel® FPGA IP Parameter Editor


  1. In the IP Catalog window, double-click GPIO Intel® FPGA IP .
    The Parameter Editor window appears.
  2. Specify a top-level name for your new IP variant and click Create.
    Do not include space and special characters in the name and file path.
  3. Set the values in the Parameters tab.
    The System Messages tab displays errors and warning for the parameters settings.
  4. From the Parameter Editor menu, select File > Save.
    The parameter editor saves the IP variant settings in the <your_ip> .ip file.
  5. To generate the IP variant HDL files:
    1. Click Generate HDL.
      The Generation window appears.
    2. Specify the output file generation options and click Generate.
      The parameter editor generates the synthesis and simulation files as you specified, and automatically adds the .ip file of the variant to your project.
    3. Click Close.
  6. To generate a simulation testbench:
    1. From the Parameter Editor menu, select Generate > Generate Testbench System.
    2. Specify the testbench generation options and click Generate.
    3. Click Close.
  7. To generate an HDL instantiation template that you can copy and paste into your text editor:
    1. From the Parameter Editor menu, select Generate > Show Instantiation Template.
    2. Select the HDL Language.
      The code template appears in the Example HDL box.
    3. Click Copy and then click Close.
After generating and instantiating your IP variant, assign appropriate pins to connect the ports.