QPHY-PCIe3-Tx-Rx Operator`s Manual

QPHY-PCIE3-TxRx
Operator’s Manual
Revision B – March, 2014
Relating to the following release versions:
Software Version Rev. 7.3.x.x
Script
PCI_Express_Test_Spec_Electrical_Layer_3_0_rev_0_9
Style Sheet Rev. 1.2
700 Chestnut Ridge Road
Chestnut Ridge, NY, 10977-6499
Tel: (845) 425-2000, Fax: (845) 578 5985
teledynelecroy.com
© 2014 Teledyne LeCroy, Inc. All rights reserved.
Teledyne LeCroy and other product or brand names are trademarks or requested trademarks of their
respective holders. Information in this publication supersedes all earlier versions. Specifications are
subject to change without notice.
923662 Rev B
March, 2014
QPHY-PCIE3-TxRx Operator’s Manual
Table of Contents
Introduction ............................................................................................................................... 1
About QualiPHY ............................................................................................................................................ 1
About QPHY-PCIE3-TxRx ............................................................................................................................. 1
Required Equipment ..................................................................................................................................... 1
Required Host Computer System ................................................................................................................. 2
Installation and Setup ............................................................................................................... 3
Install Base Application ................................................................................................................................. 3
Install SigTest.exe ......................................................................................................................................... 3
Activate Components .................................................................................................................................... 3
Set Up Dual Monitor Display ......................................................................................................................... 4
Set Up Remote Control ................................................................................................................................. 4
Using QualiPHY......................................................................................................................... 5
Accessing the Software ................................................................................................................................. 5
General Setup ............................................................................................................................................... 6
Connection tab ....................................................................................................................................... 6
Session Info tab ..................................................................................................................................... 6
Report tab .............................................................................................................................................. 6
Advanced tab ......................................................................................................................................... 6
About tab ................................................................................................................................................ 6
QualiPHY Test Process ................................................................................................................................. 7
Set Up Test Session .............................................................................................................................. 7
Run Tests ............................................................................................................................................... 7
Run Reports ........................................................................................................................................... 8
Customizing QualiPHY.................................................................................................................................. 9
Copy Configuration ................................................................................................................................ 9
Select Tests ........................................................................................................................................... 9
Edit Variables ....................................................................................................................................... 10
Edit Test Limits .................................................................................................................................... 11
X-Replay Mode ........................................................................................................................................... 12
QPHY-PCIE3-TxRx Testing ..................................................................................................... 13
Test Preparation .......................................................................................................................................... 13
Required Test Modes .......................................................................................................................... 13
Physical Setup ..................................................................................................................................... 13
QPHY-PCIE3-TxRx Test Configurations ..................................................................................................... 13
Demo Add-in Card Tx .......................................................................................................................... 13
Add-in Card Rx .................................................................................................................................... 14
Add-in Card Tx ..................................................................................................................................... 16
System Rx ............................................................................................................................................ 18
System Tx ............................................................................................................................................ 19
QPHY-PCIE3-TxRx Variables ..................................................................................................................... 20
Specific to “TX CEM test” Group ......................................................................................................... 21
Specific to “Rx Calibration and test” Group ......................................................................................... 21
Specific to “Rx CEM Test” Group ........................................................................................................ 21
QPHY-PCIE3-TxRx Limit Sets .................................................................................................................... 22
Manual Deskewing Procedures.............................................................................................. 23
Cable Deskewing Using the Fast Edge Output........................................................................................... 23
Cable Deskewing Without Using the Fast Edge Output ............................................................................. 26
Error Messages ....................................................................................................................... 27
923662 Rev B
i
Table of Figures
Figure 1 - QualiPHY framework dialog and Standard selection menu. ................................................. 5
Figure 2 - The Test Report Summary and Details pages. ........................................................................ 8
Figure 3 - Variable Setup tab. ................................................................................................................... 10
Figure 4 - Limits Manager dialog. ............................................................................................................ 11
Figure 5 – X-Replay Mode window. ......................................................................................................... 12
Figure 6 – Step 1 setup for Preset, Amplitude, RJ and SJ Calibration. ............................................... 14
Figure 7 – Step 1 setup for Differential Mode Noise, Eye height and Eye Width Calibration. ........... 15
Figure 8 – Step 2 setup for actual receiver tolerance test. ................................................................... 15
Figure 9 – Add-In Card Tx connection diagram showing oscilloscope (green) and Rx Ln0 (blue)
physical connections. ....................................................................................................................... 16
Figure 10 – Add-In Card Tx connection diagram. .................................................................................. 17
Figure 11 – Example of Signal Test dialog and Signal Test results. .................................................... 18
Figure 12 - The Skew parameter right side dialog, Skew clock 2 tab, showing default setup. ......... 27
About This Manual
This manual assumes that you are familiar with using an oscilloscopein particular the Teledyne
LeCroy oscilloscope that will be used with QualiPHYand that you have purchased the QPHYPCIE3-TxRx software option. Some of the images in this manual may show QualiPHY products
other than QPHY-PCIE3-TxRx, or were captured using different model oscilloscopes, as they
are meant to illustrate general concepts only. Rest assured that while the user interface may
look different from yours, the functionality is identical.
ii
923662 Rev B
QPHY-PCIE3-TxRx Operator’s Manual
Introduction
About QualiPHY
QualiPHY is highly automated compliance test software meant to help you develop and validate
the PHY (physical-electrical) layer of a device, in accordance with the official documents
published by the applicable standards organizations and special interest groups (SIGs). You can
additionally set custom variables and limits to test compliance to internal standards.
QualiPHY is composed of a “framework” application that enables the configuration and control
of separate tests for each standard through a common user interface. Features include:

Multiple Data Source Capability: Connect to your X-Stream oscilloscope via LAN or
other interfaces.

User-Defined Test Limits: Tighten limits to ensure devices are well within the passing
region, even if subsequently measured with different equipment.

Flexible Test Results Reporting that includes XML Test Record Generation.
Understand a device performance distribution, or obtain process related information from
the devices under test.
About QPHY-PCIE3-TxRx
QPHY-PCIE3-TxRx is an automated test package performing all the Tx and Rx receiver tests in
accordance with PCI Express Card Electromechanical Specification, Rev. 3.0.
The software can be run on any Teledyne LeCroy real-time oscilloscope with at least 13 GHz
bandwidth and a sample rate of at least 40 GS/s.
Required Equipment

Real-time Teledyne LeCroy oscilloscope with the QualiPHY software, an activated
QPHY-PCIE3-TxRx component, and SigTest.exe installed

PeRT3 Phoenix (for Rx tests)

DC blocks

1 pair standard SMA-SMP cable and 3 pair short SMA-SMP cables

1 pair standard SMA-SMA cable and 2 pair high-quality SMA-SMA cables

PCIE 3.0 test fixtures , CBB3 and CLB3

SMP extractor tool

Torque wrench

Power supply
For the most complete and up-to-date list, see the PCI SIG website:
www.pcisig.com/specifications/pciexpress/compliance
923662 Rev B
1
Required Host Computer System
Usually, the oscilloscope is the host computer for the QualiPHY software, and all models that
meet the acquisition requirements will also meet the host system requirements. However, if you
wish to run the QualiPHY software from a remote computer, these minimum requirements apply:

Operating System:
o
Windows 2000 Professional with service pack 4
o
Windows XP Professional with service pack 2
o
Windows VISTA with service pack 1
o
Windows 7 Professional

1 GHz or faster processor

1 GB (32-bit) or 2 GB (64-bit) of RAM

Ethernet (LAN)network capability

Hard Drive:
o
At least 100 MB free to install the framework application
o
Up to 1GB per standard installed to store the log database (each database grows
from a few MB to a maximum of 1 GB)
See Set Up Remote Control for configuration instructions.
2
923662 Rev B
QPHY-PCIE3-TxRx Operator’s Manual
Installation and Setup
QualiPHY is a Windows-based application that can be configured with one or more serial data
compliance components. Each compliance component is purchased as a software option.
Install Base Application
Download the latest version of the QualiPHY software from:
teledynelecroy.com/support/softwaredownload under Oscilloscope Downloads > Software Utilities
If the oscilloscope is not connected to the Internet, copy the installer onto a USB memory stick
then transfer it to the oscilloscope desktop or a folder on a D:\ drive to execute it.
Run QualiPHYInstaller.exe and follow the installer prompts. Choose all the components you
plan to activate. If you omit any components now, you will need to update the installation to
activate them later.
By default, the oscilloscope appears as local host when QualiPHY is executed on the
oscilloscope. Follow the steps under Add Connection to QualiPHY to check that the IP address
is 127.0.0.1.
Install SigTest.exe
SigTest.exe ver. 3.2.0, which is the current version required by the PCI SIG, must be installed on
the oscilloscope for the PCIE3-TxRx script to execute properly. It is available for download from
the PCI SIG website.
Activate Components
The serial data compliance components are factory installed as part of the main application in
your oscilloscope and are individually activated through the use of an alphanumeric code
uniquely matched to the oscilloscope’s serial number. This option key code is what is delivered
when purchasing a software option.
To activate a component on the oscilloscope:
1. From the menu bar, choose Utilities > Utilities Setup.
2. On the Options tab, click Add Key.
3. Use the Virtual Keyboard to Enter Option Key, then click OK.
If activation is successful, the key code now appears in the list of Installed Option Keys.
4. Restart the oscilloscope application by choosing File > Exit, then double-clicking the
Start DSO icon on the desktop.
923662 Rev B
3
Set Up Dual Monitor Display
Teledyne LeCroy recommends running QualiPHY on an oscilloscope equipped with Dual
Monitor Display capability. This allows the waveform and measurements to be shown on the
oscilloscope LCD display while the QualiPHY application and test results are displayed on a
second monitor.
See the oscilloscope Operator’s Manual or Getting Started Manual for instructions on setting up
dual monitor display.
Set Up Remote Control
QualiPHY software can be executed from a remote host computer, controlling the oscilloscope
through a LAN Connection. To set up remote control:

The oscilloscope must be connected to a LAN and assigned an IP address (fixed or
dynamic).

The host computer must be on the same LAN as the oscilloscope.
Note: LXI, GPIB, LSIB, and USBTMC remote control is available for some model instruments.
Follow the same procedure, selecting the appropriate connection type on the oscilloscope and
in QualiPHY.
Configure Oscilloscope for Remote Control
1. From the menu bar, choose Utilities  Utilities Setup...
2. Open the Remote tab and set Remote Control to TCP/IP.
3. Verify that the oscilloscope shows an IP address.
Add Connection to QualiPHY
1. On the host PC, download and run QualiPHYInstaller.exe.
2. Start QualiPHY and click the General Setup button.
3. On the Connection tab, click Scope Selector.
4. Click Add and choose the connection type. Enter the oscilloscope IP address from Step
3 above. Click OK.
5. When the oscilloscope is properly detected, it appears on the Scope Selector dialog.
Select the connection, and click OK.
QualiPHY is now ready to control the oscilloscope.
Select Connection
Multiple oscilloscopes may be accessible to a single remote host. In that case, go to General
Setup and use the Scope Selector at the start of the session to choose the correct connection.
QualiPHY tests the oscilloscope connection when starting a test. The system warns you if there
is a connection problem.
4
923662 Rev B
QPHY-PCIE3-TxRx Operator’s Manual
Using QualiPHY
This section provides an overview of the QualiPHY user interface and general procedures,
using examples from the QPHY-BroadR-Reach option. For detailed information about the
QPHY-PCIE3-TxRx software option, see QPHY-PCIE3-TxRx Testing.
Accessing the Software
Once QualiPHY is installed and activated, it can be accessed from the oscilloscope menu bar by
choosing Analysis > QualiPHY, or by double-clicking the QualiPHY desktop icon on a remote
computer.
The QualiPHY framework dialog illustrates the overall software flow, from general set up through
running individual compliance tests. Work from left to right, making all desired settings on each
sub-dialog.
Figure 1 - QualiPHY framework dialog and Standard selection menu.
The sub-dialogs are organized into tabs each containing configuration controls related to that
part of the process. These are described in more detail in the following sections.
If Pause on Failure is checked, QauliPHY prompts to retry a measure whenever a test fails.
Report Generator launches the manual report generator dialog.
The Exit button at the bottom of the framework dialog closes the QualiPHY application.
923662 Rev B
5
General Setup
The first sub-dialog contains general system settings. These remain in effect for each session,
regardless of Standard, until changed.
Connection tab
Shows IP Address of the oscilloscope (local host 127.0.0.1 if QualiPHY is run from the
oscilloscope). The Scope Selector allows you to choose the oscilloscope used for testing when
several are connected to the QualiPHY installation. See Set Up Remote Control for details.
Session Info tab
Optional information about the test session that may be added to reports, such as: Operator
Name, Device Under Test (DUT) name, Temperature (in C) of the test location, and any
additional Comments. There is also an option to Append Results or Replace Results when
continuing a previous session.
To optimize report generation, enter at least a DUT name at the beginning of each session.
Report tab
Settings related to report generation. Choose:


Reporting behavior of:
o
“Ask to generate a report after tests,” where you’ll be prompted to create a new
file for each set of test results.
o
“Never generate a report after tests,” where you’ll need to manually execute the
Report Generator to create a report.
o
“Always generate a report after tests,” to autogenerate a report of the latest test
results.
Default report output format of XML, HTML, or PDF.
Note: Unlike some QualiPHY components, PCIE-TxRx does not overwrite a generic file
when autogenerating reports, but creates a new report file each session named
“LeCroyReport_<DUT name>” (or if DUT is empty, “LeCroyReport_DUT”). You can omit
entering an Output file name.
Optionally, check Allow style sheet selection in Report Generator to enable the use of a
custom .xslt when generating reports (XML and HTML output only). The path to the .xslt is
entered on the Report Generator dialog.
Report Generator launches the Report Generator dialog, which contains the same settings as
the Report tab, only applied to individual reports.
Advanced tab
This tab launches the X-Replay Mode dialog. See X-Replay Mode.
About tab
Information about your QualiPHY installation.
6
923662 Rev B
QPHY-PCIE3-TxRx Operator’s Manual
QualiPHY Test Process
Once general system settings are in place, these are the steps for running test sessions.
Set Up Test Session
1. Connect the oscilloscope to the DUT. See QPHY-PCIE3-TxRx Testing Physical Setup.
2. Access the QualiPHY software to display the framework dialog.
3. If running QualiPHY remotely, click General Setup and open the Scope Selector to
select the correct oscilloscope connection.
4. If you have more than one component activated, click Standard and select the desired
standard to test against. Otherwise, your one activated component will appear as the
default selection.
Note: Although all the QualiPHY components appear on this dialog, only those selected
when installing QualiPHY are enabled for selection.
5. Click the Configuration button and select the test configuration to run. These preloaded configurations are set up to run all the tests required for compliance and provide
a quick, easy way to begin compliance testing. See QPHY-PCIE3-TxRx Test
Configurations for a description of your configurations.
You can also create custom configurations for internal compliance tests by copying and
modifying the pre-loaded configurations. See Customizing QualiPHY for details.
6. Close the Edit/View Configuration dialog to return to the framework dialog.
Run Tests
1. On the framework dialog, click Start to begin testing.
When tests are in progress, this button changes to Stop. Click it at any time to stop the
test in process. You’ll be able to resume from the point of termination or from the
beginning of the test.
2. Follow the pop-up dialog prompts. QualiPHY guides you step-by-step through each of
the tests described in the standard specification, including diagrams of the connection to
the DUT for each required test mode.
3. When all tests are successfully completed, both progress bars on the framework dialog
are completely green and the message “All tests completed successfully” appears. If
problems are encountered, you’ll be offered options to:

Retry the test from the latest established point defined in the script

Ignore and Continue with the next test

Abort Session
923662 Rev B
7
Run Reports
The QualiPHY software automates report generation. On the framework dialog, go to General
Setup > Report to pre-configure reporting behavior. You can also manually launch the Report
Generator from the framework dialog once a test is run.
The Report Generator offers the same selections as the Report tab, only applied to each report
individually, rather than as a system setting. There are also options to link a custom style sheet
(.xslt) to the report, or to Exclude Informative Results.
The Test Report includes a summary table with links to the detailed test result pages.
Figure 2 - The Test Report Summary and Details pages.
Reports are output to the base installation folder *\LeCroy\XReplay\Reports.
You can add your own logo to the report by replacing the file
*\LeCroy\XReplay\StyleSheets\CustomerLogo.jpg.
The recommended maximum size is 250x100 pixels at 72 ppi, 16.7 million colors, 24 bits. Use
the same file name and format.
8
923662 Rev B
QPHY-PCIE3-TxRx Operator’s Manual
Customizing QualiPHY
The pre-loaded configurations cannot be modified. However, you can create your own test
configurations by copying one of the pre-loaded configurations and modifying it.
Copy Configuration
1. Access the QualiPHY framework dialog and select a Standard.
2. Click Edit/View Configuration and select the configuration upon which to base the new
configuration. This can be a pre-loaded configuration or another copy.
3. Click Copy and enter a name and description. Once a custom configuration is defined, it
appears on the Configuration tab followed by “(Copy).”
4. Select the new, custom configuration and follow the procedures below to continue
making changes.
Note: If any part of a configuration is changed, the Save As button becomes active on
the bottom of the dialog. If a custom configuration is changed, the Save button will also
become active to apply the changes to the existing configuration.
Select Tests
On the Test Selector tab, check the tests that make up the configuration. Each test is defined
by the PCI CEM standard. A description of each test is displayed when it is selected.
To loop any of the tests in this configuration, select the test from the list, then choose to loop
indefinitely until stopped or enter the number of repetitions.
923662 Rev B
9
Edit Variables
The Variable Setup tab contains a list of test variables. See QPHY-PCIE3-TxRx Variables for a
description of each.
To modify a variable:
1. Select the variable on the Variable Setup tab, then click Edit Variable. (You can also
choose to Reset to Default at any time.)
Note: Especially check the SigTest Path variable. The default value for this variable is
SigTest.exe ver. 3.2.0, which is currently the version required by the PCI SIG. It is
available for download from the PCI SIG website.
2. The conditions of this variable appear on a pop-up. Choose the new condition to apply.
Figure 3 - Variable Setup tab.
10
923662 Rev B
QPHY-PCIE3-TxRx Operator’s Manual
Edit Test Limits
The Limits tab shows the Limit Set currently associated with the configuration. Any limit set can
be associated with a custom configuration by selecting it in this field.
The Limits Manager shows the settings for every test limit in a limit set. Those in the default set
are the limits defined by the standard.
To create a custom limit set:
1. On the Limits tab, click Limits Manager.
2. With the default set selected, click Copy Set and enter a name.
Note: You can also choose to copy and/or modify another custom set that has been
associated with this configuration.
3. Double click the limit to be modified, and in the pop-up enter the new values.
Figure 4 - Limits Manager dialog.
You can also Import Limits from a .csv file. Navigate to the file location after clicking the
button.
Tip: Likewise, Export Limits creates a .csv file from the current limit set. You may wish to
do this and copy it to format the input .csv file.
923662 Rev B
11
X-Replay Mode
The X-Replay mode window is an advanced (“developer”) view of QualiPHY. The tree in the
upper-left frame enables you to navigate to processes in the PCIE3-TxRx test script, in case
you need to review the code, which appears in the upper-right frame.
Two other particularly useful features are:

A list of recent test sessions in the lower-left frame. While you can only generate a
report of the current test session in the QualiPHY wizard, in X-Replay Mode you can
generate a report for any of these recent sessions. Right-click on the session and
choose Create Report from context menu.

The QualiPHY log in the bottom-right frame. The frame can be split by dragging up the
lower edge. The bottom half of this split frame now shows the raw Python output, which
can be useful if ever the script needs debugging.
Figure 5 – X-Replay Mode window.
12
923662 Rev B
QPHY-PCIE3-TxRx Operator’s Manual
QPHY-PCIE3-TxRx Testing
Test Preparation
Before beginning any test or data acquisition, the oscilloscope should be warmed for at least 20
minutes.
Calibration is automatic under software control and no manual calibration is required. This
procedure will be run again if the temperature of the oscilloscope changes by more than a few
degrees.
Required Test Modes
The QPHY-PCIE3-TxRx script requires that you place the DUT in the required test modes. The
script will prompt you to do so before each test, but it is recommended that you ensure the DUT
is capable of being placed in the required test modes before beginning testing.
Physical Setup
If using a PeRT3 device with an oscilloscope, set it below the oscilloscope to keep the
connection cable length as short as possible.
See the description of each test configuration for specific set up information.
QPHY-PCIE3-TxRx Test Configurations
Test configurations include variable settings, limit sets, and test selections.
For detailed descriptions of calibration and testing, please refer to the Teledyne LeCroy
PCIE Gen3 test procedure on PCISIG.com and the official test specification, PCI Express
Card Electromechanical Specification, Rev. 3.0.
Demo Add-in Card Tx
This configuration runs all transmitter tests using saved waveforms located on the oscilloscope
in the D:\Waveforms\PCIE3\TX\Demo directory on the oscilloscope. It is meant to easily
demonstrate the QPHY-PCIE3-TxRx capabilities when live signals cannot be tested.
You can also select saved waveforms to be used in the demo. The files must be named:
“"M1_L_DEMO_8G_Ln0_P7_00000.trc"” and "M2_L_DEMO_8G_Ln0_P7_00000.trc” and
placed in the folder path above.
923662 Rev B
13
Add-in Card Rx
This configuration includes two steps.
Step 1 is to perform Rx calibration of the PeRT3 Phoenix by using the CBB3 and CLB3.
Calibration includes the following parameters:

Preset 0-10 plus -6dB De-emphasis/6dB preshoot, and Amplitude

RJ

SJ

Differential Mode Noise

Eye Height and Eye Width
Calibration can be reused for multiple tests. The calibration table is saved under the path:
C:\Program Files (x86)\LeCroy\XReplay\results. All results are saved with time stamped file
name. The file with no time stamp is the latest result.
Within the same session, you will be prompt to run additional RX Tests (i.e., with a different
preset). To use previous calibration results in a new session, uncheck “RX Cal” group. If “Rx
Cal” is unselected, you will be prompted to use the previous calibration.
Step 2 is to perform the actual receiver tolerance test using the calibrated values above. You
will be promoted to select which preset to test with. The test criteria for Rx compliance are to run
BER with the calibrated stressed eye for 2:05 with one or no errors using any preset and pass
10e-4 BER using Preset 7 and Preset 8. If enabled, the script will vary the TX equalization
around the selected preset, if the test does not pass at the selected preset. This should be
enabled for system testing especially.
For 95% confidence level BER testing, the test criterion is to run BER with the calibrated
stressed eye for 6 minutes and 15 seconds, with no errors.
PHYSICAL SETUP
Figure 6 – Step 1 setup for Preset, Amplitude, RJ and SJ Calibration.
14
923662 Rev B
QPHY-PCIE3-TxRx Operator’s Manual
Figure 7 – Step 1 setup for Differential Mode Noise, Eye height and Eye Width Calibration.
Figure 8 – Step 2 setup for actual receiver tolerance test.
923662 Rev B
15
Add-in Card Tx
This configuration will run the Add-in Card Tx compliance tests using the CBB3 fixture. Tx
Compliance tests are performed using the SigTest software. SigTest uses raw waveforms (.trc)
from the oscilloscope, embeds the reference channel, and applies the CTLE/DFE filter.
Predefined configurations exist for testing 1, 4, 8, and 16-lane devices.
The test items are:

Min Transition Eye Height

Min NonTransition Eye Height

Composite Eye Height

Mean UI

Max Pk-Pk Jitter

Min Eye Width

Tj

Djdd

Rj
PHYSICAL SETUP
Figure 9 – Add-In Card Tx connection diagram showing oscilloscope (green) and Rx Ln0 (blue)
physical connections.
16
923662 Rev B
QPHY-PCIE3-TxRx Operator’s Manual
A toggle switch on the CLB controls the clock to Rx lane0. Every time the switch is pressed,
J5/J85 sends clock toggle to Rx lane0, which will cause the compliance pattern to cycle to the
next pattern.
The diagram below shows the location of the toggle switch (circled in red). The blue lines
indicate the required SMP to SMP cable connections to allow the signal caused by pressing the
toggle button to be coupled into the RX lane 0 that goes to the add in card.
Figure 10 – Add-In Card Tx connection diagram.
Below are the built-in compliance patterns for all PCIE Gen3 Add-in Cards and Systems,
starting from the first pattern after power up (2.5Gbps Gen 1 compliance pattern). The cycle
repeats after pattern 14. Press the toggle sufficient times to go from the current pattern to the
desired pattern.
1. 2.5Gbps Gen1 compliance pattern
2. 5.0Gbps Gen2 compliance pattern with 3.5dB de-emphasis
3. 5.0Gbps Gen2 compliance pattern with 6dB de-emphasis
4. 8.0Gbps Gen3 compliance pattern with preset 0
5. 8.0Gbps Gen3 compliance pattern with preset 1
6. 8.0Gbps Gen3 compliance pattern with preset 2
7. 8.0Gbps Gen3 compliance pattern with preset 3
8. 8.0Gbps Gen3 compliance pattern with preset 4
9. 8.0Gbps Gen3 compliance pattern with preset 5
10. 8.0Gbps Gen3 compliance pattern with preset 6
11. 8.0Gbps Gen3 compliance pattern with preset 7
12. 8.0Gbps Gen3 compliance pattern with preset 8
13. 8.0Gbps Gen3 compliance pattern with preset 9
14. 8.0Gbps Gen3 compliance pattern with preset 10
923662 Rev B
17
Figure 11 – Example of Signal Test dialog and Signal Test results.
System Rx
This configuration includes two steps.
Step 1 is to perform Rx calibration by using the CBB3 and CLB3. Calibration includes the
following parameters

Preset 0-10 plus -6dB De-emphasis/6dB preshoot, and Amplitude

RJ

SJ

Differential Mode Noise

Eye Height and Eye Width
Calibration can be reused for multiple tests. The calibration table is saved under the path:
C:\Program Files (x86)\LeCroy\XReplay\results. All results are saved with time stamped file
name. The file with no time stamp is the latest result.
Within the same session, you will be prompted to run additional RX Tests (ie, with a different
preset). To use previous calibration results in a new session, uncheck “RX Cal” group. If “Rx
Cal” is unselected, you will be prompted to use the previous calibration.
Step 2 is to perform the actual receiver tolerance test using the calibrated values above. The
test criteria for Rx compliance are to run BER with the calibrated stress eye for 2:05 with no
errors using any Preset or cursor setting. You will be prompted to select the TxEQ setting as
calibrated in step 1. If enabled, the script will vary the TX equalization around the selected
preset, if the test does not pass at the selected preset. This should be enabled for system
testing especially.
For 95% confidence level BER testing, the test time required will be 6 minutes and 5 seconds.
18
923662 Rev B
QPHY-PCIE3-TxRx Operator’s Manual
System Tx
This configuration will set up for System Tx compliance testing using the CLB3. Predefined
configurations exist for testing 1, 4, 8, and 16-lane devices. Tx Compliance tests are performed
using the SigTest software. SigTest uses binary waveforms (.trc) from the oscilloscope, embeds
the reference channel, and applies the CTLE/DFE filter. The wizard will instruct you to capture
both data and clock from the system board.
The test items are:

Min Transition Eye Height

Min NonTransition Eye Height

Composite Eye Height

Mean UI

Max Pk-Pk Jitter

Min Eye Width

Tj

Djdd

Rj
923662 Rev B
19
QPHY-PCIE3-TxRx Variables
DEMO MODE
This variable allows you to run the tests in demo mode. When this value is Yes, the tests can be
run in demonstration mode using saved waveforms. The demo mode waveforms must be
located in D:\Waveforms\PCIE3\Demo. They must be named
M1_L_DEMO_8G_Ln0_P7_00000.trc and M2_L_DEMO_8G_Ln0_P7_00000.trc. There is only
one pair of demo waveforms, so the Preset Test is expected to fail (since the script will store the
same waveform every time). Signal Quality test will pass.
During demo mode, you are still prompted with connection diagrams based on their other
variable selections. This allows you to experience running the test as it would be run on live
signals. The default value for this variable is No.
DUT TYPE
This variable loads the test script for either Add-in Card testing or System testing. The two
different scripts determine which connection diagrams are shown, and (for TX) whether clock is
saved and then tested together with data. It does not affect Rx calibration, and only affects a
connection diagram for Rx test.
SAVE WAVEFORM PATH
This variable holds the path on the oscilloscope where the RX cal will store waveforms. Default
value is D:\Waveforms\PCIE3\RX”. For TX testing, this path is read and if the last two letters
are “RX” then they are replaced by “TX”. If the last two letters are not RX then the same path is
used. NOTE: this script does not archive waveform results; both the RX test and the TX test
clear the directory at this path when they start. The generated report is the saved result. If you
want the waveforms, which are very large, you must save them after the test completes.
SPLITTERS IN USE
This variable specifies whether the connections are set up for the Link Equalization test; that
setup uses power splitters and the signals seen by the scope are half the nominal signal
amplitude. If the connection diagrams in the script are followed, then splitters are not used.
SIGTEST PATH
This variable sets the path to the installed version of SigTest.exe on the oscilloscope. The script
runs SigTest on the oscilloscope, and fetches results from there for testing and inclusion in the
log. Sigtest Version must be 3.2.0 or later.
STOP AFTER EACH TEST
When set to Yes, the script will stop after each test to allow for result reviewing. In the RX
calibration, this opens the “OK to continue?” prompts, which also gives you a chance to abort
after 1) the calibration of the presets, 2) the Rj cal, 3) the Sj cal, and 4) the final Eye height and
width adjustment. This setting has no effect on the TX tests. Note: after initial setup, the script
always stops to give you a chance to adjust V/div and possibly offset settings. That is
independent of this variable.
20
923662 Rev B
QPHY-PCIE3-TxRx Operator’s Manual
TEST MODE
This variable can be set to “AquireNewData” or “UseSavedData”. For RX calibration, this MUST
be set to “AcquireNewData”.
Specific to “TX CEM test” Group
NUMLANESTX
This variable determines how many lanes will be tested for Tx compliance:

Single lane devices: only lane 0 is tested

Four lane devices: lanes 0 and 3 are tested

Eight lane devices: lanes 0, 3 and 7 are tested

Sixteen lane devices: lanes 0, 7, and 15 are tested
Specific to “Rx Calibration and test” Group
PERT3 NAME
This variable will identify the PeRT that is being calibrated. This can be the PeRT's serial
number or any string that can be used to make a folder name for RX calibration results.
PERT3 ADDRESS
This variable is the hostname or IP address of the PeRT3 Server (the machine that the PeRT is
connected to via USB), from the point of view of the oscilloscope that QualiPHY is
communicating with. So: "localhost" refers to the oscilloscope that QualiPHY is communicating
with, which is not necessarily the machine QualiPHY is running on. The expected configuration
is that the PeRT3 is connected by USB to the oscilloscope, and therefore PeRTAddress should
be set to “localhost”. The script communicates with the PeRT through the oscilloscope.
Specific to “Rx CEM Test” Group
PROMPTTORESET DUT
True by default. This prompts you to reset or turn off and on the DUT before each attempt to
traverse the state machine to get to Loopback. For many DUTs this is required.
SEARCHAROUNDPRESET
True by default. If this variable is False, then the RX test is only done exactly at the preset you
select, and if it does not succeed then a failure is declared. If this variable is True, then if the
RX test exactly at the preset you select does not succeed, the test varies de-emphasis and
preshoot searching for the best BER and giving your DUT the best opportunity to pass at some
TX EQ settings somewhere close to the selected preset.
SKP_FILTER [ON|OFF]
SKP Filter option is needed for testing DUTs operating with the system/add-in card running on
different clock domain than the test equipment. This option can also be enabled for synchronous
test setups where the DUT is enabled to filter SKP symbols.
923662 Rev B
21
TESTTYPE [COMPLIANCE|95% CONFIDENCE]
The Compliance setting uses 2 minutes and 5 seconds (1e12 bits) limit with 0 or 1 error for pass
criteria during Rx BER testing. The 95% Confidence setting uses a 6 minutes and 15 seconds
(3e12bits) limit with no errors for pass criteria, which is 95% confidence at 1e-12 BER testing.
QPHY-PCIE3-TxRx Limit Sets
The default installation of QPHY-PCIE 3-TxRx contains only one limit set, called “Default.” In
this script, limits are only used to convey Unit labels. The actual limits for each value tested are
encoded in or computed by the script and cannot be changed. The default limits used by QPHYPCIE3-TxRx are specified in the PCI Express Card Electromechanical Specification, Rev. 3.0.
22
923662 Rev B
QPHY-PCIE3-TxRx Operator’s Manual
Manual Deskewing Procedures
This section is only applicable to the oscilloscope and the cables connecting to the oscilloscope
channels. Note that the cables connecting the PeRT3 to the fixture or to the DUT must be
phase matched within a tight tolerance because the PeRT, like any generator, does not have the
capability to compensate for mismatched cables connected to its outputs.
Cable Deskewing Using the Fast Edge Output
The following procedure demonstrates how to manually deskew two oscilloscope channels and
cables using the fast edge output, with no need for any T connector or adapters.
This can be done once the temperature of the oscilloscope is stable. The oscilloscope must be
warmed up for at least 20 min. before proceeding. This procedure should be run again if the
temperature of the oscilloscope changes by more than a few degrees.
For the purpose of this procedure, the two channels being deskewed are referred to as Channel
X and Channel Y. The reference channel is Channel X and the channel being deskewed is
Channel Y.
1. Begin by recalling the Default Oscilloscope Setup.
2. Configure the oscilloscope as follows:

Timebase
i. Fixed Sample Rate
ii. Set the Sample Rate to 40 GS/s
iii. Set the Time/Division to 1 ns/div

Channels
i. Turn on Channel X and Channel Y.
ii. Set V/div for Channel X and Channel Y to 100mV/div.
iii. Set the Averaging of Channel X and Channel Y to 500 sweeps.
iv. Set the Interpolation of Channel X and Channel Y to Sinx/x.
923662 Rev B
23

Trigger
i. Configure to Source to be FastEdge.
ii. Set the Slope to Positive.

Parameter Measurements:
i. Set the source for P1 to CX and the measure to Delay.
ii. Set the source for P2 to CY and the measure to Delay.
iii. Set the source for P3 to M1 and the measure to Delay.
3. Set the display to Single Grid.

Click Display  Single Grid.
4. Using the appropriate adapter, connect Channel X to the Fast Edge Output of the
oscilloscope.
5. Adjust the Trigger Delay so that the Channel X signal crosses at the center of the
screen.
6. Change the Timebase to 50 ps/div.
7. Fine tune the Trigger Delay so that the Channel X signal crosses at the exact center of
the screen.
8. Press the Clear Sweeps button on the front panel to reset the averaging.
9. Allow multiple acquisitions to occur until the waveform is stable on the screen.
24
923662 Rev B
QPHY-PCIE3-TxRx Operator’s Manual
10. Save Channel X to M1.

Click File  Save Waveform.

Set Save To Memory.

Set the Source to CX.

Set the Destination to M1.

Click Save Now.
11. Disconnect Channel X from the Fast Edge Output and connect Channel Y to the Fast
Edge Output.
12. Press the Clear Sweeps button on the front panel to reset the averaging.
13. Allow multiple acquisitions to occur until the waveform is stable on the screen.
14. From the Channel Y menu, adjust the Deskew of Channel Y until Channel Y is directly
over the M1 trace.
15. Ensure that P3 and P2 are reasonably close to the same value. (Typically < 5ps
difference)
923662 Rev B
25
Cable Deskewing Without Using the Fast Edge Output
The following procedure demonstrates how to manually deskew two oscilloscope channels and
cables using the differential data signal, with no need for any T connector or adapters.
This can be done once the temperature of the oscilloscope is stable. The oscilloscope must be
warmed up for at least 20 min. before proceeding. This procedure should be run again if the
temperature of the oscilloscope changes by more than a few degrees.
1. Connect a differential data signal to C1 and C2 using two approximately matching
cables. Set up the oscilloscope to use the maximum sample rate. Set the timebase for a
few repetitions of the pattern (at least a few dozen edges).
2. On the C3 menu, check Invert. Now C1 and C2 should look the same.
3. Using the Measure Setup, set P1 to measure the Skew of C1, C2. Turn on Statistics
(Measure menu). Write down the mean skew value after it stabilizes. This mean skew
value is the addition of Data skew + cable skew + channel skew.
4. Swap the cable connections on the Data source side (on the test fixture), and then press
the Clear Sweeps button on the oscilloscope (to clear the accumulated statistics; since
we changed the input).
5. Write down the mean skew value after it stabilizes. This mean skew value is the addition
of (-Data skew) + cable skew + channel skew.
6. Add the two mean skew values and divide the sum in half:
U
[Data skew + cable skew + channel skew] + [ (-Data skew) + cable skew + channel skew]
U
2
The above formula simplifies to:
[cable skew + channel skew]
7. Set the resulting value as the Deskew value in C1 menu.
8. Restore the cable connections to their Step 1 settings (previous). Press the Clear
Sweeps button on the oscilloscope. The mean skew value should be approximately zero
- that is the data skew. Typically, results are <1ps given a test fixture meant to minimize
skew on the differential pair.
9. On the C2 menu, clear the Invert checkbox and turn off the parameters.
26
923662 Rev B
QPHY-PCIE3-TxRx Operator’s Manual
In the previous procedure, we used the default setup of the Skew parameter (which is detecting
positive edges on both signals at 50%). We also inverted C2 in order to make C1 and C2 both
have positive edges at the same time.
Alternately, we clearly could have not inverted C2 and instead selected the Skew clock 2 tab in
the P1 parameter menu and set the oscilloscope to look for negative edges on the second input
(C2). However, we believe that the previous procedure looks much more aesthetically pleasing
from the display as it shows C2 and C3 with the same polarity.
Figure 12 - The Skew parameter right side dialog, Skew clock 2 tab, showing default setup.
Error Messages
These messages may appear when using QualiPHY.
“Warning, no valid technology package has been found…” This message appears if none
of the QualiPHY components have been activated on the oscilloscope before launching the
QualiPHY application. See Activate Components.
“No devices connected to the application or device not alive…” This message appears if
you are running QualiPHY from a remote PC, but a) you have not connected any oscilloscopes
to the installation, or b) the oscilloscopes are offline. See Set Up Remote Control to connect an
oscilloscope.
“This test requires Firmware version x.x.x.x or higher.” The test oscilloscope firmware
needs to be updated. Go to teledynelecroy.com/support/softwaredownload under Oscilloscope
Downloads > Firmware Update to download the latest firmware.
“An <oscilloscope model> or better is required for <test>.” The test cannot be run with this
oscilloscope. If using remote control, you may be able to choose another oscilloscope.
“This test requires the <name> option.” Besides the QualiPHY component, you must
purchase and activate the named software option on the oscilloscope.
923662 Rev B
27