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

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Ekwipunek Teledyne-lecroy PETrainer Scripting Language Reference Manual. Teledyne LeCroy PETrainer Scripting Language Reference Manual User Manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 89
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 0
Protocol Solutions Group
3385 Scott Blvd., Santa Clara, CA 95054
Tel: +1/408.727.6600
Fax: +1/408.727.6622
PETrainer
Scripting Language
Reference Manual
For PETrainer™ Software Version 7.xx
January 2014
Przeglądanie stron 0
1 2 3 4 5 6 ... 88 89

Podsumowanie treści

Strona 1 - Reference Manual

Protocol Solutions Group 3385 Scott Blvd., Santa Clara, CA 95054 Tel: +1/408.727.6600 Fax: +1/408.727.6622 PETrainer™ Scripting L

Strona 2 - Copyright

Teledyne LeCroy PETrainer Scripting Language 5 Parameter Values Default Value Comment Payload (XXXX,XXXX,…) Incr Random Zeros Ones Specified as

Strona 3 - Contents

Teledyne LeCroy PETrainer Scripting Language 6 Parameter Values Default Value Comment AutoIncrementAddress Yes No No This parameter is supported

Strona 4

Teledyne LeCroy PETrainer Scripting Language 7 Example 2: Read 32 DWORDs of data starting from address 0x1000. PSN would accept values 0 for fi

Strona 5

Teledyne LeCroy PETrainer Scripting Language 8 Example 5: This example shows how to specify reserved fields in the TLP header using the Field p

Strona 6 - 1 Introduction

Teledyne LeCroy PETrainer Scripting Language 9 3.1.1 TLPType = MRd32, MRdlk32, MWr32 Parameter Value Default Comment LastDwBe 0:15 0 Byte 7 in

Strona 7 - 2 Command List

Teledyne LeCroy PETrainer Scripting Language 10 3.1.2 TLPType = MRd64, MRdLk64, MWr64 Parameter Value Default Comment LastDwBe 0:15 0 Byte 7 i

Strona 8 - 3 Packet Command

Teledyne LeCroy PETrainer Scripting Language 11 3.1.3 TLPType = IoRd, IoWr Parameter Value Default Comment LastDwBe 0:15 0 Byte 7 in the TLP h

Strona 9

Teledyne LeCroy PETrainer Scripting Language 12 3.1.4 TLPType = Cfgrd0, Cfgwr0, Cfgrd1, Cfgwr1 Parameter Value Default Comment LastDwBe 0:15 0

Strona 10

Teledyne LeCroy PETrainer Scripting Language 13 3.1.5 TLPType = Msg, Msgd Parameter Value Default Comment MessageRoute ToRootComplex ByAddress

Strona 11

Teledyne LeCroy PETrainer Scripting Language 14 Example 1: This example shows how to send a PME_Turn_Off Power Management Message while emulati

Strona 12

Teledyne LeCroy PETrainer Scripting Language ii Document Disclaimer The information contained in this document has been carefully checked and is

Strona 13

Teledyne LeCroy PETrainer Scripting Language 15 3.1.6 TLPType = Cpl, CplLk, CplD, CplDLk Parameter Value Default Comment CompleterId (XX:XX:X)

Strona 14

Teledyne LeCroy PETrainer Scripting Language 16 Example 2: This example shows how to send a Completion with Data TLP. This Completion TLP retur

Strona 15

Teledyne LeCroy PETrainer Scripting Language 17 3.1.7 TLP Field or Payload Substitution (For Summit Z2-16 and Summit Z3-16 Trainers only) Wh

Strona 16 - 3.1.3 TLPType = IoRd, IoWr

Teledyne LeCroy PETrainer Scripting Language 18 Address = ( FROM_MEM32_A, 32 ) The system takes the value of the Address field from the Mem32 A

Strona 17

Teledyne LeCroy PETrainer Scripting Language 19 3.2 Packet = DLLP This command initiates transmission of DLLP packets on the bus. Parameters f

Strona 18 - 3.1.5 TLPType = Msg, Msgd

Teledyne LeCroy PETrainer Scripting Language 20 Example 1: This example shows how to send a PM_Active_State_Request_L1 power management DLLP. T

Strona 19

Teledyne LeCroy PETrainer Scripting Language 21 3.2.1 DLLPType = Ack, Nak Parameter Values Default Comment AckNak_SeqNum 0:4095 0 Bytes 2-3 in

