21.13.1.24 loopback_test

Description

This Tcl command used to start and stop the loopback tests. Loopback data stream patterns are generated and checked by the internal SerDes block. These are used to self-test signal integrity of the device. You can switch the device through predefined tests.

Note:

loopback_test is renamed as loopback_mode in G5.

loopback_test [-deviceName "device name"] [-start] \
              -serdes "integer value" -lane "integer value" \
              -type "Loopback Type"
loopback_test [-deviceName "device name"] [-stop] \
              -serdes "integer value" -lane "integer value"

Arguments

ParameterTypeDescription

deviceName

string

Specifies device name. This parameter is optional if only one device is available in the current configuration or set for debug.

start

none

Starts the loopback test.

stop

none

Stops the loopback test.

SerDes

integer

Specifies SerDes block number. Must be between 0 and 4 and varies between dies.

lane

integer

Specifies SerDes lane number. Must be between 0 and 3.

type

string

Specifies the loopback test type. Loopback test types are: Must be meso (PCS Far End PMA RX to TX Loopback), plesio and parallel.

Return TypeDescription
NoneNone

Error Codes

Error CodeDescription

None

Parameter 'param_name' is not defined. Valid command formatting is'loopback_test [-deviceName "device name"] [-start "TRUE | FALSE"] [-stop "TRUE | FALSE"] -serdes "integer value" -lane "integer value" [-type "Loopback type"]'.

None

Required parameter 'serdes' is missing.

None

Required parameter 'lane' is missing.

None

serdes: Invalid argument value: 'serdes_value' (expecting integer value).

None

lane: Invalid argument value: 'lane_value' (expecting integer value).

None

Loopback test: IDCode verify failed.

None

Loopback test: Invalid loopback type specified.

Supported Families

IGLOO 2
RTG4

Example

Start and stop loopback tests.

loopback_test –start –serdes 1 -lane 1 -type meso
loopback_test –start –serdes 0 -lane 0 -type plesio
loopback_test –start –serdes 1 -lane 2 -type parallel
loopback_test –stop –serdes 1 -lane 2

See Also

  • loopback_mode

  • prbs_test

  • smartbert_test