Introduction to Intel® FPGA IP Cores

ID 683102
Date 10/04/2021
Public

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

Document Table of Contents

1.9.4. Scripting IP Simulation

The Intel® Quartus® Prime software supports the use of scripts to automate simulation processing in your preferred simulation environment. Use the scripting methodology that you prefer to control simulation.
Use a version-independent, top-level simulation script to control design, testbench, and IP core simulation. Because Intel® Quartus® Prime-generated simulation file names may change after IP upgrade or regeneration, your top-level simulation script must "source" the generated setup scripts, rather than using the generated setup scripts directly. Follow these steps to generate or regenerate combined simulator setup scripts:
Figure 17. Incorporating Generated Simulator Setup Scripts into a Top-Level Simulation Script


  1. Click Tools > Generate Simulator Script for IP (or run the ip-setup-simulation utility) to generate or regenerate a combined simulator setup script for all IP for each simulator.
  2. Use the templates in the generated script to source the combined script in your top-level simulation script. Each simulator's combined script file contains a rudimentary template that you adapt for integration of the setup script into a top-level simulation script.

    This technique eliminates manual update of simulation scripts if you modify or upgrade the IP variation.