Embedded Memory User Guide: Agilex™ 5 FPGAs and SoCs

ID 813901
Date 4/15/2025
Public
Document Table of Contents

4.1.3.1. Instantiating IP Cores using the Quartus® Prime Parameter Editor

Quickly configure the on-chip memory RAM and ROM FPGA IP cores in the Quartus® Prime parameter editor. Double-click any component in the IP Catalog to launch the parameter editor. The parameter editor allows you to define a custom variation of the embedded memory IP core. The parameter editor generates the IP variation synthesis and optional simulation files, and adds the .ip file representing the variation to your project automatically.

Follow these steps to locate, instantiate, and customize an embedded memory IP core in the parameter editor:

  1. Create or open a Quartus® Prime project (.qpf) to contain the instantiated IP variation.
  2. In Tools > IP Catalog, double-click the name of the IP core to customize. To locate a specific component, type some or all of the component's name in the IP Catalog search box.
    Figure 30.  On-Chip Memory IP Cores in IP Catalog


    The New IP Variant window appears.
  3. Specify a top-level name for your custom IP variation and click OK.
    Do not include spaces in IP variation names or paths.
    The parameter editor appears. The parameter editor saves the IP variation settings in a file named <your_ip> .ip.
  4. Set the parameter values in the parameter editor and view the block diagram for the component.
    Note: Refer to your IP core user guide for information about specific IP core parameters.
    1. Optionally, select preset parameter values if provided for your IP core. Presets specify initial parameter values for specific applications.
    2. Specify parameters defining the IP core functionality, port configurations, and device-specific features.
    3. Specify options for processing the IP core files in other EDA tools.
    The System Messages tab at displays any errors in the IP parameters.
  5. Click Generate HDL. The Generation window appears.
  6. Specify the output file generation options, and then click Generate. The synthesis and simulation files generate according to your specifications.
  7. To generate a simulation testbench, click Generate > Generate Testbench System. Specify testbench generation options, and then click Generate.
  8. To generate an HDL instantiation template that you can copy and paste into your text editor, click Generate > Show Instantiation Template.
  9. Click Finish. Click Yes if prompted to add files representing the IP variation to your project.
  10. After generating and instantiating your IP variation, make appropriate pin assignments to connect ports.
    Note: Some IPs generate different HDL implementations according to the IP parameters. The underlying RTL of these IPs contains a unique hash code that prevents module name collisions between different variations of an IP. This unique code remains consistent, given the same IP settings and software version during IP generation. The unique code can change if you edit the IP's parameters or upgrade the IP version. To avoid dependency on these unique codes in your simulation environment, refer to the Generating a Combined Simulator Setup Script section of the Introduction to FPGA IP Cores.