Teledyne LeCroy Sierra M124 User Manual User Manual
Page 316

Teledyne LeCroy
Sierra Trainer Generation Language
314
Sierra M124 SAS/SATA Protocol Analyzer User Manual
This instruction waits for specific TTIU. During this instruction previous transmitted TTIU
will be transmitted. User can trigger wait for specific TTIU, Change in TTIU or part of TTIU
by specifying 32'bit mask value.
Default mask value is set to all ones. i.e waits for all 32'bits to match with the received
TTIU. Changing the mask value gives the flexibility to wait for some specific bits in the
TTIU. Giving Change_TTIU with mask value waits for any change in the specified Bits in
the Received TTIU compared to the previous received ttiu.
Example:
Generation
{
Wait_for_ttiu (change_ttiu , 0x00004000) //waiting for change in tx_init bit of TTIU
Send_ttiu ((0x00006000, 0x36, 0xA)
Wait_for_ttiu (0x0000A000 , 0X00008000) //waiting for train comp bit to go high
}
LRT: Last received TTIU:
This instruction is for having access to the last received TTIU. User can have access to the
received ttiu and reuse it as required. Example for using this command in the script is as
follows:
{
@ttiu_mask=0x0006000
@ttiu=LRT
@ttiu_temp=@ttiu and @ttiu_mask
If(ttiu_temp=0006000)
{
Send_ttiu(0x0006000)
}
}