Professional Documents
Culture Documents
Pci Express Slides Mine
Pci Express Slides Mine
PCIe Header
PCIe Packet
Header Header
3 – 4 DW 0 - 1023 DW
▪ PCI vs PCIe
– Peripheral Component Interconnect (PCI)
– PCI is original bus based interconnect
– PCI Express is high-speed serial connection
▪ PCIe Link
– Point to point communication channel between two
PCIe ports
▪ Link width
– Each lane of a PCIe connection contains two pairs of
wires one to send and one to receive.
– Lanes can be x1, x2, x4, x8, x16 (link width)
Lane
RX TX
PCI Express Device B
▪ Link speed
– Link speed can be
Gen1, 2.5 GT/s
Gen2, 5 GT/s
Gen3, 8 GT/s
Gen4, 16 GT/s (Next generation)
▪ Ports
– A combination of lanes into a physical connection
– Ports can be
transparent (TB)
Non-transparent (NTB)
▪ Link
– A single port or multiple ports combined into one link
E.g., x8 or x16
▪ Switching
– Switch based topologies
▪ Transparent Bridging
– Root complex able to see all end
point in system
CPU
Upstream
Root Complex
PCIe
PCIe
EP Switch EP Downstream
PCIe
PCIe
PCIe
EP
EP
CPU
▪ No software setup
Root Complex
Transparent Bridge
TB
PCIe
PCIe
EP Switch EP
PCIe
PCIe
PCIe
EP
EP
▪ Supported transaction
– Configuration or memory mapped transaction
DMA
Interrupts
PCIe Transaction
controller
BARS
Registers
Packet
TX RX
PCIe PCIe
RX TX
Device A Device B
Packet
PCIe PCIe
Switch
Device A Device B
1b. ACK 2b. ACK
Management of packets:
Data Link Flow Control and ACK/NACK
Protocol
Link training
Physical
Electric signalling
▪ DIRECT TOPOLOGY
– Point to point connection between two nodes
******** PCIe CABLE LINK ERROR INFORMATION FOR ADAPTER NO 0 - Link 1 ********
NACK error cnt - PCIe Cable Link 1 ............ : 0
NACK DLLP transmitted ......................: 0
NACK DLLP received .........................: 0