beautypg.com

Teledyne LeCroy Sierra M124 User Manual User Manual

Page 331

background image

    

Sierra M124 SAS/SATA Protocol Analyzer User Manual

329

Sierra Trainer Generation Language

Teledyne LeCroy

LRT: Last received TTIU

This instruction is for accessing the last received 
TTIU. The user can access the received TTIU and 
reuse it as required. 

Example:

{

@ttiu_mask=0x0006000

@ttiu=LRT

@ttiu_temp=@ttiu and @ttiu_mask

If(ttiu_temp=0006000)

{

Send_ttiu(0x0006000)

}

}

Training_ERROR_COUNT

This instruction is for accessing the error count 
of the received Dwords. This gives flexibility to 
the user to change the remote tx parameters to 
get the optimal link with minimal errors.

Example:
Var32 @error_count
Generation
{
Send_ttiu ((0x00006000, 0x36, 0xA)
Wait_ttiu (change_ttiu , 0x00004000) 
@error_count= Training_ERROR_COUNT;
If(@error_count<2)
{
Send_ttiu ((0x0000A000, 0x36, 0xA)

 }
}