2 primitives decl.inc file, 3 address framesdecl.inc file, 4 sspframes.inc file – Teledyne LeCroy Sierra M6-2 SAS_SATA Protocol Analyzer User Manual User Manual
Page 414: 5 smpframes.inc file, 6 stpframes.inc file, 9 starting the script editor

Teledyne LeCroy
Starting the Script Editor
412
Sierra M6‐2 SAS/SATA Protocol Analyzer User Manual
If the generation file was created through the Export command (File > Export > To
Generator File Format ...), the CRC is calculated but commented out. If the source
trace has a bad CRC, the CRC is exported into the generation file and is not
commented out.
5.8.2
Primitives Decl.inc File
The PrimitivesDecl.inc file defines Primitives. The file consists of declarations (left) and
the corresponding byte streams (right).
To generate Primitives, copy relevant portions of text on the left (not the bytes shown
right) from this file into the generator block section of the .ssg file.
5.8.3
Address FramesDecl.inc File
The AddressFramesDecl.inc file defines Address frames.
5.8.4
SSPFrames.inc File
The SSPFrames.inc file defines SSP frames.
5.8.5
SMPFrames.inc File
The SMPFrames.inc file defines SMP frames.
5.8.6
STPFrames.inc File
The STPFrames.inc file defines STP frames.
5.9
Starting the Script Editor
To edit an .ssg file, use the Script Editor. The Script Edit editing tool displays the .ssg file
and its supporting Include files. The Script Editor utility has several aids to simplify the
process of writing and editing scripts: tool‐tips, drop‐down menus, and colored fields.
The Script Editor example below shows several commented lines followed by some
instructions. The Script Editor has three areas: toolbar (top), script window, and file tabs
(at the bottom of the window). If errors occur, a log opens at the bottom of the window.
Note: If more than one port of Trainer is licensed, you can assign scripts to one or more
ports. See
“Multi‐Port Trainer Script Assignments to Links” on page 416
.