SerialLite II IP Core User Guide

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

4.2. Testbench Specifications

The SerialLite II testbench has the following modules:
  • Atlantic generators
  • Device under test (DUT)
  • Sister device
  • Atlantic monitors
  • Clock and reset generator
  • Pin monitors

If your application requires a feature that is not supported by the SerialLite II testbench, you can modify the source code to add the feature. You can also modify the existing behavior to fit your application needs.

Figure 32. SerialLite II Testbench Environment (Non-Broadcast)


Note: Depending on the SerialLite II link variation you choose (for example, using the single, broadcast, or asymmetric mode), the SerialLite II testbench environment may change. However, the basic functionality is unchanged: data is sent or received on the Atlantic interface of the SerialLite II DUT IP model and received or sent on the Atlantic interface of the SerialLite II SISTER IP model.

The testbench environment (tb) generates traffic through the Atlantic generators (agen_dat_dut, agen_pri_dut) and sends it through the SerialLite II IP core— the device under test (DUT). The SerialLite II interface of the DUT is connected to the SerialLite II interface of a second SerialLite II IP core—the SISTER. Data flows through the SISTER IP core and is received and checked on the Atlantic interface of the SISTER IP core (amon_dat_sis, amon_pri_sis). A similar data path exists in the opposite direction, where the SISTER's Atlantic generators (agen_dat_sis, agen_pri_sis) send data through the SerialLite II SISTER IP core to the DUT, and data is received on the DUT's Atlantic interface (amon_dat_dut, amon_pri_dut).

Because there is no Atlantic to Atlantic verification, the received data’s integrity is ensured in the following ways:
    • Each Atlantic generator generates a certain number of packets or streaming bytes which the corresponding Atlantic monitor receives.
    • The generated data follows a pseudo-random sequence (Verilog HDL) or incrementing data sequence (VHDL) that is checked by the Atlantic monitors.
    • Each packet has an incrementing identifier (first byte in the packet) that is checked by the Atlantic monitor.
The SISTER IP core is a SerialLite II IP core with parameters derived from the DUT parameters.
    • If the DUT is symmetrical (receiver's parameters matching transmitter's parameters), the SISTER's parameters match the DUT parameters.
    • If the DUT is asymmetrical, the SISTER's parameters are different than the DUT's parameters, so that the DUT's transmitter parameters match the SISTER's receiver parameters and vice-versa.
For a broadcast DUT, there are multiple SISTER instantiations. Pin monitor utilities monitor the SerialLite II status and error pins of the DUT and SISTER(s).
Note: The Custom PHY IP core is only applicable in configurations targeted for Arria V, Cyclone V, and Stratix V devices.

Depending on the SerialLite II link variation you choose (for example, using the single, broadcast, or asymmetric mode) the SerialLite II testbench environment may change, but the basic functionality is unchanged: data is sent or received on the Atlantic interface of the SerialLite II DUT IP model and received or sent on the Atlantic interface of the SerialLite II SISTER IP model.

Figure 33. SerialLite II Testbench Environment (Single Mode–Transmitter Only, Verilog HDL Only, Non-Broadcast)This figure shows the testbench environment for a SerialLite II single mode–transmitter only, non-broadcast mode IP core. The SISTER model contains a receiver.


Note: The DUT and the SISTER IP cores may have different parameters; depending on the DUT parameters, and some components may be missing.
Figure 34. SerialLite II Testbench Environment (Single Mode–Receiver Only, Verilog HDL Only, Non-Broadcast)This figure shows the testbench environment for a SerialLite II single mode–receiver only, non-broadcast mode IP core. The SISTER model contains a transmitter.


Figure 35. SerialLite II Testbench Environment, Verilog HDL Only (Standard Broadcast Mode)This figure shows the testbench environment for a SerialLite II standard broadcast mode IP core with multiple SISTER instances that have one receive and transmit port.