11 appendix a – generation script example, 1 example script 1, Appendix a – Teledyne LeCroy Voyager Exerciser Generation Script Language Manual User Manual
Page 142: Generation script example, Example script 1

Teledyne LeCroy
Voyager USB 3.0 Exerciser Generation Script Language Reference Manual
133
11 Appendix A
– Generation Script Example
Note: You can find more examples in the USB Protocol Suite application folder.
11.1 Example Script 1
############################################################################
# NewGenSettings.usb3g
# Line comment
/*
Block comment
*/
# General constant
const
INFINITE =
0xFFFFFFFF
const
AUTO =
0xFFFFFFFF
############################################################################
# This generaton script contains new or modified generation settings
# since the previous release of the Lecroy USB Suite.
#
# For all the other settings please refer to
# Voyager™ USB 3.0 Exerciser Generation Script Language Reference Manual
# contained in the VoyagerUSB3ExerciserScriptLanguage.pdf.
#
# NOTE: All generation setting examples are for illustration purposes only.
# Change settings from default values ONLY if you understand them.
############################################################################
##########################################################################
# Some Link management settings
# Power state accept flags
const
AU1 =
0x1
# Accept the request of entering U1 by sending LAU.
const
AU2 =
0x2
# Accept the request of entering U2 by sending LAU.
const
AU3 =
0x4
# Accept the request of entering U3 by sending LAU.
const
AU_AUTO =
0x8
# AUTO mode. Reply to the LGO_Un based on the
# configured value through LMPs.
const
AU_ALL = (AU1 | AU2 | AU3)
# This setting controls the behavior of the device in response to
# Power Management states entry request (LGO_Un).
Set
PwrStateAccept = AU1
# Accept only U1
# This setting enables/disables sending of LPMA in response to LAU.
Set
DisableLPMA =
0
# disables sending of LPMA in response to LAU.
# If the appropriate response in LC handshake of Power State change
# has not be received during specified timeout, this error will be raised.
# This setting allows not to raise such error in the Exercizer link layer.
Set
DisablePMLCTimeout =
1
# Disables detection of timeout on receiving
# response to PM Link command.