Test 52-170. wrongseqnuminackdllp – Teledyne LeCroy Protocol PCI Express Script Automation Test Tool User Manual

Page 47

Advertising
background image

Teledyne LeCroy

PCI Express Script Automation Test Tool User Manual

43

3.2.1.9 Test 52-170. WrongSeqNumInAckDLLP


ASSERTIONS COVERED: DLL.5.2#17
The intent of this test is to verify that the DUT drops any ACK DLLP that does not have a sequence number
corresponding to an unacknowledged TLP and logs a BAD DLLP error associated with the port.

Trainer Stimulus: link_52-170_WrongSeqNumInAckDLLP.peg

Recording Options: link_layer.rec

Verification Scripts: link_52-170_WrongSeqNumInAckDLLP.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.
d. Send an Ack DLLP with wrong sequence number.
e. Switch back to the 'Automatic' ACK/NAK policy.
f.

Acknowledge the retransmitted TLP.

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 set the ERR_CORR and ERR_FATAL bits in its Device Status register.
b) The DUT set the “Data Link Error” bit in the Advanced Error Reporting 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”, “Uncorrectable Error Received”, “Fatal Error Received”, and
“First Uncorrectable Fatal” bits in the Root Error Status register (if implemented and applicable).

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

Advertising