
Teledyne LeCroy Voyager USB 3.0 Exerciser Generation Script Language Reference Manual
136
##########################################################################
# Framing Corruption settings
# Binary bit masks defining which symbols to
# corrupt in framing sequences. Bit 0 = 1 symbol, bit 1 = second etc.
const CRPT_SYM1 = _0001 # 0x1
const CRPT_SYM2 = _0010 # 0x2
const CRPT_SYM3 = _0100 # 0x4
const CRPT_SYM4 = _1000 # 0x8
Set ErrCorruptSHPMap = CRPT_SYM1 # Symbol 1 in the SHP framing sequence
# to be corrupted
Set ErrCorruptSHP = 16 # Perform SHP framing corruption error
# 16 times, then use correct framing.
Set ErrCorruptSDPMap = CRPT_SYM1 | CRPT_SYM3 # Symbol 2 and 3 in the SDP
# framing sequence to corrupt
Set ErrCorruptSDP = 5 # Perform SDP framing corruption error 5 times,
# then use correct framing.
Set ErrCorruptENDMap = _0101 # Symbols 1,3 in the SLC framing sequence
# to be corrupted
Set ErrCorruptEND = 0xFFFFFFFF # !!! ALWAYS Perform END framing
# corruption error !!!
Set ErrCorruptSLCMap = _1100 # Symbols 3,4 in the SLC framing sequence
# to be corrupted
Set ErrCorruptSLC = 2 # Perform framing corruption error 2 times,
# then use correct framing.
##########################################################################
# LTSSM Settings
# LTSSM Setting flags
const DISABLE_LFPS = 0x1 # disables Polling.LFPS detection
const CUSTOM_TSEQ = 0x2 # send specified number of TSEQ
# (TSEQNumber setting) then go to the next state.
const CUSTOM_TS1 = 0x4 # send TS1 for specified period of time
# (TS1Time setting) then go to the next state.
const CUSTOM_TS2 = 0x8 # send TS2 for specified period of time
# (TS2Time setting) then go to the next state.
const DISABLE_IDLE = 0x10 # disables Logical Idle handshake.
# LTSSM will jump over relevant sub-state.
# setting 0 means AUTO
# DISABLE_LFPS | CUSTOM_TSEQ | CUSTOM_TS1 | CUSTOM_TS2 | DISABLE_IDLE
Set LTSSMSettings = CUSTOM_TS1
# number of TSEQ Ordered Sets to be sent in Polling.RxEQ sub-state,
# if CUSTOM_TSEQ bit is set in LTSSMSettings setting.
Set TSEQNumber = 64000
# Specifies time of staying in Polling.Active or Recovery.Active sub-states
# regardless of received pattern,
# if bit CUSTOM_TS1 of the LTSSMSettings is set.
Set TS1Time = 2000
Comentários a estes Manuais