SerialLite II IP Core User Guide

ID 683179
Date 7/13/2021
Public
Document Table of Contents

4.1. Testbench Files

The Quartus Prime software generates the testbench files when you create a SerialLite IP core variation.

The Verilog HDL demonstration testbench and associated scripts are generated automatically when you create a SerialLite II IP core variation.

The VHDL demonstration testbench and the scripts to run it are generated when you create a SerialLite II IP core variation that meets the following criteria:
  • The language is VHDL.
  • Broadcast mode is disabled.
  • The data type is packets (streaming mode is disabled).
  • Data packets are selected. (Priority packets are disabled.)
  • The number of Rx lanes and Tx lanes is the same.
  • The Rx buffer size is not equal to zero.
The SerialLite II testbench comprises the following files:
  • Verilog HDL or VHDL top-level testbench file: <variation_name> _tb.v or <variation_name> _tb.vhd
  • Verilog HDL or VHDL IP functional simulation model of the device under test (DUT): <variation_name> .vo or .vho
  • Verilog HDL or VHDL IP functional simulation model of the SISTER IP core used as a bus functional model for testing the DUT: <variation_name> _sister_slite2_top.vo or .vho
Note: All utilities are included in the testbench file: <variation_name> _tb.v or <variation_name> _tb.vhd.