Teledyne-lecroy PETrainer Scripting Language Reference Manual Instrukcja Użytkownika Strona 74

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 89
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
}
Przeglądanie stron 73
1 2 ... 69 70 71 72 73 74 75 76 77 78 79 ... 88 89

Komentarze do niniejszej Instrukcji

Brak uwag