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

AboutContactPrivacyTerms
Skip to lesson

Course contents

  • How to Use This Course
  • Reading Path
  • Cache Coherency Glossary
  • The Shared Course Model
  • Cache Coherency Revision Sheet
  • Why Coherence Exists8
  • States and Protocols12
  • Transactions12
  • Races and Controller Design8
  • Progress and the Fabric16
  • Ordering and Synchronization12
  • Performance and Scalability12
  • Real Protocols12
  • SoC Integration12
    • LLC Data and Directory Policies
    • Devices and DMA
    • The Memory-Controller Boundary
  • Power, Clocking and Reliability12
  • Verification12
  • Debug and Bring-up12
  • Interview and Design Review17
  • Capstone: A Coherent Model Lab5
Loading lesson

‹Cache Coherency
  1. Topics
  2. Cache Coherency
  3. SoC Integration

Part 9 · SoC Integration · All levels

SoC Integration

Connect private-cache coherence to LLC policy, devices and the backing-memory interface.

  • 3topics
  • 12lessons

Topics in this section

  1. 1LLC Data and Directory Policies4 lessons
    • Inclusive, Exclusive and Non-Inclusive
    • Back-Invalidation
    • The LLC as Directory
    • Policy Trade-Offs
  2. 2Devices and DMA4 lessons
    • Coherent Versus Non-Coherent DMA
    • I/O-Coherent Ports
    • Device Caches and CXL.cache
    • Software Maintenance for DMA
  3. 3The Memory-Controller Boundary4 lessons
    • Point of Coherence and Serialization
    • Memory-Controller Reordering
    • Same-Address Hazards Below the Home
    • Memory Latency and Coherence

Correct private-cache states are only part of integration. Data storage, coverage metadata, device access and memory-side completion each have a contract. This part follows those boundaries without redefining the earlier transactions. The last topic separates H's per-line serialization from the memory controller's scheduling, and shows the write-queue check that keeps same-address order.

Twelve lessons

Lesson

After it you can...

Inclusive, Exclusive and Non-Inclusive

Define residency independently of permission and authority.

Back-Invalidation

Connect LLC replacement to safe coverage retirement.

The LLC as Directory

Separate payload, tracking and pending resources.

Policy Trade-Offs

Compare complete policies under identical useful work.

Coherent Versus Non-Coherent DMA

Classify the device path and required data reconciliation.

I/O-Coherent Ports

Separate access coherence from retained device permission.

Device Caches and CXL.cache

Distinguish device caching, attached memory and synchronization.

Software Maintenance for DMA

Specify direction, handoff, completion and lifetime.

Point of Coherence and Serialization

Name observer domain and completion target.

Memory-Controller Reordering

Keep same-address order with a write-queue address check.

Same-Address Hazards Below the Home

Detect read-after-write, ordering, matching and byte-merge errors.

Memory Latency and Coherence

Attribute delay to the executed data and permission path.

Suggested order: LLC residency and tracking, devices and software handoff, then memory-side interfaces. The CPU examples retain MESI permissions, and every added device, storage level or interface assumption is named where introduced.

Check yourself Why can a coherent fabric still have an incorrect DMA result?

The path can be configured wrongly, the DMA address or lifetime can be wrong, or publication/completion ordering can be missing. Fabric coherence alone does not establish the end-to-end software contract.

Related topics

  • Shared course model

  • Reviewed source and writeback paths

  • Pending work and matching

  • Progress, backpressure and latency anatomy

  • Completion boundaries

PreviousNext: LLC Data and Directory Policies

Up next

Up nextLLC Data and Directory Policies

Sign in to save progress

Practice this lessonReport an error

See also

  • How to Use This Course
  • Reading Path
  • Cache Coherency Glossary