Skip to content
DenseChip
Learn
PracticeCode labInterview

DenseChip

Navigate

Menu

LearnPracticeCode labInterview

Tools

All toolsSV editorCode repoResume
DenseChip

Practice, courses, and chip-design tools in one focused workspace.

LearnPracticeCode labInterviewToolsLearning paths

© 2026 DenseChip

AboutRoadmapCareersInternshipsFAQContactPrivacyTerms
Skip to lesson

Course contents

  • How to Use This Course
  • Protocol Metrics Reference
  • Protocols Glossary
  • Reading Path
  • Protocol Fundamentals25
  • AMBA Family (APB / AHB / AXI)17
  • Coherence Fabrics (ACE / CHI)17
  • Memory Interfaces (DDR / LPDDR / HBM)17
  • PCIe & CXL17
    • PCIe Layering & TLPs
    • Enumeration & Link Training
    • CXL Attach Modes
      • CXL Attach Modes: Concepts
      • CXL Attach Modes: Integration
      • CXL Attach Modes: Debug
      • CXL Attach Modes: Interview
    • PCIe / CXL Debug
    • PCIe & CXL: Tricky Q&A
  • Embedded Peripherals (I2C / SPI / UART)17
  • High-Speed I/O (USB / Ethernet / MIPI)17
  • Protocol Verification & Compliance17
  • Protocols Interview Prep5
  • Interface Protocols Cheatsheet
Loading lesson

←CXL Attach Modes
  1. Topics
  2. Bus Protocols
  3. PCIe & CXL
  4. CXL Attach Modes
  5. CXL Attach Modes: Concepts
On this page

    Interface ProtocolsAll levels

    CXL Attach Modes: Concepts

    Concepts for CXL Attach Modes.

    Core concepts

    Three CXL protocols

    In the CXL device-type model used here, CXL.io provides PCIe-based discovery, configuration and I/O, while CXL.cache lets a participating device cache host memory using CXL coherence messages. State the selected CXL revision and device type before assuming which protocols or optional capabilities are active.

    CXL.mem lets a host access device-attached memory under the selected device/revision semantics. Platform firmware and software decide address exposure, interleaving and policy; the existence of CXL.mem does not by itself define placement, ownership or software synchronisation.

    Diagram
    CXL ATTACH MODES
    
    Type 1: CXL.io + CXL.cache     (smart NIC, accelerator)
    Type 2: CXL.io + CXL.cache + CXL.mem  (GPU with memory)
    Type 3: CXL.io + CXL.mem       (memory expander)

    Coherency and memory semantics

    CXL.cache enables a participating device to cache host memory through a defined hardware-coherence protocol. It does not remove software synchronisation, access-control or buffer-ownership requirements, and it is not a universal replacement for DMA mapping or bounce-buffer mechanisms.

    CXL.mem maps device memory into host address space. CPU loads/stores go through the CXL link. Bandwidth and latency depend on link width and device memory technology.

    • CXL revisions differ in link/fabric capabilities, switching, pooling and sharing; name the revision before making a feature claim.

    • Platform firmware and/or system software must discover and configure the enabled CXL protocols according to the platform boot/runtime model; do not assume one universal pre-boot sequence.

    • Separate .io, .cache, .mem traffic for debug — different failure modes.

    Key takeaways

    • CXL revisions differ in link/fabric capabilities, switching, pooling and sharing; name the revision before making a feature claim.

    • Platform firmware and/or system software must discover and configure the enabled CXL protocols according to the platform boot/runtime model; do not assume one universal pre-boot sequence.

    • Separate .io, .cache, .mem traffic for debug — different failure modes.

    Previous

    89 / 154

    Next: CXL Attach Modes: Integration

    Up next

    Up nextCXL Attach Modes: Integration

    Sign in to save progress

    Practice this lessonPrevious lessonReport an error

    See also

    • CXL Attach Modes: Debug
    • CXL Attach Modes: Interview