Visible to Intel only — GUID: lpn1468820291446
Ixiasoft
1.2.6.1. Testbench
The simulation design-under-test (DUT) is the generated design example which includes a synthesizable pattern generator and checker. The figures below show the testbench block diagram for simplex and duplex options.
The simulation flow replaces the JTAG to Avalon® master bridge module in the Platform Designer system of the System Console Control design example with the Avalon® memory-mapped master bus functional model (BFM). This BFM enables a testbench to send Avalon® memory-mapped read/write commands to the design example registers to mimic the functionality of System Console.
The testbench provided in the simulation flow (/testbench/models/tb_top.sv) executes the following steps:
- Reset DUT.
- Initialize BFM.
- Execute Avalon® memory-mapped commands to initialize the DUT in the following mode:
- Internal serial loopback mode (for duplex option only)
- Pattern generator/checker set to PRBS pattern
- Wait for DUT to initialize to user mode.
- Report JESD204B link status.
When simulation ends, the following messages are shown at end.
Message | Description |
---|---|
Pattern Checker(s): Data error(s) found! | Pattern mismatch errors found on the pattern checker |
Pattern Checker(s): OK! | No errors found on the pattern checker |
Pattern Checker(s): No valid data found! | No valid data received by pattern checker |
JESD204B Tx Core(s): Tx link error(s) found! | Link errors reported by JESD204B IP TX |
JESD204B Tx Core(s): OK! | No link errors reported by JESD204B IP TX |
JESD204B Rx Core(s): Rx link error(s) found! | Link errors reported by JESD204B IP RX |
JESD204B Rx Core(s): OK! | No link errors reported by JESD204B IP RX |
TESTBENCH_PASSED: SIM PASSED! | Overall simulation passed |
TESTBENCH_FAILED: SIM FAILED! | Overall simulation failed |