14.4.1 Simulation

The following steps describe how to simulate the core using the testbench:

  1. Open the Libero SoC application, click Catalog tab, expand Solutions-MotorControl, double click Sinc3 Filter, and then click OK. The documentation associated with the IP are listed under Documentation.
    Important: If you do not see the Catalog tab, navigate to View > Windows menu and click Catalog to make it visible.
    Figure 14-4. Sinc3 Filter IP Core in Libero SoC Catalog
  2. On the Stimulus Hierarchy tab, select the testbench (sin3_filter_tb.v), right click and then click Simulate Pre-Synth Design > Open Interactively.
    Important: If you do not see the Stimulus Hierarchy tab, navigate to View > Windows menu and click Stimulus Hierarchy to make it visible.
    Figure 14-5. Simulating Pre-Synthesis Design

    ModelSim opens with the testbench file, as shown in the following figure.

    Figure 14-6. ModelSim Simulation Window
Important: If the simulation is interrupted due to the runtime limit specified in the .do file, use the run -all command to complete the simulation.