Teledyne LeCroy Protocol PCI Express Script Automation Test Tool User Manual
Page 36

Teledyne LeCroy
PCI Express Script Automation Test Tool User Manual
32
3.1.2.4.1 Test 1-1. TXN_BFT_RequestCompletion
ASSERTIONS COVERED: TXN.2.7#9, TXN.2.21#15, TXN.2.21#19, TXN.3.1#1, TXN.3.1#2
Verify Basic Request and Completion handling of slotted Endpoint devices.
Trainer Stimulus: trans_1-1_TXN_BFT_RequestCompletion.peg
Recording Options: link_layer.rec
Verification Scripts: trans_1-1_TXN_BFT_RequestCompletion.pevs
Test Algorithm:
1. Bring the link up.
2. Write 0x0000000F to Device Control Register, to enable Error Reporting for all error types.
3. Write 0xFFFFFFFF to Advanced Uncorrectable Error Status Register, to clear all prior error bits.
4. Write 0xFFFFFFFF to Advanced Correctable Error Status Register, to clear all prior error bits.
5. Main test stage. Do the following:
a. Wait for the DUT to initiate a Memory Read transaction (using MemRd32 TLP). Time out in four
seconds.
b. Send the Memory Read Completion with Unsupported Request status.
c. Issue a Vendor_Defined_Type0 request using Message TLP with vendor ID set to
LeCroy vendor ID and request code of 0x7F.
6. Read Device Status Register.
7. Read Advanced Uncorrectable Error Status Register.
Pass/Fail Criteria:
Test should successfully progress though all test stages.
All test stages should be executed without protocol violations.
Verify that:
a) The Completer ID field in step 2 contains the Bus and Device numbers supplied with the Configuration Write
Request.
b) The Bus and Device Numbers supplied with the Configuration Write Request to the DUT (step 2) are present in
Requester ID of the Request from the DUT in step 5a. (If the DUT did not send the request, this assertion is not
checked.)
c) The following error conditions are raised and corresponding bits are set in the Device Status Register and
Advanced Uncorrectable Error Status Register (if implemented):
• Unsupported Request condition (for the Vendor request in step 5c).
• Unexpected Completion condition (only in case the DUT did not send the request in step 5a).