Qsys System Design Tutorial

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

1.10.1.3. Generate a Testbench System

  1. In Qsys click Generate > Generate Testbench System.
  2. Under Testbench System, for Create testbench Qsys system, select Standard, BFMs for standard Qsys interfaces.
  3. Under Synthesis, select None for Create HDL design files for synthesis, and turn off Create block symbol file (.bsf).
  4. Click Generate.
  5. After Qsys generates the testbench, click Close.

Qsys generates this testbench system in the \simulation_tutorial\pattern_generator\testbench directory.

You can generate the simulation model for the Qsys testbench system at the same time by turning on Create testbench simulation model. However, the Qsys-generated testbench system's components names are assigned automatically and you may want to control the instance names to make it easier to run the test program for the BFMs. In this tutorial, you edit the Qsys testbench system before generating the simulation model.