21.13.1.70 static_pattern_transmit

Description

This Tcl command starts and stops a Static Pattern Transmit on selected lanes.

static_pattern_transmit -start -lane {Transceiver Physical Lane Name} \
                        -pattern {pattern_type} \
                        -value {user_pattern_value}
static_pattern_transmit -stop -lane {Transceiver Physical Lane Name} \            
                        -pattern {empty} -value {empty}

Arguments

ParameterTypeDescription

deviceName

string

Optional user-defined device name. The device name is not required if there is only one device in the current configuration, or a device has already been selected using the set_debug_device command.

lane

string

Specify Transceiver physical Lane Name.

start

none

Start the Static Pattern Transmit.

stop

none

Stop the Static Pattern Transmit.

pattern

string

Specify "pattern_type" of Static Pattern Transmit. "pattern_type" valid values are:

  • fixed - Fixed Pattern is a 10101010... pattern. Length is equal to the data width of the Tx Lane.

  • maxrunlength - Max Run Length Pattern is a 1111000... pattern. Length is equal to the data width of the Tx Lane, with half 1s and half 0s.

  • custom - User Pattern is a user defined pattern in the value column. Length is equal to the data width.

value

hexadecimal

Specify user_pattern_value in hex if pattern_type selected is custom. Takes the input pattern to transmit from the Lane Tx of selected lanes. Internal validators dynamically check the pattern and indicate when an incorrect pattern is given as input.

Return TypeDescription
NoneNone

Error Codes

Error CodeDescription

None​

Parameter 'param_name' is not defined. Valid command formatting is'static_pattern_transmit [-deviceName "device name"] [-start "TRUE | FALSE"] [-stop "TRUE | FALSE"] [-lane "Physical Lane Name"] [-pattern "Pattern type"] [-value "User pattern Value"]'.

None​

Static Pattern Transmit: Must specify one of '-start', '-stop' arguments.

None​

Static Pattern Transmit: Transceiver physical Lane Name must be specified.

None​

Static Pattern Transmit: Must specify pattern type argument.

None​

Static Pattern Transmit: Lane Name not found in the list of assigned physical lanes in Libero.Provide the correct lane name.

None​

Static Pattern Transmit: Invalid static pattern type specified.

None

Static Pattern Transmit: Pattern Length exceeds the expected size.

Supported Families

PolarFire
PolarFire SoC

Example

The following examples starts/stops fixed/maxrunlength Static Pattern transmit on "Q0_LANE0" /"Q0_LANE1" lane:

static_pattern_transmit -start -lane {Q0_LANE0} \
                        -pattern {fixed} -value {}
static_pattern_transmit -stop -lane {Q0_LANE0}

static_pattern_transmit -start -lane {Q0_LANE1} 
                        -pattern {maxrunlength} -value {}
static_pattern_transmit -stop -lane {Q0_LANE1}

The following examples starts/stops fcustom Static Pattern transmit on "Q2_LANE2" lane with "1010111" user pattern value:

static_pattern_transmit -start -lane {Q2_LANE2} \
                        -pattern {custom} -value {1010111}
static_pattern_transmit -stop -lane {Q2_LANE1}