Qsys System Design Tutorial

ID 683378
Date 5/04/2015
Public
Document Table of Contents

1.10.2. Run Simulation In the ModelSim-Altera Software

You can run a simulation in the ModelSim-Altera software on the testbench that you created. To complete this simulation you use the test program provided in the design files. The test begins by writing a walking ones pattern to the design under test.

This test program performs the following actions:

  • Reads a pattern file.
  • Writes the pattern to the design under test via the pattern master BFM.
  • Sets various design under test options via the CSR master BFM.
  • Starts the design under test pattern generation.
  • Collects data generated by the design under test.
  • Compares the results against the original pattern file.