Teledyne-lecroy PETrainer Scripting Language Reference Manual Manual do Utilizador Página 50

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 89
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 49
Teledyne LeCroy PETrainer Scripting Language
45
Example 2:
This example shows how to use definitions in the expressions (see Page 65) and how to redefine the
values.
Config = Definitions {
READ_START = 0x10
}
; Repeat 10 times.
Repeat = Begin {
Count=10
Counter = i
}
; Send TLP using repeat counter (i) and
; READ_START to specify the address.
Packet = TLP {
TLPType = CfgRd0
Register = ( READ_START + ( 4 << i ) )
}
Repeat=End
; Redefine READ_START, now READ_START is 0x40.
Config = Definitions
{
READ_START = ( READ_START + 0x30 )
}
; Send TLP using READ_START to specify the address.
Packet = TLP {
TLPType = CfgRd0
Register = READ_START
}
Vista de página 49
1 2 ... 45 46 47 48 49 50 51 52 53 54 55 ... 88 89

Comentários a estes Manuais

Sem comentários