Technical data

To edit the script, click the “Edit Script” button. The script editor, as
shown in Figure 19, will pop up. 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 PCI Express. For example, to
generate a TS1 ordered set with the loopback flag set, you can use the
macro “TS1(Loopback)”. You can also use the menu to convert
pattern data between different representations (binary, hexadecimal,
8b/10b).
Clicking the “Process PCIe Macros” button starts a script translation,
where all PCI Express specific macros and symbol names are
converted into their binary or 8b/10b representation.
When the automatically generated script is used, the “Edit Script”
button will change to “View Script”. In that case, the script can only
be changed by modifying the parameters in the main window.
For more details about the language syntax, please refer to the “PCI
Express Link Training Suite Language Guide”. This document can be
opened from the “Help” menu of the main window or the Script
Editor window.
Limitations
When editing the script, the resulting pattern must not violate the J-
BERT's limitations. The main limitation is the 512 bit pattern
granularity.
If the pattern you want to define doesn't meet this granularity, you
could e.g. repeat the pattern until the granularity is met (using the {}
operator), or place a Pad0() macro somewhere to stuff the pattern
with zeros. For more details, please refer to the “PCI Express Link
Training Suite Language Guide”.
24 N5990A-301 Getting Started Guide
Figure 19: Script Editor