Teledyne-lecroy Protocol Analyzers File-Based Decoding User Manual Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Équipement Teledyne-lecroy Protocol Analyzers File-Based Decoding User Manual. Teledyne LeCroy Protocol Analyzers File-Based Decoding User Manual User Manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 82
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
August 2011
PROTOCOL SOLUTIONS GROUP
3385 SCOTT BLVD
SANTA CLARA, CA 95054
LeCroy Protocol Analyzers
File-Based Decoding
User Manual
Vue de la page 0
1 2 3 4 5 6 ... 81 82

Résumé du contenu

Page 1 - User Manual

August 2011PROTOCOL SOLUTIONS GROUP3385 SCOTT BLVDSANTA CLARA, CA 95054LeCroy Protocol AnalyzersFile-Based DecodingUser Manual

Page 2 - Copyright

Chapter 2: Values File-based Decoding User Manual4 LeCroy CorporationEscape SequencesThese are the available escape sequences in CSL:\\ "This is

Page 3 - TABLE OF CONTENTS

File-based Decoding User Manual Chapter 2: ValuesLeCroy Corporation 52.2 VariablesVariables are used to store information, or data, that can be modif

Page 4 - Index 73

Chapter 2: Values File-based Decoding User Manual6 LeCroy CorporationLocal VariablesLocal variables are not declared. Instead, they are created as nee

Page 5 - LIST OF FIGURES

File-based Decoding User Manual Chapter 3: ExpressionsLeCroy Corporation 7Chapter 3: ExpressionsAn expression is a statement that calculates a value

Page 6 - LIST OF TABLES

Chapter 3: Expressions File-based Decoding User Manual8 LeCroy Corporation3.1 select expressionThe select expression selects the value to which it eva

Page 7 - Chapter 1: Introduction

File-based Decoding User Manual Chapter 4: OperatorsLeCroy Corporation 9Chapter 4: OperatorsAn operator is a symbol that represents an action, such

Page 8 - 2 LeCroy Corporation

Chapter 4: Operators File-based Decoding User Manual10 LeCroy CorporationWhen operators of equal precedence occur in an expression, the operands are e

Page 9 - Chapter 2: Values

File-based Decoding User Manual Chapter 4: OperatorsLeCroy Corporation 11Operator Symbol Description Operand TypesResult Types ExamplesIndex Operator

Page 10

Chapter 4: Operators File-based Decoding User Manual12 LeCroy CorporationEquality Operators== Equal Integer-integer Integer 2 == 2String-string Intege

Page 11 - 2.2 Variables

File-based Decoding User Manual Chapter 4: OperatorsLeCroy Corporation 13Logical Operators! Negation All combinations of types Integer !0 = 1 !"

Page 12 - 2.3 Constants

Document Disclaimer File-based Decoding User ManualLeCroy CorporationDocument DisclaimerThe information in this document has been carefully checked a

Page 13 - Chapter 3: Expressions

Chapter 4: Operators File-based Decoding User Manual14 LeCroy CorporationAssignment Operators= Assignment Any Any A = 1B = C = A+= Addition assignment

Page 14 - 3.1 select expression

File-based Decoding User Manual Chapter 4: OperatorsLeCroy Corporation 15List Operatorssizeof() Number of elementsAny Integer sizeof([1, 2, 3]) = 3si

Page 15 - Chapter 4: Operators

Chapter 4: Operators File-based Decoding User Manual16 LeCroy Corporation

Page 16 - 10 LeCroy Corporation

File-based Decoding User Manual Chapter 5: CommentsLeCroy Corporation 17Chapter 5: CommentsComments may be inserted into scripts as a way of documen

Page 17 - Types Examples

Chapter 5: Comments File-based Decoding User Manual18 LeCroy Corporation

Page 18 - 12 LeCroy Corporation

File-based Decoding User Manual Chapter 6: KeywordsLeCroy Corporation 19Chapter 6: KeywordsKeywords are reserved words that have special meanings wi

Page 19

Chapter 6: Keywords File-based Decoding User Manual20 LeCroy Corporation

