Teledyne-lecroy PETrainer Scripting Language Reference Manual Uživatelský manuál Strana 74

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 89
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
}
Zobrazit stránku 73
1 2 ... 69 70 71 72 73 74 75 76 77 78 79 ... 88 89

Komentáře k této Příručce

Žádné komentáře