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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 89
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 73
Teledyne LeCroy PETrainer Scripting Language
69
Example 2:
The following example shows nested templates (i.e. when one template is based on another template).
; First define the template "SomeTlp3" for TLP packet.
Template = TLP {
Name = "SomeTlp3"
TLPType = MRd32
RequesterID = (0:1:2)
Length = 0x40
LastDwBe = 0xF
FirstDwBe = 0xF
Address = 0x10000
}
; The template "SomeTlp4" is based on the template "SomeTlp3"
; with Address overridden.
Template = "SomeTlp3" {
Name = "SomeTlp4"
Address = 0x10040
}
; This TLP packet has Address parameter equal to 0x10000.
Packet = "SomeTlp3" {
Length = 0x80
}
; This TLP packet has Address parameter equal to 0x10040.
Packet = "SomeTlp4" {
Length = 0x80
}
Vista de página 73
1 2 ... 69 70 71 72 73 74 75 76 77 78 79 ... 88 89

Comentários a estes Manuais

Sem comentários