Strona 20

Teledyne LeCroy PETrainer Scripting Language 22 3.2.2 DLLPType = InitFC1_P, InitFC1_NP, InitFC1_Cpl, InitFC2_P, InitFC2_NP, InitFC2_Cpl, Update

Strona 21

Teledyne LeCroy PETrainer Scripting Language 23 3.2.3 DLLPType = Vendor Parameter Values Default Comment Data 0x000000:0xFFFFFF 0 Vendor speci

Strona 22

Teledyne LeCroy PETrainer Scripting Language 24 3.3 Packet = OrderedSet This command initiates transmission of ordered set on the bus. Parame

Strona 23

Teledyne LeCroy PETrainer Scripting Language iii Contents 1 Introduction... 1 1

Strona 24 - 3.2 Packet = DLLP

Teledyne LeCroy PETrainer Scripting Language 25 3.3.1 SetType = TS1, TS2 Parameter Values Default Comment LinkNumber 0:255, PAD PAD Link Numbe

Strona 25

Teledyne LeCroy PETrainer Scripting Language 26 Example 1: The following example sends a TS1 ordered set. N_FTS is equal to 255 for all lanes.

Strona 26 - 3.2.1 DLLPType = Ack, Nak

Teledyne LeCroy PETrainer Scripting Language 27 Example 4: The following example sends a TS2 ordered set. N_FTS is equal to 255 for all lanes.

Strona 27

Teledyne LeCroy PETrainer Scripting Language 28 3.3.2 SetType = Skip Parameter Values Default Comment SkipCount 0:5 3 Number of SKIP symbols t

Strona 28 - 3.2.3 DLLPType = Vendor

Teledyne LeCroy PETrainer Scripting Language 29 3.4 Packet = Raw This command initiates transmission of raw data on the bus. Parameter Values

Strona 29 - 3.3 Packet = OrderedSet

Teledyne LeCroy PETrainer Scripting Language 30 3.5 Packet = <TemplateName> This command initiates transmission of the packet specified

Strona 30 - 3.3.1 SetType = TS1, TS2

Teledyne LeCroy PETrainer Scripting Language 31 4 Idle Command This command sends idle symbols (D0.0) for the time specified. Example: The f

Strona 31

Teledyne LeCroy PETrainer Scripting Language 32 5 Link Command All of these commands, with the exception of Link = InitFC, are controls to the

Strona 32

Teledyne LeCroy PETrainer Scripting Language 33 Note: Command supported only by Z3 Trainer. 5.8 Link = Detect Tells the PETrainer™ to immediat

Strona 33 - 3.3.2 SetType = Skip

Teledyne LeCroy PETrainer Scripting Language 34 5.15 Link = 5_0 Initiates speed switch to 5.0 GT/s data rate. The system attempts to switch if t

Strona 34 - 3.4 Packet = Raw

Teledyne LeCroy PETrainer Scripting Language iv 5.15 Link = 5_0 ... 34 5.16

Strona 35

Teledyne LeCroy PETrainer Scripting Language 35 6 Config Command This command configures the PETrainer™. 6.1 Config = General This command

Strona 36 - 4 Idle Command

