beautypg.com

7 list of possible field values attribute, List of possible field values attribute – Teledyne LeCroy Voyager Exerciser Generation Script Language Manual User Manual

Page 46

background image

Teledyne LeCroy

Voyager USB 3.0 Exerciser Generation Script Language Reference Manual

37

8.2.7 List of Possible Field Values Attribute

You can specify a list of possible field values (defined by constant or data pattern names) for
declared template fields. The Voyager USB 3.0 Exerciser Application Development Environment
(Voyager USB 3.0 Exerciser Script Editor Intellisense) uses this list to quickly assign field values.

Note: The list does not affect compilation or traffic generation.

Example

Const

MyConst =

10

DataPattern

MyPattern = {

AA BB CC DD _11110000

}

Packet

MY_TEMPLATE

{

Field_1 :

16

[MyConst, MyPattern]

# possible value list

Field_2 :

32 = 0xAABBCCDD

[MyPattern]

# possible value list

Field_3 :

32

(MSB) =

[MyConst]

# possible value list

}