beautypg.com

Teledyne LeCroy Sierra M124 User Manual User Manual

Page 333

background image

    

Sierra M124 SAS/SATA Protocol Analyzer User Manual

331

Sierra Trainer Generation Language

Teledyne LeCroy

Change_Local_tx_parameter (16 bit 
data/variable)

This instruction is to change the Local tx 
parameters. It takes either 16 bit data or 16 bit 
variable which represents the control word of 
the TTIU. When this command is given, the 32 
bit data or 16 bit variable value is written to the 
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)

}

Where “0x0400” is the control word of TTIU.

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 
the LSB 16‐bit contains the status word and MSB 
16 bits are ZEROS.