XAUI v12.3 Product Guide
118
PG053 April 6, 2016
Chapter 9:
Test Bench
The demonstration test bench is defined in the
demo_tb.v/vhd
file.
The test bench, shown in
consists of:
• Clock generators
• A TX stimulus block
• A RX stimulus block
• A TX Monitor block, which checks that transmission was made successfully
• A RX Monitor block, which checks that reception was made successfully
• A MDIO monitor to check when the core is ready to send/receive frames
The demonstration test bench performs the following tasks:
• Clocks are generated.
• An initial reset is applied.
• The MDIO interface is addressed to check when the XAUI core is ready to send/receive
frames.
• When the core is ready, the TX/RX stimulus blocks send four frames.
• The RX/TX Monitor blocks check the resulting frames against the original ones.
• A watchdog timer is set to stop the simulation with a failure after 200 µs for GTX and
GTH (20G XAUI) or 3 ms for GTP and GTH (10G XAUI) transceivers and 800 µs for
UltraScale™ devices.