beautypg.com

8 setlinkstate instruction, Setlinkstate instruction – Teledyne LeCroy Voyager Exerciser Generation Script Language Manual User Manual

Page 83

background image

Teledyne LeCroy

Voyager USB 3.0 Exerciser Generation Script Language Reference Manual

74

9.8 SetLinkState Instruction

This instruction instructs the Voyager USB 3.0 Exerciser to force a USB3 link to the desired state.

Note: This instruction guarantees that the link state switches to the desired state, but it does not
guarantee that the link stays in that state.

Format

SetLinkState( LinkState, SyncWithTxCommands, AssertLTSSMReset )

The first parameter, LinkState, defines the target state of the action. It is detailed further below.

The second instruction named parameter is SyncWithTxCommands. If non-zero, this will force
the SetLinkState action to wait for exerciser to finish executing all of the outgoing commands
before applying or removing Terminations. Default value is zero.

The third parameter is AssertLtssmReset. If non-zero, it will instruct the exerciser to place its
USB3 PHY layer in reset when removing Terminations and take it out of reset when applying
terminations. Default value is zero.


LinkState Parameter

The LinkState parameter has one of the following possible values:

LinkState Values

(constants defined in "gen_constants.ginc" )

SS.Inactive*

SS_INACTIVE = 0

SS.Disabled*

SS_DISABLED = 1

Rx.Detect

RX_DETECT = 2

Polling

POLLING = 3

U0 (see note)

U0 = 4

U1

U1 = 5

U2

U2 = 6

U3

U3 = 7

Recovery (see note)

RECOVERY = 8

Loopback*

LOOPBACK = 9

HotReset

HOTRESET = 10

Compliance*

COMPLIANCE = 11

* Transitions to these link states are not currently supported.

Note: Voyager USB 3.0 Exerciser can perform transitions to Rx.Detect and Polling link states
from any state. For all other link states, Voyager USB 3.0 Exerciser tries to perform the required