Teledyne LeCroy PETrainer Scripting Language 36 Example 1: The following example configures PETrainer to generate traffic on an x4 link (LinkWi

Strona 37 - 5 Link Command

Teledyne LeCroy PETrainer Scripting Language 37 6.2 Config = FCTx This command allows you to specify the policy for TLP transmission for recei

Strona 38

Teledyne LeCroy PETrainer Scripting Language 38 6.3 Config = FCRx This command configures automatic UpdateFC DLLP generation. Parameter Value

Strona 39 - 5.17 Link = Xn

Teledyne LeCroy PETrainer Scripting Language 39 6.4 Config = TLP This command facilitates data integrity control. Parameter Values Default Co

Strona 40 - 6 Config Command

Teledyne LeCroy PETrainer Scripting Language 40 6.5 Config = AckNak Parameter Values Default Comment AckNak Auto, Ack, Nak, Disable For Summ

Strona 41

Teledyne LeCroy PETrainer Scripting Language 41 This example shows how to configure the PETrainer to NAK only one incoming TLP packet: Config=A

Strona 42 - 6.2 Config = FCTx

Teledyne LeCroy PETrainer Scripting Language 42 6.6 Config = Transactions This command determines the behavior of PETrainer as it responds to

Strona 43 - 6.3 Config = FCRx

Teledyne LeCroy PETrainer Scripting Language 43 Config = Transactions { AutoCfgCompletion = Yes ; Automatically complete Configuration TLP reque

Strona 44 - 6.4 Config = TLP

Teledyne LeCroy PETrainer Scripting Language 44 6.8 Config = Definitions Parameter Values Default Comment Any literal Any integer, string, pay

Strona 45 - 6.5 Config = AckNak

Teledyne LeCroy PETrainer Scripting Language v 15 Structure Command ... 75 15.1 Command Paramet

Strona 46

Teledyne LeCroy PETrainer Scripting Language 45 Example 2: This example shows how to use definitions in the expressions (see Page 65) and how t

Strona 47 - 6.6 Config = Transactions

Teledyne LeCroy PETrainer Scripting Language 46 6.9 Config = SendInterrupt This command is only valid for Device Emulation and allows initiati

Strona 48 - 6.7 Config = Link

Teledyne LeCroy PETrainer Scripting Language 47 6.10 Config = NVMe This command is only valid for Device Emulation. It starts and configures N

Strona 49 - 6.8 Config = Definitions

Teledyne LeCroy PETrainer Scripting Language 48 6.11 Config = NVMeDriveErrorInjection This command is only valid for Device Emulation. It confi

Strona 50

Teledyne LeCroy PETrainer Scripting Language 49 CMD_ACTION_DROP_CMD N/A Applies to NVMe commands: - Don’t read and execute the command upon

Strona 51 - 6.9 Config = SendInterrupt

Teledyne LeCroy PETrainer Scripting Language 50 7 Wait Command This command yields script execution until condition specified is true or timeo

Strona 52 - 6.10 Config = NVMe

Teledyne LeCroy PETrainer Scripting Language 51 Wait = DLLP This command waits for a DLLP that matches the defined condition. All parameters fr

Strona 53

Teledyne LeCroy PETrainer Scripting Language 52 Wait = Error Parameter Values Default Comment Errors DLLPCRC TLPLCRC Delimiter Disparity Symbol

Strona 54

Teledyne LeCroy PETrainer Scripting Language 53 7.2 Wait = LinkCondition Parameter Values Default Comment Conditions SKIP IDLE TS1 TS2 FTS PAT

Strona 55 - 7 Wait Command

Teledyne LeCroy PETrainer Scripting Language 54 7.3 Wait = Payload This command waits for TLP payload match. Parameter Values Default Comment

Strona 56

Teledyne LeCroy PETrainer Scripting Language 1 1 Introduction This manual describes the scripting language used to create traffic generation fi

Strona 57

Teledyne LeCroy PETrainer Scripting Language 55 Example 3: The following example can be executed only on PETrainer EML. This command waits fo

Strona 58 - 7.2 Wait = LinkCondition

Teledyne LeCroy PETrainer Scripting Language 56 7.4 Wait = User This command waits for user input. The script execution would continue when us

Strona 59 - 7.3 Wait = Payload

Teledyne LeCroy PETrainer Scripting Language 57 7.5 Wait = FastTransmitIdle Note: This command is available only for the Summit Z2-16 and Summ

Strona 60

Teledyne LeCroy PETrainer Scripting Language 58 7.6 Additional “Wait” Modifiers 1. Wait = <number> Unconditionally yields script execu

Strona 61 - 7.4 Wait = User

Teledyne LeCroy PETrainer Scripting Language 59 8 Branch Command This command enables/disables the branch procedure for the condition specifie

Strona 62 - 7.5 Wait = FastTransmitIdle

Teledyne LeCroy PETrainer Scripting Language 60 Example: ... Proc = Begin { ProcName = “Procedure1” } ... Proc = End ; The following stat

Strona 63

Teledyne LeCroy PETrainer Scripting Language 61 8.2 Branch = Disable This command disables the branch procedure that was previously enabled.

Strona 64 - 8 Branch Command

Teledyne LeCroy PETrainer Scripting Language 62 9 Proc Command This command declares the procedure to be executed for the Branch command. Proc

Strona 65

Teledyne LeCroy PETrainer Scripting Language 63 10 Loop Command This command causes the PETrainer™ BusEngine™ to re-execute a block of command

Strona 66 - 8.2 Branch = Disable

Teledyne LeCroy PETrainer Scripting Language 64 11 Repeat Command This command causes one or more commands to be repeated. This is not impleme

Strona 67 - 9 Proc Command

Teledyne LeCroy PETrainer Scripting Language 2 2 Command List COMMAND MODIFIERS Comment Packet TLP, DLLP, OrderedSet, Raw, <TemplateNam

Strona 68 - 10 Loop Command

Teledyne LeCroy PETrainer Scripting Language 65 11.1 Repeat = Begin This command marks the beginning of the code being repeated. Parameter Val

Strona 69 - 11 Repeat Command

Teledyne LeCroy PETrainer Scripting Language 66 Example 2: The following example shows the usage of the counters in nested repeats. The count

Strona 70 - 11.1 Repeat = Begin

Teledyne LeCroy PETrainer Scripting Language 67 repeat = End This command marks the end of the code being repeated. Example: Repeat = Begi

Strona 71

Teledyne LeCroy PETrainer Scripting Language 68 12 Template Command This command creates a template for a packet that can be used in the Packe

Strona 72

Teledyne LeCroy PETrainer Scripting Language 69 Example 2: The following example shows nested templates (i.e. when one template is based on ano

Strona 73 - 12 Template Command

Teledyne LeCroy PETrainer Scripting Language 70 13 Include Command This command includes the PETrainer™ script file inline. All commands in th

Strona 74

Teledyne LeCroy PETrainer Scripting Language 71 14 AddressSpace Command This command reads/writes the PETrainer™ memory region. PETrainer map

Strona 75 - 13 Include Command

Teledyne LeCroy PETrainer Scripting Language 72 14.1 AddressSpace = Read This command reads specified memory region from PETrainer and stores i

Strona 76 - 14 AddressSpace Command

Teledyne LeCroy PETrainer Scripting Language 73 14.2 AddressSpace = Write This command writes specified memory region into PETrainer from speci

Strona 77 - 14.1 AddressSpace = Read

Teledyne LeCroy PETrainer Scripting Language 74 Example 2: This command writes 16 bytes, starting from address 0x1000, into the Mem64 memory re

Strona 78 - 14.2 AddressSpace = Write

Teledyne LeCroy PETrainer Scripting Language 3 3 Packet Command This command initiates transmission of a specified packet on the bus. 3.1 Pa

Strona 79

Teledyne LeCroy PETrainer Scripting Language 75 15 Structure Command This command writes the PETrainer™ memory region, allowing you to specify

Strona 80 - 15 Structure Command

Teledyne LeCroy PETrainer Scripting Language 76 Structure=NVMe { Location=Mem64 Offset = 0x1000 NVMeStructType = NVMCommand O

Strona 81

Teledyne LeCroy PETrainer Scripting Language 77 Location=Mem64 Offset = 0x1080 AhciStructType=PRDT DBA = 0x3F3B2048 DBAU =

Strona 82

Teledyne LeCroy PETrainer Scripting Language 78 15.2 Creating Errors in Structures There are several ways of inserting various errors in the N

Strona 83

Teledyne LeCroy PETrainer Scripting Language 79 16 FastTransmit Engine Commands Note: The commands in this section are available only for the

Strona 84 - 16.1 FastTransmit Command

Teledyne LeCroy PETrainer Scripting Language 80 16.1.1 FastTransmit = Setup Begins the definition section of a FastTransmit block. 16.1.2 Fas

Strona 85 - 16.1.5 FastTransmit = Stop

Teledyne LeCroy PETrainer Scripting Language 81 16.2 Send Command A Send command defines a sequence of high-performance packets to send once, a

Strona 86 - 16.2 Send Command

Teledyne LeCroy PETrainer Scripting Language 82 Parameter Values Default Value Comment PayloadGrowth FixedByte FixedDWord IncrementByte Increme

Strona 87

Teledyne LeCroy PETrainer Scripting Language 83 16.2.1 Send = MRd32/MWr32 Parameter Value Default Comment Address 0x00000000: 0xFFFFFFFF 0 Byte

Strona 88 - 16.2.2 Send = MRd64/MWr64

Teledyne LeCroy PETrainer Scripting Language 84 How to Contact Teledyne LeCroy Type of Service Contact Call for technical support US and Canada

Strona 89

Teledyne LeCroy PETrainer Scripting Language 4 Parameter Values Default Value Comment Snoop 0 indicates that hardware enforced cache coherency i

Komentarze do niniejszej Instrukcji

Brak uwag