Test 52-12. replay_num test – Teledyne LeCroy Protocol PCI Express Script Automation Test Tool User Manual

Page 42

Advertising
background image

Teledyne LeCroy

PCI Express Script Automation Test Tool User Manual

38

3.2.1.4 Test 52-12. REPLAY_NUM Test


ASSERTIONS COVERED:
DLL.5.2#1.2
The intent of this test is to ensure that a DUT keeps retransmitting a transaction for which a NAK has been issued on
purpose until the number of times in its REPLAY_NUM.

Trainer Stimulus: link_52-12_REPLAY_NUM.peg

Recording Options: link_layer.rec

Verification Scripts: link_52-12_REPLAY_NUM.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 1-DWORD Memory Write to the Device Emulator.
b. Switch to the 'Disable' ACK/NAK policy.
c. Wait for the Memory Write TLP to be sent REPLAY_NUM 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 DUT transmits the Memory Write TLP for REPLAY_NUM of times with the same sequence number.
b) The DUT did not set any error bits in its Device Status register.
c) The DUT did not set any error bits in the Advanced Error Reporting registers (if implemented). This includes the
Advanced Uncorrectable Error Status register, Advanced Correctable Error Status register, and Root Error Status
register.

If the DUT meets all these criteria, the DUT passes the test.

Advertising