beautypg.com

Teledyne LeCroy Sierra M124 User Manual User Manual

Page 318

background image

Teledyne LeCroy

Sierra Trainer Generation Language

316

 

 

Sierra M124 SAS/SATA Protocol Analyzer User Manual

Change_Local_tx_parameter / changelocaltxparameter (16'b data/variable)

This instruction is to change the Local tx parameters. It takes either 16 bit data which 
represents the control word of the TTIU or 16'b variable that represents control word of 
the TTIU. 

when this command is given ,32 bit data or variable value will be written in to a constant 
variable memory location (address location is 511)

Example:

 var32 @received_control

var32 @Status

var32 @ control=0x00100000

var32 @temp

Generation

{

        Send_ttiu ((0x00006000, 0x36, 0xA)

      Wait_ttiu (change_ttiu , 0x00004000) 

 Change_Local_tx_parameter (0x0400)  //requesting to change the tx parameters to     
reference_1

              @received_control=LRT

        @temp=@received_control & 0x1111000 //0x11110000 is the mask data so that the 
variable contains only the control                                                        word of the received ttiu.

       Change_Local_tx_parameter(@temp)//variable as input

      @status= Local_ Tx_status_word

      @temp=@status | @control

      Send_ttiu(@temp,0x36,0xA)

}

Local_ Tx_status_word

This instruction is for getting the status of the local tx parameters for the previous 
requested tx parameter change. This is a 32 bit word in which LSB 16‐bit contains status 
word and MSB 16bits are ZEROS.

Set OOB_SpeedNeg_TX_TAT:Tx_training_analysis_time

This setting defines the time for Link analysis i.e time for counting errors in the received 
dwords after this time trainer request for new  attached tx_ph y change depending on 
the error count in Auto Tx_training mode . This is a global setting.