1 / 48

PCI Express Analyzer

High speed digital systems laboratory. המעבדה למערכות ספרתיות מהירות. PCI Express Analyzer. A Glance Into The Fast Lane. הטכניון - מכון טכנולוגי לישראל. Technion - Israel institute of technology. Analyzer Core. Final Presentation. Samuel Amir , Danny Volkind Mr. Orbach Mony.

fuller
Télécharger la présentation

PCI Express Analyzer

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות PCI Express Analyzer A Glance Into The Fast Lane

  2. הטכניון - מכון טכנולוגי לישראל Technion - Israel institute of technology Analyzer Core Final Presentation Samuel Amir , Danny Volkind Mr. Orbach Mony

  3. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Agenda • PCI - Express – Reminder • Link and Lane Training - Overview • Project Goals • Project features and capabilities • PCI-Express Generator - Brief

  4. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Agenda (cont.) • Project Block Diagram • Demonstration • Future Improvement Procedures

  5. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות PCI - Express Reminder

  6. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות PCI-Express Topology • Dual Simplex • Differential • Speeds of 2.5Gb/sec TX+ RX+ TX- RX- Device A Device B Ref. Clock Ref. Clock TX+ RX+ RX- TX-

  7. Data CRC Frame Sequence Number Header Frame Transaction Transaction Layer Data Link Data Link Layer Physical Layer Physical High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Packet Formation Packet formation reflects layered architecture.

  8. Byte Value 00H 8b/10b Encoded Byte Value High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות 8/10b conversion (4.2.1) • Convert each byte to a 10bit character according to a pre-defined table. • Extra characters are used as control characters or not used. • Embedded clocking-> No need to add clock traces. • Error detection (running disparity). • DC balancing • Reduces ISI.

  9. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות PCI Express scrambling (4.2.3) • Assures no constant pattern is transmitted. • Spread the energy transmitted in one frequency to different frequencies-> reduces EMI! (and gets FCC approval) • Only data characters are encoded. • Encoding is done using a linear feedback shift register. • Decoding is done using the same process at the receiver side.

  10. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Frequency Mismatch (4.2.7) How does the protocol cope with the fact that each device is feed by a different clock source? TX+ RX+ TX- RX- Device A Device B Ref. Clock Ref. Clock TX+ RX+ RX- TX-

  11. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Frequency Mismatch (4.2.7) Input @ 2501MHz Output @ 2500MHz Input Shift Register is filling up faster than it is emptied! Input @ 2500MHz Output @ 2501MHz Input Shift Register is emptied faster than it is filled! If we take 600ppm difference between clocks, the transmitter and receiver clocks can shift one clock every 1666 clocks!

  12. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Frequency Mismatch-Solution • The protocol issues a SKIP ordered set that can be skipped so that the input shift register can be partially cleared! • The SKIP ordered sets insertion time asdictated by the protocol is between 1180 and 1538 symbol times. • Calculated allowed deviance : ± 300ppm ! • This is known as “clock tolerance compensation mechanism”.

  13. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Link & Lane Training

  14. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Link and Lane Training Lane - a single set of differential RX TX pairs Link - a collection of lanes connecting two PCI-Express Devices. x1 Lane wide Link

  15. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Link and Lane Training (cont) Training - a process aimed at turning a collection of available lanes into a properly functioning link. • Elements established during training : • Physical Level • SERDES lock. • Symbol alignment. • Link Level  link configuration • Link data rate • Link width • Etc.

  16. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Link and Lane Training (cont)

  17. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Training Ordered Sets • Group of 16 symbols. • Used During Polling State (TS1,TS2) • Establish alignment • Exchange Physical layer parameters • Not scrambled!

  18. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Training Ordered Sets (cont) TS1

  19. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Fast Training Sequence Used to re-establish bit and symbol lock when transitioning out of the LO power management state. FTS pattern

  20. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Skipped Ordered Set (CTC) Compensate for differences in frequencies between bit rates at two devices sharing a mutual Link (Clock Tolerance Compensation) Skipped Ordered Set pattern

  21. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Electrical Idle • Steady state condition • Transmitter differential pair held at fixed value • Must remain at this state at least 20nsec • Must attempt to detect a receiver within 100msec

  22. Frame 1byte DLLP Contents 4byte Frame 1byte CRC 2byte Physical Layer Data Link Layer High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות DLLP packet

  23. Data 0-4Kbyte LCRC 4byte Frame 1byte Sequence# 2byte Header 12/16byte Frame 1byte Transaction Layer Data Link Layer Physical Layer High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות TLP packet

  24. Memory, I/O, Config, Message; Request or Completion Data Payload Indicator and 16/12B header flag Bus#, Device#, Function#, Virtual Channel Support CRC Frame Sequence Number Frame Data Fmt Type Requestor ID Rsrv Traffic Class Data Link Layer Address/Routing 16/12 Byte Transaction Layer Physical Layer Length Attr Tag Rsrv Byte Enables Requested Length or Payload Size Attributes: Snoop, Ordering Transaction Tag Reserved for future expansion First DW BE; Last DW BE High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Packet Header Header

  25. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Project Goals

  26. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Project Goal Overview • PCI-Express packets capturing at wire speed of 2.5Gbps • Selective filtering – work modes • TLP analysis – header based filtering • Simple register based user interface • RS232 accessible.

  27. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Project Features & Capabilities

  28. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Project features • Receiving PCIe communication at 2.5 Gbps. • Full line synchronization capability according to PCIe spec. • Handling of realignment and clock tolerance compensation events on the fly. • Invalid symbol filtering.

  29. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Project features (cont.) • Detection of and field extraction for all PCIe training sequences. • Selective descrambling of the received data. • Accumulative user-controlled counters for statistic purposes. • Data stream marking and preliminary analysis.

  30. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Projects features (cont.) • 6 Available work modes: • Wire Speed Capture. • Capture TS1 / TS2 • Capture DLLP • Capture TLP • Selective TLP capture

  31. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Projects features (cont.) • TLP filtering versatility:

  32. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Project features (cont.) • Storage • Fully user controlled dynamically allocated 16K x 32 memory. • Captured data is saved with preliminary analysis. • Bursts and capture events are separated allowing selective extraction.

  33. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Project features (cont.) • LCD Interface • Built-in LCD micro-controller implementation. • 1 Kbyte user memory for display commands. • Display file can be loaded on the fly.

  34. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Project features (cont.) • User Interface • RS232 serial link operating at 115.2Kbps. • Simple comm. protocol implementation allowing read and write commands accessing 32bit address space with 16bit data. • All the core features are accessible.

  35. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Generator - Overview • Capable of generating all PCIe traffic. • Fully user-controlled. • PCIe compatible including clock tolerance compensation simulation. • Can be set to continuous or single shot mode.

  36. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Generator - Overview

  37. Transaction Data Link Physical Gigabit Receiver 1 Decryption Module 2 Physical Data Link Wrap Filter 3 Packet Filter 4 Central Controller Memory Controller 7 8 MSU Control 5 Link Assessment 6 High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Basic Block Diagram Physical Physical 4 3 7 Transaction 2 8 5 Physical 6 1

  38. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Top Level

  39. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Project Block Diagram

  40. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות PDM – LFSR 8 bit values generated by LFSR for repeated data value of 0

  41. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות PDM – LFSR (cont) Scrambling spectral power distribution for repeated data value of 0

  42. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות PDM – LFSR (cont)

  43. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות PDM – LFSR (cont)

  44. RS232 Request Packet CRC Frame Sequence Number Frame Device B Analyzer Device A Frame CRC Completion Packet Sequence Number Frame High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Demonstration

  45. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Future Developments • Additional functions. • User interface development. Open Code flexibility opens the door for development

  46. Thank You ! High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Closing Words

  47. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Additional information Certain images adopted from PCI-SIG PCI Express™ Architectural Overview Presented at the 2002 PCI-SIG Developers Conference and Intel Developers Forum, Fall 2001.

  48. High speed digital systems laboratory המעבדה למערכות ספרתיות מהירות Project Development Process Semester A Semester B High Speed Communication Fundamentals Constructing Analyzer Core Building Blocks PCI Express Architecture Concepts Debugging & Testing Each block market survey Current Available Products Final Core Integration Existing Infrastructure Analyzer Core Development report Final Concept Requirements Doc

More Related