Page 20 - 14 LeCroy Corporation

File-based Decoding User Manual Chapter 7: StatementsLeCroy Corporation 21Chapter 7: StatementsStatements are the building blocks of a program. A pr

Page 21

Chapter 7: Statements File-based Decoding User Manual22 LeCroy Corporation7.3 if-else StatementsThe form for an if-else statement isif <expression&

Page 22 - 16 LeCroy Corporation

File-based Decoding User Manual Chapter 7: StatementsLeCroy Corporation 237.5 for StatementsA for statement takes the form: for (<expression1>;

Page 23 - Chapter 5: Comments

File-based Decoding User Manual Table of ContentsLeCroy Corporation iiiTABLE OF CONTENTSChapter 1 Introduction 11.1 Features of CATC Scripting Langu

Page 24 - 18 LeCroy Corporation

Chapter 7: Statements File-based Decoding User Manual24 LeCroy Corporation7.6 return StatementsEvery function returns a value, which is usually design

Page 25 - Chapter 6: Keywords

File-based Decoding User Manual Chapter 7: StatementsLeCroy Corporation 25However,str = FormatEx ( "%s", HiThere() );...HiThere(){a = &

Page 26 - 20 LeCroy Corporation

Chapter 7: Statements File-based Decoding User Manual26 LeCroy Corporation7.7 Compound StatementsA compound statement, or statement block, is a group

Page 27 - Chapter 7: Statements

File-based Decoding User Manual Chapter 8: PreprocessingLeCroy Corporation 27Chapter 8: PreprocessingThe preprocessing command %include can be used

Page 28 - 7.4 while Statements

Chapter 8: Preprocessing File-based Decoding User Manual28 LeCroy Corporation

Page 29 - 7.5 for Statements

File-based Decoding User Manual Chapter 9: ContextLeCroy Corporation 29Chapter 9: ContextThe context is the mechanism by which transaction data is p

Page 30 - 7.6 return Statements

Chapter 9: Context File-based Decoding User Manual30 LeCroy Corporation

Page 31 - LeCroy Corporation 25

File-based Decoding User Manual Chapter 10: FunctionsLeCroy Corporation 31Chapter 10: FunctionsA function is a named statement or a group of stateme

Page 32 - 7.7 Compound Statements

Chapter 10: Functions File-based Decoding User Manual32 LeCroy CorporationAll parameters are passed by value, not by reference, and can be changed in

Page 33 - Chapter 8: Preprocessing

File-based Decoding User Manual Chapter 11: PrimitivesLeCroy Corporation 33Chapter 11: PrimitivesPrimitive functions are called similarly to regular

Page 34 - 28 LeCroy Corporation

Table of Contents File-based Decoding User Manualiv LeCroy CorporationAppendix B:Bluetooth . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

Page 35 - Chapter 9: Context

Chapter 11: Primitives File-based Decoding User Manual34 LeCroy CorporationFormat()Format (<format string>, <value string or integer>)Para

Page 36 - 30 LeCroy Corporation

File-based Decoding User Manual Chapter 11: PrimitivesLeCroy Corporation 35Format Conversion CharactersThese are the format conversion characters use

Page 37 - Chapter 10: Functions

Chapter 11: Primitives File-based Decoding User Manual36 LeCroy CorporationFormatEx()FormatEx (<format_string string>, <arg_list list>)Par

Page 38 - 32 LeCroy Corporation

File-based Decoding User Manual Chapter 11: PrimitivesLeCroy Corporation 37Format Conversion Characters These are the format conversion characters us

Page 39 - Chapter 11: Primitives

Chapter 11: Primitives File-based Decoding User Manual38 LeCroy CorporationResolve()Resolve( <symbol_name string> )Parameter MeaningDefault Valu

Page 40 - Format()

File-based Decoding User Manual Chapter 11: PrimitivesLeCroy Corporation 3911.2 Data Manipulation PrimitivesGetBitOffset()GetBitOffset() Parameter Me

Page 41 - Format Conversion Characters

Chapter 11: Primitives File-based Decoding User Manual40 LeCroy CorporationGetNBits()GetNBits (<bit_source list or raw>,  <bit_offs

Page 42 - FormatEx()

File-based Decoding User Manual Chapter 11: PrimitivesLeCroy Corporation 41NextNBits()NextNBits (<bit_count integer>)Parameter MeaningDefault V

Page 43

Chapter 11: Primitives File-based Decoding User Manual42 LeCroy CorporationPeekNBits()PeekNBits(<bit_count integer>) Parameter MeaningDefault Va

Page 44 - Resolve()

File-based Decoding User Manual Chapter 11: PrimitivesLeCroy Corporation 4311.3 List Manipulation PrimitivesRemoveAt()RemoveAt( <list_object list,

Page 45 - GetBitOffset()

File-based Decoding User Manual List of FiguresLeCroy Corporation vLIST OF FIGURESFigure 7.1 Execution of a for Statement . . . . . . . . . . . . .

Page 46 - GetNBits()

Chapter 11: Primitives File-based Decoding User Manual44 LeCroy CorporationSetAt()RemoveAt( <list_object list, index integer> )Parameter Meaning

Page 47 - NextNBits()

File-based Decoding User Manual Chapter 11: PrimitivesLeCroy Corporation 4511.4 Transaction Decoder PrimitivesAbort()Abort()Parameter MeaningDefault

Page 48 - PeekNBits()

Chapter 11: Primitives File-based Decoding User Manual46 LeCroy CorporationAddEvent()AddEvent(<Group string>, <Value string> ) Parameter M

Page 49 - RemoveAt()

File-based Decoding User Manual Chapter 11: PrimitivesLeCroy Corporation 47Complete()Complete()Parameter MeaningDefault Value CommentsSupportSupporte

Page 50 - 44 LeCroy Corporation

Chapter 11: Primitives File-based Decoding User Manual48 LeCroy CorporationPending()Pending()Parameter MeaningDefault Value CommentsSupportSupported b

Page 51

File-based Decoding User Manual Chapter 11: PrimitivesLeCroy Corporation 49Reject()Reject()Parameter MeaningDefault Value CommentsSupportSupported by

Page 52 - AddEvent()

Chapter 11: Primitives File-based Decoding User Manual50 LeCroy Corporation11.5 Display PrimitivesAddCell()AddCell(<name string>, <value stri

Page 53 - Complete()

File-based Decoding User Manual Chapter 11: PrimitivesLeCroy Corporation 51Example# Create a regular cell named Normal with a value "Cell"

Page 54 - Pending()

Chapter 11: Primitives File-based Decoding User Manual52 LeCroy CorporationAddDataCell()AddDataCell(<data_value raw, list or integer>, <addit

Page 55 - Reject()

File-based Decoding User Manual Chapter 11: PrimitivesLeCroy Corporation 53Example# Creates a data cell with 2 dwords (32-bit integers) of data.AddDa

Page 56 - 11.5 Display Primitives

List of Tables File-based Decoding User Manualvi LeCroy CorporationLIST OF TABLESTable 2.1 Examples of String Literals . . . . . . . . . . . . . . .

Page 57 - LeCroy Corporation 51

Chapter 11: Primitives File-based Decoding User Manual54 LeCroy CorporationAddSeparator()AddSeparator(<additional_info any>, ...)Parameter Meani

Page 58 - AddDataCell()

File-based Decoding User Manual Chapter 11: PrimitivesLeCroy Corporation 55BeginCellBlock()BeginCellBlock(<name string>, <value string>,

Page 59 - LeCroy Corporation 53

Chapter 11: Primitives File-based Decoding User Manual56 LeCroy CorporationExample# Begin the 'red' group. For clarity these cells are red:B

Page 60 - AddSeparator()

File-based Decoding User Manual Chapter 11: PrimitivesLeCroy Corporation 57The output of the example is: Figure 11.4 Example: Output for BeginCellBl

Page 61 - <additional_info any>)

Chapter 11: Primitives File-based Decoding User Manual58 LeCroy CorporationEndCellBlock()EndCellBlock()Parameter MeaningDefault Value CommentsSupportS

Page 62 - 56 LeCroy Corporation

File-based Decoding User Manual LeCroy Corporation 59Appendix A: PCI ExpressThe information in this appendix is specific to the PETracer™ analyzer.

Page 63 - LeCroy Corporation 57

File-based Decoding User Manual60 LeCroy Corporationcfg.decDescription: cfg.dec is a configuration data script decoder. Input Data Fieldsin.Channel:

Page 64 - EndCellBlock()

File-based Decoding User Manual LeCroy Corporation 61io.decDescription: io.dec is an IO data script decoder.Input Data Fieldsin.Channel: Direction o

Page 65 - Appendix A: PCI Express

File-based Decoding User Manual62 LeCroy Corporationmem.decDescription: mem.dec is a memory data script decoder.Input Data Fieldsin.Channel: Directi

Page 66 - Output Data Fields

File-based Decoding User Manual LeCroy Corporation 63msg.decDescription: msg.dec is a message data script decoder.Input Data Fieldsin.Channel: Direc

Page 67

File-based Decoding User Manual Chapter 1: IntroductionLeCroy Corporation 1Chapter 1: IntroductionCATC Scripting Language (CSL) was developed to cre

Page 68 - 62 LeCroy Corporation

File-based Decoding User Manual64 LeCroy Corporation• _TLP_MSGCODE_UNLOCK• _TLP_MSGCODE_SLOTPOWERLIMIT• _TLP_MSGCODE_VENDOR0• _TLP_MSGCODE_VENDOR1•

Page 69

File-based Decoding User Manual LeCroy Corporation 65atomop.decDescription: atomop.dec is an atomic operation data script decoder.Input Data Fieldsi

Page 70 - 64 LeCroy Corporation

File-based Decoding User Manual66 LeCroy Corporationin.CompleterID: ID of the completer that completed the transactionin.HeaderData: Packet header d

Page 71

File-based Decoding User Manual LeCroy Corporation 67Appendix B: BluetoothThe information in this appendix is specific to the Bluetooth analyzer. B

Page 72 - 66 LeCroy Corporation

File-based Decoding User Manual68 LeCroy CorporationModule DataThere are several standard global variables that should be defined in a module which

Page 73 - Appendix B: Bluetooth

File-based Decoding User Manual LeCroy Corporation 69DecoderDescOptional. A string that describes this decoder. Displays as a toolbar icon tool tip.

Page 74 - Module Data

File-based Decoding User Manual70 LeCroy CorporationB.2 Input Context DataThe Merlin application decodes several layers of Bluetooth protocol and pr

Page 75 - DecoderDesc

File-based Decoding User Manual How to Contact LeCroyLeCroy Corporation 71How to Contact LeCroyType of ServiceContactCall for technical support…US a

Page 76 - B.2 Input Context Data

How to Contact LeCroy File-based Decoding User Manual72 LeCroy Corporation

Page 77 - How to Contact LeCroy

File-based Decoding User Manual IndexLeCroy Corporation 73 IndexSymbols# symbol 17% symbol 35%include statement 27*/ symbol 17.dec files 1, 59.inc ex

Page 78 - 72 LeCroy Corporation

Chapter 1: Introduction File-based Decoding User Manual2 LeCroy Corporation

Page 79 - LeCroy Corporation 73

Index File-based Decoding User Manual74 LeCroy CorporationData Manipulation Primitives 39decimal numbers 3declare a function 31Decode Scripting files

Page 80 - LeCroy Corporation

File-based Decoding User Manual IndexLeCroy Corporation 75 in.PrepareFldsForDlg 60, 61, 62, 63, 65in.Protocol 70in.Register 60in.RequesterID 60, 61,

Page 81 - LeCroy Corporation 75

Index File-based Decoding User Manual76 LeCroy Corporationregular functions 33Reject function 49relational operators 12relative pathname 27RemoveAt f

Page 82

File-based Decoding User Manual Chapter 2: ValuesLeCroy Corporation 3Chapter 2: ValuesThere are five value types that may be manipulated by a script

Commentaires sur ces manuels

Pas de commentaire