beautypg.com

2 primitives decl.inc file, 3 address framesdecl.inc file, 4 sspframes.inc file – Teledyne LeCroy Sierra M124 User Manual User Manual

Page 298: 5 smpframes.inc file, 6 stpframes.inc file, 8 starting the script editor

background image

Teledyne LeCroy

Starting the Script Editor

296

 

 

Sierra M124 SAS/SATA Protocol Analyzer User Manual

3. CRC Calculations are calculated unless told otherwise ‐ If the CRC is not explicitly set 
in the traffic generation file, the application assumes that you want it and calculates and 
displays it in front of the generated frames.

If you provide a CRC value, the application uses that value, even if it is incorrect. This 
gives you the option of configuring the generator to create errors.

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.7.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.7.3

Address FramesDecl.inc File

The AddressFramesDecl.inc file defines Address frames.

5.7.4

SSPFrames.inc File

The SSPFrames.inc file defines SSP frames.

5.7.5

SMPFrames.inc File

The SMPFrames.inc file defines SMP frames.

5.7.6

STPFrames.inc File

The STPFrames.inc file defines STP frames.

5.8

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.