The testbenches for WR Streamers include
- Demo testbenches prepared for the White Rabbit PTP Core Hands-on
Training and described in details in the course
materials
- streamers-only_basic-transfer - it instantiates the Tx and RX Streamer modules and illustrates the very basic transfer of a words,
- streamers-only_multiword-transfer - it instantiates the Tx and RX Streamer modules and illustrates transfer of blocks that include a varied number of words,
-
streamers-on-spec_trigger-distribution - it instantiates
two top-level SPEC entities (see note below) and illustrates
demo application of WR Streamers that allows to repeat an input
pulse with a fixed-latency, i.e.
- an input signal is timestamped with WR Time
- the timestamp is sent in a single WR Streamer word
- the timestamp is received and fixed delay added
- output signal is produced with precise delay.
- Verification testbenches
- streamers_multi_test prepared for Continuous Integration (CI) tests
- streamers-only-fixed-latency - it instantiates the Tx and RX Streamer modules and performs very basic transfer of a data with fixed-latency in the ultra-fixed-latency configuration, the latency is verified.
The WR Streamers are located in wr-cores/testbench/wr_streamers
folder.
wr-cores/testbench/wr_streamers/
|-- streamers-only_basic-transfer
|-- streamers-only_multiword-transfer
|-- streamers-on-spec_trigger-distribution
|-- streamers-only-fixed-latency
|-- streamers_multi_test
|-- main.sv
|-- Manifest.py
|-- run_ci.do
|-- run.do
`-- wave.do
`-- Makefile
Note for streamers-on-spec_trigger-distribution
Although the testbench streamers-on-spec_trigger-distribution
provides an excellent example, it is not a good top-level reference
design. This design was created before major updates to the WRPC and WR
Streamers were introduced. Thus, it does not use WRPC's Board Support
Package and WR Streamer's new top entity (xwr_streamers
) with new
features. If you are looking for a reference top-level design with WR
Streamers, see
BTrain-over-WhiteRabbit.
Contacts
- Maciej Lipinski - CERN
12 May 2020