Intel® Cyclone® 10 GX Transceiver PHY User Guide

ID 683054
Date 4/14/2023
Public
Document Table of Contents

2.10.1.1. How to Use NativeLink to Specify a ModelSim Simulation

Complete the following steps to specify the directory path and testbench settings for your simulator:

  1. On the Tools menu, click Options, and then click EDA Tool Options.
  2. Browse to the directory for your simulator. The following table lists the directories for supported simulators:
    Simulator Directory

    Mentor Graphics ModelSim® - Intel FPGA Edition

    <drive>:\<simulator install path>\win32aloem (Windows)

    /<simulator install path>/bin (Linux)

  3. On the Assignments menu, click Settings.
  4. In the Category list, under EDA Tool Settings select Simulation.
  5. In the Tool name list, select your simulator.

    Note: ModelSim refers to ModelSim SE and PE. These simulators use the same commands as QuestaSim. ModelSim® - Intel FPGA Edition refers to ModelSim® - Intel FPGA Edition Starter Edition and ModelSim® - Intel FPGA Edition Subscription Edition.

  6. In the Output directory, browse to the directory for your output files.
  7. To map illegal HDL characters, turn on Map illegal HDL characters.
  8. To filter netlist glitches , turn on Enable glitch filtering.
  9. Complete the following steps to specify additional options for NativeLink automation:
    1. Turn on Compile test bench.
    2. Click Test Benches.
      The Test Benches dialog box appears.
    3. Click New.
    4. Under Create new test bench settings, for Test bench name type the test bench name. For Top level module in the test bench, type the top-level module name. These names should match the actual test bench module names.
    5. Select Use test bench to perform VHDL timing simulation and specify the name of your design instance under Design instance name in test bench.
    6. Under the Simulation period, turn on Run simulation until all vector stimuli are used.
    7. Under Test bench and simulation files, select your test bench file from your folder. Click Add.
    8. Click OK.