Test 52-100. replaytlporder – Teledyne LeCroy Protocol PCI Express Script Automation Test Tool User Manual
Page 44

Teledyne LeCroy
PCI Express Script Automation Test Tool User Manual
40
3.2.1.6 Test 52-100. ReplayTLPOrder
ASSERTIONS COVERED: DLL.5.2#10
The intent of this test is to verify that the oldest unacknowledged TLP is retransmitted first in replay, followed by
the other unacknowledged TLPs in the same order that they were transmitted.
Trainer Stimulus: link_52-100_ReplayTLPOrder.peg
Recording Options: link_layer.rec
Verification Scripts: link_52-100_ReplayTLPOrder.pevs
Test Algorithm:
1. Issue command to the Driver to clear all error status bits for the Root or Switch port to which the Device
Emulator is attached.
2. Main test stage. Do the following:
a. Issue command to the Driver to perform a series of six 1-DWORD Memory Writes to the Device
Emulator with zero delay.
b. Switch to the 'Disable' ACK/NAK policy.
c. Wait for the Memory Write TLP to be sent six times.
d. Switch back to the 'Automatic' ACK/NAK policy.
3. Issue command to the Driver to reflect the current values of the Error Reporting Registers for the port to
which the Device Emulator is attached (using Configuration Writes).
Pass/Fail Criteria:
Test should successfully progress though all test stages.
All test stages should be executed without protocol violations.
Verify that:
a) The retransmitted Memory Write TLPs are in the original order sent.
b) The DUT set the ERR_CORR bit in its Device Status register.
c) The DUT did not set any error bits in the Advanced Uncorrectable Error Status register (if implemented).
d) The DUT set the “Replay Timer Timeout Status” bit in the Advanced Error Reporting Correctable Error Status
register (if implemented).
e) The DUT set the “Correctable Error Received” bit in the Root Error Status register (if implemented and
applicable).
If the DUT meets all these criteria, the DUT passes the test.