Home
PETracer/Trainer EML User Manual
Contents
1. 133 Chapter 9 Reports and Tools 135 9 1 File INONMANON s 2 200s eeeoren ened theses a eee cad eewes 136 9 2 Eror SUMMALY Sen Eden name nr ete eee eee sawn 137 9 9 rane SUMMARY En BANNA en S Satin Sas ne WAS NG 138 Using the Traffic Summary Window to Search the CATC Trace 138 Traffic Summary Buttons 139 DA BUS VUNZAUOM s 4 oa5 wis foetus tea AP NA ae ieee Sao ae ee 140 Bus Utilization Pop up Menu 141 Bus Utilization BULONG La hawa Goa 6 Aes KG ADAM DNA ARN NG 143 9 5 LINK TACKE 5 5 6 naaa Re A KAWA a ak ae adn os KANG Gohan 145 Using the Link Tracker Window 146 Link Tracker Buttons 149 9 6 Data Flow Window 151 9 7 Using the Trace Navigator 152 Displaying the Navigator 152 Navigator Toolbar 153 Navigator Ranges 153 Navigator Panes 155 9 6 LTSSM Flow Graph ii fake dise ii ien ends 158 9 9 Packet Header Bar Xx ees a paunummiut dus pe dia eee ii oe 159 9 10 Packet Data Window 160 9 11 Configuration Space View 161 9 12 Using Unit Metrics 3 352508
2. 57 AG Dal 36 ho sink Ra hee on eae ae het Meee nebo Ea oes 58 4 8 Making a PCI Express Recording 61 4 9 Recording Multi Segmented CATC Traces 63 How to Create a Multisegment Recording 63 AAUP racer ne Sama hh Aah NAN aoe BA A eas 65 CANG Tace Files ees a TA nich ac or TR Modo MANIA ee 65 Recording Options Files 65 Display Options Files 65 4 11 Opening CATC Trace Files 66 4 12 Saving CATC Trace Files 67 Using the Save As Function 67 Saving a Portion of a CATC Trace 67 4 13 Exporting a CATC Trace File 68 4 14 Printing Data FNCS ss ss ater amer MASA AT KAG Seat gest at 69 4 15 Analyzer Chat Window 70 Chapter 5 Reading CATC Traces 71 5 1 Viewing PCI Express CATC Traces 71 5 2 Expand and Collapse Data Fields 71 D RESIZING CES du a AA Gdns a neue na dns 71 OAR OD UD MENUS oir suit a aan ar on ah ae ol Gare ea wae we hnd 72 5 5 VIEW Data Block xa 22 Kaka essa entame KW ado Select Beans 72 5 6 Show Raw 10b CodeS sr hock ioe eed ite eet haha kes 73 5 7 Show Header Fields
3. 90 Analysis Tools Checkboxes 90 ROSE ST NA Aa ee Se a ne 90 Configuration Name 91 7 3 Color Format and Hiding Options 91 Setting Field Colors 92 Changing Field Formats 94 7 4 Load a Previously Saved Display Options File 98 7 5 Saving Display Options 98 Chapter 8 Recording Options 99 8 1 Setting Recording Options 99 072 AA hee te eras 100 Recording TY OG AA 102 UMN OZ Odie maka doe kts tte pont den Voie Hons Se Beal dh shreds Gow aon hard 102 Target ANA ZEN maaga a back hats oe Rea Ga eee Go Hare Gok eave ote Bek 103 Tagger POSLOM erasi NEA se pe a wha Pays ead Eee 103 GOT OMS 8 AAP 103 Trace Filename and Path 103 Options Name wh aaa ketene te sale goed ng NANG ear eee ee 104 Save As MultiSegment Trace 105 Viewing Multisegmented Files 105 DISC pA ADAN Waaa a AA AAO E 106 Link for PETrainer Messe mai act eaten Aaa gdm othe ANAN ANG Be 107 Saving and Loading Previously Saved Recording Options 109 Setting Default Recording Options 109 8 3 Recording Rules Overview 110 Globa
4. Tay LOWEY k osition Trace View on Packet 40 PE O ist Values ECRC LCRC Toggle Gutlining LeCroy Corporation 195 Chapter 10 Traffic Generation PE Tracer EML User Manual Command Properties Window The Command Properties window lists all possible parameters for the current script command and all values for the parameters currently defined in this command Entering parameters values within the Edit window causes the Command Properties window to automatically update Parameters values can be changed by entering text into the text boxes or by selecting items from pull down menus as shown in the example below Generation Script Editor tales mel o ao ARAN BEG a E Value 10 packet TLP bed 11 i MAdI 12 PSN Ox4 Da 13 TLPType HEd32 Qi 14 TC 0x7 Ch 15 TD 9x1 Snoop B 16 EP 0x0 Ordering 17 Ordering 0 Lengih 18 Address Oxi Requested 19 Snoop Oxo 20 Length Oxd40 214 T1 23 24 25 26 DEAN Inchude peg gt Kgg Lee In this case the edit window is updated automatically If the current script command does not have parameters or the current cursor position is outside of any script command then a generic prompt is displayed in the window Generation Script Editor lalmmli mels c 4 4444 G 6 6 include includedz peg 7 acket a t idie a Lirik L mi D TLP a Template PSN 0x499 Ingude TLPType NRd32 TC OxT TO Ox
5. Traffic Summary mseg_example pem Seon En 0 JO Sok HHH Packet Hit All reports Downstream Tatal Lies Pkt Packets Invalid 10b Code Ek TLP TLP Running Disparity Error o o o Unexpected K D Code fE Requesters Idle Data Error not D0 0 CE Completers Skip Late Ha Traffic Class Skew Error 2 DUP DLLP Bad Packet Length Ordered Set Format Error Flow Control Delimiter Error Link Transactions Alignment Error ven DLLP Invalid Encoding a DLLP Bad CRC16 i Link Trans Performance DLLP Reserved Field not 0 WR Memory Writes DLLP FC Initialization Error Split Transactions TLP Invalid Encoding Et Split Trans Performance ee n i TLP Bad ECRC AD Read Requests TLP Reserved Field not 0 WR Write Requests TLP Payload Length Error He TLP Length Error not 1 TLP TC Error not 0 TLP Attr Error not 0 TLP Byte Enables Yiolation Memory TLP AddressfLength Crosses 4K Mem64 TLP Used Incorrectly CFg TLP Register Error Msg TLP Invalid Routing Invalid Packet J FC Invalid Advertisement FC Insufficient Credits DS So OS OS CSS CS COCO OAA DS SOS OS OS SC COS Oo So S CS CS DS 000000 O0 OO Oo C0 00000 So oo CSC LeCroy Corporation 137 Chapter 9 Reports and Tools PE Tracer EML User Manual 9 3 Traffic Summary The Traffic Summary window summarizes the traffic in the current CATC Trace The left side of the window displays a tree of protocol levels The right side displays a summary of traffic for the display
6. Chapter 8 Recording Options PE Tracer EML User Manual Ordered Set Properties Dialog The Ordered Set Properties dialog box Event Properties xl Ord Set Actions T51 Ordered Set M Skip Ordered Set TU Comma T52 Ordered Set I Electrical Idle Ordered Set F Training Control FM FTS Ordered Set Hot Reset IT Disable Link Channels f2 Al IT Loopback a Pu Disable Scrambling Select All Clear All Desc Any occurence on channels Up or Down of Skip 8 10 Counting Events 128 Triggers can be set on multiple instances of an event For example you can set a trigger to occur following five instances of any DLP To configure the Analyzer to look for multiple events you enable Counters Counters tell the Analyzer how many occurrences of an event it should wait for before triggering For example Trigger following the 16th occurrence of an error Counters enable triggers to be set that are based on a count of events For example you could use a counter to Trigger following the 16th occurrence of a DLLP message Global State active at all times NO ACTION Pp Bown Count 16 To use a counter follow these steps Step 1 Click an event This causes an arrow to appear Step 2 Click one of the two counters it does not matter which you use This causes the counter to attach itself to the bottom of the event shown above An arrow automatically connects the counter to the Trigg
7. PE Tracer EML User Manual Chapter 2 Hardware Description Wide range AC Connector Module e Power socket e Power on off switch e Enclosed 5x20 mm 2 0A 250 V fast acting glass fuse Warning For continued protection against fire replace fuse only with the type and rating specified above LeCroy Corporation 19 Chapter 2 Hardware Description PE Tracer EML User Manual 2 9 Specifications for PE Tracer EML PE Trainer EML The following specifications describe a combined PE Tracer EML or PE Trainer EML and Universal Protocol Analyzer System UPAS Package Dimensions UPAS 100K 11 5 x 5 75 x 16 25 inches 29 21x 14 6x 41 275cm PETracer EML Plug in 9 16x 6x 1 25inches 23 26x 15 24x 3 175cm PE Trainer EML Plug in module 2 per platform 9 16 x 6x 1 25 inches 23 26 x 15 24 x 3 175 cm Connectors PE Tracer EML 2 Probe Data PE Trainer EML Two Data Probe Connectors Molex VHDCI UPAS AC power connection External trigger connection TRIG IN OUT BNC 2 High Speed Expansion Ports SFP Sync In Sync Out PC connection USB 2 0 Breakout Board type D Weight UPAS 100000 9 5 Ibs 4 3 kg PE Tracer EML Plug in 1 7 Ib 0 77 kg PE Trainer EML Plug in 1 7 Ib 0 77 kg Power Requirements 90 to 254 VAC 47 to 63 Hz universal input 100 W maximum Environmental Conditions Operating Temperature 0 to 40 C 32 to 104 F Storage Range 20 to 80 C 4 to 176 F Operating Humidity 10 to 90 non condensing Operating Alti
8. This function adds a subfield to a register field in the Capability View Subfields are modifiable and visible in the Field View and appear in the tooltips of register fields e parent field Pointer to a register field in the Capability View e subfield name Name of the subfield displayed in the Field View e subfield length Length of the subfield e configuration reg type Configuration register type of the subfield field Note This overrides the configuration_reg_type of the parent field e tooltip Tooltip displayed for the subfield in the Capability View e encoding table Optional Displays encodings as lists for select values e For example user input becomes a combo box for the field in the Field View For example AddSubField capability reg Mode Supported 4 CFGREG RO Indicates the Function modes ModeEncodings means Add the subfield Mode Supported to the parent field capability reg with length 4 type CFGREG RO a tooltip in the Capability View and a combo box displaying mode encodings for input in the Field View A 5 Helper File ConfigSpaceCommon inc include file contains useful functions for script decoding LeCroy Corporation 235 Appendix B China Restriction of Hazardous Substances Table PE Tracer EML User Manual Appendix B China Restriction of Hazardous Substances Table The following tables are supplied in compliance with China s Restriction of Hazardous Substances China RoHS requirement
9. Yall NT 05 391 376 400 E Link utilization PETrainer 5N 400 Payload KBytes ayload 00 010 540 445 InitFC complete Tes Link sabe o oo DETECT_ACTIVE of o fr Time From Start 00 00 44 ang a tJ 3 200 Packets Count iPacketsjus 100 LeCroy Corporation 175 Chapter 9 Reports and Tools 176 PE Tracer EML User Manual For each PE Trainer device the following information displayed Number of data packets Payload size InitFC complete status Yes No Link State Possible states are DETECT QUIET DETECT ACTIVE POLLING ACTIVE POLLING CONFIG CONFIG LINKWIDTH START CONFIG LINKWIDTH ACCEPT CONFIG LANENUM WAIT CONFIG LANENUM ACCEPT CONFIG COMPLETE CONFIG IDLE LO LOS IDLE LOS FTS L1 RECOVERY RCVRLOCK RECOVERY RCVRCFG RECOVERY IDLE HOT RESET DISABLED LeCroy Corporation PE Tracer EML User Manual Chapter 9 Reports and Tools 9 14 TC to VC Mapping TC to VC Mapping displays how Traffic Classes are mapped to Virtual Channels to simplify navigation and how the CATC Trace display was changed for example in Split Transactions TC to C Mapping h NN x 223 Cancel LeCroy Corporation 177 Chapter 9 Reports and Tools 9 15 Timing and Bus Usage Calculations The Timing and Bus Usage Calculator allows you to calculate time between packets 178 PE Tracer EML User Manual Timing Calculator E xl From beginni
10. ic Errors Link Transaction Memory Writes This report table includes only the Link Transactions that present Memory Write Requests Memory Writes are the only posted requests that don t get promoted to the Split transaction level therefore their performance should be viewed at the Link transaction level The table groups Memory Writes by the combination of Requester ID and Traffic Class and displays Minimum Average Maximum data for Response Time Payload and Throughput metrics Hos mI All reports Ki Requester TC Resp time Min Resp time 4vrg Resp time Max Pld Bytes Min Pld Bytes Avrg mag Bytes Max Thrpt MB s Min Thrpt MB s Avrg Thrpt MB s Max Pkt Packets 5 001 00 0 TCO 20 112 000 ns 297 390 ns 564 000 ns 8 8 00 14 184 32 079 71 429 000 00 0 TCO 11565 296 000 ns 570 110 ns 816 000 ns 4 50 59 F 6 579 84 421 124 031 11588 ory y Link Link Transactions YCID Link Trans Performance WR Memory Writes Split Split Transactions CO Errors Meme Link Transacti Following features apply to all of the report tables described above for the Split Transaction and Link Transaction levels e Each report row for the defined tables contains the total number of units in this group for the CATC Trace total number of units for Split Transaction performance Read Requests performance Memory Writes and so on e 1n many cases the Maximum and Minimum values in t
11. 781F33AB 12340000 1111 ET BE HERA ata a Ee Idle Time Stamp 1000 1023 dwords O0x0D632C96 Ox26214D17 0 000 ns 0000 000 000 000 s rae MEd oo 00000 000 01 2 00010000 f 1111 1111 ECR LORE Time Delta Time Stamp OxDASSFOCE OxA3AD0991 96 000 ns 0000 000 016 450 s Link Link level decode Ll is composed of TLP packets matched with a corresponding ACK or NAK coming from the opposite direction 7 Link Tra CE E Se hv rib 0 l 11 00000 000 01 2 781F33A5 12340000 1111 1000 Data dwords f lata ECR Waa aaa Fr letrics Packets gL Time Delta 1023 Ox0D632C96 ween 2 16480 ps Time stamp 0000 000 00O O00 s UAE Ci TF MRdi32 mn O0 00000 oo0 01 2 00010000 1111 1111 ECRC WC ID Explicit ACK fa Ta Packets Time Delta Time Stamp OxDAS3FOCE 3 256 000 ns 0000 000 016 480 s Split Split level decode Split is composed of two Link transactions the Request TLP and the Completion TLP from the other direction E a o i TER i Packets Time Delta i Data ECRC VC ID Explicit NAK 1023 dwords Ox0D632C96 Time Stamp 0000 000 000 000 s Split Tra a TEE 1Rd 32 7 hiom CompleterlD TC VC D 0 O0 00000 o00 01 2 001 01 0 Fo o ooo1oo00 peo aor ae ata is LinkTras Time Delta Time Stamp 11023 dwords dwords Metri 2 16 480 ps k Metri etric 16 648 ps 0000 000 016 480 s LeCroy Corpor
12. LeCroy PROTOCOL SOLUTIONS GROUP 3385 SCOTT BLVD SANTA CLARA CA 95054 PETracer EML PCI Express Multi Lane Protocol Analyzer PETrainer EML PCI Express Multi Lane Exerciser User Manual Stot Starus Sl For Software Version 5 7x August 2009 PE Tracer EML User Manual Document Disclaimer The information in this document has been carefully checked and is believed to be reliable However no responsibility can be assumed for inaccuracies that may not have been detected LeCroy reserves the right to revise the information in this document without notice or penalty Trademarks and Servicemarks LeCroy CATC Trace PCI Express PE Tracer Edge PETracer EML PETracer ML PE Tracer PETrainer EML PETrainer ML PE Tracer Summit Summit T2 16 Summit Z2 16 Universal Protocol Analyzer System UPAS and BusEngine are trademarks of LeCroy Microsoft and Windows are registered trademarks of Microsoft Inc All other trademarks are property of their respective companies Copyright Copyright 2009 LeCroy Corporation All Rights Reserved This document may be printed and reproduced without additional permission but all copies should contain this copyright notice WEEE Program This electronic product is subject to disposal and recycling regulations that vary by country and region Many countries prohibit the disposal of waste electronic equipment in standard waste receptacles For more information about proper
13. PE Tracer EML User Manual Capture long recording sessions for analysis and problem solving Access PCI Express recordings up to 40x faster than USB 1 1 No complicated setup required Share and annotate CATC Trace recordings within a development team Freely distributable PE Tracer software enables collaborative analysis across sites and time zones Accurate and non intrusive collection of PCI Express CATC Trace data Upgrades available for download direct from LeCroy website Active and passive slot interposers MidBus probe Flying lead probe Gen1 AMC interposer Gen1 XMC interposer Gen1 SIOM interposer Gen1 Express card interposer Enables cross triggering between other test instruments View Dwords Packet Link and Split Transaction levels of the PCI Express protocol Know that info being displayed is accurate LeCroy Corporation PE Tracer EML User Manual Chapter 1 Overview 1 2 PE Trainer Exerciser Hardware Features and Benefits PE Trainer EML Exercisers have these features and benefits Features Script level traffic generation Convert CATC Trace files into generation scripts Manual Error injection Host End Point Emulation Support Programmable Physical Layer Programmable Data Link Layer Flexible programmable Transaction Layer Raw Generation mode Programmable reply timers Point and Click Script Editor Error Insertion LeCroy Corporation Benefits Programmability to test PCI Expre
14. PE Tracer EML User Manual Chapter 2 Hardware Description 2 6 PE Tracer EML Analyzer LED Descriptions LeCroy Corporation When powered on the PE Tracer EML activates the user accessible controls and LEDs on the front and rear panels of the UPAS Warning Do not open the UPAS enclosure There are no operator serviceable parts inside Refer servicing to LeCroy UPAS LEDs from left to right pe a ANALYZER MODEL PE016MA PCI Express X16 Analyzer ACTIVITY SETUP KE TEM MANUA SLOT 1 SLOT 2 L POWER STATUS TRIGGER TRIGGERED STATUS STATUS a b c d e f a Power indicator LED for UPAS Lights when the unit power is switched on b System Status indicator LED for UPAS Lights during initialization power up of UPAS base unit Blinks if a self test fails c Manual Trigger push button Forces a CATC Trace trigger d Triggered LED Lights when the unit triggers on an event e Slot 1 Status Illuminates when the Analyzer in Slot 1 is recording f Slot 2 Status Illuminates when the Analyzer in Slot 2 is recording PE Tracer EML Module g Activity LED Illuminates when there is traffic on the link h Analyzer Setup LED Illuminates when cable is correctly connected between front of Analyzer and Interposer i Probe Data Connector 15 Chapter 2 Hardware Description PE Tracer EML User Manual 2 7 PETrainer EML Exerciser LED Descriptions When powered on the PE Trainer EML activates the user accessibl
15. Protocol Solutions Group Customer Support 3385 Scott Blvd Santa Clara CA 95054 3115 USA psgsupport teledynelecroy com Visit LeCroy s web site teledynelecroy com LeCroy Corporation 237 How to Contact LeCroy PE Tracer EML User Manual This page is intentionally blank 238 LeCroy Corporation PETracer EML User Manual Index Symbols Packet button 92 lic files 232 opt files 98 peg files 192 peg traffic generation files 187 pem file 65 pem files 65 pex files 65 67 rec files 65 Numerics 100 ohm series resistor 23 16 lane advanced verification system 3 40 pin Data Input Output Connector 18 5 volt pin 23 A AC Connector 19 ACK NAK Delay 208 Actions Properties dialog box 125 Activity 58 Activity LED 15 17 Add Analyzer dialog box 32 Add Counter command 129 adding PETracer 39 address 239 Address Space settings 219 Address Space Size field 229 Advanced Hiding Options 50 All Connected Devices command 232 Analyzer 7 13 license 232 networked 32 setting up 29 update 231 analyzer testing 61 Analyzer Network Chat Bar command 70 LeCroy Corporation Index Analyzer Network command 32 Analyzer Network dialog box 32 Analyzer Setup LED 15 Any Event 132 Any TLP event 131 application 27 Auto Configure Lane Polarity 108 Automatic ACK NAK DLLP generation for received TLP packets 208 automatic generation 185 Available Events area 113 110 averaging 169 Bandwidth 179
16. Show icon on the toolbar If checked places the icon on the Status bar Edit Code Opens a dialog for editing the macro script Step 2 Select the macro to be modified Step 3 Within the Script properties area modify the script name script comment script icon and whether or not to show script icon Step 4 To edit script code press the Edit code button The Generation Macros dialog closes and the Script Editing window appears showing current code for the selected script macro Note If the Generation Script Editor pane does not appear click ti Step 5 Modify the script code and press the Save button al Step 6 Close the script window The macro has now been modified 11 4 Changing the Order of Macro Icons on the Status Bar To change the order of script macro icons on the Status bar Step 1 Open Generation Macro Scripts dialog by selecting Setup gt Generation Macros Step 2 Click the Up and Down buttons to change the order of the script macros Step 3 Close the dialog The button order is changed 216 LeCroy Corporation PE Tracer EML User Manual Chapter 11 Macros 11 5 Deleting User Defined Script Macros To delete a script macro Step 1 Open the Generation Macro Scripts dialog by selecting Setup gt Generation Macros Step 2 Select the macro you want to delete and press the Delete button All deleted scripts and icons are removed from GenScriptMacros directory A backup copy is stored in the GenSc
17. products become useful The PE Trainer includes a collection of automated traffic generation circuits that commonly exist in other PCI Express devices These circuits include ACK NAK generation flow control management a Link Training and Status State machine LTSSM replay buffers and transaction timers What makes the PE Trainer unique and so useful is that each of these behaviors can be individually modified or disabled This allows the user to perform operations that might not otherwise be possible using an off the shelf PCI Express device This can be particularly useful when doing compliance or fault recovery testing Starting Point When the PE Trainer first powers up it is at electrical idle on all lanes The link is not trained but the Link Training and Status State Machine LTSSM is enabled and waiting for a command to train the link To begin communication with a PCI Express device the Link training must occur but first the generation settings must be set This involves setting the Link parameters such as link width polarity inversion and lane reversal through the Generation Options dialog Note Setting the options in the Generation Options dialog has no effect on the PE Trainer behavior until the first script is executed In fact each time a script is executed these behaviors are reprogrammed to the PE Trainer and the behaviors are modified accordingly The Link Connect toolbar button can then be pressed to signal to th
18. Causes the Analyzer to beep when a trigger event is detected e Save External Interface Signals If selected causes the Analyzer to save signals from a Breakout Board as fields in the CATC Trace e Preserve TC to VC mapping across the channels Causes the Analyzer to use whatever TC to VC mapping it established in the last recording e Default TC to VC mapping button Lets users manually configure the default mapping Cancel 106 LeCroy Corporation PE Tracer EML User Manual Chapter 8 Recording Options Link for PE Trainer EML The Link section allows you to manage links Link my 4 HD 16 C t ie C t Upstream Inhibit Channel Reverse Lanes Downstream T Inhibit Channel Reverse Lanes Use External Reference Clock Disable Descrambling TU Auto Configure Lane Polarity Base Spec Few 1 0 Compatibility Mode Link Width Sets the physical width of the link Upstream and Downstream Gives you low level control over each link direction The heading for these boxes indicates the port and or unit to which the following options are applied based on the current Analyzer configuration Inhibit Channel See above ex Reverse Lanes See above e Invert Polarity See above Use External Reference Clock If the PCI Express link under analysis uses spread spectrum clocking then the Analyzer must use the external reference clock from the host system If host does not supply a reference clock t
19. Clicking an item displays the selected Configuration Space in a Configuration Table format 53 Chapter 4 Software Overview Go to Trigger Go to Packet Go to Time Go to Marker Go to Find Find Next Search Direction 54 PE Tracer EML User Manual Search Menu search Menu operations are only available when you are working with a CATC Trace file Repositions the display to show the first packet following the trigger event Repositions the display to a specific packet Link Transaction or Split Transaction number Repositions the display to specific timestamp Repositions the display to a previously marked packet Link Transaction or Split Transaction Allows searching for specific link events TLP Type DLLP Type Ordered Set Link Event Traffic Class DLLP Virtual Channel TLP Virtual Channel Direction Speed Link Width Requester ID Completer ID Data Lengths Errors Displays the Find dialog to allow searching for various events within a CATC Trace You can search by Display Level Packets Link Transactions Split Transactions You can search packets by Event Group TLP Type TLP Header TLP Requester ID TLP Completer ID TLP Data Pattern TLP Data Lengths TLP Tag TLP Sequence Number DLLP Type DLLP Header DLLP Virtual Channel ACK NAK Seq Number Ordered Sets Link Event Direction Errors You can search link transactions by Event Group TLP Type Traffic Class Virtual Channel Direction Re
20. Data can be displayed at the physical layer with Link Tracker to display either 10B 8B codes Symbols or hex in either raw or scrambled formats Traffic can also be displayed at the packet or Link layer or in the application layer split view Placing the mouse pointer over packet data causes a tooltip with an explanation of the field Tooltips explain annotations and often display substantial additional information about selected fields The PE Tracer EML is the first add in module to utilize LeCroy s most advanced Universal Protocol Analysis System UPAS the UPAS 100K platform The expanded memory buffer of 4GB per direction allows the user to capture deeper traces over a longer time period The platform also provides scalability for the future with expanded hardware capabilities and the capacity for two independent plug in modules in the same chassis The UPAS 100K was specifically designed to support high speed serial protocols like PCI Express PE Tracer EML has full x16 lane analysis capabilities as well as many innovative triggering and filtering options that allows the user to easily diagnose problems and test for interoperability and standards compliance in order to quickly create marketable PCI Express products 8 LeCroy Corporation PE Tracer EML User Manual Chapter 1 Overview 1 5 PE Trainer EML Exerciser LeCroy Corporation LeCroy PE Trainer EML a PCI Express 16 lane advanced Exerciser system is a critical test an
21. Data Throughput Number of TLP payload bytes transferred per second Packets second Number of packets transferred per second Split Transaction Performance This portion of the Timing Calculator window gives minimum maximum and average values for all Split transactions during the timing period For example minimum throughput is throughput of the Split transaction that passes the least amount of data Maximum throughput is throughput of the Split transaction that passes the most amount of data Average throughput is the average calculated for all Split transactions during the timing period Response Time The time it took to transmit this Split transaction on the PE link from the beginning of the first packet in the Split transaction to the end of the last packet in the Split transaction Latency The time measured from the end of the request transaction to the first completion transmitted in response to the request within this Split transaction Throughput The transaction payload divided by response time expressed in megabytes per second Memory Writes Performance This portion of the Timing Calculator window gives minimum maximum and average values for all Memory Write transactions during the timing period For example minimum throughput is throughput of the Memory Write transaction that passes the least amount of data Maximum throughput is throughput of the Memory Write transaction that passes the most amount of data Average th
22. Open first segment 1 in the multisegment CATC Trace Previous segment Open previous 4 segment in the multisegment CATC Trace LeCroy Corporation Chapter 4 Software Overview Bus Utilization Opens a window that graphically represents various information about the recording Link Tracker Opens a window that displays symbol information per lane Opens the Data Flow window Shows recorded data in a compressed tabular format LTSSM Flow Graph Shows a state diagram of the LinkTraining and Status State machine Displays the Packet Header bar Opens a window that displays the header information in the current packet as it would be viewed in the specification Running Verification Scripts Opens a dialog that allows you to select and run verification scripts Index file This button becomes active if a multisegment CATC Trace file is open and displays the index file for the recording Next Segment Open next segment in multisegment CATC Trace Last segment Open last segment in multisegment CATC Trace 47 Chapter 4 Software Overview 48 PE Tracer EML User Manual Traffic Generation Toolbar These buttons appear on the status bar at the bottom of the screen if a PE Trainer Exerciser is attached The buttons are explained below Link State PE Trainer EML 5 1021 TRE Ready Start traffic generation Stop traffic generation Read Address Space Uploads information currently he
23. e Logarithmic Converts display to logarithmic format Hide Hides the selected graph KA Remove Allows you to remove any graph that you created via the New command 141 Chapter 9 Reports and Tools PE Tracer EML User Manual Properties Opens a dialog box with options for changing the Title Type Appearance and Color of the graphs Graph area properties kB PLIT Response Time if SPLIT Latency Time SPLIT Response Time line o O Responsetime Wiel ete 142 LeCroy Corporation PETracer EML User Manual Bus Utilization Buttons Chapter 9 Reports and Tools The Bus Utilization window buttons allow you to reformat the display and export data Hos En Button Function A AAA ERA C7 Save Saves Bus Utilization data to a bitmap file bmp Email Opens an email and attaches a bitmap file of the Bus Utilization data ja e 0 yt Print Prints the Bus Utilization data Tile Vertically Show Markers Show Plumbline Status gt gt Bar Tool tips None Grid Lines gt gt Both Axes X Axis Y Axis No Grid Grid on Top Fonts amp Colors E Horizontal zoom in a Horizontal zoom out LeCroy Corporation Full Screen Maximizes the Bus Utilization window View Settings Opens a sub menu with the following choices Orient Horizontally 143 Chapter 9 Reports and Tools PE Tracer EML User Manual Vertical zoom in A Vertical zoom out bi Click and Drag zo
24. options files 109 Options Name 101 104 Options Name box 109 Ordered Set Properties dialog box 128 Origin field 86 outlining 194 Overview 3 LeCroy Corporation PETracer EML User Manual P package contents 20 Packet 92 Packet field 77 Packet Data command 160 Packet Data window 160 Packet Directionality Cell 75 Packet errors 125 Packet Header bar 159 Packet Header Cell 76 Packet Header command 159 Packet Heading Cell 75 Packet level decode 79 Packets second 179 pane checkbox 156 Payload 163 payload pattern match 130 Payload Properties dialog box 127 Payload size 176 Payload tab 130 PC 27 PC requirements 12 PC software requirements 22 PCI Configuration Space Header 226 PCI Express cards 35 slot 36 PCI Express 16 lane verification system 3 PCIE Slot Power LED 38 Pending Requests at Split Transaction level 168 Periodically schedule UpdateFC DLLP 208 PETracer options 100 103 setting up 29 PETracer EML 7 11 13 adding 39 opening 28 PETracer ML opening 28 PETracer SN message 58 PE Trainer setting up 30 PETrainer EML 11 14 Pin Button 124 pin outs 24 pins 25 Plug and Play instructions 29 plus symbol 92 94 pop up menus 72 Position Trace view on packet x 195 LeCroy Corporation Index power requirements 20 switch 20 Power indicator LED 15 16 power on off switch 19 Power Select switch 38 power socket 19 powering on 34 39 Pre Post Trigger pane 155 Prefetch field 229 Presence detect signals 36 Pr
25. pex pex pex ex Note An additional index file is created called segments col This is an internal system file that users should not modify LeCroy Corporation PE Tracer EML User Manual Chapter 4 Software Overview 4 10 PE Tracer Files LeCroy Corporation The PE Tracer software creates and uses different kinds of files e Trace Files Recorded traffic e Recording Options Files Configuration file that contains the various options selected in the Recording Options dialog box to configure the recording e Display Options Files Configuration file that contains the options selected in the Display Options dialog box to configure how traffic is displayed CATC Trace Files PE Tracer records PCI Express traffic into a CATC Trace file with the default name data pex or any other that you specified in the Recording Options This file is overwritten with new data each time PCI Express traffic is recorded When Multisegment CATC Traces are created a special index file is also created called lt filename gt pem This index file provides a high level view of the CATC Trace segments created in the recording session If you want to save a CATC Trace use the File gt Save As function This option allows you to save the current CATC Trace to a unique file name thereby ensuring that it is not overwritten This option also allows you to save a range of packets in a CATC Trace file You can pre define the name of the recorded CATC Trace
26. self diagnostic testing 29 Send command 70 Sequence Cell 113 Sequence State 111 servicemarks Ii Set Display Options command 92 Set Marker command 77 148 Set Range Near Packet xxx 154 Set Range to Whole Trace 154 setting markers 77 Settings button 181 Settings window 181 Setup Menu 52 SFP Sync In Connector 18 SFP Sync Out Connector 18 short format 71 shortcuts 57 Show Configuration Space for xxxx 162 Show Header Fields command 74 Show Header Fields dialog box 74 Show icon on the toolbar 216 Show in Editor radio button 221 Show Line Numbers 198 Show Number of Transitions checkbox 158 Show Raw 10b Codes command 73 Show Tooltips 198 signal descriptions 24 Signal Level switch 37 Size bytes 220 Size field 229 Slot 1 Status 15 16 Slot 2 Status 15 16 Slot Interposer 33 slot reducer 36 small triangle 71 Snapshot recording type 102 software 43 installation 27 update 231 specifications EML 20 Specify Action command 114 Split level decode 79 Split Transaction metrics 166 Split Transaction Level graphs 169 Split Transaction Performance 166 179 LeCroy Corporation Index Spread Spectrum 36 StandardSettings rec file 104 Start generation button 186 Start menu 27 Start Traffic Generation button 210 statistics 22 Statistics Accumulation area 175 211 status LEDs 21 Status Bar 58 macros 213 Status bar 44 186 Status segment 58 Stop button 62 Stop Generation button 210 Stop option 62 stopping recording 62 storage tem
27. 000 001 420 00 000 001 476 oth Sse 00 000 001 644 00 000 001 700 o 00 000 001 756 18 Downstream 1 Upstream 10 Downstream Ku O AA AO LeCroy Corporation PE Tracer EML User Manual Chapter 9 Reports and Tools LeCroy Corporation Collapsing Idle Time Enabling Tool tips and Resetting Column Widths Click the View Options button JE to open a menu with options for formatting the display Three options are presented Collapsible Idle Time Opens a dialog box for setting the Idle time value Setting a value tells the Analyzer when to collapse Idle times and display them as grayed out strips within the Bus View window Tooltip Display Opens a menu with options for adding content to Tooltips Tooltips display when you position the mouse pointer over an item in the Bus View window The options are e Tooltips Display Values e Tooltips Display Scrambled Values e Tooltips Display 10 bit Codes e Tooltips Display Symbols Time Format Seconds or Clock Reset Column Widths This option resets column widths to their defaults and enables columns to resize themselves automatically any time the application window is resized Normally columns automatically resize themselves if the application window is made larger or smaller However if you manually resize any columns in the Bus View window column widths become static Thereafter if you resize the application window the Bus View columns do not adjust automatically Res
28. 2 Click Set Marker Step 3 When the Edit Marker for Packet pop up appears enter a unique identifier for the packet in the Comment field Edit Marker for das 1 x Press lt Ctrl Enter to Insert a line break Cancel Later you can go directly to this packet using the Go To Marker operation in the Search Menu LeCroy Corporation 77 Chapter 5 Reading CATC Traces PE Tracer EML User Manual 5 10 Edit or Clear Marker 78 To change a markers identifier or clear delete the marker Step 1 Left click the Packet field of the desired packet to display a pop up menu Packet 0 Show Hide Link Tracker Show Raw 10b Codes Show Packet in Raw Trace C Program Files yCATOPETracer Sample Filestmseg example pem Show Packet in Raw Trace C Program FilesyCATOPETracer Sample Files syntax Address5paces peg Edit marker Clear marker Time From Trigger Time From Marker Copy For PETrainer packet command Format F Color b Hide Step 2 Choose Edit Marker and enter a new identifier into the Edit Marker for Packer pop up or Choose Clear Marker When you choose Clear Marker the marker is removed and the red line disappears LeCroy Corporation PE Tracer EML User Manual Chapter 5 Reading CATC Traces 5 11 Decoding Traffic The PE Tracer software has three decode levels Packet Packet level decode Pkt includes all TLP packets DLLP packets and all ordered sets JEEN we 1 1100000 000 01 2
29. 28 540 28 560 28 580 nn 8 640 il 8 680 4 gt Time 28586us Trans Throughput 51MB s Link Tra 53186 Al LeCroy Corporation PE Tracer EML User Manual Chapter 9 Reports and Tools 9 13 Real Time Statistics Window The Real Time Statistics Window displays Link Utilization performance measurements and statistical values for a PCI Express link plotted in real time R Click wl to open the Real Time Statistics window Real Time Statistics B ose Em a alaa Eleal m Link utilization sn202 5N3 z wo 14 Data Packets 00 376 870 32 E12 Payload KBytes a 00 000 000 000 5 IrutFC state E Complete 4 Link state LO i Time From Start rece 8 340 8 341 8 347 8 343 8 344 Time 5 Be T Irl Ready Ln 1 Col 1 Search Fad Start PCI Express link activity To start the monitor press gt To stop the monitor press B The remaining Real Time Statistics buttons provide options for changing the format ofthe display Additional formatting options are available through the Real Time Statistics pop up menu and the Real Time Statistics toolbar LeCroy Corporation 171 Chapter 9 Reports and Tools PE Tracer EML User Manual Real Time Statistics Buttons Additional formatting options are available through the Real Time Statistics toolbar Hos GB Button Function BATA Pa gt a Save Saves Real Time Statistics data to bitmap file
30. 48 Traffic Speed pane 155 Traffic Summary buttons 139 metrics 166 Traffic Summary window 138 moving to packets 138 Traffic Type pane 155 Trainer links 59 Transmit port 37 Transmit Probe Data Connector 17 triangle 71 248 PE Tracer EML User Manual trigger basic events 21 Trigger action 114 Trigger Position 100 103 Trigger push button 15 16 Triggered LED 15 16 triggers count 128 TTL output and input signals 23 U Undo Zoom 141 174 Union option 86 unit 163 unit based averaging 169 Universal Protocol Analyzer System 12 UPAS 12 powering on 34 UPAS 100K 12 upas100k sys driver 27 Update Analyzer dialog 231 Update command 231 Update Device command 231 232 Update License command 232 Update License dialog box 232 updates 231 Upload Size 101 Uploading 58 Uploading data message 60 Upstream 107 Upstream direction 158 USB Cable 33 USB drivers 27 USB Type B Host Computer Connector 18 Use External Reference Clock 107 User input 186 V Verification Script dialog box 180 verification system 3 View Data Block command 72 73 View Menu 55 View Options 149 193 View Options button 147 198 View Settings 143 Viewer 28 LeCroy Corporation PETracer EML User Manual W Wait commands 186 wait conditions 22 Warnings 197 web site 239 Website CATC 239 whether or not to show script icon 214 Window Menu 56 Windows hardware wizard 29 Wrap 90 Write Address Space button 219 Write Address Space dialog box
31. 5 0 or higher and save it with the original name Note After you convert a CATC Trace file you cannot open the converted file in a previous PE Tracer version LeCroy Corporation PETracer EML User Manual Chapter 4 Software Overview 4 12 Saving CATC Trace Files LeCroy Corporation Using the Save As Function When you record a CATC Trace file the Analyzer software provides a pre defined name to the CATC Trace file data pex or any other that you specified in the Recording Options If you do consecutive recordings each time the previous recording is overwritten If you see a recording you want to analyze later you need to give a unique name to the CATC Trace file so it is not overwritten with the next recording Also when you analyze a recorded CATC Trace file you might be interested in preserving just a part of the PCI Express traffic that was recorded If you save a portion of a CATC Trace file it can get significantly smaller allowing you to attach it to an e mail To save a portion of a CATC Trace file or the whole file to a unique name select Save As from the File menu Save in o PE Tracer pf Er 5 mseg example pem Files w Full 41 20 For verification pex Ex s CJ mseg example pem files bak EU 41 20 For verification v4 40b162 pex EB T memory pex mm Tr cfg pci express pex messages1 pex Tr cfg pm and msi pex messages pex cge pex ord seks pex File name Save as type PETrace
32. Connector 24 Prototype Rework Area 24 Breakout Board Input and Output Signals 25 Chapter 3 Installation 27 3 1 Installing the PETracer Software 27 3 2 Setting Up a PETracer Analyzer 29 3 3 Setting Up a PETrainer Exerciser 30 3 4 Networking an Analyzer 31 setup Tor IP LAN USC va dee ee be Ka eed Kan ee Ree sax 31 3 5 Browsing to a Networked Analyzer 32 3 6 Connecting the PETracer EML Analyzer to the Device Under Test 33 3 7 Connecting PETrainer EML to the Device Under Test 35 LeCroy Corporation Hi PE Tracer EML User Manual Section 2 PETracer Analyzer Software 41 Chapter 4 Software Overview 43 4 1 The PETracer Software 43 4 2 ADPIICallon LAVOUL saad tah YA ADA hoe ANA bee mieu kas 44 4 3 Using the Toolbar 45 Multi Segment Toolbar 47 Traffic Generation Toolbar 48 Toolbar Hide BUUONS x haie Sioa e Ped dede dat 49 4 4 Using the Menus 51 4 9 TOO NT SE Ga AA ET b7 4 6 Keyboard Shortcuts
33. Create a Multisegment Recording To create a Multisegment recording Step 1 Select Setup gt Recording Options to open the Recording Options dialog at the General tab Click Switch to Advanced Mode M Save As Multisegment Trace 10 ME segments 4 128 Step 2 Check the box marked Save as Multisegment trace Step 3 In the box marked MB Segments enter a value of 4 to 128 MB What Gets Created Multisegmenting produces an index file and segmented CATC Trace files The default name of the index file is data pem The index file and the segmented CATC Trace files are stored in a directory named after the index file The directory is named data pem files Below this directory additional sequentially numbered sub directories up to 100 000 hold the segmented CATC Trace files These sub directories bear simple numerical names 00000 to 00999 Each of these subdirectories can hold up to 100 sequentially numbered segment files Collectively the entire directory structure can hold up to 10 million files LeCroy Corporation 63 Chapter 4 Software Overview 64 Example PE Tracer EML User Manual If you create a 1010 MB recording using 10 MB segments the following files and sub directories are created data pem This is the index file data pem files 00000 segment 00000 data pem files 00000 segment 00001 data pem files 00000 segment 00099 data pem files 00001 segment 00100 data pem files 00001 segment 00101 spex
34. DeskevEx Yes Snoop bal Window Script USeExtketclock Yes Ordering ad Edit Length adi Window Requete 01 2 13 packet TLP Tag Dd 14 PSN 0x2 LasiiwBe kF 15 TLPType HRGJE First De i TE DxD Address D001 To i Pawkoad ECRC LERE EF x 19 Ordering Ox0 20 Snoop Oxo z1 Length O40 F Baguesrerld 0 1 241 Tag One File fa hall packets peg Tabs Layout The Script Editor divides into four areas e Script Editor toolbar Presents options for printing saving bookmarking and other options e Script Edit window Main window where the script is displayed and edited Text in this window behaves as in most text editors Text can be copied pasted and searched e Command Properties window Presents editable parameters Many parameters have menus Click the parameter in the Command Properties window to see if a down arrow appears e File tabs Lists the name of the traffic generation file and any open Include files that are associated with the generation file If the generation file has Include statements the Include files automatically open and display as tabs in the File tabs section of the Editor window Error Log An error log opens automatically at the bottom of the window any time a script error occurs The window closes automatically whenever the error is corrected after you save the script 192 LeCroy Corporation PE Tracer EML User Manual Chapter 10 Traffic Ge
35. EML User Manual 184 LeCroy Corporation PE Tracer EML User Manual Chapter 10 Traffic Generation Chapter 10 Traffic Generation PE Trainer is a traffic generator that can emulate PCI Express root complexes and endpoint devices Traffic generation can be used to transmit known errors allowing you to observe how your device handles faulty link conditions After the PE Trainer EML and DUT have been cabled and powered on you can test the setup by generating some traffic The following steps show how to configure the Exerciser to generate a Link Training sequence 10 1 Theory of Operation LeCroy Corporation Overview PE Trainer offers two mechanisms for implementing traffic generation scripts in which any type of traffic can be defined and executed and the Generation Options dialog box which offers a collection of PCI Express specific behaviors that can be enabled for automatic generation of traffic Using scripts packets can be transmitted one after another or with certain timing or event based pauses between them This allows the PE Trainer to act as a pattern generator with PCI Express specific formatting and transmission rates However creating traffic that emulates real devices with relatively complex protocol behaviors using a simple pattern generator is quite complicated Certain behaviors such as ACK policies and flow control require concurrent processing This is where the automated features of the PE Trainer EML
36. Edit View Help Configuration Space PCI Power Management Capability Structure Offset 050h Capability ID Offset 50h DoH 3S Bin Hex RO ww FF a PCI PM Capabilities Next PTR Capability ID on Bits 0 7 Capability ID PO ODODODODO 0000011000 00 00 0 0 0 0 0 0 0 0 1 Configuration Space Header 000h Data Bridge Extensions PM Status Control ot PCI Power Management Capability Stru 4h PCI Power Management 050h 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 000000 Capability Structure Add Configure Remow PCI Express Add Alternatively after selecting a register you can modify the register in the Field View in the right column The Field View allows you to override field attributes By default attributes are assigned according to the specification The available options are e RO Read Only ex RW Read Write e RWI1C Write 1 to Clear Capability ID Offset 50h Bits 0 7 Capability ID RO fon PCI Power Management Capabil w FO Roy Rwy LR w Spec RO Note See Appendix A Configuration Space Decoding on page 175 228 LeCroy Corporation PE Tracer EML User Manual Chapter 13 Configuration Space 13 3 BARs Setup The BARs Setup dialog helps set up Base Address Registers It provides a more convenient way of defining BARs than setting up the BARs manually In addition it provides the mapping of BARs to PE Trainer and Summit Z2 16 memory regions To open the BARs Set
37. For Memory and IO Write transactions internal Memory IO Address Space is updated at the address with the data taken from TLP If set enables Unsupported Request UR status for Memory lO completions AutoMemloCompletion must be set to enable UR completions If set enables Completer Abort CA status for Memory IO completions AutoMemloCompletion must be set to enable CA completions If set all Memory IO completions have Poisoned bit set 207 Chapter 10 Traffic Generation PE Tracer EML User Manual 10 6 Generating Traffic Set Generation Options Before beginning generation set options in the Generation Options dialog box Step 1 Step 2 Step 3 Step 4 Step 5 Step 6 Step 7 Step 8 Step 9 Step 10 Step 11 Step 12 Step 13 Step 14 208 Open the Generation Options dialog box by selecting Setup gt Generation Options from the menu The Generation Options dialog opens By default the General page displays To test 1 0 devices check the box next to Base Spec Rev 1 0 Compatibility Mode to select 1 0 compatibility mode To test 1 0A devices leave this box unchecked Set the generation direction based on type of device you are emulating Select one of the two Interposer options Host Emulation Select Host Device Emulation Select Device Select the Link tab The Link page opens Select Enable Automatic Skip Generation but leave the setting at the default value 4720 ns Select the In
38. Gee de one a 234 AS TACIDON NG Vs pat han a dere Mea ete het ence Sh ee th Sted ALAY ds 235 Appendix B China Restriction of Hazardous Substances QE AA Aa 236 How to Contact LeCroy 239 Late a es ce ee AA aes Erect ees ao 241 LeCroy Corporation PE Tracer EML User Manual Section 1 Section 1 General LeCroy Corporation 1 Section 1 PE Tracer EML User Manual 2 LeCroy Corporation PETracer EML User Manual Chapter 1 Overview Chapter 1 Overview Designed for developers and validators the LeCroy PE Tracer Trainer EML isa PCI Express 16 lane advanced verification system By leveraging years of experience in protocol analysis tools for emerging markets PE Tracer Trainer EML blends sophisticated functionality with practical features to speed the development of PCI Express IP cores semiconductors bridges switches add in boards and systems 1 1 PE Tracer Analyzer Hardware and Software Features and Benefits PE Tracer EML Analyzers have these features and benefits Features Powerful and Intuitive CATC Trace Analysis Software Extensive Decoding Monitoring and Link Utilization Advanced Triggering Hardware Filtering Intelligent Reporting sophisticated Viewing LeCroy Corporation Benefits Faster interpretation and debug of PCI Express traffic with color coded clearly labeled protocol elements in a graphical display Reduces coding and deciphering Compl
39. Limit Local 46000000 O001 943 046 5285 5 B The toolbar allows you to e Expand the window to full screen or Collapse to a smaller window e Synchronize e Save e Select Data Flow columns to display and their widths e Marker e Packet e Direction e Type e Length e Address e Payload e Handshake e Time Stamp x Ly Marker Mave Up MPacket M ci Move Bown Type Length show F address HE H Payload e H Handshake M Time Stamp 151 Chapter 9 Reports and Tools PE Tracer EML User Manual 9 7 Using the Trace Navigator The trace Navigator is a tool for navigating within the CATC Trace It allows you to view the location of errors and triggers in a CATC Trace and to narrow the range of traffic on display It also allows you to quickly jump to any point in the CATC Trace Displaying the Navigator Click E in the toolbar to display the Navigator The Navigator appears on the right side of the Main window It has a two button toolbar and a vertical slider bar It also has colored panes for navigating the CATC Trace in different ways You set which panes are displayed through Navigator pop up menus Navigator KU B3 Tall Traffic Ty Traffic Speed p Link width 152 LeCroy Corporation PE Tracer EML User Manual Chapter 9 Reports and Tools LeCroy Corporation Navigator Toolbar The Navigator toolbar lets you quickly set Navigator features The toolbar has two buttons MI g3 Fr Co
40. O000000000000 16 15 14 DOO 25 24 23 22 21 20 19 18 1 0000000 LeCroy Corporation 23 Chapter 2 Hardware Description 24 Pin Outs for the Data In Out Connector PE Tracer EML User Manual The following table lists the pin out and signal descriptions for the Data In Out connector on a cable that connects to the Breakout Board Data In Out Connector Pin Out Pin Signal Name Signal Description Gong DATA 6 Data 6 DATA 3 Data 3 epe Reseed D Ground Note Pins 4 and 17 have the same function they allow external signals to be used to cause triggering or recording Pins 3 and 16 are used to transmit output signals Pins 6 7 8 9 18 19 21 and 22 data pins are used to define data patterns for external input signals Note All models of PE Tracer only support Data 0 Data 3 Prototype Rework Area The Breakout Board contains a prototype rework area for making custom circuits for rapid development The area consists of plated through holes 20 columns wide by 27 rows long The top row of holes is connected to GND and the bottom row is connected to 5V The remaining holes are not connected Use the rework area to insert custom components and wire wrap their respective signal power and ground pins LeCroy Corporation PE Tracer EML User Manual Chapter 2 Hardware Description LeCroy Corporation Breakout Board Input and Output Signals Breakout Board can be used to channel input s
41. OO OO OO OO OO OO aww OoOooooco OO OO OO 00 00 O0 OO 00 00 O0 OO OO 00 OO OO awww La Offset OxO00000000 Hex 0x00 Dec 0 ASCI Bin 00000000 The Memory IO Address Space editor is implemented as a standard hex editor The address space memory must be saved to a file so that it can be downloaded to the PE Trainer hardware using PE Tracer application If you prefer you can write address space memory into PE Trainer and read address space memory from PE Trainer directly using the and toolbar buttons or using the menu File gt Write Address Space or File gt Read Address Space 223 Chapter 12 Address Space PE Tracer EML User Manual 224 LeCroy Corporation PE Tracer EML User Manual Chapter 13 Configuration Space Chapter 13 Configuration Space 13 1 Configuration Space Editor The Configuration Space Editor allows the Configuration Space to be modified on a field by field basis using hexadecimal or binary format The editor supports PCl compatible Configuration Spaces and PCI Express enhanced Configuration Spaces 13 2 Launching the Configuration Space Editor selecting Tools gt Configuration Space Editor displays the following dialog Configuration Space Editor X f Create new Configuration Space File Open existing Configuration Space File Ci chg_space_snapshot Select Cancel e Create new Configuration Space File Opens the Configura
42. PETracer Analyzer Software LeCroy Corporation 41 Section 2 PE Tracer EML User Manual 42 LeCroy Corporation PE Tracer EML User Manual Chapter 4 Software Overview Chapter 4 Software Overview 4 1 The PE Tracer Software The PETracer software administers Analyzer platforms and handles all CATC Trace analysis and display When a PE Trainer Exerciser is present the software generates PCI Express traffic The core software is thus the same for all of LeCroy s PCI Express products The software runs on a Windows based PC that is attached to the Analyzer via an Ethernet connection or USB 2 0 connection USB 1 0 is also supported PE Tracer software can be used without the Analyzer as a CATC Trace viewer for viewing analyzing and printing CATC Traces The PE Tracer software operates in Microsoft Windows XP and Vista environments LeCroy PETracer TM PCI Egpress Protocol Analyzer C Program Files CATC PETracer Sample Filesimseq_ example pem 5 gment 0o JEB File Setup Record Generate Report Search View Tools Window Help El e RE gt eae nt m Ho CE Rx D M EE h oe ah HK lt SD R Gg eet unk Spit Bren a Ea caa TEN Time Delta Time Stamp 5 GG 6 1505 O0x4EB4 8000ns 0000 000 000 632 s 28 eT CA Cge CRC 16 PIE Time Stamp ET i o 6 3862 0xD4BE 104 000 ns 0000 000 000 640 s HI pag 16 Idle Time Stamp CE a 1435 0x0318 36000ns O000 000 000 748 s HI PAA EC CR
43. Poisoned Ordering Snoop Any Ary T Count 2 Dese Any occurence on channels Up or Down of Any TLP Note TLP Prefix is available only on Summit T2 16 TLP Prefix Properties Dialog The TLP Prefix Properties dialog box Event Properties h pa TLF Header TLF Pretix Payload Actions TLF Prefix Label any TLP Tag Data Mask Match LODOQUODD0 REAR RAARARAR AAAS AARASARR FFOOODOOO S0000000 Channels f2 Al TU Count 2 Desc Any occurence on channels Up or Down of Any TLF Note TLP Prefix is available only on Summit T2 16 126 LeCroy Corporation PETracer EML User Manual LeCroy Corporation Payload Properties Dialog The Payload Properties dialog box Event Properties pa TLF Header TLP Prefix Payload Actions Offset Bitmazk Mask Match cord hex hex Label Ka ntm Ary TLP POOO OOO OOO OOOO Channels man C DO op Down 2111 eae basanand pagonand aC fresocaccosaccaccosaccoccocacean panpaaaa fooosaa00 T Count 2 Desc Any occurence on channel of Any TLF Note TLP Prefix is available only on Summit T2 16 DLLP Packet Properties Dialog The DLLP Packet Properties dialog box Event Properties Up Down Fields Layout pa Label DLLP hny DLLP ans Channels f2 Al Count 2 Desc Any occurence on channels Up or Down of Any DLEP Chapter 8 Recording Options 127
44. Time The time it took to transmit this Link transaction on the PE link from the beginning of the first packet in the transaction to the end of the last packet in the transaction Data Throughput The payload divided by response time expressed in megabytes per second Note Usually the Number of Packets metric for a link transaction is two in case of explicit acknowledge or one in case of implicit acknowledge However if Naks link level retries are involved this metric might be higher As a result the Number of Packets metric is useful in highlighting unusual link transactions Metrics Defined for Split Transactions The following types of metrics currently are defined for Split transactions Number of Link Transactions The total number of Link transactions that compose this Split transaction Payload The number of payload bytes this Split transaction transferred Response Time The time it took to transmit this Split transaction on the PE link from the beginning of the first packet in the Split transaction to the end of the last packet in the Split transaction Data Throughput The transaction payload divided by response time expressed in megabytes per second Latency Time The time measured from the end of the request transaction to the first completion transmitted in response to the request within this Split transaction Note The Number Of Link Transactions metric for a Split Transaction usually is two for a Configurat
45. Transport e Generic Available PCI Express Capability Structures are e Virtual Channel e Virtual Channel for MFVC e Device Serial Number e Power Budgeting e Root Complex Link Declaration e Root Complex Internal Link Control e Root Complex Event Collector Endpoint Association e Vendor Specific e RCRB e ACS e MFVC e Resizable Bar e Multicast e DPA e ARI LTR ex SRIOV e Generic Selecting a structure displays a dialog in which you can define the structure Add PCI Power Management Capability Structure Placement in Configration Space Offset ali h Fosition in the Linked List of Capabilities Prev Configuration Space Header Next No next Capability Structure terminates the list Enter an integer Offset Position the structure in the linked list of capabilities by selecting the Previous and Next capability structures LeCroy Corporation 227 Chapter 13 Configuration Space PE Tracer EML User Manual Note The Configuration Space View from the Reports menu reflects any added structures see Configuration Space View on page 161 After you click OK the center column displays the Capability Structure View with the register layout You can modify the selected Capability Structure by selecting registers and editing in binary or hex The toolbar allows you to select Binary or Hexadecimal for editing Untitled LeCroy PCI Express Configuration Space Editor jol x File
46. Type e Traffic Class e Virtual Channel e Direction e RedquesterlD e CompleterlD e Status e Tag LeCroy Corporation 97 Chapter 7 Display Options PE Tracer EML User Manual 7 4 Load a Previously Saved Display Options File If you have previously saved Display Options you can load them by opening the Display Options dialog and clicking the Load button A dialog box opens to let you load a previously saved display options file Step 1 Click Load to use a previously defined display options file Step 2 When you see the Open File pop up window enter the name of the file you want to load and click Open Step 3 When the PE Tracer software returns you to the Recording Options menu click OK to activate the display options you selected 7 5 Saving Display Options If you have customized the Display Options and wish to save them you can do so by clicking the Save button then entering a unique file name The opt extension is added by default Setting the Defaults Save the currently specified Display Options to the file name default opt by clicking Save As Default When the Analyzer software begins execution it automatically loads the default opt file if one exists 98 LeCroy Corporation PE Tracer EML User Manual Chapter 8 Recording Options Chapter 8 Recording Options 8 1 Setting Recording Options LeCroy Corporation The Recording Options dialog is used to configure a recording To open the Recording Option
47. Utilization SPLIT Pending Requests pan 2 422 600 2 422 800 2 423 000 2 423 200 2 423 400 2 423 600 2 423 800 2 424 000 2 424 200 Time us Lans un es Li a un pai Mm D T D a a E D ik 2 423 400 2 423 600 2 423 800 2 424 000 2 424 200 Time us FOTO LT ba 2 422 600 2 422 800 2 423 000 2 423 200 2 423 400 2 423 600 2 423 800 2 424 000 2 424 200 Time us 4 LeCroy Corporation 169 Chapter 9 Reports and Tools PE Tracer EML User Manual 170 Note The Pending Requests graph is not directly defined by metrics but it is useful when considering metrics The Pending Requests graph presents the unit averaged number of requests that were pending in progress at any moment of time It allows you to correlate the number of requests posted to a completer with other performance metrics Link Transaction Level Graphs Memory Writes are the only posted requests that do not get promoted to the Split transaction level Therefore Memory Write performance should be viewed at the Link Transaction level That is the reason graphs at the Link level only present the Memory Write related metrics and are titled Writes Response Time and Writes Throughput HOS Bm e ea RARA aww Writes Response Time NOU INR il Writes Throughput Transaction Time ns 600 800 40 200 Trans Throughput MB s 100 50 SINT VAL 360 28 380 28 400 28 420 28 440 28 460 28 480 28 500 28 520
48. a Short Data format 5 3 Resizing Cells Data cells can be resized by pointing the mouse pointer on the edge of a data cell depressing and holding the left mouse button and then repositioning the mouse pointer while keeping the mouse button depressed LeCroy Corporation 71 Chapter 5 Reading CATC Traces PE Tracer EML User Manual 5 4 Pop up Menus The Analyzer software makes extensive use of pop up menus In some instances pop up menus provide the only means of accessing dialog boxes that contain detailed information about cells within the CATC Trace for example the Show Configuration Space dialog box To see a pop up menu left click or right click a cell within the CATC Trace Right click or left click behavior depends on the Display Options setting For default left click the right click menu is not cell dependent For other left click behavior the type of menu that opens varies depending on the type of cell that is selected Take some time to explore CATC Traces and the various pop up menus 5 5 View Data Block To view the raw bits that make up the data in a data field left click a data field then click til Or select View Data Block from the pop up menu to display the Data Block window Packet 2 1 dwords PS EEE Msb Lsb n Soll Format DWOR Ds Columns 8 kg a ai LH Hexadecimal FFODO100 O000000E 4270190336 11111111000000000000000 100000000 You can display data in Hexi
49. are available through the Real Time Statistics pop up menu Right click a graph in the Real Time Statistical Monitor window to display a pop up menu with options for changing the format of the display Undo Zoom Fit to Graph Area Y Scale Type Hide REMOTE Properties Undo Zoom If you have zoomed in this command undoes the zoom Fit to Graph Area Redisplays graph so that the entire CATC Trace fits inside graph area Y Scale Type e Linear Converts display to linear format e Logarithmic Converts display to logarithmic format Hide Hides the selected graph Properties Opens a dialog box with options for changing the Title Appearance and Color of the graph x Title Appearance Color CT 174 LeCroy Corporation PE Tracer EML User Manual Chapter 9 Reports and Tools Real Time Statistics Graph Areas The Real time Statistics window has three graph areas e Link Utilization e Data Payload Throughput e Data Packet Count Each graph area has Upstream and Downstream graphs for a PE Tracer device if connected to a PC plus as many graphs as PETrainer devices connected to the PC The Statistics Accumulation area shows the PE Tracer statistics tab plus as many tabs as PE Trainer devices connected Real Time Statistics i SN 300 SN 400 sh am i lurk utilization Upctream TL sa El Link utilization iDownstresm UNG kA che eta ar Data Packets EUn utilization PeTrainer 5N 4013
50. area 110 manual trigger switch 20 Manual Trigger recording type 102 Manual Trigger push button 15 16 markers 77 deleting 78 editing 78 setting 77 148 Mask hex entry 131 Match hex entry 131 MB Segments field 63 memory requirements 21 22 Memory Write event 132 Memory Writes 167 Memory Writes Performance 179 Memory IO Space Editor 223 Menu bar 44 menus 51 pop up 72 metal face plate 36 metrics 163 Bus Utilization 168 Link Transaction 167 Link Transactions 163 Split Transaction 166 Split Transactions 163 trace 164 Traffic Summary 166 unit base averaging 169 Metrics Header 164 Metrics Tooltip 164 Misc 101 106 motherboards 35 Msb 5 Lsb checkboxes 95 244 PE Tracer EML User Manual Multisegment Viewing 105 Multisegment recording 63 Multi Segment Toolbar 47 multi segmenting 63 Name 216 navigating 152 Navigator 152 displaying 152 legend 156 panes 153 155 range 153 154 ranges 153 slider 156 toolbar 153 Navigator Legend dialog box 156 Navigator Panes button 156 Navigator Range button 154 Network Browse list 70 networked Analyzer 32 networking 31 New button 214 New Event button 113 New Events button 124 New PETrainer Script 191 Number of data packets 176 Number of Link Transactions 163 Number of Packets 163 O Offset bytes box 220 Offset dword 130 Offset field 227 Open existing Address Space File 223 Open existing Configuration Space File 225 opening program 28 operating temperature 20
51. cases insert errors or create loop tests The point and click capability of the script editor simpliifies modifying or creating scripts The scripting language allows for a link training script to be created with just three simple commands Macro s can also be created for frequently used sequences Chapter 1 Overview PE Tracer EML User Manual 1 6 Other Documents 10 For more information about PE Tracer and PE Trainer refer to the following documents LeCroy Analyzers File based Decoding Manual PE Tracer Trainer Automation Manual PE Tracer VSE Manual PE Tracer Gen2 Multi Lead Probe User Manual PE Trainer Scripting Language Reference Manual PE Tracer Online Help LeCroy Corporation PE Tracer EML User Manual Chapter 2 Hardware Description Chapter 2 Hardware Description The PCI Express system features the Universal Protocol Analyzer System UPAS TM PE Tracer Analyzers and PE Trainer Exercisers 2 1 System Components e PETracer EML system based on the UPAS 100K platform e Two factory installed PE Tracer EML Analyzer module s ex One USB cable e Two probe data cables e Breakout Board with cable e x16 to x1 Edge Adapter e x16 to x4 Edge Adapter e x16 to x8 Edge Adapter e PETracer Software program CD ROM e PCI Express Slot Interposer probe e PETrainer EML system based on the UPAS 100K platform e Two factory installed PE Trainer EML Exerciser modules ex One USB cable e Two probe data ca
52. dialog box to close the dialog A counter button should appear just below your selected event Global State active at all times TRIGGER Any Error Count 16 LeCroy Corporation 129 Chapter 8 Recording Options PE Tracer EML User Manual 8 11 Creating a Payload Match You can configure PE Tracer to trigger count and restart on a specific payload pattern within a Transaction Layer Packet TLP In Recording Rules create a New event of the desired TLP type An icon appears that represents that event type in the Available Events area Right click the icon and select Properties to bring up the Properties dialog box for the event Global State active at all times full ki IL Tr WG Any TLF Specify Actionis Add Counter Move Event To Copy Event To d Zi Delete This Event Properties Select the Payload tab to bring up the pane that lets you configure payload pattern You can match up to four patterns labeled O through 3 Event Properties AUPE ea agad TLF header Papload Actions Offset Bitmazk Mask Match dard hex hex OL paba lannoo er fesses nn an Count PT fee em eme Desc Any occurrence on channels Up or Down of TLF Tupe Mem Head For each pattern you specify the following Offset dword Indicates the DWORD you want to match within the payload range is 0 through 1024 For example if you want the Analyzer match a pattern in the fir
53. dialog boxes provide additional settings for Events States Actions and other objects in the Recording Rules page You can access a Properties dialog by double clicking an Event State Action or other object LeCroy Corporation 123 Chapter 8 Recording Options PE Tracer EML User Manual 8 9 Event Properties Dialog 124 The Event Properties dialog presents options for refining triggers and filters For example to set a trigger on a specific type of error you open the Properties dialog Event Properties xl CRC LERC D Error Actions 4 SUES Coun E KU M DLLP CRC M Disparity Label M TLE CRC M Sumbol Late 05 Format errors tt LERE ECRC M Ide data Channels FF All M Delimiter M Skip late M End of bad packet M Ordered Set Format Count E i Select All Clear All Desc Any occurence on channel Down of DLLP CAC TLP LERC Delimiter EDB Disparity Symbol Idle Data Skip Late Or Accessing the Properties Dialog To see the Properties dialog first create an event button by clicking the New Events button and choosing an event from the menu Afterwards open the Event Properties dialog by doing one of the following e Double click an event e Right click an event and select Properties from the pop up menu e Click the Properties button on the toolbar Dialog Settings and Features Event Icon Preview This icon shows you which event properties you are editing The Icon Preview lo
54. disposal and recycling of your LeCroy product please visit www lecroy com recycle LeCroy Corporation PETracer EML User Manual TABLE OF CONTENTS Section 1 General 1 Chapter 1 Overview 3 1 1 PETracer Analyzer Hardware and Software 3 1 2 PETrainer Exerciser Hardware 5 1 3 CATC Trace Software 22 cds ose es cede eb ese ee diner eee ow dns 6 1 4 PETracer EML Analy Zerit deseo be eee eee LAAN Gn 7 1 5 PETrainer EML Exerciser 9 1 6 Other Documents 6c Sc s sir had haaa ahd omit bah andam deo 10 Chapter 2 Hardware Description 11 2 1 System COMPONEMS 3 2 aaa ak Gated eeu wel eee cee Ga bare evden n s et 11 2 2 Host PC Requirements passes oad KA ADA a eee eed wade 12 2 3 Universal Protocol Analyzer System UPAS 12 2 4 Protocol Analyzer Modules 13 2 5 PETrainer Exerciser 14 2 6 PETracer EML Analyzer LED Descriptions 15 2 7 PETrainer EML Exerciser LED Descriptions 16 2 8 Rear Panel Description 18 2 9 Specifications for PETracer EML PE Trainer EML 20 2 10 External Interface Breakout Board 23 Pin Outs for the Data In Out
55. file using the Trace Filename and Path option in Recording Options Recording Options Files Recording Options files are created when you set recording options These files use the rec extension and contain recording option information Display Options Files Display Options files are created when you set display options These files use the opt extension and contain the display options information 65 Chapter 4 Software Overview PE Tracer EML User Manual 4 11 Opening CATC Trace Files 66 To open an existing CATC Trace file click File gt Open or If the file was made in a previous version of PE Tracer the application presents the Convert dialog box x File memory pex was created by old LeCroy PE Tracer software In order to open this file with current LeCroy PET Tracer software it should be converted The converted file cannot be opened with old LeCroy PET Racer software T Do not show this dialog again Convert amp Backup old file Cancel You must convert CATC Trace files made in previous versions of PE Tracer for them to open in PE Tracer version 5 0 or higher The converted file has all the information that was in the original file You can e Convert amp Backup old file Convert the file open it in PE Tracer version 5 0 or higher and save it with the original name Save the original file with the same name plus the extension bak e Convert Convert the file open it in PE Tracer version
56. following Includes generator File _inchide peg 5 inclide included2 peg included peg included peg Outlining When outlining is enabled user have the option to collapse expand code blocks 5 packet TLA 22 23 packet TLA 40 41 40 packet TLF 42 PSN Ox4 43 TLPType MRA64 44 TC oxo Text Editing Commands The Script Editor supports standard editor commands e Copy Paste e Undo Redo e Find Replace e Bookmarks 194 LeCroy Corporation PE Tracer EML User Manual Chapter 10 Traffic Generation Synchronized Scrolling with the CATC Trace Window You can navigate from the generation code window to the corresponding place in the CATC Trace representation and visa versa From the CATC Trace window right click the first cell in a packet in the CATC Trace window and select Go to Script Editor from the pop up menu The Script Editor window then repositions to the corresponding code a cket 1 Go ko Script Editor line 71 ShowHide Bus View Show Raw 10b Codes Set marker Time From Marker Format d Color Hide From the script editor right click some code within the Script Editor window and select Position Trace view on packet x from the pop up menu where x is a packet number The CATC Trace window repositions to the corresponding packet number CompleterID 4 5 6 Comp Lt Ha Gut BRCM Ep ByteCi TOP Peque a Paste
57. gt Configuration Space gt lt device gt to display the Configuration Space View Or LeCroy Corporation 161 Chapter 9 Reports and Tools PE Tracer EML User Manual 162 Click a CompeterlD or DevicelD field A pop up menu opens as DeviceID Show Header Fields Find next TLP with DevicelD equal bo 004 05 6 Show Configuration Space For 004 05 6 OO00 Format k Ca Color i device number The Configuration Space View opens Configuration Space For device 004 05 6 as of packet 8 h lt IPR ee bin tee Device ID Vendor ID pa 227 227 ini m 279 9797 04h Conventional Capability 044h ua Structure Class Code Revision ID Osh 22777 PCI Express BIST Header Type Master Latency Timer Cache Line Size OCh oo 01 oo FF Base Address Register 0 10h 777777997 Base Address Register 1 14h 27779900 Secondary Latency Timer Subordinate Bus Number Secondary Bus Number Primary Bus Number i Secondary Status 10 Limit ID Base 1Ch 2977 Memory Limit Memory Base 2277 227 nini Prefetchable Memory Limit Prefetchable Memory Base 24h 2 2 Prefetchable Base Upper 32 bits 28h 77997997 Prefetchable Limit Upper 32 bits 2Ch INN 10 Limit Upper 16 Bit 10 Base Upper 16 Bit 20h 2277 277 000000 44 Expansion ROM Base Address 38h 22272292 Bridge Control Interrupt Pin Interrupt Line 3Ch 2 On the left the view displays the Configuration Space for t
58. i 00 00100 001 02 3 004 05 6 Ox000 OxC511ED3E LCRC Ox3DE21977 CRC 16 Generation Script Editor Ke talesita Xe lo o le REC MBS 1 This sample PETrainer script file shows the code that was produced a l 2 by export from PETracer trace file Script commands 3i Packet 4 E packet OrderedSet Idle 5 SetType Skip Link 6 SkipCount Ox3 Config 7 Wait 8 E packet TLP eng 9 PSN OxA isa e a Lidl da CfyRd0 Repeat 12 TC 0x0 Branch 12 TD 0x1 Proc 1a 4 gt gt i Exported peg 1 11 Address5pace Ready er Ln1 Col 1 Search Fwd The Script Editor is a text editing tool that can be opened by clicking Alternatively the traffic generation file can be created by exporting the data from a CATC Trace into a traffic generator file 188 LeCroy Corporation PE Tracer EML User Manual Chapter 10 Traffic Generation 10 2 Creating a Traffic Generation File There are four ways to create PE Trainer traffic generation script file e Export an existing PETracer trace to a PE Trainer script file e Save an existing PE Trainer script to a new file e Select File gt New to create a new and empty script file that contains no text e Create an empty file using an OS shell with peg extension and open it with PE Tracer software Exporting a CATC Trace to a Traffic Generation File A simple way to create a script file is to open a CATC Trace and then to export the CAT
59. identified in previous sessions Analyzer Network l Add Remove a o4 ABIT PETracer 5N 213 x ml Local machine PETracer 5N 211 PETracer SH 202 Reconnect Step 2 If the desired host and Analyzer are not present in the list click Add The Add Analyzer dialog box opens Add Analyzer Network Node Computer Name or IP Address CATC Shared Files CATE C Cure System ng Cancel Step 3 Browse to the PC host that has the Analyzer s then click Select The selected host and its Analyzer appear in the Analyzer Network browse dialog Note The Analyzer must be turned on before it appears in the list Step 4 Remove hosts and Analyzers you do not intend to use in the current recording session by selecting them from the list and clicking Remove The PE Tracer software establishes a connection to the selected Analyzer 32 LeCroy Corporation PE Tracer EML User Manual Chapter 3 Installation 3 6 Connecting the PE Tracer EML Analyzer to the Device Under Test wert A N u AE ma baa Na CET PE Tracer EML Components PE Tracer EML components used in the installation are LeCroy Corporation Probe Data Cable 2 Each cable supports x16 data from one direction PE Tracer EML x16 Slot Interposer The slot Interposer provides the point of attachment for the Analyzer to the Device Under Test DUT The Interposer is designed to fit between a motherboard and one of its cards for example a LAN c
60. if the previous search was forward choosing Search Direction toggles the current search to backward To verify the direction of a search look at the lower right corner of the screen Search Bwd or Search Fwd should appear If a direction is not indicated it means that the status bar is turned off To turn on the Status bar select from the menu View gt Status Bar Keyboard shortcuts can also be used to control search direction e Control f means Search Forward e Control b means Search Backward 84 LeCroy Corporation PE Tracer EML User Manual Chapter 6 Searching CATC Traces 6 8 Find LeCroy Corporation Find allows you to conduct complex searches in a CATC Trace You can search by protocol level Packets Link Transactions Split Transactions You can search packets by Event Group TLP Type TLP Header TLP Prefix Summit T2 16 only TLP Requester ID TLP Completer ID TLP Data Pattern TLP Data Lengths TLP Tag TLP Sequence Number DLLP Type DLLP Header DLLP Virtual Channel ACK NAK Seq Number Ordered Sets Link Event Direction Errors You can search link transactions by Event Group TLP Type Traffic Class Virtual Channel Direction Requester ID Completer ID Status Tag You can search split transactions by Event Group TLP Type Traffic Class Virtual Channel Direction Requester ID Completer ID Status Tag The options Union Intersection and Exclusion allow you to create complex searches such as Fi
61. offset is the decoding entry point where the decoding path starts The Configuration Space Editor calls this function to determine how to decode the assigned configuration space The offset parameter is the DWORD to decode An offset of 0 indicates bytes 00h 03h an offset of 1 indicates bytes 04h 07h and so on Note The Configuration Space Editor can only decode one DWORD at a time GetSize This function returns the size of the capability structure specified by CapabilityID LeCroy Corporation 233 Appendix A Configuration Space Decoding PE Tracer EML User Manual A 3 Configuration Register Types The following reserved variables are defined global constants e CFGREG UNDEFINED e CFGREG HWINIT e CFGREG RO e CFGREG RW e CFGREG RW1C e CFGREG ROS e CFGREG RWS e CFGREG RW1CS e CFGREG RSVDP e CFGREG RSVDZ Note These reserved variables match the Configuration Register Types of Table 7 2 in Section 7 4 of the PCI Express Base Specification Rev 2 1 A 4 Primitives 234 Decoding uses the following primitives GetRegisterField dword offset bit offset field length This function returns a register field of length field length starting at bit position bit offset in DWORD dword offset e dword offset DWORD offset of the register field location e bit offset Bit offset of the register field location e field length Length of the register field For example GetRegisterField 1 9 2 means Go to DWORD
62. or click the t toolbar icon Packet 10 0 dwords JB FE Ascil Dec TE Msb Leb Lsb ITA LI Format DWORDs Columns 4 re Address Hexadecimal The toolbar allows you to Save go to Previous or Next display Hexadecimal ASCII Decimal or Binary use MSB Format or LSB Format and use Big Endian or Little Endian Fu FFF Dec Ein Msb Lsb IiE El Format DWORDS Columns 4 o Hi A 4b Format and Columns allows you to enter the number of bytes words or dwords per line You can enter an Offset and scroll to it You can enter text and Search Previous or Search Next 160 LeCroy Corporation PE Tracer EML User Manual Chapter 9 Reports and Tools 9 11 Configuration Space View The Configuration Space View displays information about the Configuration Space state as of the current packet of the currently selected device The view shows the Configuration Space Header and the PCl compatible or PCI Express Capability Structures To display the Configuration Space View for a device at a packet Step 1 Open a CATC Trace such as the sample file cfg_pci_express pex Step 2 Scroll to a packet with a Configuration header Devicell CfgRd1 Length Cf 0000101 1 001023 004 05 6 EIA Delta Time Stamp 96 000 ns OOO ns OO00 000 O00 544 s ae ca 16 Idle Time Stamp 28 05989 0 000 ns 0000 000 000 640 s Packet 25 TIP CompleterlD 10 01010 001 02 3 004 05 6 SC Step 3 Select Report
63. pon MVvir 64 TC TD EP Attributes Length sg 11 00000 Jojjo oo 1023 000 01 2 781F33AB 12340000 1111 1000 7E234567 S9ABCDEF 01234567 S9ABCDEF 01234567 S9ABCDEF 01234567 S9ABCDEF 7E234567 S9ABCDEF 01234567 89ABCDEF 12 01234567 89ABCDEF 01234567 89ABCDEF 7D234567 S9ABCDEF 01234567 S9ABCDEF 01234567 S9ABCDEF 01234567 S9ABCDEF 24 7C234567 89ABCDEF 01234567 89ABCDEF 01234567 89ABCDEF 01234567 SSABCDEF 7B234567 SSABCDEF 01234567 SSABCDEF 36 01234567 89ABCDEF 01234567 89ABCDEF 74234567 89ABCDEF 01234567 89ABCDEF 01234567 89ABCDEF 01234567 89ABCDEF 48 79234567 GSIABCDEF 01234567 S9ABCDEF 01234567 S9ABCDEF 01234567 S9ABCDEF 76234567 G9ABCDEF 01234567 89ABCDEF 60 01234567 89ABCDEF 01234567 B9ABCDEF 77234567 S9ABCDEF 01234567 89ABCDEF 01234567 89ABCDEF 01234567 89ABCDEF 72 76234567 69ABCDEF 01234567 89ABCDEF 01234567 89ABCDEF 01234567 89ABCDEF 75234567 89ABCDEF 01234567 89ABCDEF 64 01234567 89ABCDEF 01234567 S9ABCDEF 74234567 89ABCDEF 01234567 89ABCDEF 01234567 GSABCDEF 01234567 89ABCDEF 96 73234567 S9ABCDEF 01234567 B9ABCDEF 01234567 S9ABCDEF 01234567 S9ABCDEF 72234567 G9ABCDEF 01234567 89ABCDEF 106 01234567 89ABCDEF 01234567 89ABCDEF 71234567 S9ABCDEF 01234567 S9ABCDEF 01234567 S9ABCDEF 01234567 S9ABCDEF 70234567 89ABCDEF 01234567 6S9ABCDEF 01234567 SSABCDEF 01234567 S9ABCDEF ECRC LCRC Idle Time Stamp Ox0D632C96 Ox36214D17 0 000 ns 0000 000000 000s A repeat of any above methods causes the display to return to
64. replay timer TLP Policy Yes Yes If not set overrides automatic generation of the TLP AutoSeqNumber No sequence number and uses user defined value of the field in the Packet TLP commands This option overrides any sequence numbers specified in the script TLP Policy Yes Yes If not set overrides automatic generation of LCRC AutoGenerate LCRC No and uses user defined value of the field in the Packet TLP commands This option overrides any LCRC specified in the script TLP Policy In ns 4200 Timeout in TLP transmitter path that counts time since ReplayTimer rounded to last Ack or Nak DLLP is received nearest 8 If set automatically retransmit TLPs that were NAKed Off or on replay timer expiration TLP Policy Yes Yes If set enable automatic retraining of the link in case AutoRetrain No the number of retransmitted TLP is 4 Valid only when AutoRetransmission is set LeCroy Corporation 203 Chapter 10 Traffic Generation PE Tracer EML User Manual Automatic Tag Yes No Disable automatic tag generation Generation No Prevents PE Trainer from automatically inserting a tag Tags are a sub field of the transaction ID field When auto tag insertion is enabled the tag field is only modified for non posted transactions such as CfgRd CfgWr and MemRd Options are Use lower 5 bit of Tag field Zero out higher 3 bits Use 8 bit of Tag field Use 1 most significant bit of Function field and use 8 bit of Tag field Use 2 most significant bits o
65. reporting 22 reports 135 Reset button 37 Reset Column Widths 147 resizing 71 Response Time 163 179 Response Time and Latency Time at Split Transaction level 168 Response Time at Link Transaction level 168 Response Time at Split Transaction level 168 restoring icons 217 Resume Generation button 210 Right click cell context menu 90 246 PE Tracer EML User Manual Row Selection 139 RS 232 40 pin Data Input Output Connector 18 rules internal 116 Run verification scripts command 180 S Save all included files 190 Save As command 67 Save As Default 98 109 Save As Default 109 Save As MultiSegment Trace 101 105 Save as Multisegment trace 63 Save button 98 Save External Interface Signals 106 Save packet range command 67 saving 67 98 109 script 190 script 210 creating 189 191 editing 194 executing 186 macros 213 214 running 209 saving 190 script comment 214 Script Edit Window 194 Script Edit window 192 Script Editor 188 192 toolbar 193 tooltips 194 Script Editor button 192 Script Editor toolbar 192 script icon 214 script name 214 Script properties area 214 216 scripts 185 memory size 22 Search 58 command 81 Search Bwd message 84 search direction 60 Search Direction command 84 Search For menu 85 Search Fwd message 84 Search Menu 54 searching 81 Seconds radio button 82 segmenting 63 LeCroy Corporation PETracer EML User Manual segments Viewing 105 segments col file 64 Select command 32
66. select a search direction Under Origin select a starting point for the search Under Combining Specified Event Groups select Combining specified Event Groupes f Union Packets that match ANY of the specified events Intersection Packets that match ALL of the specified events M Exclusion Packets that DO NOT match opposite to the intersection or union The options Union Intersection and Exclusion let you set conditions on your searches Union To search for any of the selected criteria Example Find packets with ANY of the following characteristics Intersection To search for all of the selected criteria Example Find packets with ALL of the following characteristics Exclude To exclude items from a search This option works in conjunction with Union and Intersection You select Union and Exclude to exclude any of the specified traffic You select Intersection and Exclude to exclude all of the specified traffic Example Exclude packets with ANY of the following or Exclude packets with ALL of the following Step 10 Repeat Steps 3 through 9 for additional display levels Step 11 Find All displays all matching packets or transactions in a separate view Step 12 Search in Hidden includes hidden packets or transactions in the search Step 13 Click OK 86 LeCroy Corporation PETracer EML User Manual Chapter 6 Searching CATC Traces Event Groups The Event Groups f
67. signals Breakout Board Trigger Out Changes from low to high when Analyzer triggers one time per recording only Breakout Board G P Output Programmable waveform low or high pulse toggle Each event can be programmed to enable this external signal BNC Output EXT OUT Same as Breakout Board G P Output Located on the back of the chassis Setting Recording Options to Support External Input Output Signaling After a Breakout Board has been connected to a UPAS the Analyzer must be configured for external or internal input signaling 25 Chapter 2 Hardware Description PE Tracer EML User Manual 26 LeCroy Corporation PE Tracer EML User Manual Chapter 3 Installation Chapter 3 Installation PE Tracer EML is a factory installed hardware module that is sold as part of the Universal Protocol Analyzer System 100K UPAS 100K PE Trainer EML consists of two factory installed hardware modules that are sold as part of the Universal Protocol Analyzer System 100K UPAS 100K The UPAS 10K UPAS 100K modules and associated software are easily installed You can begin making PCI Express recordings or begin traffic generation after following the steps in this chapter 3 1 Installing the PE Tracer Software PE Tracer software operates all of LeCroy s PCI Express protocol Analyzer and Exerciser products The PE Tracer software is installed on a Microsoft Windows based PC and serves as the interface for the Exercise
68. the State cell that it is sitting in which produces a different Note Step 5 pop up menu Global State active at all times bhli ae Tih Any TLF Specify Actionis Trigger Add Counter Filter In Move Event To Filter Cut Copy Event To k External Trigger Pulse HIGH pal Delete This Event External Trigger Pulse LOW Properties Properties You can also assign actions to events by double clicking the event and selecting the Actions page when the Properties dialog box opens Click OK to close the dialog box At this point assuming that the other options in the Recording Options dialog box have been set such as the General page you can begin the recording by pressing the Start Recording e button LeCroy Corporation PE Tracer EML User Manual Chapter 8 Recording Options 8 6 Recording Rule Limits PE Tracer EML has finite buffer resources that limit the number of actions and events that can be assigned for each recording channel When creating complex event sequences it is possible to hit the limits of these resources and get an error message like the ones shown in the screenshots below In addition to the following limitations you should also be aware of how PE Tracer handles user created contradictory rules See Recording Rules Logic How Contradictory Rules are Resolved on page 116 for an explanation In order to maximize the buffer allocation for recordings LeCroy ha
69. the checkbox next to the name of each pane in the legend In the case of the Pre Post Trigger and Errors areas the action of show hide in the legend is identical to that provided by Trace Navigator pop up menus In the case of the Traffic Types pane there is no equivalent show hide available through the pop up menus LeCroy Corporation PE Tracer EML User Manual Chapter 9 Reports and Tools LeCroy Corporation Using the Legend to Set the Priority of Information Display You can use the legend to set the priority of information displayed in the Pre Post Trigger Traffic Type panes This is a two step process Step 1 For a particular item in a pane click the column next to the checkbox for the item That labels the item as currently active Step 2 Next use the up down at the lower right of the area to move the item higher or lower in priority In the case of the Traffic Type pane priority determines display priority of each packet type For portions of the CATC Trace that are dominated by a particular packet type this setting no effect only the color corresponding to that packet type is displayed in that portion of the pane Suppose however that part of the CATC Trace includes equal or near equal numbers of several types of packets In that case you can use the legend to select which among those types is represented in that portion of the Traffic Types pane This allows you to view only packets of interest in crowded portions of th
70. ton CRC CCRC D Cp ban Sequence 1 State 4 FILTER OUT Anything Pip bow While in state 1 Only DLLP UpdateFC is in the CATC Trace Reason The Filter out rules are ignored Filter in DLLP updateFC rule is used While in state 2 Only Ordered Sets are in the CATC Trace LeCroy Corporation 121 Chapter 8 Recording Options PE Tracer EML User Manual Reason Both the sequence state and the global state rules are used and all TLPs and DLLPs are filtered out While in state 3 Nothing is recorded While in state 4 Everything is recorded Reason The sequence state rule to filter in anything overwrites global state rule Example 16 Global State active at all times Sequence 1 State 1 Result Only TLP any type is in the CATC Trace Reason In both states the rule is to keep only TLP Example 17 Global State active at all times Sequence 1 State 1 FILTER IN eats FILTER OUT Result Only TLP any type is in the CATC Trace Reason The Filter out rule is ignored because there is a filter in rule with a higher priority 122 LeCroy Corporation PETracer EML User Manual Example 18 Global State active at all times Sequence 1 State 1 FILTER IN oak FILTER OUT Result Empty CATC Trace Chapter 8 Recording Options Reason Filter Anything has the highest priority and overwrites filter in rule 8 8 Properties Dialog Boxes Properties
71. with last written 10 addr S IDA Load into File h C IOB C nalizerS FE TracervaddressSpaces s i0a addr Gi be Cancel In this screenshot Compare with last written option is enabled because the 10 A memory region was previously loaded from the IOa addr file using Write Address Space functionality 221 Chapter 12 Address Space 222 PE Tracer EML User Manual When you click the Read button the memory is read from the address space and both memory dumps lOa addr file and the currently read one are displayed in the Memory IO Space Editor aca 00000000 DO 00000010 O0 00000020 OO 00000030 00 00000040 O0 O0000050 OO 00000060 OO 00000070 OO 00000080 OO 00000090 00 00000020 00 O00000EO DO O00000C0 DO 00000010 DO DODD0DED DO O00000FO O0 nananinn 4 Show next difference oo oo oo oo oo oo O0 oo oo oo oo 00 oo 00 oo 00 oo oo oo oo oo oo oo oo oo oo oo oo oo oo oo oo oo oo oo oo oo oo oo oo 00 oo oo oo oo oo oo 00 oo oo 00 oo oo oo oo oo oo oo oo oo oo oo oo oo oo 00 oo oo 00 oo oo oo oo oo oo oo oo oo oo oo oo oo oo oo oo oo 00 oo oo oo oo oo oo oo File Edit View Bookmarks Compare Help BB s Bl o ae IOA x oo oo oo oo oo oo oo oo oo oo oo oo oo oo oo oo oo oo 00 oo oo oo oo oo oo oo oo 00 oo 00 oo oo 00 00 00 00 00 DO 00 00 OO 00 00 D
72. 00 25 500 26 000 26 500 27 000 27 500 28 000 28 500 29 000 29 500 30 000 30 500 Time us 4 Pending Requests REQs SPLIT Throughput 0 a i eee A enn eee ee ees AL Wii A Soo 22000 22500 23 000 23 500 24 000 24 500 25 000 25 500 26 000 26 500 27 000 27 500 28 000 28 500 29 000 29 500 30 000 30 500 Time us un ao 2 a L m 2 o FA ako n C o de 2 500 22 000 22 500 23 000 23 500 24 000 24 500 25 000 25 500 26 000 26 500 27 000 27 500 28 000 28 500 29 000 29 500 30 000 30 500 Time us 4 Time 26661ys Transaction Time 2us Split Tra 17647 All Transaction Time us Writes Response Time Transaction Time ns o z 21 500 22 000 22 500 23 000 23 500 24 000 24 500 25 000 25 500 26 000 26 500 27 000 27 500 28 000 28 500 29 000 29 500 30 000 30 500 Time us 4 Writes Throughput CIE T p 25 5 my i m o v ds Cc ra F 21 500 22 000 22 500 23 000 23 500 24 000 24 500 25 000 25 500 26 000 26 500 27 000 27 500 28 000 28 500 29 000 29 500 30 000 30 500 Time us A Pa AA a 168 LeCroy Corporation PE Tracer EML User Manual Chapter 9 Reports and Tools Unit Based Averaging The Analyzer builds metric graphs using unit based averaging as opposed to time based averaging For the total duration of a certain request or Memory Write transaction the graph value is assumed equal to the corresponding metric for this request transaction If there are overlapp
73. 000 016 764 00 000 016 768 00 000 016 Fre 00 000 016 776 00 000 016 780 00 000 016 754 00 000 016 788 PA PAA LCRC a Ready Search Fwd LeCroy Corporation 145 Chapter 9 Reports and Tools PE Tracer EML User Manual 146 Using the Link Tracker Window The Link Tracker window can be reformatted in several ways Zooming In and Out Zooming out can give you a quick high level view of a CATC Trace A fully zoomed out CATC Trace only shows columns and colored lines Using the colors you can see what types of traffic run through the CATC Trace Further information can be obtained on any point of interest in the CATC Trace by positioning your mouse pointer over it Tool tips provide detailed description of events Note When fully zoomed out the smallest graphical unit is the DWORD represented by a single line Zooming out makes the CATC Trace appear smaller and increases the time scale in the first column Pa Link Tracker Packet 0 mseg_example pem Segment 0 Time Packet Upstream Downstream 00 000 000 300 00 000 000 356 lam 00 000 000 468 00 000 000 524 00 000 000 580 3 Downstream a 00 000 000 636 6 Downstream gt 00 000 000 692 00 000 000748 2 Upstream 00 000 000 204 00 000 000 860 00 000 000 316 00 000 000 372 Oo 00000001 028 12 Upstream 00 000 001 084 00 000 001 140 UES Ee 14 Downstream AF u 00 000 001 252 00 000 001 308 00 000 001 364 00
74. 02 3 004 05 6 0x004 1111 Ox7906DCF2 LCRC Dx7E29BFFO CAC 3D header with data Cpl CpID CRC 16 Ox970D i Gi CfgRd0 Length list BE ECRC 00 00100 001 02 3 004 05 6 Ox008 1111 Ox7EAF1E1D LCRC 0x35552DD0 Ready Search Fwd The CATC Trace window shows the type of traffic that is to be generated in the current generation session Step 3 If needed make changes to the script file ar then save the file by clicking the Save button al 209 Chapter 10 Traffic Generation PE Tracer EML User Manual 10 8 Generating Traffic Begin Traffic Generation To begin traffic generation 210 Step 1 Start generation by clicking the Start Traffic Generation E button Link State LO Note Script Progfess on the Status bar This action causes the software to download the script to the PE Trainer device After the download completes the device starts executing the script As the script executes the Status bar displays the script s progress The Current script position field displays the command description and CATC Trace packet number currently being generated ImitFC State Complete Generating PCI Express Traces Wewh emA ead rite peg TLF Memory Write 32 bitl Packet 1 Script Position Script execution can be terminated at any time by clicking the Ta Stop Generation button on the toolbar If a Wait command is executed where the Display parameter is spe
75. 1 bit offset 9 and returns 2 bits LeCroy Corporation PE Tracer EML User Manual Appendix A Configuration Space Decoding AddField field_name field_length configuration_reg_type tooltip encoding_table NULL This function adds a register field to the Capability View and returns a pointer to the field for adding subfields e field name Name of the register field to display in the Capability View e field length Length of the register field e configuration reg type Configuration register type of the register field Note If subfields are defined their configuration register types override this setting for their specified bits e tooltip Tooltip displayed for the register field in the Capability View e encoding table Optional Displays encodings as lists for select values e For example user input becomes a combo box for the field in the Field View As examples AddField PCI Express Extended Capability ID 16 CFGREG RO means Add the field PCI Express Extended Capability ID with length 16 and cfg register type CFGREG RO capability reg AddField Capability Register 32 CFGREG RW means Added the field Capability Register with length 32 and cfg register type CFGREG_RW and stored a pointer to this field in variable capability_reg which can be used to add subfields to this field AddSubField parent field subfield_name subfield length configuration reg type tooltip encoding table NULL
76. 17 11 6 Restoring the Default Appearance of the Connect and Disconnect ICONS makan Stns Gaia nat Ar SS ace Oe ee ane a nka 217 Chapter 12 Address Space 219 12 1 Address Space Toolbar Buttons and Dialogs 219 Write Address Space Button 220 Read Address Space Button 221 12 2 Memory IO Space Editor 223 LeCroy Corporation vii PE Tracer EML User Manual Chapter 13 Configuration Space 225 13 1 Configuration Space Editor 225 13 2 Launching the Configuration Space Editor 225 Configuration Space Files 225 0 AAAH AA PAPA 226 19 9 BARS SOLDES Ge MATA GI ANA BG AA a NGA a KG E 229 13 4 Configuration Read and Write 230 Chapter 14 Updates and Licensing 231 14 1 Updating the Analyzer ee 231 14 2 License KO Seo sisi iii dee ah Ga haaa banh 232 14 3 License Information 232 Appendix A Configuration Space Decoding 233 A 1 Mandatory Definitions 233 A 2 Mandatory Module Functions 233 A 3 Configuration Register Types 234 AA MMV CS aod ays hare Sieve aaa oe atte Gud ANAND RPG AA hate
77. 220 Write button 220 Write Requests Performance 166 Writes Response Time 170 Writes Throughput 170 X x16 Slot Interposer 33 Y Y Scale Type 141 174 yellow differences 222 yellow range delimiters 156 Z zoom 146 Zoom Level 90 Zoom to Trace View 141 LeCroy Corporation Index 249 Index PE Tracer EML User Manual 250 LeCroy Corporation
78. 74 5 8 Packet Cell Popup Menus 75 Packet Header R gt Cell Popup Menu 15 Packet Header G1 Cell Popup Menu 76 SAC DOCU MAKE a3 beat NAE Weta Se ee Seen BANANA Bice ib a eats 77 5 10 Edit or Clear Marker 78 9 11 DOCOGING TANGER os x oS hee aces aS yd a ee a ee 19 PACK SES asie or aie Ne rase on As 19 AR a a a Set ay AE 79 SA se aaa tie Rees eek e ite aaa een he ow apa ee Ge ee aes 79 LeCroy Corporation PETracer EML User Manual Chapter 6 Searching CATC Traces 81 6 1 CATC Trace Search Overview 81 02 SO IONIQUE ashe a e neni BEA aaa ce en ee 81 BI GOTO PACKEN Lau ce ted oath aad pb mna etch wh Gng Ba knang a fa htt ne 81 CA GOTO lime cc acts Gee creat AA hbd Seeded eae IS ma hana A Ha 82 6 5 60 TO MarkehiZ otis ka Ge test ele he Sl Se a Sie eed Bs Sas 82 OO OGO TOMEN irea ene hao AA eed ae ww ane 83 6 7 Search Direction a3 coe hoes berth Sek ae ae DA NA See oe Bw aoe 84 OO Fearn AHE ang bg a8 dot Ai Bat NA Hg aye aa eae Oe get te eee oe 85 Eveni GhOUDS isting eho a Gs Bos Gat Bie a ce os Grd and Gren ots Bie 87 6 9 Search for the Next Packet Type 87 Chapter 7 Display Options 89 7 1 Setting Display Options 89 7 2 Specifying General Display Options
79. ATC Trace and place this window under or to the right of it You can Save the results 180 LeCroy Corporation PETracer EML User Manual LeCroy Corporation Click the Settings button to display the Settings window e x Choose Editor application and editing settings Notepad by default C Other Path to the editor Browse Edit all selected scripts in one process T Open all included files T Launch editor application in full screen Path to the template file for a new script C Program Files CATCMPE Tracer Scripts WFS Browse Display settings M Show the full path for the trace file in dialog caption Restore don t masimize dialog at start M Load last output from saved log files when possible M Activate dialog after scripts stop running I Remember dialog layout T Ignore possible run time errors and warnings Saving settings D Save log files to the folder which is relative to the trace file path Path to the folder where to save output log files C Program Files CAT CPE Tracer Browse Save logs automatically after scripts stopped running Cancel Chapter 9 Reports and Tools You can choose the editor display settings and saving settings 181 Chapter 9 Reports and Tools PE Tracer EML User Manual 182 LeCroy Corporation PE Tracer EML User Manual Section 3 Section 3 PE Trainer Exerciser Traffic Generation LeCroy Corporation 183 Section 3 PE Tracer
80. B driver 29 Chapter 3 Installation PE Tracer EML User Manual 3 3 Setting Up a PE Trainer Exerciser 30 Step 1 Step 2 Step 3 Step 4 Step 5 Remove the Exerciser and UPAS from its shipping container The PE Tracer EML module is already installed in the UPAS Connect the Exerciser to a 100 volt to 240 volt 50 Hz to 60 Hz 120 W power outlet using the provided power cord Note The Exerciser is capable of supporting supply voltages between 100 volt and 240 volt 50 Hz or 60 Hz thus supporting all Known supply voltages around the world Connect the USB cable between the USB port on the back of the UPAS and a USB port on the PC Note All hardware and cables should be setup prior to power up Install Device Emulator or Host Emulator as described in the previous sections Also install any cables between the Emulator and PE Trainer EML Exerciser as described in the previous sections Turn on the power switch on the rear of the UPAS Note At power on the Exerciser initializes itself in approximately five seconds and performs an exhaustive self diagnostic that lasts about fifteen seconds The Status LED of the UPAS base unit turns red on power up initialization The LED remains on approximately 20 seconds while the Exerciser performs self diagnostic testing If the diagnostics fail the Status LED blinks red indicating a hardware failure If this occurs call LeCroy Customer Support for assistance Follow on scr
81. BAR field 229 BAR settings 229 Bars Setup dialog box 229 BARS Setup button 229 Base Spec 1 0 Rev Compatibility Mode 108 Base Spec Rev 1 0 Compatibility Mode 208 Beep When Trigger Occurs 106 Bitmask 130 blue current position indicator 156 blue highlight 194 BNC Connectors 18 Both directions 158 Breakout Board 23 brown highlight 194 browsing network 32 Buffer Size 100 102 Bus Reset button 37 Bus Utilization 140 179 buttons 143 features 169 metrics 168 pop up menu 141 BusEngine update 231 239 Index C Cable Connector 37 Cable Setup LED 17 calculating time between DWORDs 148 Capability Structure View 228 Capability Structures 227 CATC Technical Support 239 CATC Trace 6 cells 72 resizing 71 states 111 Change Counter Value command 128 changing markers 78 channeling input signals 25 Channels 124 Chat session 70 Chat window 70 circuits 24 Clear Marker command 78 Clock Select 38 Clocks radio button 82 collapse 194 Collapse Idle 149 Collapse Idle Plus 149 Collapsible Idle Time 147 collapsing 71 Color Format Hiding tab 91 Color pop up menu 93 colors 92 Combining Specified Event Groups 86 Combo box 162 Comma Separated Value files 68 Command Properties window 192 196 Comment 216 Comment field 77 comment string 77 Compare with last written option 221 CompeterlD field 162 Completion TLP 230 configuration limitations 115 Configuration Read 230 Configuration Space 161 225 230 editing 226 Header 226 Configu
82. Both of these test devices can be purchased from LeCroy LeCroy Corporation 35 Chapter 3 Installation 36 PE Tracer EML User Manual Device Emulator Description Edge Connector 1 _ To motherboard The LeCroy Device Emulator is an adapter that provides a way of connecting a PE Trainer EML Exerciser to a PCI Express motherboard The emulator has two connectors a connector for a data cable and an edge connector for inserting the Device Emulator into a slotted DUT Installing the Device Emulator To install the Device Emulator into the DUT perform the following steps Step 1 If not already powered off power off the PE Trainer UPAS 100K system Step 2 Step 3 Step 4 and the DUT The PE Trainer power switch is located on the back of the UPAS Check the Jumper settings The default is to have all jumpers installed on the device emulator The jumpers can be used to modify the following JP1 Host RX Voltage Level This jumper can be removed to reduce the differential voltage level that the DUT receives from the PE Trainer to 0 45V 0 65V When installed default the differential voltage level is 9V 1 2V JP2 Refclk This jumper can be removed for systems that do not provide a 100MHz RefClk to the PCI Express slot When installed default the PE Trainer uses the RefClk that is provided by the DUT Note This jumper MUST be installed if the DUT is providing a Spread Spectrum enabled RefClk JP3 JP6 P
83. C 16 RENTE Time Stamp EO Oo 115 O0 0x688a 44000ns 0000 000 000 788 s TLP eee Con Gran Cnt CE Addr ee 10 01010 D01 00 0 000 040 Ox00 EE ata eS Idle Time Stamp 16 dwords DxE94DE7AC O 000ns 0000 000 000 832 s o 10 01010 0 6a O0 EEE ata BE Time Delta Time Stamp 16 dwords dwords OXBECT3C44 156 000 ns 0000 000 000 656 s Packet 2 Bal 16 Idle Time Stamp ET 1437 O41 44000ns 0000 000 001 012 s TIP CompleterlD Lur Addr 1506 10 01010 000 04 0 001 00 0 o 4 Oa k Ready Search Fd LeCroy Corporation 43 Chapter 4 Software Overview PE Tracer EML User Manual 4 2 Application Layout 44 The PE Tracer application contains the following components Title bar The title bar is at the top of the application window and displays the CATC Trace file name or generation script name Menu bar The menu bar is located below the title bar by default The menu bar can be moved by clicking a blank area of the bar and then dragging the menu to a new position It can be docked in another part of the application window or moved outside of the window to become a floating menu Toolbar The toolbar is composed of buttons that represent the commonly used commands The toolbar divides into smaller toolbars that can be moved and docked in a new position or made to float outside of the window Display area The display area is the main part of the application window in which CA
84. C Trace data to a generation file Step 1 Open a CATC Trace file Step 2 Select File 5 Export 5 to Generator File Format Step 3 Select the desired options from the File Export dialog box File Export As Generator Format x Save in o Ex e O c E E all packets peg E included peg E P template peg E config peg fllink peg fs pag E Fl ConfigReads peg EF LinkConfig pag eel wait peg E Flexported peg Fl LinkUp peg E Flinclude peq Mem Write peg E Flincluded peg raw packet peg Save as type PE Trainer Generator Files pe Cancel Direction PF Do not export hidden packets Upstream Rx M Do not export idle C Downstream A gt Esport wait for Cpl from downstream T Export Wait for ACK from downstream From To Packet fo Facket z FF dake Packet O Trigger dake Time O 0000000000 secs Time 0 0000006240 secs 2 Direction Selects the direction of the traffic to be exported From and To Selects a range for exporting You can export all or part of the CATC Trace Do not export hidden packets Ignores any packets hidden through the various hide options Do not export Idle packets Excludes Idles from the export LeCroy Corporation 189 Chapter 10 Traffic Generation PE Tracer EML User Manual Export Wait for Cpl from upstream Exports all Wait for Completions from the opposite direction Wait TLP is a PE Trainer script command Export Wait for AC
85. Croy Corporation PE Tracer EML User Manual Chapter 12 Address Space LeCroy Corporation Read Address Space Button This Read Address Space Button brings up one of two dialogs PE Trainer EML Read Address Space Dialog This dialog lets you specify the e Address space to be read e Offset from the beginning of PE Trainer memory region e Size of the data You cannot specify the Offset and Size for the Configuration Address Space The data read can be processed in three ways e Displayed in the Configuration Space Editor or the Address Space Editor To view the data in these editors select the Show in Editor radio button option Read Address Space X Address Space Offset bytes Size butes Cia 0400000000 0x08000000 0 Membd Mema2 A Show in Editor C Mem22B Compare with last written C 04 C Load into File IDE C naleer Sa PET race ddressS paces M em ad v Head Cancel k e Stored in a file To store the data into a file select the Load into File option e Compared with previously written file If you have written memory into the PE Trainer hardware as described above Write Memory Address Space Button then Compare with last written option is enabled Note This option is not available for Configuration Address Space Read Address Space xX Address Space Offset bytes Size bytes C Cio f woooon000 panaman C Membd C Mem32A C Show in Editor C Mem32B Compare
86. D Ba UA ar 194 Command Properties Window 196 Script Editor File Tabs ee TUN dn ee ve WAGE bA 197 Script EGO EMO LOG iasa MIFE WAG es BEN AGANE oe inerte Se 197 View Options Menu 198 10 4 Generation Options Dialogs Overview 198 Opening the Dialog 198 10 5 Generation Options for PETrainer EML 199 G N lALES SENS NA NE it led das ae ae 199 ER PA re ce Get ese ce 201 ARO ONIY aata EE 2 eme de De Ke as Cubans 202 FOW CO MO tama GAI DD rer coute AA LAN NG 204 TFANSACU ONS LU Mons sr ii SN tie ph id Baw Seat NG 206 10 6 Generating Traffic Set Generation Options 208 10 7 Generating Traffic Prepare Traffic Generation 209 10 8 Generating Traffic Begin Traffic Generation 210 Chapter 11 Macros 213 IE MaC en AA nt int diese 213 Default Macros Connect and Disconnect 213 11 2 Adding New Script Macros 214 Using the Generation Macros Dialog 214 Adding Script Files to the GenScriptMacros Directory 215 11 3 Modifying Script Macros 216 11 4 Changing the Order of Macro Icons on the Status Bar 216 11 5 Deleting User Defined Script Macros 2
87. Downstream i FE E 30 30 ET 31 30 10 3B FE CB Ed 30 74pm 00 000 000 577 BB 55 86 AGA a a ta aT e e e a a Ba a e A ga a i el Pg a gy tat matt RES 00 000 000 016 idle time y e NGANGA AN GG PP NGA NA NGPA oe a ANG NA NG eA ON a PP AP 00 000 000 532 4 Upstream RE a i a a he ta a i i a om i a el a a i e ta a EE et ig ia lh 00 000 000 024 idle time En mm a RE SATA ie e e a a a ma SESE SEEN SEE aa AE e T a T T EE E ee e e T e e Pt T e e 00 000 000 620 5 Downstream FC 07 Di 00 000 000 624 00 000 000 628 00 000 000632 6 Downstream BE San 00 000 000 636 00 000 000 640 7 Upstream 00 000 000 104 idle time i Each time slot in the vertical axis represents the minimum time that a DWORD requires to traverse the bus Toolbar Presents buttons for changing the format of the Link Tracker window Main Display Area Displays traffic chronologically as it occurred in the recording The window divides into columns the first column shows time and traffic is shown on a channel by channel basis in the columns on the right Link Tracker Packet 4 Bada a H 5 GF 10b RD tea o Time Packet Upstream O Diowmstream 00 000 016 696 00 000 016 700 00 000 016 704 4 Upstream SDP 00 000 016 708 00 000 016 717 00 000 016 716 00 000 016 720 00 000 016 728 CRETE 00 000 O16 732 00 000 016 36 5 Upstream STP 00 000 016 740 00 000 016 744 00 000 016 748 00 000 016 752 00 000 016 756 00 000 016 760 00
88. File Name button Step 2 When you see the Save As menu navigate to the directory you want Step 3 Enter the new file name in the File name field Step 4 Click the Save button This action does not do any immediate save operation It just changes the default name and uses it in subsequent recordings LeCroy Corporation 103 Chapter 8 Recording Options PE Tracer EML User Manual Options Name The Options Name is a descriptive supplemental label that you can assign to a Recording Options file For example if your Recording Options file were named StandardSettings rec your Options Name could be a long descriptive label such as Standard Record Options used for all normal Recordings 104 LeCroy Corporation PE Tracer EML User Manual Chapter 8 Recording Options Save As MultiSegment Trace This option causes the Analyzer to segment the CATC Trace into 4 MB to 128 MB files and to create an index file that summarizes the starting and finishing frame for each segment M Save As Multisegment Trace n a ME segments 4 1 78 The index file has a default name of data pem The index file and segmented CATC Trace files are stored in a directory named data pem files The directory is named after the index file Below this directory additional sequentially numbered sub directories up to 10 000 hold the segmented CATC Trace files These sub directories bear simple numerical names 00000 to 00999 Each of these subdirectories can ho
89. II Yes Ability to record x4 traffic ecording p us Yes Ability to record x2 traffic ecording dg At ma Yes Real time monitoring plots and counters of the PEI Express link onitoring Recording buffer l ka aa Yes Recording buffer size limited to 512 Megabytes or less 512 MB Pecoramg aes Yes Recording buffer size limited ta 1 Gigabyte or less pooner ge Yes Recording buffer size 4 Gigabytes maximum or less Recording Rules se Ability ta create complex sequences of events and actions for triggering and filtering in sequencer Recording Options TUE a Yes Navigable tables with reports presenting statistics of various events in the trace Hini knang Yes A view presenting time based display of both directions of the PCT Express link Graphical Bus YA A view presenting plots of various performance and utilization measurements for the Utilization View trace over time Metric based performance measurements calculating of various performance metrics Metric based Yes for Link and Split transactions display of the metrics in Trace View Traffic Summary performance reports and Bus Utilization graphs based on metrics timing calculations based on Save As coe HA a 136 LeCroy Corporation PE Tracer EML User Manual Chapter 9 Reports and Tools 9 2 Error Summary The Error Summary dialog box displays the number of errors for each event and the packet containing the errors Select Reports gt Error Summary to obtain the Error Summary dialog box
90. K from upstream Exports all Wait for ACK DLLPs from the opposite direction Saving a PETrainer Script to a New File To save a script file as a generation file Step 1 Open an existing PE Trainer script file Step 2 Select File 5 Save As or click E on the toolbar Save Ass OOOO O O O eee 2 x Bee in A 00000 e BI g Eg Save as type PET rainer Generator Files peg Cancel M Save all included files Step 3 Navigate to the desired folder and type a new file name where you want to save the current script then click the Save button When the Save As command completes the newly created script is displayed Note The Save As dialog box includes the option Save all included files This option causes the software to save any Include files that have included into the script The Included files are saved to the same directory as the traffic generation file 190 LeCroy Corporation PE Tracer EML User Manual Chapter 10 Traffic Generation Creating a New Empty Generation File To create a generation file from scratch Step 1 Select File gt New PETrainer Script or use the shortcut Ctrl N File Setup Record Generate View Tools Help New PETrainer Script Ctri N Ry Open Ctrl O Convert Old Files Print Setup 1 LinkUp peg 2 full 41 20 For verification pex 3 memory pex 4 Training x8 pex 5 cfg pci express pex 6 ReadConfigSpace peg Exit An empty PE Trainer t
91. LAN 31 J JP1 setting 36 JP2 setting 36 JP3 setting 36 JP6 setting 36 Jumper settings 36 jumpers 36 K Key License 232 keyboard shortcuts 57 keystrokes 57 L label 109 LeCroy Corporation Index LAN 31 Latency 179 Latency Time 163 Latency Time at Split Transaction level 168 Layout 192 layout 44 LeCroy PETracer command 27 LEDs Analyzer EML 15 Exerciser EML 16 Legend option 156 level hiding 96 Level Hiding tab 96 levels 79 license files 232 License Information window 232 License Key 232 licensing information 232 limits 115 Linear 141 174 Link Connect toolbar button 185 Link level decode 79 Link section 61 107 Link Settings 101 Link State 176 211 link state messages 59 Link State segment 59 Link tab 208 Link Tracker buttons 149 toolbar 145 Link Tracker window 145 docking 147 markers 148 reformat 146 link training 61 186 Link Training sequence 185 Link Transaction metrics 167 Link Transaction Level graphs 170 Link Transaction Performance 167 Link Utilization 179 Link Width 107 Link Width pane 155 Linkup peg file 209 List values 194 Load button 98 109 Load command 98 109 Load into File option 221 loading 98 109 log 197 243 Index Logarithmic 141 174 logic analyzers 23 long format 71 LTSSM Flow Graph 158 LTSSM Flow Graph command 158 LV TTL output and input signals 23 macros 213 changing order 216 creating 214 deleting 217 editing 216 Main Display Area 145 Main display
92. O oo 00 DO 00 00 O0 00 00 DO oo 00 DO 00 00 O0 00 00 DO 00 00 DO oo 00 DO 00 00 DO 00 00 DO 00 00 DO BA as O 444 oo oo oo 00 oo oo oo oo 00 oo oo oo oo oo oo oo oo oo 00 oo oo oo oo oo oo oo oo 00 oo oo oo oo oft IOa addr 00000000 00000010 00000020 00000030 00000040 00000050 00000060 00000070 00000080 00000090 00000020 00000080 000000C0 00000020 O00000E0 O00000FO nAannniann 4 oo oo oo 00 oo oo oo oo 00 oo oo 00 oo oo 00 oo oo oo oo oo oo O0 oo oo 00 oo oo oo oo oo oo oo oo 00 oo 00 oo oo oo oo 00 oo oo 00 oo oo oo 00 oo oo 00 oo oo oo 00 oo oo oo oo oo oo oo oo oo oo 00 00 00 oo 00 oo 00 oo oo oo oo oo oo oo AGO 00 00 oo oo 00 oo 00 oo 00 oo oo 00 oo oo oo oo oo 00 00 oo oo oo oo oo oo oo oo oo oo oo 00 00 00 00 oo oo oo 00 oo oc yoo oo oo 00 oo oo 00 oo oo oo 00 oo oo oo oo oo 00 oo 00 oo 00 00 00 DO 00 00 DO 00 00 O0 oo 00 DO 00 00 O0 00 00 DO oo 00 DO 00 00 O0 00 00 DO 00 00 DO oo 00 DO 00 00 DO 00 00 DO 00 00 00 210 x ar NG 00 00 00 00 00 00 00 00 00 00 00 Ho 00 00 00 00 1T ga BRA as AR TRO rr CN AA OL cac PAA CL CL pa m All the differences are marked in yellow LeCroy Corporation PE Tracer EML User Manual Chapter 12 Address Space 12 2 Memory lO S
93. O i i Ref CLK To Exerciser Receive Emulator PCIE Slot PWR PWR Signal Low Clock Ext Power Mt Int Level High Select Int SSC Select Ext Figure 3 4 Host Emulation Test Fixture LeCroy Host Emulation Test Fixture Hardware enclosure with a slot on top for accommodating a PCI Express card Data Cable Connector To Exerciser Transmit Connects to the Transmit port on PE Trainer EML Data Cable Connector To Exerciser Receive Connects to the Receive port on PE Trainer EML Bus Reset button Reset asserts PERST for gt 250 ms Signal Level switch e Hi PCI Express compliant 0 9V 1 2V e Low Testing 0 45V 0 65V LeCroy Corporation 37 Chapter 3 Installation PE Tracer EML User Manual Clock Select Selects from the following clocking options e Ext a user supplied reference via the RefCLK SMA connector e Int an internal supplied 100 MHz reference clock e Int SSC an internal supplied Spread Spectrum Clock Power Select switch Selects between the internal power supply and the external power jacks on the back of the emulator unit When External power is selected both 3 3V and 12V supplies must be provided by the user via the banana jacks on the back of the emulator Reference Clk connector Provides a point of attachment for an external reference clock Emulator Power LED Lights when emulator is powered on PCIE Slot Power LED Lights when the PCI Express connector on the Host Emulator i
94. P any type is in the CATC Trace Reason The sequence rule to filter in Any TLP is overwriting the global state rule to filter out TLP Completion LeCroy Corporation 119 Chapter 8 Recording Options PE Tracer EML User Manual Example 11 Global State active at all times Result Only TLP any type is in the CATC Trace Reason The sequence rule to filter in Any TLP is overwriting the global state rule to filter out Any TLP Example 12 Global State active at all times Result Empty CATC Trace Reason The sequence rule to filter out Any TLP is not contradicting the global state rule to filter in Any TLP Both rules are applied The global rule filters out DLLPs and Ordered Sets and the sequence rule filters out TLPs Example 13 Global State active at all times Result Only TLP any type is in the CATC Trace 120 LeCroy Corporation PE Tracer EML User Manual Chapter 8 Recording Options Reason Filter out rules in the global state cell and in the sequence state cell are ignored The Filter In Any TLP rule is used Example 14 Global State active at all times Sequence 1 State 1 Result Only DLLP UpdateFC is in the CATC Trace Reason The Filter out rules are ignored Filter in DLLP updateFC rule is used Example 15 Global State active at all times FILTER OUT Sequence 1 State 2 I 1 T LI i FILTER OUT LU Tin Sequence 1 State 3 Anything FILTER CLIT Up
95. Preview 124 Event Navigation 139 Event Properties dialog box 124 Event Trigger recording type 102 events searching 81 Event specific Settings 125 Exclude option 86 executing 210 Exerciser 9 14 configuring 185 powering on 39 setting up 30 expand 194 Expand Data command 71 Export Wait for ACK from upstream 190 Export Wait for Cpl from upstream 190 241 Index exporting 68 Trace to a Traffic Generation File 189 Ext option 38 Ext In Connector 18 Ext Out connector 18 External Interface Breakout Board 23 external signals 25 F fax number 239 field hiding 95 Field Colors tab 92 Field Formats tab 94 Field View 228 File Export dialog box 189 file formats 68 File Information window 136 File Menu 51 File Tabs 197 File tabs 192 filter 133 Filter action 114 Filter In button 133 Filter Out button 133 Find command 85 Find dialog box 85 Find Next command 87 finding 85 Firmware update 231 First Prev Next and Last buttons 162 Fit to Graph Area 141 174 flow control 186 Flow Control tab 208 Flush option 62 Fonts 90 format field 94 From 189 From packet field 69 From Packet field 67 front panel 15 16 fuse 19 G General page 208 General tab 61 89 100 Generate Menu 53 Generate menu 213 242 PE Tracer EML User Manual generating 185 210 theory 185 Generation Macro command 216 Generation Macros command 214 Generation Macros dialog box 214 216 Generation Options command 198 208 Generation Options d
96. RSNT2 These jumpers can be used to open circuit the Presence detect signals driven to the PCI Express connector When removed the PRSNT2 signal is floating When installed default the PRSNT2 signal is tied to GND There are four PRSNT2 signals on the PCI Express connector one for each lane width x1 x4 x8 and x16 Insert the edge connector on the Device Emulator into a PCI Express slot in the DUT The Device Emulator is designed to fit into standard x16 PCI Express slot To connect to a x1 x4 or x8 slot you must install a slot reducer available from LeCroy The Device Emulator is shipped from LeCroy with a metal face plate for attachment to a PC case If you are working with a motherboard that is not in a PC case you may prefer to remove the metal face plate so the emulator can sit flat with the motherboard To remove the face plate unscrew the two screws that hold it onto the emulator LeCroy Corporation PE Tracer EML User Manual Chapter 3 Installation Step 5 Attach probe data cables between the two connectors on the emulator and the Transmit and Receive ports on the Exerciser Step 6 At this point the emulator is ready for use Skip ahead to Section Final Steps Power On the Exerciser and DUT on page 39 Host Emulation Test Fixture Description pers tn Pd Figure 3 3 Host Emulation Test Fixture with a PCI E Graphics Card on Top Pe TA O To Exerciser Transmit A orm lt amp IN s
97. S Fim 50 4 1 000 1 500 2 000 2 500 3 000 3 500 4 000 4 500 5 000 5 500 6 000 6 500 7 000 7 500 6 000 Time aa ki eee LA C qu Link Utilization Percent 41 500 1 000 1 500 000 27 500 3 000 3 500 4 000 4 500 5 000 5 500 6 000 6 500 7 000 7 500 3 000 Time us oe ee a PA Pra Ph ad NANG pU Hte PAA ere TE HE WE E te EE pts ste s z minii ag ela AN FE bed 500 1 000 1 500 27 000 27 500 3 000 3 500 4 000 4 500 5 000 5 500 6 000 6 500 7 000 7 500 3 000 Time us 4 Time 9218s Throughput 293MBytes s Packet 80727 The Bus Utilization window displays information on bandwidth use for the transmit and receive channels Throughput MB ybesis 140 LeCroy Corporation PE Tracer EML User Manual Chapter 9 Reports and Tools LeCroy Corporation Bus Utilization Pop up Menu You can reformat the display by right clicking a graph and making a selection from the Bus Utilization pop up menu a r1 T Go ko Packet 53 Unde zoom zoom bo Trace View Fit ko Graph area Scale Type a Hide Remove Properties Go to Packet Relocates the CATC Trace to the selected packet number Undo Zoom If you have zoomed in this command undoes the zoom Zoom to Trace View Zooms in on graph to show traffic currently displayed in the CATC Trace screen Fit to Graph Area Redisplays graph so that the entire CATC Trace fits inside graph area Y Scale Type e Linear Converts display to linear format
98. TC Traces are displayed Status bar The status bar is located at the bottom of the application window The left end of the status bar displays descriptions of buttons and menu items when the mouse is positioned over them The right end of the bar shows the search direction LeCroy Corporation PE Tracer EML User Manual Chapter 4 Software Overview 4 3 Using the Toolbar E le You can use the PE Tracer application Toolbar as a shortcut to most of the operations supplied by the menus SHE wh AF RER RTS 4 amp Piet Link Spat Oe dih PB HS DI OR Opens a previously recorded a Edit as text CATC Trace file Ey Script Editor Opens a text editor for editing traffic generation files peg Save As Allows the open file to be saved with a new name Setup Recording Options Setup Display Options Opens the Recording Options Opens the Display Options dialog box dialog box E Setup Generation Options Opens the Generation Options dialog box Start Recording R Real Time Statistics monitor e NG Opens a window that displays real time information Stop Recording pa Disconnect Connect Link a mt Click once to break and momentarily later restore lng link Open menu to select either Connect or Disconnect Repeat Upload Opens a dialog box that allows you to select a portion of memory to upload from memory then causes the Analyzer to re send the CATC Trace from the A
99. Tools Error Report T Link Tracker Timing Calculator Navigator Traffic Summary Data TU Bus Utilization Real Time Statistics Fonts Fields Arial B r Data Courier New B r Configuration Name LeCroy default Restore Factory Presets Save Save As Default Load aa Ta LeCroy Corporation 89 Chapter 7 Display Options PE Tracer EML User Manual 7 2 Specifying General Display Options The Display Options General tab allows you to specify Zoom Level Defines the size of packet fields in the packet view Zoom level is adjustable as 10 20 40 60 80 100 120 140 160 180 and 200 percent Enable Tool tips Allows information to be displayed on a packet by resting your mouse pointer over it Wrap Allows packets Link Transactions and Split Transactions to wrap within the display Right click cell context menu Swaps mouse functions Hierarchy Lines Adds lines to the trace view indicating relations between packets Link Transactions and Split Transactions Timestamp position Moves timestamp location from end of packet to beginning of packet or merges it with the packet number Trace Viewing Level Allows the CATC Trace to be displayed in different hierarchical levels Packets Link Transactions and Split Transactions Time Stamp Gives you options for setting the timestamp to zero for either the first CATC Trace packet or the trigger packet or for leaving the stamp unchanged as
100. ada PH 4 TC Da TD Del EP ball packet TLF Sroco Default Ordering lo PSN Ox49994 Length C4 TLEType MAd32 Aequesteld TC Ox7 TD Ux1 EP Oxd Ordering O g A incudedi peg 4 nolededa pd O Ch nayzerSwPETracerd CPE Tracer include peg 15 Credit parameters are ignored since Timer set to OFF M C andyzerswiPE Tracer 0x PE Tracer incude peg 18 Value overflaw Ox 5994 in M C anayzerSwPETracer3 0x PE Tracer Uncuds peg 16 Unable to process psneOx49994 Errors Marked by red squares Warnings Marked by yellow squares Double clicking an error in the error log causes the cursor in the edit window to move to where the error was detected Note You cannot run the script if it has syntax errors 197 LeCroy Corporation Chapter 10 Traffic Generation PE Tracer EML User Manual View Options Menu The View Options button displays a menu with these options EHI db Fa iv Enable Outlining Show Line Numbers Show Tooltips Toggle Outlining Enable Outlining Adds an expandable collapsible tree structure to the left side of the Script Editor showing the hierarchical relationships of the script lines Show Line Numbers Adds line numbers to the left side of the Script Editor window Show Tooltips Allows tooltip popups which provide descriptions of script keywords when cursor mouses over a keyword Toggle Outlining Toggles the outline tree
101. all open CATC Trace windows in an overlapping arrangement Tile Displays all open CATC Trace windows as a series of strips across the display Arrange Icons Arranges minimized CATC Trace windows at the bottom of the display Synchronize Traces Synchronizes the CATC Trace View windows so that a move in one window repositions the other window of the same recording Help Menu Help Topics Accesses the PE Tracer application s Online Help Register Product Online Register at the LeCroy website registration page Check for Updates Check whether a new software version is available If so you can download from the LeCroy web site You can select to Check for updates at application startup Update License Displays a dialog box for entering updated license information Display License Information Opens an information box describing the current license information About Displays version information about the attached Analyzer and its Firmware and BusEngine 56 LeCroy Corporation PETracer EML User Manual Chapter 4 Software Overview 4 5 Tool Tips Tool tips provide details about fields within the CATC Trace To see a tool tip position your mouse pointer over a field within the CATC Trace CigRd1 DevicelD Register ona sal mane annn TI te E g his is a Transaction Layer Packet i TLF The Sequence Number assigned to this packet by Data Link Layer is 10 You can turn off this capability in the Display Options menu 4 6 K
102. ard The Interposer has three sets of connectors a gold male connector that fits into a standard x16 PCI Express slot on a motherboard a black female connector that accepts a x16 PCI Express device such as a graphics card and two Interposer cable connectors that connect the Interposer to the Analyzer Black Female Connector Gold Male Connector Interposer Data Connectors 2 USB Cable Connects the UPAS 100K to the host PC running the PE Tracer software 33 Chapter 3 Installation PE Tracer EML User Manual Installing the Interposer To install the Interposer perform the following steps Step 1 Step 2 Step 3 Step 4 If not already powered off power off the UPAS 100K Analyzer and the DUTs Insert the gold male connector on the Interposer probe into a x16 PCI Express slot in the motherboard Insert the PCI Express DUT into the Interposer s black female device connector The slot Interposer is shipped from LeCroy with a metal face plate for attachment to a PC case If you are working with a motherboard that is not in a PC case you may prefer to remove the metal face plate so the Interposer can sit flat with the motherboard To remove the face plate unscrew the two screws that hold it onto the Interposer Connecting the Probe Data Cable and USB Cable To connect the Interposer data cable Step 1 Step 2 Connect the two probe data cables to the Interposer card and to the Analyzer It
103. ation 79 Chapter 5 Reading CATC Traces PE Tracer EML User Manual 80 LeCroy Corporation PE Tracer EML User Manual Chapter 6 Searching CATC Traces Chapter 6 Searching CATC Traces This chapter describes how to search for CATC Trace events 6 1 CATC Trace Search Overview Several search commands let you navigate a CATC Trace view to search for key events such as errors and triggers To view the search options click Search in the Menu bar Search View Tools Window l Go ko Trigger Go to Packet Go ko Time Go to Marker k Go ko d M End Ctrl F iS End ext F3 Search Direction Forward 6 2 Go to Trigger To position a trigger packet at the top of the screen e Select Search gt Go to Trigger 6 3 Go to Packet To position a packet at the top of the screen Step 1 Select Go to Packet from the Search menu A pop up menu prompts you for the packet number marker or time xi Go to Packet T m Marker Time O 0000000000 secs Cancel Step 2 Enter the packet number marker or time Step 3 Click OK LeCroy Corporation 81 Chapter 6 Searching CATC Traces PE Tracer EML User Manual 6 4 Go to Time To position a specific time at the top of the screen Step 1 Select Go to Time from the Search menu A pop up menu prompts you for the time in Seconds or Clocks X Time ff Seconds Format Seconds Clocks Cancel Step 2 Enter the time and format secon
104. ave As Defaut Load The page divides into three areas Toolbar Contains buttons such as the New Events button for issuing commands Available Events area A part of the screen where you can park buttons that you intend to use in the Main display area Main display area The part of the screen where you create trigger and filter conditions You create conditions by dragging buttons onto the Main display area from the Available Events area You then create additional conditions by right clicking a button and selecting options from a pop up menu See Creating Recording Rules 110 LeCroy Corporation PE Tracer EML User Manual Chapter 8 Recording Options Global State vs Sequences The Main Display area in the center of the Recording Rules page has two cells that affect events differently Global State Events dragged into the Global State cell are searched for throughout the recording For example if you place an Error in the Global State cell and assign a Trigger to it the Analyzer searches for errors from the start of the recording until the end Global State active at all times CRC LCRC D TRIGGER Sequence State The cell marked Drag an event here to create a new sequence is a Sequence Cell Sequence cells are used to event sequences which are chains of events culminating in a trigger or other action One sequence i e a separate chains of events can be created with up to 32 states A state is an even
105. between collapsed and expanded states 10 4 Generation Options Dialogs Overview The Generation Options dialog box is used to set Config settings in a traffic generation script for example Config General or Config Link This dialog duplicates the Config script command and is provided as a convenient alternative means of setting this command in the script Note The Generation Options dialog is subordinate to the script itself so script commands override options selected in this dialog box Opening the Dialog To open the Generation Options dialog select Setup 5 Generation Options or click the Generation Options button Dialog Layout The Generation Options dialog is organized into five pages General Link Integrity Flow Control and Transactions Generation Options General Link Integrity Flow Control Transactions 198 LeCroy Corporation PE Tracer EML User Manual Chapter 10 Traffic Generation 10 5 Generation Options for PETrainer EML General Generation Options m m m m a Ja 9 er no PP il a LP a ca a gaga TATTA Stop recording When generation shops LeCroy Corporation 199 Chapter 10 Traffic Generation PE Tracer EML User Manual Parameter Values Default Comment Target Specifies the generation platform The choice affects some of the options presented in the Generation Options dialog LinkWidth 1 1 Ignored if AutoDetect is set 2 4 8 16 DisableScrambleTx Yes No Ig
106. bles e Breakout Board with cable e x16 to x1 Edge Adapter e x16 to x4 Edge Adapter e x16 to x8 Edge Adapter e PETracer Software program CD ROM e Device Emulator Card or Host Emulation Test Fixture LeCroy Corporation 11 Chapter 2 Hardware Description PE Tracer EML User Manual 2 2 Host PC Requirements PE Tracer EML and PE Trainer EML connect to a Host PC Please consult the readme file on the installation CD for the latest PC requirements 2 3 Universal Protocol Analyzer System UPAS The Universal Protocol Analyzer System UPAS is a base unit for LeCroy protocol Analyzer modules The UPAS contains the recording memory and other resources used by all LeCroy Analyzer modules At the back of the UPAS is a hi speed USB port for transferring CATC Trace data to a PC e UPAS 100K The newest and fastest of the LeCroy base systems This unit supports the PE Tracer EML 12 LeCroy Corporation PE Tracer EML User Manual Chapter 2 Hardware Description 2 4 Protocol Analyzer Modules PE Tracer EML is a hardware module that plugs into LeCroy s Universal Protocol Analyzer System UPAS e PETracer EML x16 version of PE Tracer PE Tracer EML works with the UPAS 100K Analyzer modules use hardware triggering to capture real time events and hardware filtering to exclude unwanted data Data is recorded into the Analyzer s buffer and then transferred over a USB line to a PC for display and analysis Search and display capabilities i
107. bmp Email Opens an email and attaches a bitmap file of the Real Time Statistics data ja e 0 yt Print Prints the Real Time Statistics data Full Screen Maximizes the Real Time Statistics window View Settings Opens a sub menu with the following choices Orient Horizontally Tile Vertically Show Markers Show Plumbline Status gt gt Bar Tool tips None Grid Lines gt gt Both Axes X Axis Y Axis No Grid Grid on Top Fonts amp Colors E Horizontal zoom in a Horizontal zoom out 172 LeCroy Corporation PE Tracer EML User Manual Chapter 9 Reports and Tools Vertical Zoom in KEY Vertical zoom out TE Click and Drag Zoom Click and drag to zoom in on a part of the graph a Synchronize Graph Areas If two or more graphs are displayed this button rs synchronizes the graphs to one another Once synchronized the positioning slider of one graph moves the other graphs Graph Areas Allows you to hide or display the graphs and the counters You can toggle Statistics Accumulation Link Utilization Data Payload Throughput and Data Packet Count gt Start real time statistics Starts the real time statistical monitor Stop real time statistics Stops the real time statistical monitor Reset Graphs Resets the graphs LeCroy Corporation 173 Chapter 9 Reports and Tools PE Tracer EML User Manual Real Time Statistical Monitor Pop up Menu Additional formatting options
108. by user Accessible through Configuration Reads and Writes over PCI Express Programmable address spaces PE Tracer EML only Automatic transaction completer PE Tracer EML only 1 3 CATC Trace Software PE Tracer EML utilizes the CATC Trace to assist users in analyzing how PCI Express components work together diagnose problems and test for interoperability and standards compliance The CATC Trace is a powerful and intuitive expert software system embedding detailed knowledge of the protocol hierarchy and intricacies as defined in the protocol specification The software allows the user to control the Analyzer and set specific real time triggering and filtering conditions The CATC Trace utilizes a Windows based graphical display that has been optimized for fast and easy navigation through a captured traffic session Users are alerted as violations are detected at all levels of the protocol layering and can easily drill down on areas of interest or collapse and hide fields that are not relevant 6 LeCroy Corporation PE Tracer EML User Manual Chapter 1 Overview 1 4 PETracer EML Analyzer LeCroy Corporation The PE Tracer EML allows semiconductor motherboard and add in card manufacturers to capture analyze and view PCI Express traffic 2 de ee There are two ways to one the PE aber EML to the naat to point PCI Express bus using either a card edge slot Interposer card or a mid bus probe for more information about mid bu
109. cified the user defined text is displayed If a wait user script command is executed the script pauses until you click the Resume Generation button Es on the toolbar LeCroy Corporation PE Tracer EML User Manual Chapter 10 Traffic Generation Step 2 Open the Real Time Statistics window by clicking tht Real Time Statistics SN 300 SN 400 sn 4m E Link utilization Upstream wa sl EI Link utilization Downstream Ap cet Leal eit JE Data Packets GI Link utilization PETrainer 3N 401 CAT TT 05 391 316 200 2 Link utilization PETrainer 5N 400 Payload KBytes ayload 0001054045 lratFC state Complete Data Payload Throughput Link state DETECT_ACTIVE 400 pa NG PER LE LAS a NG PTS Time From Start e 4 a E 200 Packets Count iPacketsjus 100 To the right is a Statistics Accumulation area In this area look for two messages e InitFC State Complete shown in the example above e Link State LO If the messages appear then it means that the Exerciser successfully completed the Link training Note Link training can also be performed by clicking the Trainer Connect button on the Status bar LeCroy Corporation 211 Chapter 10 Traffic Generation PE Tracer EML User Manual 212 LeCroy Corporation PE Tracer EML User Manual Chapter 11 Macros Chapter 11 Macros 11 1 Macros PE Trainer EML al
110. ctors Presets Save Save As Default Load aa Ta To change the format of alphanumeric characters in a field Step 1 Under the Group and Colors column click the plus symbol next to the group you want to reformat The group expands to show the individual fields within the group as shown above Step 2 Click the row representing the field that you want to reformat If the field can be reformatted the format options at the top of the dialog box become active as shown below mu AA LERC Hex MSEtoLSB EERE Hex MSBtoLSB Step 3 Select a format LeCroy Corporation PE Tracer EML User LeCroy Corporation Manual Chapter 7 Display Options Step 4 Specify the bit order in the displayed fields by checking unchecking the MSB gt LSB checkboxes Step 5 Click Apply or OK Hiding Fields To hide a field Step 1 Under the Group and Colors column click the plus symbol next to the group that has the field s you want to hide The group expands to show the individual fields within the group as shown above Step 2 Click the checkbox in the row representing the field that you want to hide Step 3 Click Apply or OK 95 Chapter 7 Display Options PE Tracer EML User Manual 96 Hiding Levels The Level Hiding page lets you hide traffic by Event Group If you select one or more event types from the Event Group list the selected types are hidden from the CATC Trace Display Options k X Genera
111. d verification tool intended to assist engineers in improving the reliability of their systems It can emulate PCI Express root complexes or device endpoints Built upon LeCroy s most advanced Universal Protocol Analysis System UPAS platform the UPAS 100k PE Trainer EML is LeCroy s second generation PCI Express Exerciser By leveraging years of experience in protocol analysis tools for emerging markets the PE Trainer EML blends sophisticated functionality with intuitive controls to speed the development and testing of PCI Express IP cores semiconductors bridges switches and systems The PE Trainer EML is a stand alone PCI Express Exerciser that can generate and respond to all types of PCI Express transactions The scripting language allows creation of Transaction Layer Packets TLPs Data Link Layer Packets DLLPs and Ordered Sets ACK s and NAK s can be automatically generated under user control Any packet field not explicitly specified is created automatically For example CRC s can be automatically calculated Configuration ROM space can be emulated for any device including endpoints bridges and switches A Configuration Space can be easily created by exporting a Configuration Space file created by the PE Tracer The scripting language is powerful yet easy to use One way to create test scripts is to export traffic from a CATC Trace file captured with a LeCroy PE Tracer You can modify the exported script to generate different test
112. decimal ASCII Decimal or Binary formats Bit Order is Most Significant Bit or Least Significant Bit You can display data in Big Endian or Little Endian Format lets you display data as BYTEs WORDs or DWORDs Columns lets you select the number of columns You can enter hexidecimal offset values You can go to or search Previous or Next 72 LeCroy Corporation PE Tracer EML User Manual Chapter 5 Reading CATC Traces 5 6 Show Raw 10b Codes LeCroy Corporation You can view the raw bits that make up the data field by left clicking the field and selecting View Data Block from the pop up menu To view Raw 10b Codes Step 1 Left click the first cell in a packet Step 2 Select Show Raw 10b Codes from the pop up menu to display the Raw 10b Codes window Po ET 10b Codes Display For Packet 1 Ioj x Physical Lanes Data Appearance Bute f Scrambl Byte f 10 bit code C Symbol RD C LFSR Packet Fields tro oo Qi On amp Li li co OxF1 0x13 17 Duo Packet Running Disparity Error lt Prev Next gt Prey Hent 2 Step 3 To change the format of the data use the options along the right side of the dialog Step 4 To navigate the CATC Trace use the Prev and Next buttons 73 Chapter 5 Reading CATC Traces 5 7 Show Header Fields 74 You can view details about header fields by opening the Show Header Fields dialog box Step 1 Click a header A pop
113. devices Allows you to update the BusEngine Firmware and your licensing information Record Menu Start Stop Reupload Disconnect Connect Reset Link Configuration Causes the Analyzer to begin recording traffic Causes the Analyzer to stop recording traffic Causes the Analyzer to re send all or selected portions of the CATC Trace from the Analyzer buffer to the host PC Causes the Analyzer to momentarily break and then establish the PCI Express link connection in both link directions Causes the Analyzer to reset the Serdes and thereby reset the Analyzers current link configuration This command is needed when lane width or other lane settings are changed Otherwise the old link configuration is used and errors are generated in the CATC Trace 52 LeCroy Corporation PETracer EML User Manual Chapter 4 Software Overview Generate Menu Connect Disconnect Write Address Space Read Address Space Initializes the link between PE Trainer and the device under test Disconnects the link between PE Trainer and the device under test Reads PE Trainer internal memory used for address space mapping Loads PE Trainer internal memory used for address space mapping Report Menu Report Menu operations are only available when you are working with a CATC Trace file File Information Error Summary Traffic Summary Bus Utilization Link Tracker Data Flow Trace Navigator LTSSM Flow Graph Packe
114. display Display Options x x ELF Type TLP Header LITLP Requester ID LCITLF Compl ter ID CITLP Data Pattern CITLP Data Lengths CITLP Traffic Class C TLP Tag CITLP Sequence Number Invalid TLP encoding Memory Read 32 bit Memory Read 32 bit Locked Memor Write 37 bit Memory Read 64 bit Memory Read 64 bit Locked Memory Write 64 bit IO Read Request LO Write Request Configuration Read Type 0 Configuration tite Type 0 Configuration Read Type 1 Configuration rite Tupe 1 Trusted Configuration Read 50 LeCroy Corporation PETracer EML User Manual Chapter 4 Software Overview 4 4 Using the Menus The PETracer application main display includes the following set of pull down menus File Setup Record Generate Report Search View Tools Window Help File Menu New PE Trainer Script Open Close Save as Convert Old Files Print Print Preview Print Setup Edit Comment Export gt gt to Text gt gt Packets to CSV Text gt gt to Generator File Format Exit LeCroy Corporation Creates a new Traffic Generation file Opens a file Closes the current file Saves all or a specified range of packets to a uniquely named file Convert CATC Trace files made in previous versions of PE Tracer to the new format for PE Tracer version 5 0 and higher Prints part or all of the current traffic data file Produces an on screen preview before printing Setup your cur
115. does not matter which slot you plug the cables into on the Analyzer as the direction of the data is determined automatically by the software Connect the provided USB cable between the UPAS 100K Analyzer and the PC host system that runs the PE Tracer software Power On Analyzer and DUT Step 1 Step 2 Step 3 34 Power on the UPAS 100K The Analyzer s green Power LED lights and the red Status LED turns on for approximately 20 seconds while the Analyzer performs self diagnostics After the Analyzer s red status LED turns off power on the PCI Express system under test Open the PE Tracer EML software on the PC host system The Analyzer is now ready for PCI Express traffic recording LeCroy Corporation PE Tracer EML User Manual Chapter 3 Installation 3 7 Connecting PE Trainer EML to the Device Under Test Figure 3 2 PETrainer EML bottom left connected to a Host Emulator adapter top and a PETracer EML Analyzer right The Host Emulator has a PCI Express graphics card inserted PE Trainer EML can test both the host and device sides of a PCI Express link through the use of two types of adapter e Motherboards and host controllers Using a device emulator A device emulator is an adapter card that fits into motherboards and other slotted PCI Express devices e PCI Express add on cards Using a host emulation test fixture A host emulation test fixture is a box like adapter with a slot for testing PCI Express cards
116. ds or clocks Step 3 Click Go 6 5 Go To Marker Use this operation to go directly to a specific packet that has been marked with a unique marker by the Set Marker operation To go to a marker Step 1 Select Go To Marker from the Search Menu Step 2 Select the marker you want from the fly out menu Alternatively select All Markers to display the All Markers window then select a marker and click Goto Pa all Markers Marker Description Upstream Packet 5 Trigger Edit Duplicate Tatas Delete All Close At The packet you want appears at the top of the screen Marked packets have a red bar on the left edge 82 LeCroy Corporation PE Tracer EML User Manual Chapter 6 Searching CATC Traces 6 6 Go To Menu The Go To menu in the Search menu provides a quick way to search for a packet based on a simple condition You can search for the following types of events e TLP Type e DLLP Type e Ordered Set e Link Event e Traffic Class e DLLP Virtual Channel e TLP Virtual Channel e Direction e Speed e Link Width e Requester ID ex Completer ID e Data Lengths e Errors LeCroy Corporation 83 Chapter 6 Searching CATC Traces PE Tracer EML User Manual 6 7 Search Direction Search direction can be toggled back and forth by using the command under the Search menu Search Direction controls the direction of the search Each time Search Direction is selected the search order is reversed For example
117. ds to observe link training in order to record link traffic correctly If link training or re training is not easily controllable for the devices under test the Analyzer includes the capability to force link training by disconnecting and reconnecting the PCI Express link Clicking the Connect Disconnect Hi button disconnects the PCI Express link for one second in both directions then re establishes the link Note For x1 PCI Express links it is not necessary for the Analyzer to observe link training in order to record link traffic this step may be skipped 61 Chapter 4 Software Overview PE Tracer EML User Manual Step 5 Click OK at the bottom of the Recording Options dialog box to apply the Analyzer recording settings specified Step 6 Click the Record button Stopping a Recording You can stop the recording process at any time by pressing the Stop button M This causes the Analyzer to stop the recording and upload the CATC Trace to the host PC If you press the Stop button again the Analyzer temporarily halts the upload process and opens the following dialog box Abort Upload 7 Select an option Stop but preserve existing uploaded data Continue as if Abort not initiated data and cancel trace completely This dialog presents options for stopping continuing or aborting the upload e Stop Aborts further CATC Trace upload and displays whatever CATC Trace data that has already been uploaded e Conti
118. e Decode Scripts Configuration Space Decode Scripts are tools to define capability structures and instruct the Configuration Space Viewer or Editor how to decode them These scripts are in the CfgSpaceScripts sub directory below the Scripts directory in the application directory You can write Configuration Space Decode Scripts using the CATC Scripting Language CSL See the LeCroy Analyzers File Based Decoding Manual for reference PCI Express Configuration Space Decode Scripts have the file extension pecfgdec A 1 Mandatory Definitions Configuration Space Decode Scripts must set the following reserved variables e CapabilityName Name of the capability structure e CapabilityID ID of the capability structure e ExtAddSpace Set to 1 if Extended Configuration Space Otherwise set to O for PCI A 2 Mandatory Module Functions Modules are collections of functions and data dedicated to decoding a specific capability structure Each module has one primary Configuration Space Decode Script file extension pecfgdec and optionally has include files inc A module function is an entry point into a decoding module To help display a capability structure the application calls a module function The Configuration Space Editor and Viewer support only the DecodeRegister offset and GetSize functions DecodeRegister offset The application calls this function while decoding a specific DWORD offset of the specified CapabilityID The
119. e Address Space x File Fath Offset ue Size Iw Cig C AddressSpaces Ctg add Memb Ga EY 1 m DE 7 Mem22 4 Etes 5 Ey 000000000 fosoeo00000 M Mem32B PE Err 000000000 Joxosocoooo T ID a a BE 000000000 fox00000100 M IDE Ef 00000000 o 0000000 Clear Cancel The dialog shows a list of address spaces Check the checkboxes to select Address Spaces Note PE Trainer memory regions are assigned to the specific BARS according to configuration space See Configuration Space on page 225 To select Address Space file s click the Browse button To edit a selected file click the Edit button This action opens either the Configuration Space Editor or the Memory IO Address Space Editor depending on which option you have selected To specify the offset from the beginning of the PE Trainer memory region enter a value into the Offset bytes box The default offset is O To set the size of the data to write enter a value in the box marked Size bytes The default size is the maximum allowed memory size limited by PE Trainer hardware The offsett size should not exceed the maximum allowed memory size Mem64 512 MB Mem32 128 MB IO 256 MB Note You cannot specify Offset and Size for Configuration Address Space To load all selected memory regions into PE Trainer from the selected files click the Write button To set all selected memory regions to O click the Clear button 220 Le
120. e Available Events area This area serves as a parking lot where you can place event buttons without them having any effect on the Analyzer Link Skate Ordered Set Errors k DLLP TLF Filter Everything In Filter Everything Cut Breakout Board Data Timer Drag the selected events from the Available Events area into one of either the Global State cell or the Sequence cell see Global State vs Sequences on page 111 Global State active at all times Global State Cell Sequence Cell Global State Cell If you want the Analyzer to always search for the event place it in the cell marked Global State Sequence Cell To create an event sequence place two or more events in the faintly marked cell that reads Drag an event here to create a sequence At this point the selected events have no effect because an action has not been assigned To select a sub set of your selected event right click it and choose Properties A Properties dialog box opens that presents additional options For example if you open the Properties dialog for Errors you can set the specific types of errors the Analyzer should look for 113 Chapter 8 Recording Options 114 PE Tracer EML User Manual Step 4 Assign an action to the selected events by right clicking each of the events selecting Specify Action from the pop up menu and assigning an action such as Trigger Filter or Count Be sure to click the event itself and not
121. e CATC Trace display 157 Chapter 9 Reports and Tools PE Tracer EML User Manual 9 8 LTSSM Flow Graph The LTSSM Flow Graph shows link state transitions that the link goes through as recorded in the CATC Trace file To obtain the LTSSM Flow Graph select View gt LTSSM Flow Graph LTSSM Flow Graph cfg pi express pex Direction Show Number Of Transitions Upstream Downstream Upstream A lt C Downstream R3 Both States Status Previous Current LO Next Click on enabled state repeatedly to jump to next instances of the same state Click on enabled states to establish link with associated packets in viewer You can display the following directions e Upstream Downstream e Both You can Show Number of Transitions 158 LeCroy Corporation PE Tracer EML User Manual Chapter 9 Reports and Tools 9 9 Packet Header Bar The Packet Header bar shows packet header information To obtain the Packet Header bar select Report gt Packet Header or click the En Packet Header toolbar icon nl 8 The toolbar allows you to Save go to Previous or Next display Hexadecimal or Binary and show the Packet Data window CIRE ood Iona Hoa LeCroy Corporation 159 Chapter 9 Reports and Tools PE Tracer EML User Manual 9 10 Packet Data Window The Packet Data window shows packet information To obtain the Packet Data window select Report 5 Packet Data od
122. e LTSSM to initiate Link training Alternatively a script can executed with the Link LO command 185 Chapter 10 Traffic Generation PE Tracer EML User Manual 186 The PE Trainer Status bar at the bottom of the screen shows the current state of the PCI Express Link When the Link is down it shows Detect When it is up it shows LO All of the intermediate link states such as Polling and Configuration are handled automatically In fact after the Link LO command is executed and the LTSSM is alive the PE Trainer attempts to keep the Link active just as any other PCI Express device does This includes handling of Recovery states and subsequent retraining events The next step is to enable flow control This is done by executing the Link InitFC command This causes PE Trainer to perform flow control initialization and if enabled begin periodic transmission of Update FC DLLP s If the Link connect toolbar button was used the flow control initialization happens automatically By using these basic commands the complicated process of link training is managed automatically The Link is now trained and the script execution can now focus on sending TLP packets Script Execution As mentioned above each time a script is executed the configuration settings for the PE Trainer are reprogrammed When the Start generation button is pressed the script is uploaded to the PE Trainer hardware and executed immediately Progress of the script can be t
123. e Setup LED On the Transmit module this LED illuminates when an connection is established between the Exerciser and host emulator or device emulator Receive Probe Data Connector Receives traffic from DUT To Analyzer Transmits generated traffic from Exerciser to the Receive channel on a PETracer EML Analyzer This is an optional connection for users adding a PE Tracer EML Analyzer to their setup Transmit Probe Data Connector Sends generated traffic from Exerciser to DUT To Analyzer Sends traffic received from DUT on the Transmit channel on a PE Tracer EML Analyzer This is an optional connection for users adding a PE Tracer EML Analyzer to their setup 17 Chapter 2 Hardware Description PE Tracer EML User Manual 2 8 Rear Panel Description 18 From left to right the UPAS rear panel contains the following components Figure 2 1 PETracer EML Rear Panel Sync In Sync Out Data In Out Extin Ext Out NOD KXIHOO USB Type B Host Computer Connector This connector links the Analyzer to the Host PC for the purpose of transmitting commands from the PC to the Analyzer and uploading CATC Traces from the Analyzer s recording memory to the PE Tracer software for viewing and analysis or links the PE Trainer Exerciser to the Host PC for the purpose of downloading scripts and controlling the behavior of the Exerciser SFP Sync In and Sync Out Connectors These connectors allow multiple UPAS 100K chassis to send synchronization a
124. e controls and LEDs on the front and rear panels of the UPAS Warning Do not open the UPAS enclosure There are no operator serviceable parts inside Refer servicing to LeCroy UPAS LEDs from left to right a b w c d Naa e f 16 a aa mt a AA MODEL PE008MG PCI Express X16 Exerciser TRANSMIT CABLE SETUP EEE SLOT 1 SLOT 2 SYSTEM MANUAL STATUS TRIGGER TRIGGERED STATUS STATUS POWER 8 P i a b c a e f Power indicator LED for UPAS Lights when the unit power is switched on System Status indicator LED for UPAS Lights during initialization power up of UPAS base unit Blinks if a self test fails Manual Trigger push button Disabled On PE Tracer EML this button forces an event trigger Triggered LED Disabled On PE Tracer EML this LED lights when the Analyzer triggers on an event Slot 1 Status Disabled On PE Tracer EML this LED illuminates when the Analyzer in Slot 1 is recording Slot 2 Status Disabled On PE Tracer EML this LED illuminates when the Analyzer in Slot 2 is recording LeCroy Corporation PE Tracer EML User Manual Chapter 2 Hardware Description LeCroy Corporation PETrainer EML Modules g Activity LED On the Transmit module this LED illuminates when linkup is h i j k 1 established between the Exerciser and the DUT On the Receive module this LED illuminates when there is traffic on the link Cabl
125. e how it affects performance Large CATC Trace files are easier to navigate but slower to open Misc Advanced Mode Turns on trigger beep sets external clocking EML only allows external interface signals to be saved into the CATC Trace and tells the Analyzer to use whatever TC to VC mapping was used in the last recording to re use previously discovered Configuration Space data in all future recordings Also presents a button for manually mapping the Traffic Classes to Virtual Channels 101 Chapter 8 Recording Options PE Tracer EML User Manual Recording Type Recording Type lets you to specify the type of recording you want to make e Snapshot A recording of a pre determined length You set the recording length in the Buffer Size box Recording begins when you click the Rec button on the toolbar and ends when the selected buffer size is filled or when you press the Stop button e Manual Trigger A recording that switches between the pre trigger buffer and the post trigger buffer when you push the Trigger button on the front of the Analyzer Recording begins when you select Start in the application Pressing the Trigger button causes the Analyzer to begin to finish recording Recording continues until the post trigger buffer has been filled You can also end the recording by pressing the Stop button in the application e Event Trigger A recording that switches between the pre trigger buffer and the post trigger buffer when it is tri
126. ed levels Select Reports 7 Traffic Summary or click e5 to display the Traffic Summary window Traffic Summary Hos et Goa fo DA of HHH Packet HHH ee All reports pe Downstream Pkt Packets Invalid DLLP encoding 9 3 ee DE nr Nak 1 0 1 ad Requesters PH o o T aa TI Completers Yendor o o o i FEE Traffic Class InitFC1 P 0 0 0 gs InitFC1 NP o o o MW InitFC1 Cpl 0 o o 22 Flow Control UpdateFC P o o 0 Link Link Transactions UpdateFC NP o 0 o Sa wo IC UpdateFC Cpl 0 0 o InitFC2 P 0 o 0 He Link Trans Performance InitFC NP o o D El Split Split Transactions a InitFC2 Cpl o o o GH EE Split Trans Performance z a CO Errors o 4 ala Ready Search Fd Buttons at the top of the Traffic Summary window change the display format and enable data to be exported to email file or the printer Using the Traffic Summary Window to Search the CATC Trace You can use the Traffic Summary window to move the CATC Trace to packets of interest Step 1 Click one of the numbers in the right side of the Traffic Summary window The CATC Trace jumps to the first instance of the selected protocol LeCroy PETracer TM PCI Express Protocol Analyzer C Program Files CATC PETracer Sa Trainin o xj EF File Setup Record Generate Report Search View Tools Window Help HEN TAFT AA e A RAR 248 NG LO el E lt gt Pet Link Spt elie 1 All report
127. een Plug and Play instructions for the automatic installation of the Exerciser as a USB device on the Host PC the required USB files are included on the CD Step through the Windows hardware wizard If the wizard prompts you for driver information point it to the CD which should be in your disk drive The host operating system detects the Exerciser and begins to install the USB driver LeCroy Corporation PE Tracer EML User Manual Chapter 3 Installation 3 4 Networking an Analyzer LeCroy Corporation PETracer has a networking capability that allows users to run an Analyzer remotely over an IP based LAN Using the Network browse dialog you can locate and connect to other PC hosts on the LAN which in turn are connected to Analyzers Through this connection you can remotely control an Analyzer Setup for IP LAN Use In order to connect to a remote Analyzer the Analyzer must be attached to a PC that is on the LAN This PC must have PE Tracer installed 7 ET Ethernet LAN TCP IP 31 Chapter 3 Installation PE Tracer EML User Manual 3 5 Browsing to a Networked Analyzer For the PE Tracer EML and the PE Trainer EML you can browse to a networked analyzer To browse to a networked Analyzer Step 1 From the menu select Setup gt Analyzer Network The Analyzer Network dialog box opens Locally connected Analyzers connected via USB display in the list The list may also show PC hosts and Analyzers
128. eived TLF packets Always NAK received TLF packets f Automatic ACK MAK DLLF generation for received TLF packets ACK AMAR delay jo ng TLP Policy M Automatically generate TLP sequence numbers M Automatically generate TLP LERC MF Automatically retransmit TLPs that were NAKed or on replay timer expiration Replay timer 4200 n M Automatically retrain the link when number of retransmitted TLPs is 4 Tag generation policy for non posted TLF te Disable automatic tag generation C Use lower 5 bit of Tag field Zero out higher 3 bits Use 8 bit of Tag field C Use 1 most significant bit of Function field and 8 bit of Tag C Use 2 most significant bits of Function field and bit of Tag C Use 3 bits of Function field and 8 bit of Tag Save Save As Default Load Cancel 202 LeCroy Corporation PE Tracer EML User Manual Chapter 10 Traffic Generation Parameter Values Default Comment AckNak Policy Auto Auto Auto Automatic ACK NAK DLLP generation for Ack received TLP packets default Nak Ack Always ACK received TLP packets Disable Nak Always NAK received TLP packets Disable Disable automatic ACK NAK DLLP generation AckNak Policy In ns 0 Timer that controls how much delay is added to AckNak Delay rounded to AckNak DLLP response after TLP reception nearest 8 Valid if AckNak is Auto Ack or Nak Used to delay AckNak thereby allowing customers to test their replay mechanisms and
129. er button To change the counter value Step 1 Click the small blue dot in the upper left corner of the counter button A menu appears Step 2 Select Change Counter Value Step 3 Enter a new value in the pop up dialog box This causes the new value to appear in the counter button LeCroy Corporation PE Tracer EML User Manual Chapter 8 Recording Options How to Set a Counter To set a counter Step 1 Open the Recording Rules page select an event and drag it to the Global State or Sequence cells For details on these steps see Creating Recording Rules on page 112 Step 2 Counts can only be set on a per channel basis so press the Up or Down channel buttons to select the channel on which the count is performed Any Error Step 3 Right click the selected event and select Add Counter from the menu to open the Properties dialog Event Properties EI Error Actions al Any Error Count 16 M DLLP CRE M Disparity Label M TLFERC 7 Symbol LERE M EL M Idle data Channels F All MF Delimiter M Skip late M End of bad packet M Ordered Set Format M Count ME p Select All Clear All Desc Ever 16th occurrence on channel Up of OLLP CRE TLF LERC Delimiter EDB Disparity Symbol Idle Data Skip Lat Step 4 In the text box to the right of the label Count enter a value Make sure the checkbox to the left of the word Count is checked Step 5 Click the X in the top right corner of the
130. es Dialog The Error Properties dialog box lets you select specific error types for performing an action There are two sets of Error types Packet Errors and Idle Errors Event Properties x Slee E Ble Enor Actions al M DLLP CRC M Disparity M TLP CRC Symbol f LERE ECEC M Idle data Channels f2 Al M Delimiter M Skip late MW End of bad packet MW Ordered Set Format T Count E Select All Clear All Desc Any occurence on channels Up or Down of DLLP CRC TLP LERC Delimiter EDB Disparity Symbol Idle Data Skip Actions Properties Dialog The Actions Properties dialog box Event Properties Up Down Internal Triggering Sequencing Advance Sequence pa F Trigger Analyzer Restart Sequence Label ee ie t Any DLLP External Triggering Z m AI Pulse High Channels MF All aaa g site Up Coun WIE LO Filter In Pulse Toggle Filter Out Count 2 tt None tt None Desc Any occurence on channels Up or Down of Any DLEP 125 Chapter 8 Recording Options PE Tracer EML User Manual TLP Header Properties Dialog The TLP Header Properties dialog box Event Properties x x TLP Header TLF Pretis Payload Actions Fields Layout Requester Completer ID Label TLF Type TE Bus Device Func any Any M KANAXAXKANENANANG Channels Iv All Digest
131. eserve TC to VC mapping across the channels 106 Print command 69 Printer button 69 printing 69 Probe Data Cable 33 Probe Data Connector 15 probing characteristics 21 product overview 3 program opening 28 progress 186 Properties 142 174 Properties button 124 Properties command 113 Properties dialog 124 Properties dialog box 113 123 protocol unit 163 prototype rework area 24 PRSNT2 setting 36 range delimiters 156 Raw 10b Codes 73 Read Address Space button 219 Read Address Space dialog box 221 Read button 222 Read Requests Performance 166 reading 71 Ready message 58 Real Time Statistical Monitor window 174 Real Time Statistics buttons 172 pop up menu 174 toolbar 172 Real Time Statistics window 171 211 Real time Statistics window 175 rear panel 18 245 Index Receive port 37 Receive Probe Data Connector 17 Recently Used Ranges 154 Record button 62 Record Menu 52 recorded activity 60 recording 61 99 memory size 21 multi segment 63 stopping 62 Recording button 114 Recording Options command 99 configuring 61 dialog box 99 files 65 loading 109 saving 109 settings 109 Recording Options command 61 recording progress 60 Recording Progress Bar 58 Recording Rules buttons 112 examples 116 limits 115 logic 116 toolbar 112 Recording Rules tab 110 recording status 60 Recording Type 100 102 Refclk 36 Reference Clk connector 38 remote operation 31 Remove 141 Report Menu 53 Report menu 135
132. et Column Widths re enables the automatic resizing capability Reset Columns Order Return to default column sequence Docking and Undocking the Window You can undock the Link Tracker window by double clicking the blue title bar along the left side of the window Once undocked the window can be dragged anywhere in the application To redock double click again on the title bar 147 Chapter 9 Reports and Tools PE Tracer EML User Manual Setting Markers Markers can be set on any event within the Link Tracker window To set a marker right click an event then select Set Marker from the pop up menu Once marked you can navigate to events with the Go to Marker command in the Search menu Markers set in the Link Tracker window display the packet number and DWORD number In contrast markers set in the CATC Trace window just show the packet number Search view Window Help Go to Trigger Go to Packet Go bo Marker 5o ko Time Time Stamp D O00 000 248 s oleterlD Status BcEM Byte c Packet 7 DWORD 3 asd Go ko acket 8 DWORD 3 FFF i i Hi Find All Markers b eur F WG End ext 3 6 o00001120s j l Search Direction Forward Calculating Time between DWORDs You can calculate time between DWORDs by clicking an event and then positioning your mouse pointer over a second event and reading the ensuing Tool tip Click the time value for the first event Scroll down through t
133. ete accurate and reliable decoding of TLPs Transaction Layer Packets DLLPs Data Link Layer Packets and all PCI Express Primitives View link utilization and other performance measurements changing in real time Save this data to view as post session statistics Isolate important traffic specific errors or data patterns Trigger condition setup is made simple with drag and drop tools to link events to trigger or filter actions Analyze faster and understand transactions more clearly by removing non essential fields from the CATC Trace Quickly identify and track error rates and abnormal link or timing conditions Display configuration space and protocol specification details View Packet Link and Split Transaction levels of the PCI Express protocol Collapsible expandable headers with Tool tip explanations make it easy to navigate and interpret packet contents headers and commands View packets transactions of TLPs and DLLPs in classic CATC Trace format or in raw 10b code for deeper analysis Chapter 1 Overview 8 GB Recording Capacity Hi Speed USB Port Downloadable Trace Viewer Taps non intrusively into a single x1 2 5 gigabit second PCI Express port using MicroGigaCN receptacle and one standard x4 cable Field upgradeable firmware and recording engine Flexible probing options External interface for probing and monitoring auxiliary digital signals Dword to Transaction Level Viewer CRC checking
134. etwork Chat x MA BILL 1716 2004 4 12 17 PM Enter some text then press Send The message is then broadcast to all host PCs listed in your network browse window If a target PC also lists your PC in its Network Browse window then it can receive your message When the message arrives the Chat window automatically opens 70 LeCroy Corporation PE Tracer EML User Manual Chapter 5 Reading CATC Traces Chapter 5 Reading CATC Traces 5 1 Viewing PCI Express CATC Traces PETracer displays traffic as labeled color coded and time stamped rows Packet EO TIP Mirid CNET 0 ki 11 00000 000 01 2 781F33AB 12340000 1111 1000 i Data ECR LORE Idle Time Stamp 1023 dwords Ox0D632C96 Ox36214D17 0 000 ns 0000 000 000 000 s Tool tips provide details about fields within the CATC Trace Hold the mouse cursor over a field to see a tool tip Additional information is available from pop up menus For example if you click the left mouse button on the first cell in a packet a menu appears with an option to view Raw 10b Codes 5 2 Expand and Collapse Data Fields Packet data fields are displayed in a short format by default You can view a data field s long format by performing one of the following three actions e Click the small triangle in the left corner e Double click anywhere in the data field e Click once in the Data Field with the left mouse button then choose Expand Data from the pop up menu
135. evice ID PCI 0000 0000 bi On Bits 0 15 an a ma Device ID onfiguration Status Command Space Header 0010 nooo O4h 0000 Add Class Code Revision IL Ooh OO0000 OO PCI Express BIST Header Type Master Latency Timer Cache Line Size OCh PEREN OO OO OO Oo Base Address Register 10h OOO00000 Base Address Register 1 14h OOO00000 Base Address Register 2 18h OOO00000 Base Address Register 3 ICh OOO00000 Base Address Register 4 30h OOO00000 Base Address Register 5 34h OOO00000 Cardbus CIS Pointer OOO00000 om Subsystem ID Subsystem Vendor ID Ch TRIER O000 Expansion ROM Base Address 20h OOO00000 Reserved Capability Pointer sdh nognog OO Heserved OOO00000 a Max Lat Min_Gnt Interrupt Pin Interrupt Line ACh OO OO OO OO Ready In the Configuration Space View at the left you can add and define PCl compatible or PCI Express Configuration Space Capability Structures The toolbar allows you to create a New configuration space Open a configuration space file Save a file Write Configuration Space and Read Configuration Space 226 LeCroy Corporation PE Tracer EML User Manual Chapter 13 Configuration Space Click Add and then choose a Capability Structure from the context menu You can also select Edit gt Add PCI Capability or Edit gt Add PCI Express Capability Available PCI Capability Structures are e Message Signaled Interrupts e Accelerated Graphics Port e Vital Product Data e Vendor Specific e PCI Express e Hyper
136. eyboard Shortcuts LeCroy Corporation Keystrokes Operation Ctrl N New PE Tracer script Ctrl O Open file Ctrl P Print Ctrl S Save file Ctrl R Start Analyzer recording Ctrl T Stop Analyzer recording CtrltHome Jump to first packet Ctrl End Jump to last packet Ctrl G Go to packet Ctrl F Search forward F3 Find next F6 Next pane Shift F6 Previous pane Ctrl B Search backward 57 Chapter 4 Software Overview PE Tracer EML User Manual 4 7 Status Bar The Status Bar is a gray bar that runs along the bottom of the application window PET racer 5N 309 Uploading 20g Activity EH Ready Search Fund From left to right PETracer SN 309 Analyzer Serial Number Ready Analyzer Status Recording Progress Bar The colored bar to the right of the serial number represents how much traffic has been recorded The trigger point is indicated by the black line at the left side of the bar In this example the trigger occurred at the very beginning of the CATC Trace If the trigger is set in the middle of the CATC Trace the line is positioned in the middle of the bar Additionally the color of the bar is different on each side of the trigger point For examples see Recording Progress Bar on page 60 The white strip along the top edge of the color bar indicates how much traffic has been uploaded from the Analyzer buffer to the host PC Uploading and 20 Indicates the Analyzer s recording status what part of
137. f Function field and use 8 bit of Tag field Use 3 bits of Function field and use 8 bit of Tag field Flow Control The Flow Control page sets parameters for Config FCTx and Config FCRx Generation Options t X General Link Integrity Flow Control Transactions Ta Flow Control M Do not send TLF packet if credit amount is insufficient Rs Flow Control M Petiodically schedule UpdateFC DLLP UpdateFE Timer 4200 ng Initial credits to advertise PH T NP can FD 1024 NPD 1 CPLD 1024 Save Save As Default Load Cancel 204 LeCroy Corporation PETracer EML User Manual FCRx Parameter Enable Tx Flow Control Enable Rx Flow Control PH NPH CplH PD NPD CpID LeCroy Corporation Values Yes No Inns rounded to nearest 8 Off 0 to 255 0 to 255 0 to 255 0 to 4095 0 to 4095 0 to 4095 Default Yes 4200 1024 1024 Chapter 10 Traffic Generation Comment When not set the TLPs are being sent without the regard of how many credits are available This option prevents TLP transmission if insufficient credits are available When enabled allows automatic updating of these DLLPs This option enables a periodic timer that controls sending of UpdateFC DLLPs You should leave timer and credit values to defaults for correct behavior Posted Request Headers Non Posted Request Headers Completion Headers Posted Request Data Payload No
138. f the displayed elements Allows the display to wrap Toggles a display for tracking Flow Control Credit update and consumption on a PCI Express link Allows you to customize the display for tracking Flow Control Credits Toggles compacting of the Link Training sequence to analyze CATC Trace data faster or no compacting to display more data View the current recording at the Packet Level View the current recording at the Link Transaction Level View the current recording at the Split Transaction Level 55 Chapter 4 Software Overview PE Tracer EML User Manual Tools Menu Configuration Space Opens the Configuration Space Editor allowing you to either create or modify the Editor Configuration Space of the Exerciser Memory IO Space Editor Opens the Memory IO Space Editor allowing you to either create or modify memory spaces within the Exerciser TC to VC Mapping Allows Traffic Classes to be mapped to Virtual Channels for purposes of simplifying navigation for example Search 5 Go to 5 TLP Virtual Channel and changing the way the CATC Trace is displayed for example in Split Transactions Timing Calculations Starts the mode less calculator dialog for calculating various timing and bandwidth parameters in the recording file Run Verification Scripts Presents a list of verification scripts from which you can run a verification script Window Menu New Window Opens a copy of the current CATC Trace window Cascade Displays
139. filter in TLP Memory Both rules are applied LeCroy Corporation 117 Chapter 8 Recording Options PE Tracer EML User Manual Example 5 Global State active at all times Result Only TLP any type is in the CATC Trace Reason The sequence rule to filter in TLP Completion is not contradicting the global state rule to filter in Any TLP Both rules are applied Example 6 Global State active at all times Result Only TLP any type is in the CATC Trace Reason The sequence rule to filter in Any TLP is not contradicting the global state rule to filter in TLP Completion Both rules are applied Example 7 Global State active at all times Result All TLP are filtered out Reason The sequence rule to filter out Any TLP is not contradicting the global state rule to filter out TLP Completion Both rules are applied 118 LeCroy Corporation PE Tracer EML User Manual Chapter 8 Recording Options Example 8 Global State active at all times Result All TLP are filtered out Reason The sequence rule to filter out TLP Completion is not contradicting the global state rule to filter out Any TLP Both rules are applied Example 9 Global State active at all times Result Only TLP Completion is in the CATC Trace Reason The sequence rule to filter in TLP Completion is overwriting the global state rule to filter out Any TLP Example 10 Global State active at all times Result Only TL
140. g by selecting Setup gt Generation Macros from the menu Setup Record Generate R JE Display Options ii Recording Options TE Generation Options iseneration Macros Update Device Sa Analyzer Network Al Connected Devices Step 2 In the Generation Macros dialog box click the New button Generation Macros L Lx Move Up Pal Disconnect Brings the link down Move Down FE Connect Brings the link up F New Hew Delete i Script properties Mame Hew Comment Icon Edit icon W Show icon on the toolbar Edit code Step 3 Within Script properties area specify script name script comment script icon and whether or not to show script icon on a toolbar 214 LeCroy Corporation PE Tracer EML User Manual Chapter 11 Macros Step 4 Create a new icon for the script by clicking Edit Icon button The Edit Generation Macro Icon dialog appears Comment Move Up Pat Connect Brings the link up 7 al Disconnect Brings the link down BYE pe Hew Restore Comment Brings the link up Icon E Edit icon M Show icon on the toolbar Edit code Close Step 5 Using the tools provided paint the icon for new script macro and then press OK Step 6 Edit the script code by clicking the Edit code button The dialog closes and an empty script editing window appears see Section 10 3 Editing Generation Files with the Scri
141. ggered by an event in the CATC Trace An Event Trigger begins when you select Start in the application and ends when the specified triggering event occurs in the CATC Trace or you press Stop If an event triggers the end of the recording the Analyzer records a predefined amount of post trigger data specified by Trigger Position and Buffer Size Note You can also terminate an Event Trigger recording by pressing the Manual Trigger button on the front of the Analyzer When the Manual Trigger button is pressed the Analyzer continues to record until the specified post trigger buffer has been filled Buffer Size The Buffer Size slide bar allows you to set the size of the recording buffer Buffer Size 32 000 MB Note Size selection is per direction For example selecting 32 MB creates two memory areas of that size After you have set the Buffer Size you must set the Recording type and Trigger position options These options determine how the buffer is used Note The Buffer Size slide bar does not precisely portray the buffer size because of the way the packets are stored in the Analyzer s memory 102 LeCroy Corporation PE Tracer EML User Manual Chapter 8 Recording Options Target Analyzer Target Analyzer presents a menu with these choices e PETracer Edge Displays the options for the PE Tracer Edge Analyzer e PETracer ML Displays the options for the PE Tracer ML Analyzer e PETracer ML 2 Units Displays the same option
142. has a pop up menu with the Swap Upstream Downstream command which changes the directionality of the packets in the CATC Trace Mon ng ee Sen 7 W 33 Downstream R Swap Upstream Downstream Format d aan Color b Hide LeCroy Corporation 75 Chapter 5 Reading CATC Traces PE Tracer EML User Manual Packet Header G1 Cell Popup Menu The Packet Header G1 cell has a pop up menu with the Show Header Fields command see Show Header Fields on page 74 which exposes a detailed view of the selected Header field Si Show Header Fields Format Color Hide 76 LeCroy Corporation PE Tracer EML User Manual Chapter 5 Reading CATC Traces 5 9 Set Marker A marker is a unique label for a packet that allows you to go to that packet and also serves as a comment string for a specific packet When you select a marker the identified packet appears at the top of the screen Packets that have been marked have a red bar on the left edge To set a marker perform the following steps Step 1 Left click the Packet field of the packet you want to mark Packet 1 k Showy Hide Link Tracker Show Raw 10b Codes Show Packet in Raw Trace C Program FilesiCATOIPETracer Sample Filestmseg example pem Show Packet in Raw Trace C Program FilestCATCIPETracer Sample Files syntax Address5paces peg Set marker Time From Trigger Time From Marker Copy For PETrainer packet command Format d Color Hide Step
143. he CATC Trace to the second event and position the mouse pointer above its time value A Tool tip appears showing the time interval between the first and second events 00 000 004 200 00 000 O04 204 00 000 O04 205 00 000 004 212 00 000 O04 216 00 000 004 220 na nan nna 32 Time from selected 00 000 000 017 Hiding Traffic You can hide Idles and other data from the Link Tracker window by clicking the Hide buttons on the toolbar LeCroy Corporation PE Tracer EML User Manual Chapter 9 Reports and Tools Link Tracker Buttons The Link Tracker window has a row of buttons for changing the format of the displayed data and for exporting data The buttons have the following functions Full Screen Expands the Link Tracker window to fill the entire screen le View Options Opens a menu with three options EE e Collapsible Idle Time Collapse Idle Bigger Than n nanoseconds Note Does not affect Collapse Idle Plus e Tooltip Display Values Scrambled Values 10 bit Codes Symbols e Time Format Seconds Clock e Reset Columns Widths return to default widths e Reset Columns Order return to default column sequence See Using the Link Tracker Window on page 146 for further details Synchronize Trace View Synchronizes the Trace View and Link Tracker windows ba so that a move in one window repositions the other Because of the differences in scale and logic between the Link Tracker and Trace view window scr
144. he buttons allow you to start and stop traffic generation and to create and break links between PE Trainer and the DUT Link State InitFC State Detect Quiet Complete Traffic generation terminated The Status bar has a section labeled Link State that displays messages about the Trainer link The following list shows what types of messages can be displayed e Detect Quiet e Detect Active e Polling Active e Polling Compliance e Polling Configuration e Polling Speed e Configuration Linkwidth Start e Configuration Linkwidth Accept e Configuration Lanenum Wait e Configuration Lanenum Accept e Configuration Complete Configuration ldle e LO e LOs ldle e LOs FTS lt 1 L2 e Recovery RcvrLock e Recovery RcvrCfg e Recovery ldle e Loopback e Hot Reset e Disabled InitFC State Messages on PEfrainer Status Bar The Status bar has a section labeled InitFC State that displays messages about the Trainer InitFC State Link State InitFC State Detect Quiet Complete Traffic generation terminated The following list shows what types of messages can be displayed e Not initialized e Pending e Complete LeCroy Corporation 59 Chapter 4 Software Overview PE Tracer EML User Manual 60 Recording Progress Bar This indicator bar changes color to reflect the recording progress e Black vertical line is at the location of Trigger position e Black vertical line wiggles when Trigger Position is nearly reached e F
145. he internal reference clock in the Analyzer module is used instead for link analysis Disable Descrambling If checked causes the Analyzer to assume that none of the PCI Express traffic is scrambled By default the Analyzer determines the scrambling state of the devices under test LeCroy Corporation 107 Chapter 8 Recording Options PE Tracer EML User Manual Auto Configure Lane Polarity Lets the Analyzer determine lane polarity Base Spec 1 0 Rev Compatibility Mode Advanced Mode This option causes the Analyzer to conform to the PCI Express 1 0 Specification 108 LeCroy Corporation PE Tracer EML User Manual Chapter 8 Recording Options Saving and Loading Previously Saved Recording Options The options are Save Saves the current options to whatever file name you provide Save As Default Saves the current options into the default options file This file is called default rec or whatever other name you have assigned to the default options file Whenever the LeCroy PE Tracer software begins execution it automatically loads the default file if one exists Load Loads a previously saved set of recording options OK Applies changes and closes the Recording Options dialog box Cancel Cancels changes and closes the Recording Options dialog box Loading Recording Options In the Recording Options menu you can load a previously saved recording options file To load Recording Options Step 1 Select Setup gt Recording Optio
146. he report tables are navigable By clicking table cells you reposition the corresponding CATC Trace view to the Split or Link Transaction that has yielded this maximum or minimum value This can help you to find specific units in the CATC Trace such as transactions that produced spikes in Response Time or Throughput LeCroy Corporation 167 Chapter 9 Reports and Tools PE Tracer EML User Manual Show Metrics in the Bus Utilization Window The Bus Utilization window provides graphs for packet level information in the CATC Trace The window also provides graphs for information on Split and Link Transaction levels plotted over time The graphs for Split and Link Transaction levels are based on metrics collected for the transactions throughout the CATC Trace The seven graphs related to Split and Transaction levels are Pending Requests at Split Transaction level Response Time at Split Transaction level Latency Time at Split Transaction level Throughput Per Transaction at Split Transaction level Response Time and Latency Time at Split Transaction level combined graph Response Time at Link Transaction level for Memory Writes only N OO OO FP N Throughput at Link Transaction level for Memory Writes only The following is an example of Bus Utilization window display of graph numbers 1 4 5 6 and 7 SPLIT Pending Requests N l il 3 500 22 000 22 500 23 000 23 500 24 000 24 500 25 0
147. he same steps as above 231 Chapter 14 Updates and Licensing PE Tracer EML User Manual 14 2 License Keys A License Key is necessary to enable software maintenance If you attempt to record with the Analyzer without an installed License Key a message appears to indicate that a License Key is necessary in order to record traffic A License Key must be obtained from LeCroy for each Analyzer After you obtain the License Key follow these steps to install it Step 1 Select Help gt Update License from the menu bar to display the Update License dialog box Step 2 Enter the path and filename for the License Key or use the Browse button to navigate to the directory that contains the License Key Step 3 Select the lic file and then click Update Device You can also update your licensing information by selecting Setup gt All Connected Devices then clicking Update License 14 3 License Information 232 You can view Licensing information for your Analyzer by selecting Help gt Display License Information from the menu bar The License Information window displays data about the maintenance expiration and purchased features LeCroy Corporation PE Tracer EML User Manual Appendix A Configuration Space Decoding Appendix A Configuration Space Decoding The decoded capability structures in the Configuration Space Viewer and Editor are based on programmed definitions in the PE Tracer software and on Configuration Spac
148. he selected CompleterlD or DevicelD at the current packet You can select Configuration Space Header or a Capability Structure The right displays the decoded data of the selected Configuration Space Header or a Capability Structure up to the current packet The decoding builds while navigating through the next packets The Configuration Space View toolbar allows you to Save go to First go to Previous go to Next go to Last go to Previous Access to Selected Configuration Space Register go to Next Access to Selected Configuration Space Register and display Hexadecimal or Binary lel lt e E Gm 034 FA Kg Note See Appendix A Configuration Space Decoding on page 233 LeCroy Corporation PE Tracer EML User Manual Chapter 9 Reports and Tools 9 12 Using Unit Metrics For every protocol unit at the Link or Split transaction level PE Tracer calculates and displays a set of metrics Metrics are measurements of key operating parameters You can use metrics to evaluate performance of traffic in the CATC Trace stream You can view metrics information in the CATC Trace display the Traffic Summary window and the Bus Utilization window PE Tracer defines different metrics for Link and Split transactions Metrics Defined for Link Transactions Number of Packets The total number of packets that compose this Link transaction Payload The number of data payload bytes this Link transaction transferred Response
149. i EP 0x0 Ordering a Address xi Snoop Default Length Ox40 Generation Script Editor x Pale elo o ee es OS loop Begin count 10000 E loop Begin count 100 Script commands packet TLP Packet PSN Incr Idle TLPType CfgRd0 Link Length 1 Config FirstDwBe OxF Wait iL Template Include i Loop E wait TLP Repeat TLPType CplD Branch Display Wait for completion Proc LE loop End loop End PETrainer EML SN 700 Link State InitFC State Generating X PCI_Express Traces WaitOnTLP peg E B oa Lo Complete Wait for completion Packet 3 Ready Search Fwd gt 196 LeCroy Corporation PE Tracer EML User Manual Chapter 10 Traffic Generation Script Editor File Tabs At the bottom of the Script Editor window is the name of the open generation file If there are Include statements in the generation file that link it to other generation files these files automatically open and display as tabs at the bottom of the window You can click the tabs to toggle between the open generation files id 4 pi sall_packets peg 4 bili peg Script Editor Error Log Whenever you create a scripting error a log opens at the bottom of the application window When the error is corrected the window automatically closes laang mele ao ARAN HS O config FCRx Parameter value t PSN Daa 4 Timer Off TLPT ype M
150. ialog box 198 208 Generation Status bar 58 Generator file format 68 GenScriptMacros directory 215 Global State 111 Global State Cell 113 Go To Marker command 82 Go to Marker command 148 Go To menu 83 Go to Packet 141 Go to Packet command 81 82 Go to Script Editor 195 Go to Trigger command 81 Grid Lines 139 ground pins 23 Group and Colors column 92 94 hardware 3 5 specifications EML 20 hardware failure 29 hardware wizard 29 header fields 74 Help Menu 56 Hexadecimal vs Binary tabs 162 Hide 141 174 Hide buttons 49 148 Hide Downstream button 49 Hide SKIP and Update FC button 49 Hide Training button 49 Hide Upstream button 49 hiding 95 96 Idles 148 Hiding tab 96 host controllers 35 Host Emulation 208 Host Emulation Test Fixture 37 installing 38 host emulation test fixture 35 Host PC requirements 12 Host PC software requirements 22 Host RX Voltage Level 36 humidity 20 LeCroy Corporation PETracer EML User Manual Icon 216 Icon Label 124 idle 185 ldle errors 125 Include files 190 Include statement 187 Include statements 197 information priority 157 InitFC complete status 176 InitFC State 211 InitFC State segment 59 input signals 25 Install Software command 27 Int option 38 Int SSC option 38 Integrity tab 208 Intellisense 194 interface 27 internal rules 116 Interposer 33 interposer installing 34 interposer data cable connecting 34 Interposer options 208 Intersection option 86 lOa addr file 221 IP
151. ic to its buffer and then upload the CATC Trace to the host PC Recordings are limited in size to the size of the Analyzer s buffer 4 GB per direction Trigger Position Controls the percentage of buffer allocated for pre and post buffer recording LeCroy Corporation PE Tracer EML User Manual Chapter 8 Recording Options LeCroy Corporation Trigger On Simple Mode Error Link Up Link Down TS1 TS2 FTS Any TLP Config Rd Config Wr IO Rd IO Wr Mem Rd Mem Wr Message Completion InitFC1 InitF C2 ACK NAK and or PM Filter Out Simple Mode SKIP Ordered Sets and or UpdateFC DLLP are provided Trace Filename amp Path Sets the path and CATC Trace name for the recording Options Name Sets a descriptive label for the Recording Options so you can more easily recall what settings are in the Recording Options file Link Settings For link width inhibiting recording polarity external reference clock swapping recording channels inverting link polarity and descrambling Upload Size Advanced Mode Causes the Analyzer to upload a portion of the Analyzer s buffer This option lets you look at part of the CATC Trace Half of the uploaded CATC Trace is pre buffer and half post trigger Save As MultiSegment Trace Advanced Mode Divides the recording into segments so as to make very large recordings more easily uploaded and viewed If you are planning to create a large recording you might want to test this option to se
152. icable to this protocol unit Metric Name Metric Value Packets 4 916 us Pld Bytes 1020 Thrpt libis 207 406 Unit started at 9 016 sec from the beginning of the recording Note The tool tip also presents information for time passed from the start of the recording till the beginning of this Link or Split Transaction 164 LeCroy Corporation PE Tracer EML User LeCroy Corporation Manual Chapter 9 Reports and Tools Expanded Metrics Header Display When you expand the Metrics header the display creates a separate cell for each applicable metric Following is the expanded Metric header for a unit in the Split Transaction view LinkTras Resp time Latency Thrpt MB s Pld Bytes M tr MN 2 7480yo 6736po 214 Following is the expanded Metric header for a unit in the Link Transaction view i Packets Resp time Pld Bytes Thrpt MBs Mala 2 non 64 119403 Note Each of the metric cells pops up a tool tip window with the explanation of what the metric means Packets Ae 165 Chapter 9 Reports and Tools PE Tracer EML User Manual Show Metrics in the Traffic Summary Window Some of the Traffic Summary reports at the Link and Split Transaction levels are based on metrics collected for the corresponding protocol units in the CATC Trace Reports at Split Transaction Level Split Transaction Performance This report table groups the Split Transactions by Requester Completer pair and di
153. ield to right of Trigger Position changes color to indicate post trigger activity e Upper half of progress indicator turns white when recording is complete Recording Status The second segment from the left in the Status Bar indicates recording status During recording this status flashes one of the following messages e Trigger e Triggered e Uploading After recording stops the message changes to e Uploading data x done where x equals the percent that has been uploaded As uploading progresses the percent increases to 100 You can abort this upload if you wish by pressing the escape button on your keyboard or clicking m in the Tool Bar Recording Activity The third segment displays recorded activity Activity is indicated in blue a Activity NG Search Fud Search Direction Indicator The fourth segment in the status bar indicates search direction The direction can be changed by selecting Search Direction from the Search menu LeCroy Corporation PE Tracer EML User Manual Chapter 4 Software Overview 4 8 Making a PCI Express Recording After connecting the Analyzer to the device s you must configure the Recording Options Then you can test the Analyzer by creating a 16 MB snapshot recording To make this recording follow these steps LeCroy Corporation Step 1 Step 2 Step 3 Step 4 From the Setup menu select Recording Options select the General tab The following window displa
154. ignals into the Analyzer in order to cause triggering A Breakout Board can also be used to channel signals from the Analyzer to an external source Drive strength for all outputs is about 30 mA high 2 V and 60 mA low 0 5 V Inputs can handle 0 V to 5 5 V Inputs above 2 V are detected as logic high inputs below 0 8 V are detected as logic low The Breakout Board connects via a cable to the Data In Out connector on the rear of the UPAS External Recordable Signals Breakout Board Data 0 3 These pins let you define a 4 bit Data Pattern that can be recorded in a CATC Trace file External Input Triggers You can use either an external input signal or the Trigger button on the front of the UPAS to cause triggering The following descriptions show what pins or buttons to use Breakout Board Data 3 Data 0 Triggers on a 4 bit input pattern Breakout Board Trigger In 0 Selectable Edge triggered inputs Triggers on any edge it detects Breakout Board Trigger In 1 Selectable Edge triggered inputs Triggers on any edge it detects BNC Trigger EXT IN Selectable Edge triggered inputs Triggers on any edge it detects Located on the back of the chassis Push Button Trigger The Trigger button on the front of the UPAS can be pressed to manually cause a trigger External Outputs The Analyzer can be configured to send an external signal anytime a trigger and or event occurs The following descriptions show the behavior of these output
155. in pattern 2 1111111 LeCroy Corporation 131 Chapter 8 Recording Options PE Tracer EML User Manual Example 2 To tell the Analyzer to trigger on any payload with the binary pattern 1111111 in the third DWORD OR to trigger on any occurrence of Memory Write Step 1 To set up the first condition do steps 1 through 4 in Example 1 Step 2 Create a Memory Write event in the Available Events area of Recording Rules Drag the Memory Write icon to the same cell as the Any Event icon from Example 1 The Analyzer now is set to trigger on either of the two conditions Global State active at all times NG ACTION NG ACTION 8 12 Trigger A trigger is one of five actions that can be assigned to an event The other four actions are Filter In Filter Out Advance the Sequence and Restart the Sequence To enable a trigger place an event button into either the Global State cell or the Sequence cell then right click the button and choose an Action Global State active at all times Trigger Add Counter Filter In Move Event To Filter Out Copy Event To External Trigger Pulse HISH Ha Delete This Event External Trigger Pulse Lo Properties Properties From the sub menu select Trigger Global State active at all times TRIGGER 132 LeCroy Corporation PE Tracer EML User Manual Chapter 8 Recording Options The exact end of the recording depends on how you have set the Trigger Pos
156. ing operations for a certain time period then the value is calculated as an average of metric values for all the overlapped requests transactions It is important to remember that the Analyzer uses unit based averaging rather than time based averaging Time based averaging can be misleading in some situations For example consider the Throughput Per Transaction graph Sometimes while many outstanding requests are in progress latency and response time grows for each of the transactions resulting in a lower throughput per transaction over time which is reflected in the graph This happens even though aggregated throughput across all the transactions is constant Bus Utilization Window Features For the seven Split and Transaction level graphs listed all Bus Utilization window features are available such as zooming in out changing scale type scrolling context sensitive status and graph synchronization See Bus Utilization and Bus Utilization Buttons for more on these features Note Clicking a certain place within a graph area repositions the CATC Trace display at the Link or Split transaction level to the transaction that was in progress at that time Split Transaction Level Graphs Transactions at the Split level combine all the non posted requests with corresponding completions This includes Configuration and 10 Read and Write requests as well as Memory Read requests The following shows the graphs for the Split level Bus
157. ion or IO request It can be bigger then two for a Memory Read request LeCroy Corporation 163 Chapter 9 Reports and Tools PE Tracer EML User Manual Show Metrics in the CATC Trace Display In the CATC Trace view display of Link Transaction or Split Transaction levels all metrics information applicable to a specific protocol unit is displayed in a Metrics header The header is located close to the end of the unit in front of the Time cell You can expand and collapse the header to show or hide the metrics information Collapsed Metrics Header Display Following is a collapsed metrics display for a unit of Link Transaction The collapsed header display shows only the metrics cell representing the Number of Packets Link Tra Ma TLP an ae MAESA Data Na fence Packets 31250 10 00000 12 Following is a collapsed metrics display for a unit of Split Transaction The collapsed header display shows only the metrics cell representing Number of Link Transactions i mer a 4d dwords dwards Metrics Tool Tip Display In both CATC Trace level views you can view the summary of all the unit metrics in the Metrics header tool tip To view the tool tip simply place the mouse cursor over the Metrics header Following is the tool tip for a unit in the Link Transaction view LinkTras Split Tra MRats2 Metrics 14342 BAL 00 00000 Data WC ID f Explicit ACK Poe Packets 255 dwords Packet 29 Metrics appl
158. it was originally recorded Analysis Tools Checkboxes Error Report Opens Traffic Summary window and displays list of errors that occurred in the CATC Trace Timing Calculator Opens Timing Calculator dialog for calculating timing between events Traffic Summary Displays a table of events that occurred in the CATC Trace Bus Utilization Opens a graph of bus usage in the open CATC Trace Link Tracker Opens window that displays traffic on a per lane basis in a strictly chronological view Navigator Displays Hides Navigation bar The Navigation bar lets you see in a glance the position of errors and triggers in a CATC Trace and narrow the range of traffic displayed in the CATC Trace window Data Displays packet payload information in various formats Real Time Statistics Opens a dialog that displays a graph of bus activity on the DUT in real time as well as other statistical information Fonts Fonts Allows the appearance of field text and or data text to be defined 90 LeCroy Corporation PE Tracer EML User Manual Chapter 7 Display Options Configuration Name Display Configuration Name This field is used to enter a text string to be associated with the current set of Display Options This name is saved with the Display Options file and appears as part of the title of the packet view window that uses this set of Display Options 7 3 Color Format and Hiding Options The Color Format Hiding tab allows you to customi
159. ition slider in the General page of the Recording Options dialog This setting determines whether the recording terminates immediately following a trigger or some time afterwards See General Tab on page 100 for further explanation 8 13 Filter In and Filter Out A filter causes the Analyzer to filter in or out specified events from the recording If events are filtered out of the recording they are excluded from the Analyzer s buffer and not simply hidden from the CATC Trace The purpose of filtering is to preserve recording memory so you conduct longer recording sessions and exclude events that do not interest you A filter causes the Analyzer to filter in or out specified events from the recording so you can preserve recording memory and thereby increase the duration of your recording Filtering also lets you exclude unwanted data so your CATC Trace displays only the traffic that interests you To enable or disable filtering place an event button into either the Global State cell or the Sequence cell then right click the button and choose an Action see previous topic From the sub menu select Filter In or Filter Out Global State active at all times Global State active at all times FILTER IN METER ET LeCroy Corporation 133 Chapter 8 Recording Options PE Tracer EML User Manual 134 LeCroy Corporation PE Tracer EML User Manual Chapter 9 Reports and Tools Chapter 9 Reports and Tools Reports as
160. ker Time 0 00000041 20 secs Time O 0092665040 secs Reset Range to Whole Trace Cancel Step 2 To select a range of packets enter values in the From packet and To packet fields and click Print Step 3 To print an entire file leave the From and To fields empty and click Print The specified traffic information is printed as currently displayed in color or gray scale as supported by your printer Any CATC Trace File comments you entered are printed following the current document name at the top of each page Note CATC Trace File comments can be created by using Edit Comment on the File menu 69 Chapter 4 Software Overview PE Tracer EML User Manual 4 15 Analyzer Chat Window PE Tracer has a Chat window that allows you to communicate with users on remote PCs For Chat to work two conditions must be met 1 The PC hosts must have PE Tracer software installed and running 2 The hosts must be listed in each other s Network Browse list This means that your PC must have the remote PC listed in its Network Browse window and the remote PC must have your PC listed in its Network Browse window Analyzer Network l X Computer Analyzer devices Local machine PETracer 5N 211 PETracer 5N 202 at QA ABIT PETracer 5N 213 Remove Reconnect If the above conditions are met a Chat session is initiated by running the command View gt Analyzer Network Chat Bar The following dialog opens Analyzer N
161. l Color Format Hiding Level Hiding Event Groups Hide selected items C TLP Header TLP Requester ID TLP Compl ter ID TLP Data Pattern CITLP Data Lengths CITLP Traffic Class CITLP Tag CJITLP Sequence Number C Show selected items TLF Type Invalid TLF encoding Memory Read 32 bit Memory Read 32 bit Locked bdemory Write 32 bit Memory Read 64 bit bdemory Head 64 bit Locked Memory Write 64 bit IO Read Request LO Write Request Configuration Read Type 0 Configuration tite Type 0 Configuration Read Type 1 Configuration Write Tupe 1 Trusted Configuration Read Upstream Downstream Any Direction Restore Factory Presets Save Save As Default Load coed __ To hide a level Step 1 Select an Event Group Step 2 Select whether to Hide or Show selected items Step 3 Select Upstream Downstream or Any Direction Step 4 optional Select Compact EIEOS packets Step 5 Click OK LeCroy Corporation PE Tracer EML User Manual Chapter 7 Display Options The Event Groups for Packets are e TLP Type e TLP Header e TLP Requester ID e TLP Completer ID e TLP Data Pattern e TLP Data Lengths e TLP Traffic Class e TLP Tag e TLP Sequence Number e DLLP Type e DLLP Header e DLLP Virtual Channel e ACK NAK Seq Number e Ordered Sets e Link Event e Direction e Errors The Event Groups for Link Transactions and Split Transactions are e TLP
162. l State vs Sequences 111 8 4 Recording Rules Buttons 112 8 5 Creating Recording Rules 112 8 6 Recording Rule Limits 115 Configuration Limitations in PETracer EML 115 8 Recording Rules Logic How Contradictory Rules are Resolved 116 Recording Rules Examples 116 8 8 Properties Dialog Boxes 123 LeCroy Corporation V PE Tracer EML User Manual 8 9 Event Properties Dialog 124 Accessing the Properties Dialog 124 Dialog Settings and Features 124 Error Properties Dialog Xa mue ee eae wa as 125 Actions Properties Dialog 125 TLP Header Properties Dialog 126 TLP Prefix Properties Dialog 126 Payload Properties Dialog 127 DLLP Packet Properties Dialog 127 Ordered Set Properties Dialog 128 8 10 COUNING EVENS 4 024 442 40030 e e So eo oe bnew enw wed eth Ss 128 8 11 Creating a Payload Match 130 SIZ AG TS SR ER Y eid gt ole eed AA eee SORE Bee 132 8 13 Filter In and Filter Out
163. lations To view timing measured between two events set within the CATC Trace file Run Verification Scripts Allows you to check errors link transactions split trans actions metrics ordered sets replays DLLPs and TLPs Reports are available from the Report menu and buttons on the Tool bar Tools are available from the Tools menu LeCroy Corporation 135 Chapter 9 Reports and Tools PE Tracer EML User Manual 9 1 File Information The File Information window provides a summary on the currently displayed file Select Reports 7 File Information KO to obtain the File Information window File name Traning x8 pex Converted to FETracer format from file Traming x8 pex bak Trace occurred Monday August 11 2005 15 40 49 Number of packets 2261 Trigger packet number 4 Recorded with ATC PETracer analyzer version 2 00 Build 4 Analyzer Serial Number 00232 Motherboard 0x1 Version x5 Firmware version 1 00 ROM 70 93 BusEngine version 1 00 BusEngine type 0 UPAS Slot 1 Part Number PESO 1MLA Plugin ID Ox24 Version Ox4 UPAS Slot 2 Part Number PESO 1MLA Plugin ID Ox24 Version 0x2 Humber of markers 1 Base Spec Revl 0 used during the recording License information for the product Serial Number 00252 used to record this trace file Software maintenance expired on 10 01 2004 Available Features Feature Title Purchased Feature Description R ii Yes Ability to record x8 traffic ecording R xA
164. ld in the Exerciser memory space 65 23 k Detect Quiet Read Address Space r e lb E gu Resume traffic generation Trainer Connect Attempts to establish a G1 connection between PE Trainer and the DUT Trainer Disconnect Breaks the connection between PE Trainer and the DUT Write Address Space Downloads information into Exerciser memory LeCroy Corporation PE Tracer EML User Manual Chapter 4 Software Overview Toolbar Hide Buttons The PE Tracer application toolbar has five buttons related to show hide of CATC Trace file contents The buttons allow you to quickly adjust the CATC Trace display to your needs yo i Hide Training Brings up a drop down menu that lets you to hide all or a portion of the packets in the training portion of the CATC Trace Hide T51 T52 Hide Init FZ Hide IDLE 100 D10 2 D10 2 D10 PE 1 EX Hide SKIP and Update FC Brings up a drop down menu that lets you hide SKIP or Update FC packets in a CATC Trace cv aly Pe EX BA bo Hide SKIP 5 Hide Update FC pt Hide Upstream Hide all traffic from endpoint devices to the root complex Hide Downstream Hide all traffic from the root complex to endpoint devices LeCroy Corporation 49 Chapter 4 Software Overview PE Tracer EML User Manual Advanced Hiding Options Brings up the Level Hiding pane of the Display Options window Use this pane to tune the show hide options within the CATC Trace
165. ld up to 100 sequentially numbered segment files Example A 1010 MB recording using the default file names creates the following sub directories and files data pem This is the index file data pem files 00000 segment 00000 pex data pem files 00000 segment 00001 pex data pem files 00000 segment 00099 pex data pem files 00001 segment 00100 pex data pem files 00001 segment 00101 pex The index file looks something like a CATC Trace file but contains packet like entities that summarize each segment Viewing Multisegmented Files If Save As MultiSegment Trace is enabled in the General page of the Recording Options PE Tracer divides the CATC Trace into segments and stores them on the host s hard drive Segment size is set in the MB Segments box Enter a value from 4 MB to 128 MB PE Tracer also creates an index file that provides a brief summary of each segment and hyperlinks to each of the segments Double clicking a segment summary in the index file causes PE Tracer to open that segment You can also navigate through the segments by clicking the buttons on the Multisegment toolbar LeCroy Corporation 105 Chapter 8 Recording Options PE Tracer EML User Manual Misc Allows you to specify the following parameters for recording and uploading traffic Misc Beep When Trigger Occurs Save External Interface Signals M Preserve TC to YE mapping across the recordings Default TC to VC mapping e Beep When Trigger Occurs
166. le Ea Navigator Ranges This button brings up a pop up menu that lets you reset the Navigator range The range determines what packets are viewable in the CATC Trace display il Navigator Panes This button has two purposes To select which Navigator panes appear and to bring up the Navigator legend The legend determines how information is shown in the panes Navigator Ranges You set the viewing range by dragging the yellow range delimiters along the slider To set the lowest packet viewable drag the top delimiter up As you do so a tool tip appears to indicate the current range Stop dragging when you reach the desired lowest packet To set the highest packet viewable drag the bottom delimiter down Stop when the tool tip indicates you are at the desired highest packet I tka TE 0 Clr 10 2 010 2 010 2 010 2 O10 z Fram Packet 222 To Packet 797 Cc TS T a 0 24 010 2 102 0102 D10 15 2 005 2 005 2 005 2 DOS TS1 10 2 010 2 D10 2 D10 2 D10 Er To Determine Current Position In addition to the two range delimiters the slider has a blue current position indicator see above The current position indicator shows where you are in the CATC Trace display with respect to the possible viewing range 153 Chapter 9 Reports and Tools PE Tracer EML User Manual For example suppose you set viewing range to packet 0 through packet 500 the top range delimiter is at packet 0 and the botto
167. lows users to add buttons to the Status bar at the bottom of the window and add commands to the Generate menu to run traffic generation macros on the Exerciser After a macro script has been defined and assigned to a button the on the Status bar the macro can be run by clicking the macro button with the mouse or selecting the macro name from the Generate menu Default Macros Connect and Disconnect By default the PE Tracer software includes two macros Connect and Disconnect These buttons execute macros for creating and breaking a connection between the Exerciser and a DUT The buttons are on the Status bar when Exerciser hardware is present PE Trainer EML 5N 500 K Link State Detect Quiet 7 LF T JF dng T mal EEN Ready The commands are also on the Generate menu Generate View ta Disconnect Connect Macro The default code for this macro is the following Config General TrainerReset 1 Link Detect Wait 500 Link LO Wait 500 lank Init Disconnect Macro The default code for this macro is the following Config General TrainerReset 1 Link Detect LeCroy Corporation 213 Chapter 11 Macros PE Tracer EML User Manual 11 2 Adding New Script Macros There are two ways to add script macros e Using the Generation Macros dialog e Adding script files to the GenScriptMacros directory Using the Generation Macros Dialog Step 1 Open the Generation Macros dialo
168. m range delimiter is at packet 500 If you then move the current position indicator on the slider to midway between the top and bottom delimiters then packet 250 appears in the middle of the CATC Trace display To Reset Navigator Range You can reset the Navigator range using the toolbar Navigator Range button Press the button to bring up the Navigator Range drop down menu Mi 3 ba Set Range to Whole Trace Set Range near Packet 72 ka igger Er Recently Used Ranges k Pre Post Tr The menu has the following options e Set Range to Whole Trace Allows you to reset the range to include the entire CATC Trace file contents The top range delimiter is placed at the lowest packet number in the CATC Trace The bottom range delimiter is placed at the highest packet number in the CATC Trace e Set Range Near Packet xxx Allows you to collapse the range so that only the packets immediately above and below the xxx packet are displayed The xxx packet is whatever packet is currently at the top in the CATC Trace display e Recently Used Ranges Allows you to reset the range to any of a number of recently used previously set ranges 154 LeCroy Corporation PE Tracer EML User Manual Chapter 9 Reports and Tools LeCroy Corporation Navigator Panes You can display any combination of CATC Trace Navigator panes o 1 LE l I 1 ue NE o Link width From left to right the panes are Pre Post Trigger E
169. n Posted Request Data Payload Completion Data Payload 205 Chapter 10 Traffic Generation PE Tracer EML User Manual Transactions Generation Options PETrainer EML SN 1021 206 LeCroy Corporation PETracer EML User Manual Parameter Automatically handle Configuration Read and Write TLP transactions Automatically handle Memory and 10 Read and Write TLP transactions Enable Memory and IO Completions with Unsupported Request UR Status Enable Memory and IO Completions with Completer Abort CA Status Set Data Poisoned Bit for All Memory and IO Completions LeCroy Corporation Values Default Yes No No Yes No No Yes No No Yes No No Yes No No Chapter 10 Traffic Generation Comment If set automatically handles Configuration Read and Write TLP transactions For Configuration Read transaction Completion TLP contains the data read from the internal Configuration Space according to specified register address For Configuration Write transaction internal Configuration Space is updated at the address with the data taken from Configuration Write TLP and Configuration Write Completion is returned This option enables Read and Write access to 4 KB configuration space If set automatically handles Memory and IO Read and Write TLP transactions For Memory and IO Read transactions Completion TLP contains the data read from the internal Memory IO Address Space according to specified address
170. n the Analyzer software allow you to quickly locate specific data errors and other desired conditions An external DB 44 connector provides a path for externally supplied data or timing information to be recorded along with link traffic LeCroy Corporation 13 Chapter 2 Hardware Description PE Tracer EML User Manual 2 5 PE Trainer Exerciser 14 PE Trainer is a Multi lane PCI Express Exerciser designed to assist engineers in improving reliability of their solutions and providing advanced capabilities for stress and compliance testing e PETrainer EML 16 lane system All PE Trainer models operate as standalone Exercisers capable of generating and responding to all types of PCI Express transactions Both Exercisers also have the ability to create protocol variations and anomalies Users may also create corner case and stress test scenarios to evaluate the robustness of their solutions By utilizing the PE Trainer error injection feature engineers can create worst case PCI Express traffic scenarios allowing them to validate the error handling capabilities of their solutions When PE Trainer is used in conjunction with a PE Tracer Analyzer a complete expert test and analysis system is created This integrated solution delivers traffic generation and expert protocol analysis to assist developers with early validation of designs along with error injection and stress testing in preparation for compliance testing LeCroy Corporation
171. nalyzer buffer to the host PC 45 LeCroy Corporation Chapter 4 Software Overview Pkt Link 46 Zoom in display Zoom out display Hide Training Sequence Hide SKIP and Update FC packets Hide Upstream recording traffic Find Opens a dialog box that allows you to select one or more items to find in the recording then searches to that point View Packet Level data View Link Transaction Level data Split PE Tracer EML User Manual Wraps display information Hide Downstream traffic recording Advanced Hiding Options Opens a dialog box that allows you to select items to hide from view Compact View Toggles compacting of training sequences to analyze CATC Trace data faster or no compacting to display more data Find Next Repeats last Find or Search action View Split Transaction Level data LeCroy Corporation PETracer EML User Manual File Information Lists the conditions under which the recording was made Error Report Opens a window that lists all errors identified in the recording F Traffic Summary Opens a window that lists all events that occurred during the recording E Navigator Shows hides the gs Navigator bar a utility that lets you easily navigate the CATC Trace Displays the Data Payload luge window for the current packet Opens the Timing and Bus Usage a Calculations window E im EG Multi Segment Toolbar First Segment
172. nd control messages to one another RS 232 40 pin Data Input Output Connector This connector links a 40 pin RS 232 cable to an external Breakout Board The Breakout Board allows signals to be sent from the Analyzer to an external device such as an oscilloscope or from an external device to the Analyzer for the purpose of triggering on an external input You configure input output signalling through the Recording Options dialog box Breakout Board use is described at the end of this chapter This connector is not used by PE Trainer EML BNC Connectors Ext In and Ext Out These BNC connectors allow the Analyzer to transmit or receive external signals External signaling in turn can serve two functions e Linking of Analyzers On dual Analyzer systems the BNC connectors are used to create a loop for transmitting clocking information and commands between the Analyzers This linking allows the two Analyzers to function as a single logical Analyzer e Triggering The Ext In can receive a signal from another device and use that signal to trigger the end of the recording Conversely the Ext Out connector can be used to send an output signal from the Analyzer to another device The Ext In and Ext Out connectors have the same function as the 25 pin RS 232 connector i e they channel input and output signals but do not support the use of a Breakout Board The BNC connectors are not used for the PE Trainer Exerciser LeCroy Corporation
173. nd x OR y or Exclude all x or y To find a item Step 1 Open a CATC Trace Step 2 Open Find by selecting Search gt Find from the menu or clicking aa Search for Packets a Packets To Search For 5 a 7 Event Groups ackwar Combining specified Event Groups Origin LITLP Header C Union Packets i Top of the screen LITLP Requester ID that match ANY of the specified C Lasz match CITLP Completer ID events Start of the file ITLP Data Pattern Ce Intersection Packets a OTLF Data Lengths that match ALL of the specified TLF Traffic Class Sree O Exclusion Packets Find all LITLP Tag that DO NOT match opposite Search In Hidden LITLP Sequence Number to the intersection or union TLP Type Memon Write 32 bit Upstream C Downstream i Any Direction Cancel Step 3 From the Search For menu select a display level such as Packets To search multiple levels finish steps 3 to 9 and then repeat 3 to 9 for each additional display level 85 Chapter 6 Searching CATC Traces PE Tracer EML User Manual Step 4 Step 5 Step 6 Step 7 Step 8 Step 9 From the Event Groups menu select an Event Group The menu in the far right of the dialog box is context sensitive and changes to reflect the options for that group In the menu in the far right select one or more items Repeat Step 5 for each Event Group of interest for the selected display level Under Direction select Forward or Backward to
174. ner Wait Conditions Time Based Wait Wait for User Input Wait for DLLP TLP or Ordered Set LeCroy Corporation PE Tracer EML User Manual Chapter 2 Hardware Description 2 10 External Interface Breakout Board With each Analyzer LeCroy includes an External Interface Breakout Board for accessing several potentially useful standard LV TTL output and input signals The Breakout Board also offers a simple way to connect logic Analyzers or other tools to the PE Tracer EML Analyzer unit Six ground pins and one 5 volt pin are provided z 2 GND GND GP OUTPUT TRIGGER OUT TRIGGER IN 1 TRIGGER IN 0 CATC UPAS 2500 Breakout Board PCA 210 0042 00 OT jo OT Jo oL_ jo o _ Jo oC_ Jo OZ Jo OT jo OT jo OT jo o _ Jo OT Jjo o L_ Jo OT jo OT jo o L_ Jo OT jo DATA 7 DATA 6 DATA 5 DATA 4 DATA 3 DATA 2 DATA 1 DATA 0 RESERVED RESERVED RESERVED RESERVED 000000000000000000000000000 000000000000000000000000000 000000000000000000000000000 000000000000000000000000000 000000000000000000000000000 000000000000000000000000000 000000000000000000000000000 000000000000000000000000000 000000000000000000000000000 O O O O O O O O O O O O O O O O O O O O O O O O The Breakout Board connects via a cable to the Data In Out connector located on the rear of the Analyzer unit Each signaling pin is isolated by a 100 Q series resistor and a buffer inside the Analyzer unit Data In Out Connector on cable
175. neration LeCroy Corporation Script Editor Toolbar The toolbar contains buttons for saving your edits navigating searching and other functions A th S tales se Save Saves your edits and z immediately updates the setting bars and Frames shown in the CATC Trace window Go to Trace View Toggle Bookmark Allows markers Pa Causes trace view to bring the A to be set or removed to aid in currently selected script line to the navigation top of the screen View Options Opens a menu with Next Bookmark ial three options e Enable Outlining ka e Toggle Outlining e Line Numbers See View Options Menu on page 198 for descriptions a Cut Copy Previous Bookmark ky Clear All Bookmarks x Paste Find Replace Find and replace ar Undo IF Redo CAT Print DI 193 Chapter 10 Traffic Generation PE Tracer EML User Manual Script Edit Window The Script Edit Window offers several features to simplify the process of editing Syntax Highlighting All Known commands and parameters are highlighted in blue All predefined values and command modifiers are highlighted in brown Intellisense prompts for known predefined values literals This functionality is invoked when you type after a known key or select List values from the Context menu 16 packet 4 17 LL 18 OrderedSet 19 Haw TLP Tooltips The Tooltips look like the
176. ng of To beginning ot sai Segment jo Segment 2 Marker Marker Time w 00000004120 secs Time w 0 076521 7960 secs Total Time nanosecands Bus Utilization Upstream Downstream Link Utilization Time Coverage Bandwidth Data Throughput Packets second Split Transaction Performance Minimum Average bdasimum Response Time Latency Throughput MB 8 Memon Writes Performance Response Time Throughput MB 3 Calculate Select Reports gt Timing Calculations to obtain the Timing Calculator dialog box Total Time Total time from beginning of the first unit to beginning of the second unit LeCroy Corporation PE Tracer EML User Manual Chapter 9 Reports and Tools Bus Utilization This portion of the Timing Calculator window gives values that are cumulative for all packets during the timing period For example throughput is combined throughput of all packets during the timing period Upstream is from endpoint devices to the root complex Downstream is from the root complex to endpoint devices Link Utilization Percentage of non idle symbols in total number of symbols transferred Time Coverage Percentage of non idle symbol times in total number of symbol times Non idle symbol time occurs when at least on one of the lanes there were non idle symbols transferred Bandwidth Number of non idle symbol bits transferred per second
177. nored if AutoDetect is set No DisableDescrambleRx Yes No Ignored if AutoDetect is set No ReverseLanesTx Yes No Ignored if AutoDetect is set No ReverseLanesRx Yes No Ignored if AutoDetect is set No InvertPolarityTx X X X X Ignored if AutoDetect is set InvertPolarityRx X X X X Ignored if AutoDetect is set SkewTx X X X X Interposer Host Host Host Host Emulation Device BaseSpec10 Yes No No 200 LeCroy Corporation PETracer EML User Manual Link Generation Options Parameter Values Default SkipTimer In ns 4720 rounded to nearest 8 Off FTSCount 0 to 255 255 ExtendedSynch Yes Yes No LeCroy Corporation Chapter 10 Traffic Generation Comment Periodic timer that controls sending of SKIP ordered sets at specific intervals Timer s value is measured in 1us units The SKIP timer should be 4720 ns lt gt 6152 ns per the spec Number of FTS ordered sets required as sent in TS Forces LTSSM to send 4096 Fast Training Sequences when leaving LOs state The value entered in the text box sets the NUM FTS field in training patterns TS1 TS2 as generated by LTSSM 201 Chapter 10 Traffic Generation PE Tracer EML User Manual Integrity The Integrity page sets the parameters for two Config commands Config TLP and Config AckNak Generation Options g x General Link Integrity Flow Control Transactions ACK MAK Policy Disable automatic ACK NAK DLLP generation Always ACK rec
178. ns from the menu Step 2 Click the Load button from the Recording Options dialog box The Load dialog opens and lists previously saved options files rec Step 3 Select a file and click OK The options file loads Saving Recording Options Recording Options settings can be saved and later reused Recording options settings are stored in rec files Step 1 Open the Recording Options dialog by selecting Setup gt Recording Options Step 2 Set your options then click Save Step 3 Enter a unique file name The rec extension is added by default Step 4 optional To add a descriptive label to this file to help you remember what options were set use the Options Name box Setting Default Recording Options To save the current recording options into the default Recording Options file e Click Save As Default The default file for the options is default rec When the PE Tracer software begins execution it automatically loads the default rec file if one exists LeCroy Corporation 109 Chapter 8 Recording Options PE Tracer EML User Manual 8 3 Recording Rules Overview The Recording Rules page lets you to set triggers and filters Toolbar Recording Options Xl General Recording Rules anwan 5 c Q alele New Events Button Global State active at all times Global State Cell Sequence 1 State 1 New Events Area Sequence tp bom Cells Sequence 1 State 2 TRIGGER Save S
179. nue Resumes the upload This command tells the Analyzer to finish uploading whatever CATC Trace data is still in its buffer e Flush Flushes the CATC Trace without saving or displaying it If you allow the traffic data to be uploaded it is automatically saved on the PC s hard drive as a file named data pex or the name you assign as the default filename in the recording options Saving a Recording Step 1 To save a current recording for future reference select Save As from the File menu Step 2 Give the recording a unique name then save it to the appropriate directory 62 LeCroy Corporation PE Tracer EML User Manual Chapter 4 Software Overview 4 9 Recording Multi Segmented CATC Traces If Save as Multisegment trace is enabled PE Tracer divides the CATC Trace as it records it into segments and stores them on the host s hard drive This option is useful for very large recordings and for host PCs with limited memory In the latter case multi segmenting gives a PC with limited memory a way to open recordings that are otherwise too large to open The only downside to multi segmenting is that limits the scope of reports such as Traffic Summary Bus Utilization and Error Summary to each of the segments You cannot perform summary statistics on the full recording The default segment size is 10 MB Before attempting large recordings it is recommended that you play with this number to see what value best suits your needs How to
180. o any location within the buffer to allow the user to capture data before and after the trigger Full featured filtering capabilities allow engineers to isolate areas of interest Captured packets can be expanded or collapsed Columns are user configurable to allow hiding fields that are not relevant Powerful search capabilities further enhance the users abilities to solve engineering and production problems Chapter 1 Overview PE Tracer EML User Manual The PETracer EML includes a powerful expert system that incorporates detailed knowledge of the hierarchy and intricacies of the PCI Express protocol specification to create multiple graphical views of PCI Express data These Windows based color coded graphical views have been optimized for fast and easy navigation through a captured traffic session Each packet is decoded to display packet direction sequence number timestamp packet type and other packet specific fields Errors are detected at all levels of the protocol hierarchy and color highlighted for the user Error conditions include DLLP CRC LCRC ECRC delimiter disparity and symbol errors Real time statistics and post processing traffic summaries give the big picture of the data captured Statistics can be viewed in tabular form or viewed in graphical form Traffic summary views are hyperlinked back to data traces to quickly jump to the source of bugs The PCI Express protocol data can be viewed in several different hierarchical views
181. of Requester Completer pair request type and Traffic Class and displays Minimum Average Maximum data for Throughput Response Time and Latency metrics Traffic Summary Bos EM SEP pup a Latency Min Link Link Transactions A 000 00 0 gt 001 00 0 Cfg TCO 5 1 420 2 717 3 145 1 272 us 1 334 us 1 408 ps 136 000 ns 174 Split Split Transactions Pa 000 00 0 gt 001 00 0 IO TCO 1 3 115 3 115 3 115 1 284 us 1 284 us 1 284 us 112 000 ns 112 6 prm Split Trans Performance RD Read Requests WR ETATS CO Errors z lt gt Ready Search Fwd 166 LeCroy Corporation PE Tracer EML User Manual Chapter 9 Reports and Tools Reports at the Link Transaction Level The following metric based reports are displayed at the Link Transaction level Link Transaction Performance This report table groups the Link Transactions by TLP Type and displays Minimum Average Maximum data for Number Of Packets Response Time and Payload Bytes metrics All reports Pkt Packets 5 Mwr 32 1469 1 1 54 2 24 000 ns 135 390 ns 328 000 ns 1 3 98 4 5 Mak Link Transactions FE MRd 32 188514 1 1 31 3 20 000 ns 50 740 ns 304 000 ns o 0 00 0 L by CpID 188510 1 1 26 2 24 000 ns 80 060 ns 388 000 ns 1 31 99 32 yew ri Msg 6 1 1 83 2 24 000 ns 129 330 ns 168 000 ns o 0 00 0 H MsgD 3 1 1 67 2 28 000 ns 210 660 ns 304 000 ns o 0 00 0 WR Memory Writes 378502 Split Split Transactions FE Split Trans Performance
182. oks exactly like the icon in the Main Display area Icon Label A text box for labeling the button Whatever you type here appears on the button Channels These controls allow you to select the channel s that the Analyzer should search when it is looking for the event Count A counter tells the Analyzer to search for x instances of the selected event For example if you enter 10 the Analyzer counts 10 instances of the selected event before it performs whatever action you assign There are only two counts available in the hardware so if you try to assign more than two you get a warning Counters cannot be applied to events with Filter Actions The maximum counter value is 65 535 Pin Button Allows you to pin the Properties dialog box to the application so that it does not go away when another object appears such as an event state or action Description String This area contains a textual description of the event LeCroy Corporation PE Tracer EML User LeCroy Corporation Manual Chapter 8 Recording Options Event specific Settings The largest part of the Event Properties dialog box The settings in this area vary for different events Some events do not have any additional settings for example Basic Link Services Extended Link Services The Events that do have settings are Error Event Data Frame Event Primitive Event Advanced Primitive Event SCSI Command Event Breakout Board Event and Timer Event Error Properti
183. olling produces different effects depending on which window is being scrolled Scrolling in the CATC Trace window causes the Link Tracker window to rapidly jump from event to event Long periods of idle time are thus skipped Scrolling in the Link Tracker window in contrast produces modest movements within the CATC Trace window Scrolling in the Link Tracker window causes the CATC Trace window to pause until the beginning of a packet is displayed At that point the CATC Trace window repositions itself While scrolling long Idle periods or through the contents of a packet the CATC Trace window does not move R Zoom In a Zoom Out Continuous Time Scale No collapsing Ci Collapse Idle Do not show some periods of Link being idle E Collapse Idle Plus Do not show periods of Link being idle Ee LeCroy Corporation 149 Chapter 9 Reports and Tools 150 Ox Ox Show Values Show Scrambled Values Show 10b Codes Show Symbols Show Text PE Tracer EML User Manual LeCroy Corporation PE Tracer EML User Manual Chapter 9 Reports and Tools 9 6 Data Flow Window LeCroy Corporation The Data Flow window shows marker packet direction type length address payload handshake and timestamp information To obtain the Data Flow window select Report gt Data Flow or click the pal Data Flow toolbar icon Data Flow Packet pir Type length Address Payload Handshake l Re MsgD Set Slot Power
184. om Click and drag to zoom in on a part of the graph Select Range Displays a dialog box for selecting a packet range AA DEA x Synchronize Graph Areas If two or more graphs are displayed this button synchronizes the graphs to one another Once synchronized the positioning slider of one graph moves the other graphs Graph Areas Provides options for creating and displaying additional graphs of data lengths packet lengths and percentage of bus used 144 LeCroy Corporation PE Tracer EML User Manual Chapter 9 Reports and Tools 9 5 Link Tracker The Link Tracker window displays a detailed chronological view of events Events are shown on a channel by channel basis in columns within the window Link Tracker Packet 0 mseg_example pem Segment 0 x Baha Goal TO Tm Pa The requester for this TLP is Function 0 on Device O on Bus 1 00 000 000 404 The 16 bit Requester ID value is Ox0100 00 000 000 408 00 000 000412 0 Downstream FE AO ED FOE EO COEA EF 1B 64 ED 40 40 00 000 000 416 0D AF 4 24 D3 63 61 ee eee eee ee a eu 00 000 000 486 1 Upstream a a a Paa GAP a a NG D Ga PANGPANG GAN NA PT GAANONG PG PPT AP FE 92 B2 82 82 93 92 92 6D 99 01 53 EG 00 000 000 492 00 3 D5 00 000 000 496 00 000 000 500 2 Upstream NG E9 F9 F3 F9 EBEY ES 16 E2 AA 28 A300 00 000 000 504 6D AT 93 EEE E a at atta ee e 00 000 000 O60 idle time i 00 000 000 FBG 3
185. omizable Payload Mask Match Errors DLLP CRC TLP CRC Delimiter EDB End of Bad Packet Disparity Symbol Idle Data Skip Late DLLP Ordered Set Format Breakout Board BOB Filter in out capabilities LeCroy Corporation 21 Chapter 2 Hardware Description 22 PE Tracer EML User Manual PE Tracer Reporting and Statistics Transport Layer Packet Data Link Layer Packet DLLP Link Transactions Split Transaction Error Reports Memory Read 32 bit Memory Read 64 bit Memory Write 32 bit Memory Write 64 bit I O Read Request I O Write Request Configuration Read Type O Configuration Write Type 0 Configuration Read Type 1 Configuration Write Type 1 Message Message with Data Completion Completion with D for Locked Memory Read with Data Requesters Completers Traffic Class Number Virtual Channel ID Number Ack Nak PM Vendor InitFC1 P InitFC1 NP Init FC 1 Cpl Update FC P Update FC NP Update FC Cpl InitFC2 P InitFC2 NP Init FC2 Cpl Flow Control Implicit Explicit Incomplete Successful Completion Unsupported Request Cfg Request Retry Completer Abort Incomplete Bad ECRCs Bad LCRCs Invalid 10b code Running Disparity Error End of Bad Packet Delimiter Error TS Data Error Ordered Set Format Error Idle Error PE Trainer Script Memory Size 4 GB for CATC Trace generation timing and control information Host PC Software Requirements Operating System Windows XP and Vista PE Trai
186. or Packets are The Event Groups for Link Transactions and Split Transactions are TLP Type TLP Header TLP Prefix Summit T2 16 only TLP Requester ID TLP Completer ID TLP Data Pattern TLP Data Lengths TLP Traffic Class TLP Tag TLP Sequence Number DLLP Type DLLP Header DLLP Virtual Channel ACK NAK Seq Number Ordered Sets Link Event Direction Errors TLP Type Traffic Class Virtual Channel Direction RequesterlD CompleterlD Status Tag 6 9 Search for the Next Packet Type ik Use Find Next or click to search for the next packet meeting the search criteria LeCroy Corporation 87 Chapter 6 Searching CATC Traces PE Tracer EML User Manual 88 LeCroy Corporation PE Tracer EML User Manual Chapter 7 Display Options Chapter 7 Display Options 7 1 Setting Display Options Display Options allow you to customize the colors and formats of displayed traffic To open the Display Options dialog at the General tab Select Setup gt Display Options from the menu or click the Display Options button on the toolbar xl General Color Format Hiding Level Hiding Zoom Level ox Trace Viewing Level 7 Packet M Enable Tips PF Right click cell contest menu l l IY Wrap M Hierarchy Lines E Lirik berean plit Transaction Split T t Time Stamp Position Jat the end Time Stamp As recorded Zero at first trace packet Zero at trigger packet Analysis
187. or palette to pop up Select the desired color and press OK Step 1 Click View gt Set Display Options to open the Display Options dialog box Step 2 Select the Color Format Hiding property page Step 3 Under the Group and Colors column click the plus symbol next to the group you want to reformat The group expands to show the individual fields within the group Each field has a color as shown below Group and Color E Data BES Facket Data Hex MSE to LSB Data Length Dec D External Data Bin Cig Data Hex D Invalid packet Hex MSE to LSB Faw Data E Packets CRC Step 4 Click the colored cell that you want to change A color palette appears Step 5 Click a color in the palette then click Apply or OK Note The colors of the following Frame types cannot be changed e Invalid Data frame error field red e Softbit Errors yellow LeCroy Corporation PE Tracer EML User Manual Chapter 7 Display Options You can also change color by left clicking a field in the CATC Trace and selecting Color from the pop up menu Display Options h General Color Format Hiding Level Hiding Packets Group and Color F a Data Format Bit Order AR a a ic Hewadecimal a hee H Data Link Layer Decimal to H Transaction Layer Binary z Dec C ASE Hiding T Hidden Dec sm bn Link State Generator Command a ction Generator Command sa Contig Generator Command sa Address Space Genera
188. ording Type Snapshot Manual Trigger Event Trigger IT Bit Tracer Recording PF Upload Size Around Trigger 32 000 ME DE Misc T Beep When Trigger Occurs T Save External Interface Signals Target Analyzer Edge T1 4 PETracer ML PETracer ML 2 units i PETracer EML PETracer Summit Trigger Position Mot used with snapshot Save As Multisegment Trace 10 MB segments 4 123 M Preserve TC to WC mapping across the recordings Default TC to YC mapping Trace Filename amp Path C Program Files CAT CAPE T racer data pex Browse Options Name Switch to Simple Mode Defaut Save Save As Default Load PE Tracer EML User Manual T Inhibit Channel M Reverse Lanes Invert Polarity D l 2 3 SEE ie bn ad 2 ct ele E 8 9 10 11 12 13 14 LIB Ba i BIN Bi Downstream Tl Inhibit Channel Reverse Lanes Invert Polarity M Use External Reference Clock Disable Descrambling M Auto Configure Lane Polarity Base Spec Rev 1 0 Compatibility Mode Cancel Recording Type Sets the trigger mechanism for the recording Snapshot Manual Trigger and Event Trigger Target Analyzer Presents a menu with options for selecting an Analyzer platform e PETracer Edge e PETracer ML e PETracer ML 2 Units e PETracer EML e PETracer Summit e Summit T2 16 Buffer Size Causes the Analyzer to record traff
189. ore contract PETracer memory pex O x File Setup Record Generate Report Search View Tools Window Help El x gt New PETrainer Script Ctrl M EN E cH Ry Pa MA i IK i Open Ctrl Ej Link Split Close Save bs brie z 11 00000 00 01 22 781F33AB 12340000 1111 1000 Convert Old Files ee ERE LORE Idle Time Stamp S5 Print cbrlp 0D632C96 Ox3b214D17 0 000 ns 0000 000 O00 O00 s Print Preview MRd 32 Print Setup 00 00000 000 01 2 00010000 1111 1111 Edit Comment Time Delta Time Stamp AE 000 no nnn OOO 016 480 s Export to Text a reer 1b Tire Delta Time Stamp 1 memory pex aa ey 32 000 ns 0000 000 016 576 s 2 Exported peg to Generator File Format 3 mseg_example pem 00 00000 000 01 2 00010000 1111 1111 4 Full 41 20 For verification pex Ta Time Stamp 5 sample trace pex ADIOS 1 96 000 ns 0000 000 016 608 s 6 PETrainer Seance CRC 16 Idle Time Stamp Exit Ps F155 0 000ns 0000 000 016 704 s LS TLF eee Con 40 01010 000 01 2 O 001 01 0 Search Pwd NG 68 LeCroy Corporation PE Tracer EML User Manual Chapter 4 Software Overview 4 14 Printing Data Files LeCroy Corporation To print all or part of the open CATC Trace Step 1 Select File gt Print from the menu or click the Printer button on the toolbar The Print Packets dialog opens Print Packets E X From To Packet r m Facket GIE Marker Mar
190. pace Editor LeCroy Corporation The Memory IO Space Editor lets users write address space memory into PE Jrainer and read address space memory from PE Trainer To access the Memory lO Space Editor select Tools gt Memory IO Space Editor The following dialog opens Memory 10 Space Editor x tt Create new Address Space File e Create new Address Space File Opens the Memory IO Space Editor and displays an empty address space with the size specified e Open existing Address Space File Activates the list of recently used Memory IO Address Space files and enables the Select button After you have selected a file and then clicked Select the Memory IO Space Editor opens ASH EE Tg MAE ARE O0 O0 oO OO 0 O0 OO Do000020 OO OO OO OO OO OO OO OO OO OO OO OO OO OO QOOOOOS0 OO OO OO OO OO OO OO OO OO OO aww naa nan QOOOO040 OO OO OO OO OO OO OO OO OO OO OO ss smammmmmuus OOOO00S0 OO OO OO OO OO OO OO OO OO OO OO OO aww ee OoOoooo 6o OOF OO OO OO OO OO OO OO OO OO OO ss ss sms an i O0000070 OOF OO OO OO OO OO OO OO OO OO OO OO ss an oo000050 OO OO OO OO OO OO OO OO OO OO Cg ee D00000S0 O0 OO OO OO OO O OOo CC an D0000020 O0 00 O OO Ca QOOOOOBO OO OO OO
191. perature 20 support 239 switches 20 Sync In Connector 18 Sync Out Connector 18 Synchronize Trace View 149 System Status indicator LED 15 16 T Target Analyzer 100 103 Technical Support 239 telephone number 239 temperature range 20 Test Fixture 37 test fixture 35 testing 61 185 text files 68 theory 185 Throughput 179 Throughput at Link Transaction level 168 Throughput Per Transaction at Split Transaction level 168 Tight Columns 139 time between DWORDs 148 Time Coverage 179 Time Stamp 90 time value 148 time based averaging 169 Timestamp at the beginning 90 Timing and Bus Usage Calculator 178 Timing Calculations command 178 Timing Calculator dialog box 178 Title bar 44 247 Index TLP Header Properties dialog box 126 TLP Prefix Properties dialog box 126 TLP transactions 230 TLP type 130 To 189 To Analyzer connector 17 To Exerciser Receive 37 To Exerciser Transmit 37 to Generator File Format 189 To packet field 69 To Packet field 67 Toggle Outlining 198 Tool tip Display 147 Toolbar 45 110 44 Tools Menu 56 Tools menu 135 Tooltips 57 trace cells 72 exporting 68 files 65 metrics 164 saving 67 Trace Filename amp Path 101 Trace Filename and Path 103 Trace Viewer 28 Trace Viewing Level 90 traces searching 81 trademarks ii traffic 71 analyzing 135 generating 185 210 traffic generation macros 213 traffic generation files 189 192 traffic generation prep 209 Traffic Generation Toolbar
192. poration Step 1 Step 2 Step 3 Step 4 Step 5 Remove the Analyzer UPAS from its shipping container The module is already installed in the UPAS Connect the Analyzer unit to a 100 volt to 240 volt 50 Hz to 60 Hz 120 W power outlet using the provided power cord Note The Analyzer is capable of supporting supply voltages between 100 volts and 240 volts 50 Hz or 60 Hz thus supporting all known supply voltages around the world Connect the USB cable between the USB port on the back of the Analyzer and a USB port on the PC Turn on the power switch on the rear of the UPAS Note At power on the Analyzer initializes itself in approximately five seconds and performs an exhaustive self diagnostic that lasts about fifteen seconds The Status LED of the UPAS base unit turns red on power up initialization The LED remains on approximately 20 seconds while the Analyzer performs self diagnostic testing If the diagnostics fail the Status LED blinks red indicating a hardware failure If this occurs call LeCroy Customer Support for assistance Follow on screen Plug and Play instructions for the automatic installation of the Analyzer as a USB device on the Host PC the required USB files are included on the CD Step through the Windows hardware wizard If the wizard prompts you for driver information point it to the CD which should be in your disk drive The host operating system detects the Analyzer and begins to install the US
193. proximately 20 seconds while the Exerciser performs self diagnostics Step 3 Open the PE Tracer application on the PC host system The Exerciser is now ready for traffic generation Step 4 Check the Cable Setup LEDs on the front of the Exerciser for indication of proper connectivity Optional Adding a PETracer EML Analyzer A PETracer EML can be added to the above setup to allow the recording of traffic between the PE Trainer EML Exerciser and the device under test A photo of such a setup is shown in Section 3 7 Connecting PETrainer EML to the Device Under Test on page 35 When an Analyzer is added to the setup a single PC administers both the Exerciser and Analyzer Step 1 Connect a USB cable between the PE Tracer EML Analyzer and the host PC for PE Trainer EML The same PC administers both devices Step 2 Connect data cables between the two To Analyzer ports on the PE Trainer EML and the Data In ports on the PE Tracer EML Analyzer Step 3 Connect a power cable to the Analyzer Step 4 Power on the Analyzer Step 5 Start the PE Tracer application When both PE Tracer EML and PE Trainer EML are attached and running the PE Tracer application detects both platforms At this point you are ready to set the Recording Options in PE Tracer EML and start both traffic generation and trace recording 39 Chapter 3 Installation 40 PE Tracer EML User Manual LeCroy Corporation PE Tracer EML User Manual Section 2 section 2
194. pt Editor on page 192 Step 7 Type the script code and press the Save button The script macro and icon are saved in the GenScriptMacros directory located under the PE Tracer directory for example Program Files CATC PETracer GenScriptMacros Step 8 Close the script window The new macro script button automatically appears on the Status bar at the bottom of the window Clicking this button causes PE Trainer to execute the script Adding Script Files to the GenScriptMacros Directory The second way to add a new PE Trainer script macro is to copy an existing PE Trainer script file in the GenScriptMacros directory Step 1 Copya script file into the GenScriptsMacros directory located under the PE Tracer directory for example Program Files CATC PETracer GenScriptMacros Step 2 Switch to the PE Tracer application You see that a new icon has been automatically added for the script file to the Status bar at the bottom of the window The default icon is assigned to the new script macro and the file name is used as a script name LeCroy Corporation 215 Chapter 11 Macros PE Tracer EML User Manual 11 3 Modifying Script Macros To modify a macro assigned to a button Step 1 Select Setup gt Generation Macro from the menu The Generation Macros dialog opens for modifying creating and deleting macros Name Name of Macro Comment Descriptive comment so you can remember what the macro does Icon Currently assigned button for the macro
195. pt Editor a specially designed text editor tool See Editing Generation Files with the Script Editor on page 192 To generate traffic open a traffic generation file peg and then run it LeCroy PETracer TM PCI Express Prot peo Analyzer C Program Files CATC PETracer Sample Files Exported peg Pali EE File Setup Record Generate Report Search View Tools Window Help CI S BE p H mG RA Re A a Ke ARIST 2 5 K SKIP COM SKIP Symbols a K28 0 K28 0 K28 0 m CfaRdO Length 1st BE ECRC g 00 00100 001 02 3 004 05 6 Ox000 1111 OxC511ED3E LCRC Ox3DE21977 25 CRC 16 2 5 i CfaRdO Length 1st BE ECRC Ox7906DCF2 LCRC Ox7 E29BFFO ETT 3DW header with data Cpl CpID 25 CRC 16 0x970D f a CfgRdO Length st BE ERC 3 00 00100 001 02 3 004 05 6 Ox008 1111 Ox7EAF1E1D LCRC 0x36552DD0 a Ready Search Fu Chapter 10 Traffic Generation PE Tracer EML User Manual When the file is opened it appears in the CATC Trace window looking like a CATC Trace file To run the file press To create or edit a peg file use the Script Editor LeCroy PETracer TM PCI Express praan Analyzer C Program Files CATC PETracer Sample Files Exported peg 5 iol Gg File Setup Record Generate Report Search view Tools Window Help je al oe ly PE n AG RSAT RR A e GS ehh amp GE l amp COM SKIP Symbols K28 0 K28 0 K28 0 Packet F Be CfgRd0 Length st BE ECRC 1
196. quester ID Completer ID Status Tag You can search split transactions by Event Group TLP Type Traffic Class Virtual Channel Direction Requester ID Completer ID Status Tag Find allows you to create complex searches based on numerous criteria Repeats the previous Find or Search operation Allows you to specify a forward or backward search of a CATC Trace file LeCroy Corporation PETracer EML User Manual Chapter 4 Software Overview View Menu Toolbars gt gt Script Editor Analyzer Network Chat Bar Status Bar Real Time Statistics Zoom In Zoom Out Wrap FC Credits FC Credits Setup Compact View Packet Level Link Transaction Level Split Transaction Level LeCroy Corporation Displays available toolbars Standard Frequently Used Analysis and Transaction Level Use Customize to display the Windows Customize window Displays the Script Editor only appears if a peg file is open Opens a chat window for communicating with persons working with networked Analyzers This command requires that your host PC be attached to a LAN The Chat window broadcasts messages to whatever hosts have been connected to via the Analyzer Network command under Setup in the menu Switches display of the Status Bar on or off Opens the Real Time Statistics monitor dialog and displays a real time graph of link activity Zoom in increases the size of the displayed elements Zoom out decreases the size o
197. r Trace Files pes Cancel Aj Do not save hidden Packets Save Range fw Rename original file Ne From Packet fo Packet i Marker Marker Time symbols Time 24960 symbols If you want to give a unique name to the CATC Trace file select the All option and keep Rename original file checked This is the default setting for the dialog Saving a Portion of a CATC Trace If you want to save a portion of a CATC Trace file select Save packet range Enter starting and ending packet numbers in the From Packet and To Packet fields By default it has the numbers of the first and the last packets in the file The software is going to save all the packets in specified range to the new file unless you have Do not save hidden packets checked In this case it is going to save all packets in the range EXCLUDING the currently hidden packets 67 Chapter 4 Software Overview PE Tracer EML User Manual 4 13 Exporting a CATC Trace File By default PE Tracer saves CATC Trace files in the pex format However you can export a CATC Trace to a file in any of the following other formats e Text e Comma Separated Value CSV e Generator file format Exporting to Generator file format is a simple way to create a script file from your CATC Trace To export a CATC Trace file select File gt Export es LeCroy PETracer TM PCI Express Protocol Analyzer C workmo
198. r and or Analyzer When an Exerciser is attached traffic generation features are enabled To install the PE Tracer software on the Host PC Step 1 Insert the CD into the CD ROM drive of the PC that controls the Analyzer or Exerciser The installation window opens and displays links to the PE Tracer software user manuals a readme file and Acrobat Reader Step 2 Select Install Software and follow the onscreen instructions The PE Tracer software installs automatically on the PC hard disk During installation all necessary USB drivers are loaded automatically Drivers included in the installation are e upas100k sys UPAS 100K driver PE Tracer EML and PE Trainer EML driver Step 3 To start the application launch the PE Tracer program from the Start menu Start gt Programs gt LeCroy gt PETracer gt LeCroy PETracer LeCroy Corporation 27 Chapter 3 Installation PE Tracer EML User Manual The PE Tracer program opens EL Croy PETracer TM PCI Express Protocol Analyzer joj x E le Setup Record Generate View Tools Help Tra JE ISOE p HE on tulg Search Fins Note The software may be used with or without the Exerciser or Analyzer When used without an Exerciser or Analyzer attached to the computer the program functions as a Trace Viewer to view analyze and print captured traffic 28 LeCroy Corporation PETracer EML User Manual Chapter 3 Installation 3 2 Setting Up a PETracer Analyzer LeCroy Cor
199. r panes The slider has yellow upper and lower range delimiters and a blue current position indicator The Navigator slider lets you to set the range of packets viewable in the CATC Trace display In other words it sets scrolling range of the display You can scroll the display up to the lowest packet number in the viewing range You can scroll the display down to the highest packet number in the viewing range Trace Navigator Legend The Navigator legend lets you control the display of content in Navigator panes You bring up the legend through the Navigator Panes drop down menu Press the toolbar Navigator Panes button to access the menu Select the Legend option to bring up the Navigator Legend dialog box Navigator x En RE Iv Pre Post Trigger Pre Post Trigger M Post trigger M M Errors 7 Enans RA Enos w Traffic Type v Traffic Speed v Link width Legend N Traffic Type Ca Configuration FAC A Memory 12 F F VEET PAT EEUELELELELELELEaELEELE_E_ Z IV Traffic Speed ika Gen2 5 0 Gb s Iv en 2 5 Gb s The Navigator Legend dialog box has areas corresponding to each of the panes Each area has check boxes that allow you to hide display information in the pane You can set the priority of information displayed in the panes using the up and down triangles on the right Using the Legend to Show Hide Navigator Panes To use the legend to show hide an entire pane use
200. racked in the status bar at the bottom of the screen Subsequent executions of the same script do not require upload of the script to the PE Trainer however as mentioned above the generation options are still reprogrammed Script execution can be throttled using Wait commands inserted directly into the script Waits can be time based require receipt of certain packet types or can even require User input from the GUI After the script is complete any enabled PCI Express behaviors such as SKIP insertion Flow control and ACK generation continue This allows you to run multiple scripts one after another without interrupting the Link state LeCroy Corporation PE Tracer EML User Manual Chapter 10 Traffic Generation 10 1 Traffic Generation Files LeCroy Corporation The peg traffic generation files are text files consisting of a series of commands from a scripting language see Chapter 12 and optionally one or more Include statements linking other generation files into the current file 1 packet OrderedsSet 2 SetType Skip 3 SkipCount 0x3 44 5 E packet TLF 5 PSN OXA 7i TLPType CfgEdO a TC Oxo gi TD Oxi 10 EP 0x0 14 Ordering 0x0 12 snoop 0x0 13 Length Ox1 14 RequesterID 1 2 3 45 Tag OxC 16 LastDuBe Oxi 17 FirstDwBe OxF 18i DeviceID 4 5 6 19 Fegister 0x0 20 ECRC OxC511ED3E 21 LCRC Ox3DE21977 a2i 4 Note To edit a generation file use the Scri
201. raffic generation file appears You can also view the Script Editor LeCroy PETracer TM PCI Express Protocol Analyzer PETrainer Script 1 i File Setup Record Generate Report Search View Tools Window Help PIT oe DE AG MAKI JR SCENE fig Bkt Link Spit Ja amp DEEA E Generation Script Editor tales amp ekg KO v qe Mag Script commands Packet Idle Link Config Wait Template Include Loop Repeat Branch Proc Address5pace n 4 gt mi Hew 4 Ready Search Fu LeCroy Corporation 191 Chapter 10 Traffic Generation PE Tracer EML User Manual 10 3 Editing Generation Files with the Script Editor The Script Editor is an editing tool for PE Tracer traffic generation files lt filename gt peg The generation script is presented in the Script Edit window Parameters are presented in menus and text boxes in the Command Properties window in the right hand portion of the Script Editor To launch the Script Editor click the Script Editor button on the toolbar or right click the CATC Trace window and choose Edit as Text from the pop up menu The Script Editor window displays in the lower portion of the CATC Trace window Generation Script Editor contig General Yaka IF hutobetect Yes TLE Type MADE Linkbidth 4 TC Del ate BisebleDescrambleRx Yes To 1 ee Hai HeverseLinesRkx Yes EF bd rop mia
202. ration Space dialog box 161 Configuration Space Editor 225 230 command 225 Configuration Space Header 162 240 PE Tracer EML User Manual Configuration Space View 161 162 Configuration Write 230 configuring Exerciser 185 Recording Options 61 conflicts 116 Connect macro 213 restoring 217 Connect Disconnect button 61 connecting interposer data cable 34 PETracer EML to devices 35 connectors receptacles and cables 21 contact 239 Context menu 194 Continue option 62 Continuous Time Scale 149 Control b command 84 Control f command 84 controls Analyzer EML 15 Exerciser EML 16 Count action 114 Count field 129 Counter 124 Counters 128 counters setting 129 counting 128 Create new Address Space File 223 Create new Configuration Space File 225 creating script 189 191 CSV files 68 CtrltN command 191 Current script position field 210 current position indicator 156 custom circuits 24 Data Cable Connector 37 data cells 71 Data Field 71 Data Flow command 151 Data Flow window 151 Data In Out connector 23 24 Data Input Output Connector 18 Data Throughput 163 179 data pem file 63 LeCroy Corporation PETracer EML User Manual data pex file 62 65 data pem files directory 63 dataXYZ pem files 105 decode levels 79 decoding 79 default options file 109 default settings 61 default opt file 98 default rec file 109 delimiters 156 Description String 124 descriptive label 109 Device Emulation 208 Device Emula
203. rent or new printer Create or edit the comment field in a CATC Trace file Saves all or part of a CATC Trace to a text file or traffic generation file This text file summarizes the traffic in the CATC Trace Saves the CATC Trace to a text file in Comma Separated Value CSV format Saves the CATC Trace to a generation file Exit the PE Tracer application 51 Chapter 4 Software Overview PE Tracer EML User Manual Setup Menu Display Options Recording Options Generation Options Generation Macros Update Device Calibrate Device Analyzer Network All Connected Devices Allows you to customize display options such as field colors field formats and level hiding Allows you to customize control and setup features associated with recording triggering and filtering recorded events The Generation Options dialog box is used to set configuration settings in a traffic generation script peg This dialog provides a convenient alternative means of editing a traffic generation file Opens a dialog for creating buttons on the status bar that can be used to run traffic generation macros Opens a dialog box that lets you update the BusEngine and Firmware Opens a dialog box that lets you calibrate the BusEngine and Firmware Displays the list of PCs with connected analyzers or exercisers that you want to use for recording or traffic generation Opens a dialog box with a list of locally or remotely connected
204. riptMacros Deleted directory Note You cannot delete the Connect and Disconnect script macros 11 6 Restoring the Default Appearance of the Connect and Disconnect Icons You can restore the default appearance of the Connect and Disconnect icons by clicking the Restore button Step 1 Open the Generation Macro Scripts dialog by selecting Setup gt Generation Macros Step 2 Select the macro you want to restore and press the Restore button LeCroy Corporation 217 Chapter 11 Macros PE Tracer EML User Manual 218 LeCroy Corporation PE Tracer EML User Manual Chapter 12 Address Space Chapter 12 Address Space 12 1 Address Space Toolbar Buttons and Dialogs On the PE Trainer toolbar at the bottom of the application window are two buttons e Write Address Space e Read Address Space Link State h Detect Quiet Read Address Space PE Trainer EML 5 1021 CE IE PAIE Ready Clicking these buttons opens a dialog for selecting creating or editing Address Space settings used by PE Trainer The dialog can also be accessed from the menu Generate gt Write Address Space and Generate gt Read Address Space LeCroy Corporation 219 Chapter 12 Address Space PE Tracer EML User Manual Write Address Space Button The Write Address Space Button brings up a dialog Write Address Space Dialog for PE Trainer EML On the PE Trainer EML platform clicking the Write Address Space button opens the following dialog Writ
205. roughput is the average calculated for all Memory Write transactions during the timing period Response Time The time it took to transmit this Memory Write on the PE link from the beginning of the first packet in the Memory Write to the end of the last packet in the Memory Write Throughput The Memory Write payload divided by response time expressed in megabytes per second LeCroy Corporation 179 Chapter 9 Reports and Tools PE Tracer EML User Manual 9 16 Running Verification Scripts You can run verification scripts to check errors link transactions split transactions metrics ordered sets replays DLLPs and TLPs To obtain the Verification Script dialog box select Tools gt Run verification scripts icon or click the TE Setup Record Generate Report Search wiew Tools window Help lax IS He MM MAG Example PCI Express Verification Script checks the trace for presence of any error Ng esamp dllpz Ng esamp link transactions esamp metrics kt esamp ordered sets fi examp split transactions esamp tips ch Run scripts esamp check errors 52 Expand Log ao GH Save Output aP Settings Done ee ee E The available verification scripts are in the Verification script section Ready To run a script select it then click the Run Scripts button Run scripts The results appear in the bottom window You can expand or collapse this window You find a view related to the C
206. rrors Traffic Type Traffic Speed and Link Width Each pane represents the entire CATC Trace with respect to different types of information The top of each pane represents the start of the CATC Trace file and the bottom represents the end of the CATC Trace file Pre Post Trigger To view the trigger event in the CATC Trace and the relative size of pre trigger and post trigger portions of the CATC Trace The two portions are set apart as different colors The trigger event occurs at the point the two colors meet Errors To view any errors in the CATC Trace A thin red line represents each error in the pane Traffic Type To view the types of packets that occur in the CATC Trace A different color represents each packet type in the pane The relative size of colored portions in the pane corresponds to the amounts of the various packet types in the CATC Trace As described below you can use the Navigator legend to change the types of packets that take precedence in the display Traffic Speed To view the speed that occurs in the CATC Trace Link Width To view the link width that occurs in the CATC Trace To Show Hide Navigator Panes You can show hide any of the panes using pop up menus accessible through left click the Navigator Panes button or by right click anywhere in any CATC Trace Navigator pane 155 Chapter 9 Reports and Tools PE Tracer EML User Manual 156 Navigator Slider The Navigator slider appears at the left of Navigato
207. s AFA SP Ice ue pa SHARE Bi EE ki PBB PEDE rr eae ee oo Pese Hae QUE NIA Hiii R KAR aa ng can TRE a x PN ee RITE SIT 11363 2006 EELE A IR Bae Fe X RASE EIRE ETES FAIR eo T BT SIT 11363 22006 PEELE IR Ek o EFUP IHAIN CA RS STAR SAC SALE RITES Toxic or Hazardous Substances and Elements Hexavalent Polybrominated Polybrominated Lead Mercury Cadmium Chromium Biphenyls Diphenyl Ethers Part Name Pb He Cd Oz aa PCBAs CE xXx O X X Mechanical Hardware o o x 0 O O Sheet Metal i Plastic Pare Probes T nt O Indicates that this toxic or hazardous substance contained in all of the homogeneous materials for this part is below the limit requirement specified in SJ T11363 2006 X Indicates that this toxic or hazardous substance contained in at least one of the homogenous materials used for this part is above the limit requirement specified in 5J T1 1363 2006 EFUP Environmental Friendly Use Period Use Conditions refer to the environmental conditions stated in the specifications section of this Manual 236 LeCroy Corporation PE Tracer EML User Manual How to Contact LeCroy How to Contact LeCroy Type of Service of Service Contact ko ahas for technical support kaa ren and Canada 1 800 909 7112 Worldwide 1 408 653 1260 Fax your questions Worldwide 1 408 727 6622 Write a letter LeCroy
208. s TL TLP BLP Training Sequence 1 E DLLP Training Sequence 7 H Link Link Transactions Fast Training Sequence Split Split Transactions Idle Ordered Set Skip Ordered Set Compliance Pattern EIES Ordered Set Link Event Invalid Errors detected Search 138 LeCroy Corporation PE Tracer EML User Manual Chapter 9 Reports and Tools Step 2 Click the up or down arrows a 9 The CATC Trace jumps forward or backward through the display to the next instance of selected protocol level Traffic Summary Buttons Buttons at the top of the Traffic Summary dialog box provide options for exporting the data or formatting its appearance Save Saves Traffic Summary results into an HTML format Email Attaches an HTML file of the results to a new email Print Prints results Ga Text Displays results in HTML format Tm Options Opens a drop down menu with the following options Grid Lines Displays Hides grid lines BR KG i e Row Selection Allows entire rows to be selected e Tight Columns Reformats column widths to match data e Event Navigation Skip Hidden Items Show Hidden Items Prompt each time LeCroy Corporation 139 Chapter 9 Reports and Tools PE Tracer EML User Manual 9 4 Bus Utilization Select Report gt Bus Utilization from the menu or press duh to open the Bus Utilization window anale SPLIT Response Time amp SPLIT Latency Time gej mi si E
209. s supplying power Power can be provided either via the internal power supply or by an external power supply via the banana jacks on the back of the emulator If an external power source is provided the Power Select switch should be set to Ext Installing the Host Emulation Test Fixture Step 1 If not already powered off power off the PE Trainer UPAS 100K system and the DUT Step 2 Insert the male edge connector of the DUT into the PCI Express slot on top of the Host Emulation Test Fixture If you are testing a x1 x4 or x8 device install a slot reducer in the Host Emulator before installing the DUT Step 3 Attach a probe data cable to the To Exerciser Transmit port on the Host Emulator and the Transmit port on the PE Trainer Step 4 Attach a second probe data cable between the To Exerciser Receive port on the Host Emulator and the Receive port on the PE Trainer 38 LeCroy Corporation PE Tracer EML User Manual Chapter 3 Installation LeCroy Corporation Step 5 Ifthe DUT is 150 watt device such as a graphics card connect the card s external power cables to the two external power ports on top of the Host Emulator Final Steps Power On the Exerciser and DUT Step 1 If testing a motherboard power on the motherboard If testing a PCI Express device such as a graphics card power on the Host Emulator Step 2 Power on the PE Trainer EML Exerciser The Exerciser s green power LED lights and the red status LED turns on for ap
210. s as PE Tracer ML but lists Unit 1 and Unit 2 in the Link Section on the right In a two unit setup Unit 1 and Unit 2 are two separate Analyzers linked together by BNC on the back of the units to form a single logical Analyzer e PETracer EML Displays the options for the PE Tracer EML Analyzer e PETracer Summit and Summit T2 16 Displays the options for the PE Tracer Summit or Summit T2 16 Analyzer Selecting an Analyzer platform changes the options presented in the Link and Events pages within the Recording Options dialog Trigger Position This Trigger Position slide bar lets you to adjust the amount of recording buffer allocated to recording pre trigger and post trigger traffic Trigger Position BU 3 post triggernng For example if you set the Trigger Position to 90 Post Triggering Traffic the Analyzer records 10 pre trigger traffic and 90 post trigger traffic Trigger Position is only available when Manual Trigger or Event Trigger is selected Trigger On In Simple Mode see Figure 1 Trigger On allows you to select Error Link Up Link Down TS1 TS2 FTS Any TLP Config Rd Config Wr IO Rd IO Wr Mem Rd Mem Wr Message Completion InitFC1 InitFC2 ACK NAK and or PM Trace Filename and Path The Trace Filename and Path button on the Recording Options General panel allows you to change the default file name and path for the recorded CATC Trace file The pre defined name is data pem Step 1 Select the Recording
211. s imposed the following configuration limitations into PE Tracer EML Configuration Limitations in PE Tracer EML e Four actions per state per channel See example above e Two Link Condition Ordered Set resources per channel See example above e Up to four different DLLPs per channel e Up to three different TLPs per channel e One error set per channel e Four payload DWORD checkers per channel e Two Timers per channel e Two counters per channel No cross channel counting LeCroy Corporation 115 Chapter 8 Recording Options PE Tracer EML User Manual 8 Recording Rules Logic How Contradictory Rules are Resolved When creating rules in the Recording Rules page it is possible to create contradictory instructions such Filter Anything Out and Filter Anything In To resolve such conflicts the Recording Rules page implements three internal rules that are described here e Rules created in Sequence cells have a higher priority than rules created in the Global State cell If a rule is placed in a Sequence cell and a contradictory rule is placed in Global State cell the rule in the Sequence cell applies e Filter In has a higher priority than Filter Out so when a Filter In rule is placed inside the same state as Filter Out rules only the Filter In rule applies e Filter In Anything and Filter Out Anything have the highest priority and override any other filtering rules so when Filter In Anything or Filter Out Anything are placed in
212. s probes refer to the PE Tracer Mid Bus Probe Installation Guide PCI Express traffic can then be non intrusively recorded Live data is sent from the PE Tracer EML to a PC in order display real time statistics Sophisticated trigger options are used to capture and buffer only data of interest Real time hardware filters in the system filter out unwanted traffic in order to maximize memory buffer utilization Captured data is uploaded to the PC for further processing and displayed by the powerful CATC Trace software PE Tracer EML provides accurate reliable and complete decodes of Transaction Layer Packets TLPs Data Link Layer Packets DLLPs and all PCI Express ordered sets The buffer size has been increased in the PE Tracer EML to 4GB per direction PCI Express Specification 1 1 1 0a and 1 0 are supported at the full speed of 2 5GHz per lane Automatic disparity checking lane deskewing and data descrambling are all supported The FPGA based design is fully field upgradeable The PE Tracer EML can be controlled remotely via the user s LAN sophisticated controls allow the user to decide what is captured and how it is viewed in order to analyze design problems and perform root cause analysis Powerful triggering conditions allow the user to trigger on Error Link TLP DLLP or any user defined data pattern in the traffic Each type of trigger condition can be cascaded to create complex multi layer triggers Trigger points can be set t
213. s updated with the data taken from Configuration Write TLP and Configuration Write Completion is returned You can specify the initial Configuration Space by editing the AddressSpace Write command directly in the script or by using the UI provided in the Generator toolbar The PETracer software provides a special editor for editing this file called the Configuration Space Editor see Launching the Configuration Space Editor on page 225 230 LeCroy Corporation PE Tracer EML User Manual Chapter 14 Updates and Licensing Chapter 14 Updates and Licensing 14 1 Updating the Analyzer LeCroy Corporation BusEngine and or Firmware updates are now automatic processes that run anytime a new version of the PE Tracer software is installed that is incompatible with the currently installed BusEngine or Firmware The update process generates onscreen instructions If however you need to manually perform BusEngine or Firmware updates follow these steps Step 1 Select Setup gt Update Device from the menu to display the Update Analyzer dialog box for PE Tracer EML Step 2 Select the appropriate file locations for the Firmware and or BusEngine using Browse if necessary Step 3 Check the appropriate options if in doubt check all options Step 4 Click Update to initiate the updating of the Analyzer Updating the Exerciser To manually update the BusEngine and or Firmware for PE Trainer ML or PE Trainer EML follow t
214. s window click or select the command Setup gt Recording Options Note There are separate sets of Recording Options for each Analyzer type To set the Analyzer type select the appropriate platform from the Target Analyzer menu in the General page of the Recording Options Figure 1 PETracer EML in Simple Mode xi Simple Mode Recording Type tt Snapshot Manual Trigger Target Analyzer PETracer Edge PETracer ML PETracer ML 2 units PETracer EML PETracer Summit Event Trigger Inhibit Channel IT Bit Tracer Recording Reverse Lanes Trigger Position Invert Polarity Mot used with snapshot I 1 Trigger On Error l Any TLP BMAitE LT T Link Up Down TC ConfigAd P MemFd IT nitte E 151 F Config IT Memi F ACE T Inhibit Channel Reverse Lanes m re Tia Rd Message F Nak TF FTS O lot Completion T PH Invert Polarity Filter Cut PF SKIP Ordered Sets PF UpdateFC DLLP T Fil amp Path bia Ka a MW Use External Reference Clock C Program Files4CATCNPET racer data pex Browse Disable Descrambling Options Name fw Auto Configure Lane Polarity Switch to Default Advanced Mode sue Save Save As Defaut Load Cancel 99 Chapter 8 Recording Options 8 2 General Tab The General Page presents options that affect all recordings PETracer EML in Advanced Mode 100 Recording Options General Recording Aules Rec
215. sist you in analyzing traffic recorded by the Analyzer The available reports are File Information To view general information about the CATC Trace file Error Summary To view a count of errors in a CATC Trace file Traffic Summary To view a summary of protocol related information in the CATC Trace file summary information about a selected group of items in the CATC Trace file such as a count of particular frame or packet types Bus Utilization To display information on bandwidth usage for the transmit and receive channels Link Tracker Displays a detailed chronological view of events Data Flow Shows marker packet direction type length address payload hand shake and timestamp information Trace Navigator Navigates within the CATC Trace to view the location of errors and triggers narrow the range of traffic on display and jump to any point in the CATC Trace LTSSM Flow Graph Shows a state diagram of bus activity Packet Header Shows packet header information Packet Data Shows packet information Configuration Space To display a Configuration Space see Configuration Space on page 225 Metrics Measures key operating parameters Real Time Statistics To display statistical information for the channels TC to VC Mapping To display how Traffic Classes are mapped to Virtual Channels to simplify navigation and how the CATC Trace display was changed for example in Split Transactions Timing Calcu
216. splays Minimum Average Maximum data for Number Of Link Transactions and Response Time metrics HOG Mi All reports Requester gt Completer LinkTras Min LinkTras Avrg FA Max Resp time Min Resp time Avra Resp time Max Pki Packets 002 00 0 gt 000 04 0 198456 2 2 00 284 000 ns 448 040 ns 1 204 ps Link Link Transactions f 000 04 0 gt 002 00 0 54 2 2 00 2 720 000 ns 802 880 ns 1 060 ps 5 188510 a Split Split Transactions SL Split Trans Performance O Errors lt E Split Trans Read Requests Performance This report table includes only the Split Transactions that present Read Requests Configuration IO and Memory It groups them by the combination of Requester Completer pair request type and Traffic Class and displays Minimum Average Maximum data for Throughput Response Time and Latency metrics HOTS M r BUP DLP a Link Link Transactions 000 00 0 gt 001 00 0 Cfg TCO 36 14 085 14 546 15 385 260 000 ns 275 110 ns 284 000 ns 4 000 ns K7 Spiit Split Transactions 000 00 0 gt 001 00 0 IO TCO s 8 929 9 402 10 101 396 000 ns 426 000 ns 448 000 ns 156 000 ns FE Split Trans Performance ag D Na ae RD ESENG ka EF t 7X ta WR write Requests CD Errors a Write Requests Performance This report table includes only the Split Transactions that present Write Requests Configuration and IO It groups them by the combination
217. ss components with more precision and control Recreate failure scenarios by replaying recorded traffic Verify fault handling and identify error recovery Host emulation platform end point emulation Interposer allows for design and stress testing Flexibility to program lane skews link control bits skip intervals and link states for more robust verification Ability to modify flow control ACK NAK and retry behaviors User ability to define arbitrary sequence of transactions payload generation and conditional repeat of transactions provide users with maximum flexibility Allows complete control of each symbol transmitted Allows testing of ACK latency timeouts and retry mechanisms Complex scripts can be created quickly and easily CRC Errors Running Disparity Errors Insertion of Invalid 10 bit symbols Lane to Lane Skew Insertion Lane Reversal Polarity Inversion Chapter 1 Overview Programmable ACK NAK behavior Programmable Flow control behavior Automatic CRC calculation and Sequence number assignment Replay buffer Programmable configuration space PE Tracer EML User Manual ACK all TLP packets NAK all TLP packets Automatic ACK NAK behavior ACK NAK delay timer Set Credit values Disable Credit checking Set Update InitFC intervals DLLP CRC calculation TLP LCRC calculation Programmable Transaction timeout timer Auto Recovery behavior after 4 Replays Full 4 KB configuration space configurable
218. st DWORD of the payload enter O If you want the Analyzer to match a pattern in the thirty fifth DWORD enter 35 Bitmask Indicates which bits you want to match for the DWORD indicated You can enter any of the following in the bitmask area e X bit not relevant e 1 present e 0 bit not present 130 LeCroy Corporation PE Tracer EML User Manual Chapter 8 Recording Options Note The Mask hex and Match hex entries represent bitmask in hex format As you type entries in the bitmask corresponding values appear in fields in the hex Mask and Match Alternately you can type values in the hex Mask and Match and corresponding values appear in the bitmask Example 1 To tell the Analyzer to trigger on any payload with the binary pattern 1111111 in the third DWORD Step 1 Create an Any TLP event in the Available Events area of Recording Rules Drag the event to the Global State cell Step 2 Open the Properties dialog box for the event and bring up the Payload pane Global State active at all times Specify Actionis b Add Counter Move Event To Copy Event To IR Delete This Event Properties Step 3 Enter 3 in the Offset dword area of any of the four patterns O to 3 For purposes of this example we choose pattern 2 TLF header Payload Actions i Offset Bitrnask Mask Match dord hex hex o peee aeoaea naanaon lapapnasa el Geel da aa a Step 4 Enter the following
219. t Header Packet Data View Data Configuration Space LeCroy Corporation Displays the brief information about the file contents and describes the conditions of the file s recording Recording Options hardware information and so on Displays an error summary of the current CATC Trace file and allows you to go to a specific packet and save the error file to a uniquely named file Details the number and types of packets that were transferred during the recording You can hide save send text print and view Opens a window with graphs of bus usage for the open CATC Trace Opens a window for displaying a detailed chronological view of traffic The window provides view and navigation options Opens the Data Flow Window providing a tabular view of transactions and their payload Shows the Navigator bar for navigating a CATC Trace Shows a snapshot of the recording and allows you to adjust the memory area for the view Shows a state diagram of bus activity Also allows you to navigate through the LTSSM based on the current recording Opens the Packet Header bar showing the Packet Header information as it would be veiwed in the specification Opens the Data Window for the current packet with the options Hide Save Hexadecimal ASCII Decimal Binary MSB Format LSB Format Big Endian and Little Endian Format Line allows you to enter the number of bytes words or dwords per line Presents a list of Configuration Spaces
220. t condition plus some action within a sequence Global State active at all times Sequence 1 State 1 Sequence 1 State 2 CRC LCRC D TRIGGER LeCroy Corporation 111 Chapter 8 Recording Options PE Tracer EML User Manual 8 4 Recording Rules Buttons The Recording Rules toolbar allows you to create and edit recording rules uw Newevent 17 ngi ia lani a la r New Event Opens a Zoomin SD New event drop down menu with a list of R events Delete Delete selected Zoom out izi event a Undo Undoes last action pna Show Hide Channels 7A Shows hides the channel buttons Redo Undoes last Undo Show properties E command ES Opens the Properties dialog box for the selected item 8 5 Creating Recording Rules The Recording Rules page is used to set triggers and filters To access this page select Setup gt Recording Options gt Recording Rules There are three steps to creating a recording rule 1 Select events 2 Place the events in the Global State or Sequence cells 3 Assign actions to the events Note There are limits to the types of rules that can be created See Recording Rule Limits on page 115 for details 112 LeCroy Corporation PETracer EML User Manual Step 1 Step 2 Step 3 LeCroy Corporation Chapter 8 Recording Options Click ad New event and select one or more events from the menu Selecting an event automatically places it in th
221. te ea ed Be 2 eerie we dee es 163 Show Metrics in the CATC Trace Display 164 Show Metrics in the Traffic Summary Window 166 Show Metrics in the Bus Utilization Window 168 9 13 Real Time Statistics Window 171 Real Time Statistics Buttons 172 Real Time Statistical Monitor Pop up Menu 174 Real Time Statistics Graph Areas 175 9 14 TC 10 VC Mapping meise niade doe a bee dete tee 177 9 15 Timing and Bus Usage Calculations 178 9 16 Running Verification Scripts 180 LeCroy Corporation PETracer EML User Manual Section 3 PETrainer Exerciser Traffic Generation 183 Chapter 10 Traffic Generation 185 10 1 Theory of Operation 185 10 1 Traffic Generation Files 187 10 2 Creating a Traffic Generation File 189 Exporting a CATC Trace to a Traffic Generation File 189 Saving a PETrainer Script to a New File 190 Creating a New Empty Generation File 191 10 3 Editing Generation Files with the Script Editor 192 Script EGO TOODA a kina Hh Case EN i COS MIA ENS Be 193 SEMOLEGIC VVINGOW s e panter sta an annees LAN
222. tegrity tab The Integrity page opens Check to enable Automatic ACK NAK DLLP generation for received TLP packets Enable all four TLP policies and set ACK NAK Delay 0 ns Select the Flow Control tab The Flow Control page opens Check the checkbox to enable Do not send TLP packet if credit amount is insufficient Check the checkbox to enable Periodically schedule UpdateFC DLLP Use the defaults for all other boxes Click OK to apply all changes and close the Generation Options dialog LeCroy Corporation PETracer EML User Manual Chapter 10 Traffic Generation 10 7 Generating Traffic Prepare Traffic Generation LeCroy Corporation To prepare for traffic generation follow these steps Step 1 If it is not running start the PE Tracer software Step 2 Open an existing script file or create a new script For example open the traffic generation file Linkup peg by selecting File 5 Open from the menu The following packets display in the main window LeCroy PETracer TM PCI Express Prot peo Analyzer C Program Files CATC PETracerSample Files Exported peg _ m ioj E File Setup Record Generate Report Search View Tools Window Help 2 AA i oe HE AKIT RM RR GG h e ob HE HG SD BS Ge et Link Spin COM SKIP ym bols K28 0 K28 0 K28 0 F CfyRd0 Length 1st BE ECRC 3 00 00100 001 02 3 004 05 6 Ox000 OxC511ED3E LCRC Ox3DE21977 CRC 16 0x3616 i ae CfyRdO Length st BE ECRC 3 00 00100 001
223. the recording process the Analyzer is now in In this example the Analyzer is in the upload stage and has completed 20 of the upload from the Analyzer to the PC See Recording Status on page 60 for details on other status messages Activity The colored bar moves to indicate that the Analyzer is currently recording Search Fwd Indicates search direction The direction can be toggled to Search Bwd by double clicking the search direction or by selecting Search Direction from the Search menu PE Trainer Status Bar When a PE Trainer is attached a Generation Status bar is displayed at the bottom of the screen This bar has buttons to start and stop generation and to break and re establish connection with the DUT In addition status info is displayed See Using the Toolbar on page 45 for an explanation of these buttons From left to right Buttons Start Generation Stop Generation Resume Generation Start Establish Connection Break Connection Write Address Space Read Address Space FE Trainer EML 5N 10 1 rap SSS Ready Link State Detect Quiet Status Link State InitFC State Trainer Status gir Link State InitFC State Detect Quiet Complete Traffic generation terminated 58 LeCroy Corporation PE Tracer EML User Manual Chapter 4 Software Overview Link State Messages on PE Trainer Status Bar When running PE Trainer the status bar displays PE Trainer buttons and status information T
224. the same state cell as other Filter rules only the Filter In Anything or Filter Out Anything rules apply Recording Rules Examples Read through the following examples to better understand how the three rules apply Note In addition to these three rules the Recording Rule Limitations define the upper limits of rule creation These limitations should not affect you but you should be aware of them Example 1 Global State active at all times Result Only TLP Mem Read is in the CATC Trace Reason The Sequence rule Filter out TLP Completion is not contradicting the global state rule to filter in TLP Memory Both rules are applied 116 LeCroy Corporation PE Tracer EML User Manual Chapter 8 Recording Options Example 2 Global State active at all times Result Only TLP Completion is in the CATC Trace Reason The sequence rule to filter in TLP Completion is not contradicting the global state rule to filter out TLP Memory Both rules are applied Example 3 Global State active at all times Result TLP Completion and TLP Memory are filtered out Reason The Sequence rule to filter out TLP Completion is not contradicting the global state rule to filter out TLP Memory Both rules are applied Example 4 Global State active at all times Result Only TLP Completion and TLP Memory are in the CATC Trace Reason The sequence rule to filter in TLP Completion is not contradicting the global state rule to
225. tion Space Editor with the default empty configuration space e Open existing Configuration Space File Activates the list of recently used configuration space files and enables the Select button After you select a file and click OK the Configuration Space Editor opens Configuration Space Files You can save configuration space files in the Configuration Space View see Configuration Space View on page 161 Open a trace file select a packet and then select Reports gt Configuration Space View Click the Save button to display the Save As dialog and enter a file name which has no special file extension You can save configuration space files in the Configuration Space Editor Click the Save button to display the Save As dialog and enter a file name which has no special file extension You can open saved configuration space files in the Configuration Space Editor and optionally edit them You can then use them for generation LeCroy Corporation 225 Chapter 13 Configuration Space PE Tracer EML User Manual Editing When a new file is created a blank PCI Configuration Space Header is loaded for editing However its position is not configurable and the offset always starts at OOOh Untitled LeCroy PCI Express Configuration Space Editor Sele File Edit wiew Help Configuration Space Configuration Space Header Offset OOOH Device ID Offset 00h POMS aT Ta n Hex TT RO RW AC Bse D
226. tor 36 installing 36 device emulator 35 DevicelD field 162 Direction 189 Direction field 86 Disable Descrambling 107 Disconnect macro 213 restoring 217 Display area 44 Display Configuration Name 91 Display License Information command 232 Display Options 89 command 89 dialog box 89 fFiles 65 loading 98 saving 98 Display Options button 89 DLLP Packet Properties dialog 127 Do not export hidden packets 189 Do not export Idle packets 189 Do not save hidden packets option 67 Do not send TLP packet if credit amount is insufficient 208 Downstream 107 Downstream direction 158 Drag an event here to create a new sequence 111 drive strength 25 DUT powering on 39 DWORD 130 DWORDs timing 148 edge connector 36 LeCroy Corporation Index Edit as Text command 192 Edit Code 216 Edit code button 215 216 Edit Comment command 69 Edit Generation Macro Icon dialog box 215 Edit Icon button 215 Edit Marker command 78 Edit Marker for Packet pop up 77 editing macros 216 script 194 electrical idle 185 e mail 239 Email CATC Support 239 Emulation Test Fixture 37 installing 38 emulation test fixture 35 Emulator 36 emulator 35 Emulator Power LED 38 Enable Automatic Skip Generation 208 Enable Outlining 198 Enable Tool tips 90 environmental conditions 20 Error Log 192 197 Error Properties dialog box 125 Error Summary dialog box 137 error types 125 Errors 197 Errors pane 155 event counting 128 Event Groups menu 86 Event Icon
227. tor Command Ho colors available for selected them be raffi 2 traffic w4 traffic am 16 traffic Expand All Collapse All Save Save As Default Load aa Ta Restore Factors Presets LeCroy Corporation 93 Chapter 7 Display Options PE Tracer EML User Manual 94 Changing Field Formats The Field Formats tab allows you to define the way various numeric fields are shown in the packet display You can select Hexadecimal Decimal Binary or ASCII for certain fields or groups of fields To change a field s format click the plus sign next to a field in the list This causes the selected item to expand so you can see its constituent sub fields Select a sub field and then choose the format from the formatting choices that appear at the bottom of the window Display Options l X General Color Format Hiding Level Hiding E Data BES Packet Data Hex MSB to LSB Data Length a External Data S Cfg Data Invalid packet Hex MSB to LSB PETIT Fackets H Data Link Layer El Transaction Layer Pre Trigger Number Packets Pre T rigger Number Pormat Bit Order Hexadecimal p Mee to Ha ic Decimal LSE pa MSE f Binary ASCII at ie F Hidden Color Standard a Colors sa Link State Generator Command be Acton Generator Command gg Contig Generator Command Space Generator Command Expand All Collapse All Restore Fa
228. tude Up to 6560 feet 2000 meters Switches Power On Off Manual Trigger When pressed forces a trigger event 20 LeCroy Corporation PE Tracer EML User Manual Chapter 2 Hardware Description Indicators LEDs UPAS Power Illuminated when Analyzer is powered on System Status Iluminates during initialization power up of UPAS Blinks if Power On Self Test POST fails Triggered Illuminates when a trigger event occurs Slot 1 Status Illuminates when the Analyzer in Slot 1 is recording Slot 2 Status Illuminates when the Analyzer in Slot 2 is recording PE Tracer EML Plug in LEDs Activity Illuminated when the Analyzer is actively recording traffic data Cable Setup Illuminates when cable is correctly connected between front of Analyzer and Interposer Probing Characteristics Connection PETracer EML PCI Express Slot Interposer PE Trainer EML Slot Interposer card Device Emulation Interposer end point emulation Test Fixture Root Complex emulation PE Tracer Recording Memory Size 4 GB per direction for CATC Trace capture timing and control information PE Tracer Basic Trigger Events TLP Headers TLP Type Mem I O Cfg Msg Cpl Any Traffic Class number DLLP Messages Ack Nak InitFC1 InitFC2 UpdateFC PM Vendor Link Conditions Link Alive Electrical Idle Link Condition TS1 Ordered Set TS2 Ordered Set Skip Ordered Set Electrical Idle Ordered Set FTS Ordered Set DLLP TLP Training Control Bits Payload Cust
229. up select Edit gt BARs Setup PE Trainer Memory Region BAH Prefetch Size W Memb A Yes 512 ME M Memi 4 E Yes 128 MB M Mem232 EB E Yes 128 ME M 104 4 Nd 256 Bytes M IDE 5 Nid 256 Butes Cancel BAR1 and BAR are assigned to 64 bit memory address space and mapped to Mem64 PE Trainer memory region BAR4 is assigned to 32 bit memory address space and mapped to Mem32A PE Trainer memory region You can specify Prefetch and Address Space Size The sizes for each address space are limited to the values supported by PE Trainer hardware BAR and Prefetch fields affect the Hexadecimal Binary in the middle column of the Configuration Space Editor Size field affects Field View in the right column of the Configuration Space Editor The mapping of BARs to PE Trainer memory regions is discussed at the AddressSpace Command in the Help section of the PE Trainer Script Language The BAR settings are used for Memory and IO completer LeCroy Corporation 229 Chapter 13 Configuration Space PE Tracer EML User Manual 13 4 Configuration Read and Write PE Trainer can automatically handle Configuration Read and Write TLP transactions e For a Configuration Read transaction the Completion TLP contains the data read from the internal Configuration Space according to specified register address e For a Configuration Write transaction the address for the internal Configuration Space i
230. up menu appears ANA 3 n Show Header Fields Expand TLP Header Expand All TLP Header Fields Collapse All TLP Header Fields Format Color b Hide Yiew Fields for packet 36 TLP Configuration Read Type 1 x Hexadecimal Binary R Frat Tupe A TC H TdEp t Length O Ox 0x05 O k0 OO 1 0 O80 k0 Ox001 HequesterlD Tag Last BE First BE Ox0113 n23 Ox0 F Bus Humber Dev Mum Fn Reg Number 0x04 0x05 E 0x060 Save Ag g Previous Hert gt ok Step 3 Use the Prev and Next buttons to navigate to other headers LeCroy Corporation PE Tracer EML User Manual PE Tracer EML User Manual Chapter 5 Reading CATC Traces 5 8 Packet Cell Popup Menus The Packet cell has a left click pop up menu that includes the Show Raw 10b Codes command Show Hide Link Tracker Show Raw 10b Codes Show Packet in Raw Trace C Program Files CATCIPETracer Sample Files mseg_example pem Show Packet in Raw Trace C Program Files CATCIPETracer Sample Files syntax _OddressSpaces peqg Set marker Time From Trigger Time From Marker Copy For PETrainer packet command Format d The right click pop up menu from Packet cell is BE Display Options Ela Realtime Statistics Pal l J Kar Zoom In EY Zoom Qut _ Wrap FC Credits FC Credits Setup Compact view Pkt Packet Level Link Link Transaction Level Packet Header R gt Cell Popup Menu The Packet Header R gt cell
231. ys the factory default settings in Simple Mode such as Snapshot and 16 MB buffer size For your first recording you can leave these settings unchanged x Simple Mode Recording Type Target Analyzer Link C PETracer Edge x1 x2 x4 x8 x16 C Event Trigger PETracer ML 2 units Upstream PETracer EML Inhibit Channel Di Bit Tracer Recording PETracer Summit Reverse Lanes Buffer Size Trigger Position a ae rare a aa Ma R ee ai acai E rrrerrrrr H alo 3 TO a e ee 15 EE kah kaa mit a a a al Trigger On PA Error T Any TLP FT InitFC1 Downstream T Link Up Down FT ConfiaRd NT MemRd T InitFC2 Inhibit Channel F 151 FT Configwr P Mem wr PF Act Reverse Lanes a TG F iG Rd Message T NAP Invert Polarity FT FTS M Owi Eje ompletion FH Dol Se 3A a a Bit ei sit sie a NG ae 5 Filter Out 6 3 TO 1 12 13 14 15 F SKIP Ordered Sets I UpdateFC DLLP ri MES NAG Gly ala El ey Lhasa hey TRIO pex Browse WP UE ee FT Disable Descrambling Options Name lv Auto Configure Lane Polarity Switch to eat Advanced Mode Save Save As Defaut Load In the Link section specify the lane width of the PCI Express link to be analyzed The rest of the settings in this section can be left at the factory defaults for most PCI Express systems For multi lane PCI Express links the Analyzer nee
232. ze the colors and formats associated with each field in the CATC Trace and to selectively hide fields or packets You access these display options by selecting Setup gt Display Options gt Color Format Hiding tab The Color Format Hiding property page lets you set how fields display in a CATC Trace This property page lets you set field color and data format binary hex decimal ASCII and lets you hide selected fields from the display Link Transactions Format Bit Order it Hexadecimal MSE to Kab dia Decimal LSE pa MSE f Binary ASCII als i F Hidden H Data H Packets CRC H Time i Other t Ordered Sets Link Event i Split Transactions E Symblos l Raw E LTSSM Ho colors available for selected item Expand All Collapse All Restore Factors Presets Save Save As Default Load Uma LeCroy Corporation 91 Chapter 7 Display Options PE Tracer EML User Manual 92 Setting Field Colors The Field Colors tab allows you to customize the colors associated with each field used in the packet view You may experiment with this option to achieve a color combination that suits you Select or change the trigger color using the color buttons labeled Packet and Packet before and after trigger found under the Packet section of the Field Colors window You select or change a color by clicking the appropriate color button This action causes a col
Download Pdf Manuals
Related Search
Related Contents
Les SPL : un nouvel instrument de gestion publique au service des VEGETABLE OIL DISPOSAL UNIT (MSDU) OPERATOR & SERVICE Camclosure® 2 séries IS20/IS21-DWS Sistema Hitachi VM-H39A Digital Camera User Manual - Moulnisky.com Porta-Davit500-Qualité F LG KA60020S hob DUAL GAUGE PRO DPB USER`S MANUAL TRENDnet Tew-812dru User's Manual Copyright © All rights reserved.
Failed to retrieve file