The model provides a Test Program Interface (TPI). The TPI provides the means to create tests by invoking a series of Verilog tasks. All tests should follow these steps:
- Perform conditional comparison of a unique test name.
- Wait for reset and link-up.
- Initialize the queue context for that queue.
- Transmit packet for the queue.
- Verify that the test succeeded.