60
Keysight N5990A-301 PCI Express Link Training Suite User Guide
5
Using the Software
When you select “Generate From Parameters”, the pattern will be
automatically generated, that is, in the same way as in non-Expert
Mode. When you select “Use Custom Script” (see
Figure 42
), a
custom script is used. The parameters for the automatically
generated script are disabled, and have no influence.
Figure 42
Expert Mode with Custom Script
Click
Edit Script
to begin editing the script (
Figure 42
). The script
editor, as shown in
Figure 43
, is displayed. In the script editor, you
can edit the sequence and pattern, with a unified syntax. It allows
you to define the data using terms common to PCIe. For example,
to generate a TS1 ordered set with the loop-back flag set, you can
use the macro “TS1(loop-back)”. You can also use the menu to
convert pattern data between different representations (binary,
hexadecimal, 8b/10b).
Clicking
Process PCIe Macros
starts a script translation, where all
PCIe specific macros and symbol names are converted into their
binary, 8b/10b, or 128b/130b representation.
When the auto-generated script is used, the “Edit Script” button
changes to “View Script”. In that case, the script can only be
changed by modifying the parameters in the main window.