PCIe deteailed block diagram.png

1️⃣ Packet Creation in Transaction Layer



3️⃣ Physical Layer Encodes & Transmits


4️⃣ Reception – The Reverse Process

When the other side receives:

  1. Physical Layer

    • Recovers clock using CDR (Clock and Data Recovery).
    • Deserializes bitstream → parallel data.
    • Decodes 8b/10b or 128b/130b.
    • Passes up to DLL.
  2. Data Link Layer

    • Checks LCRC, sequence numbers.
    • If good → sends Ack back.
    • If bad → requests retransmission (Nak).
    • Forwards to TL if valid.
  3. Transaction Layer

    • Buffers packet, extracts:

      • Command
      • Address
      • Attributes
    • Passes to device core (or switch routing logic).

    • If this is a switch → creates a new TLP for the outgoing port.


🧠 Big Picture: Layer-to-Layer Communication


💡 Why This Matters