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
  • Power, Clocking and Reliability12
    • Power State Transitions and Cache State Safety
    • Clocking and CDC on Coherence Channels
    • ECC, Poison and Recovery
  • Verification12
  • Debug and Bring-up12
  • Interview and Design Review17
  • Capstone: A Coherent Model Lab5
Loading lesson

‹Cache Coherency
  1. Topics
  2. Cache Coherency
  3. Power, Clocking and Reliability

Part 10 · Power, Clocking and Reliability · All levels

Power, Clocking and Reliability

Keep coherence correct when caches power down, when messages cross clock domains, and when bits flip in data or metadata.

  • 3topics
  • 12lessons

Topics in this section

  1. 1Power State Transitions and Cache State Safety4 lessons
    • Flushing Before Power-Down
    • Leaving and Rejoining the Domain
    • Retention States
    • A Power-Down Race
  2. 2Clocking and CDC on Coherence Channels4 lessons
    • Coherence Channels Across Clocks
    • Credits Across Clock Domains
    • Quiesce and Link Reset
    • CDC Bugs in Coherence
  3. 3ECC, Poison and Recovery4 lessons
    • ECC on Tags, Data and Directory
    • Poison Propagation
    • Losing Directory State
    • Recovery Limits

Every earlier part assumed caches that never sleep, one clock and perfect storage. Real chips break all three. A cache that powers down still holds permissions H has recorded; a message that crosses a clock boundary can be torn or reordered by a careless crossing; and a flipped state bit is a coherence bug, not just a data error. This part shows how each of these physical effects can break the invariants of Parts 1 to 4, and the standard mechanisms that keep them intact.

Learning path through the three Part 10 topics.
Suggested order: power transitions first, then clock-domain crossings on the coherence channels, then error protection and recovery.

Twelve lessons

Lesson

After it you can...

Flushing Before Power-Down

List what a cache must write back, release and drain before it loses power.

Leaving and Rejoining the Domain

Order the steps that take a cache out of the domain and back.

Retention States

Choose between power-off, retention with flush and wake-on-snoop.

A Power-Down Race

Resolve a forward that crosses a cache's departure.

Coherence Channels Across Clocks

Carry each message class safely across a clock boundary.

Credits Across Clock Domains

Size a crossing buffer from the credit round trip.

Quiesce and Link Reset

Reset a link without losing an Inv-Ack or a newest value.

CDC Bugs in Coherence

Recognise crossing bugs and the checks that find them.

ECC on Tags, Data and Directory

Explain why metadata errors are coherence bugs and how ECC covers them.

Poison Propagation

Contain an uncorrectable data error to its consumer.

Losing Directory State

Recover conservatively when a directory entry cannot be trusted.

Recovery Limits

Decide what is corrected, contained or fatal.

The examples keep the course model and add only what each topic needs: a power state for a cache, a clock domain per side of H, or a poison bit on Data. Clock-domain crossing design itself is taught in the CDC and RDC course; this part only uses it.

Check yourself A cache in retention keeps its data. Why is that not enough to stay in the coherence domain?

Because H may still send it an Inv or a forward, and a cache that cannot answer stalls H forever. Keeping data is not the same as keeping the ability to respond: a retained cache must either wake to answer, or leave the domain (flush and tell H it holds nothing) before it sleeps.

Related topics

  • Shared course model

  • Writeback and eviction

  • Message classes and progress

  • CDC and RDC course

PreviousNext: Power State Transitions and Cache State Safety

Up next

Up nextPower State Transitions and Cache State Safety

Sign in to save progress

Practice this lessonReport an error

See also

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