beautypg.com

21 name aliasing, Name aliasing, Aliasin – Teledyne LeCroy Voyager Exerciser Generation Script Language Manual User Manual

Page 139

background image

Teledyne LeCroy

Voyager USB 3.0 Exerciser Generation Script Language Reference Manual

130

10.21 Name Aliasing

You can specify different names for named generation language syntax objects, such as
constants, settings, data patterns, templates, variables, generation procedures, instructions, and
named instruction parameters.

For example, you can specify a name that is more understandable for a specific user. You can
also use the same object in different contexts.

After a name alias is created, for the script parser, the alias_name is equivalent to the
alias_value.

Note: Though you can create many name aliases for the same alias value, you cannot redefine a
name alias that was defined before. Also, you cannot create aliases for language keywords, so
syntax constructions (like Send) can never be named objects.

Format

%alias

Alias_Name = Alias_Value

Examples

%alias

TxScr = TxScramble

%alias

RxDescr = RxDescramble

%alias

DPacket = Usb3LongTemplateNameDataPacket

Set

TxScr =

1

# Use an alias for the 'TxScr' setting.

Packet

Usb3LongTemplateNameDataPacket

{
Data : *
}