Documente Academic
Documente Profesional
Documente Cultură
Outline
Verification Paradigm
Limitations of PCI
Evolution Path
Dual Simplex a related set of two differential pairs (Tx and Rx)
Lane Dual Simplex when PCI-Express compliant
Port A group of Txs and Rxs within a single device that represent a single connection
to PCI-Express fabric
Link Two ports and the collection of lanes that interconnect them
x1, x4, x8, xN Number of lanes within a port or a link
Upstream Flow of traffic towards the CPU or a port that establishes link in that
direction within the hierarchy
Downstream Flow of traffic away from the CPU or a port that establishes a link in that
direction within the hierarchy
Ingress Port the portion of a PCIe port that receives the incoming traffic
Egress Port the portion of a PCIe port that transmits outgoing traffic
Root Complex The combination of a PCIe host bridge and one or more downstream
ports
Endpoint A device that terminates a path within the hierarchy
Bridge A device that physically and electrically connects PCIe to another protocol
Switch A device that provides a physical connection between two or more PCIe ports
4
PCI-Express Hierarchy
Logical Functions
Link synchronization
Width
Data-rate
Lane reversal
Polarity inversion
Bit-wise per lane
Symbol-wise per lane
Lane-to-lane de-skew
Electrical Functions
Link management
ACK DLLP
NAK DLLP
InitiFC1
InitFC2
UpdateFC
Power Management
Vendor specific
Cut-through routing
TLP/DLLP ordering permutations per protocol
TLP integrity check insertion and processing
ACK/NAK latency timer rules processing a limit-triggered response.more that could not fit here
7
TL manages, DL executes
Point-to-point, not end-to-end
Independent for each VC ID
Mechanism presumes Ideal conditions
Credit types PH, PD, NPH, NPD, CPLH, CPLD
Data transactions
TLP storage and processing for transmission or consumption
TLP generation: Header, Payload and Digest
TLP generation and handling of various lengths (4 Bytes to 4096 Bytes)
Transaction types
Transaction Completion
Transaction Ordering
Routing rules
Arbitration
INTx
PME
ERR
Unlock
Slot Power
Hot Plug
Vendor-defined
Port arbitration
VC arbitration
Virtual channels
Traffic classes
Locked transactions support
Isochronous support
Advance error processing and reporting.more that could not fit here
Verification Paradigm
Functionality
Performance
Interoperability (Compliance and Compatibility)
Re-usability
Scalability (Modularity)
Comprehensiveness (with leveraging of automation)
10
RTL Verification
FPGA-based Emulation
11
Detects design errors at the source increases observability and decreases debug-time
Can identify subtle bugs that may be hard to reach with SBV
Black-box assertions Protocol oriented
Effective for size/complexity to an extent (memory-size and run-time limitations)
Suitable for block-level deployment rather than end-to-end chip-level stand-alone verification
method
Complex properties are verified through bounded-proof (neither proven nor falsified)
Effective for control-path oriented logic (state space exploration rather than data-path logic)
verification
Assertions when written by engineer other than designer can help detect specification
(interpretation) class of errors
Improper Buffer Insertion, Missing Level Shifters, Missing Power Good, Power Sequencing Tests
12
13
Reference Model shall support co-simulation with the DUT in order to predict
and verify run-time behavior
Reference Model for each block shall be created such that it can be integrated
into chip-level verification environment seamlessly
Hybrid Modeling
14
Performance Verification
Performance Parameters (to be supported with variable sized packets across mixed-traffic
types, across all traffic patterns, mixed VCs and mixed-packet sizes)
Aggregate Throughput
Latency (to be balanced against power dissipation)
Jitter in Latency
Availability/Blocking Internal back-pressure
N+1 Performance limitation (small TLPs back-to-back)
Flow-control credits
Load distribution and balancing (peer-to-peer as well as vertical traffic flows with
mixed of traffic types, VCs and packet sizes)
Link utilization No bubbles within or between TLPs (really challenging for cutthrough mode)
Zero tolerance for packet loss
Zero tolerance for wrong packet routing
FPGA-based Emulation
RTL Verification Not an adequate method for performance testing for PCIe development
15
Compliance Verification
Clock recovery
Interpolation
NAK Response
Replay Timer
Replay Count
Link Retrain
Bad CRC
Undefined Packet
Duplicate TLP
Flow Control Initialization, Transmit and Receive States, Negotiated Link Width
Virtual Channel
Default values
Stress test
Slot reporting
16
Compliance Verification
Design-for-Verification
For rapid deployment of various flavors of bridges and switches based on flagship
platform part
Speed of Capturing market-share as critical as first product deployment to establish
credible presence
Otherwise TTM Window will be missed due to prolonged verification or multiple respins (PCIe non-forgiving of bugs that hamper compliance or compatibility)
18
Thank You!
19