CDC / RDC · All levels
Multi-bit CDC Hazards: Theory Deep Dive
Theory Deep Dive for Multi-bit CDC Hazards.
Foundational theory
Multi-bit CDC Hazards anchors Metastability & Synchronizers. Independent bit synchronization causes skew and data incoherency; buses need protocolized transfer (FIFO, handshake, token, or encoded sequencing). Senior signoff discussions tie every warning to mechanism class, operational mode, and risk containment evidence.
Core concepts explained
Independent bit synchronization causes skew and data incoherency; buses need protocolized transfer (FIFO, handshake, token, or encoded sequencing).
Primary metric: data coherence violations, reconvergence warning count, escaped protocol bugs
Primary artifact: bus crossing inventory, reconvergence report, protocol assumptions doc
Owners: RTL owner, CDC owner, IP integration owner
Distinguish structural cleanliness from functional correctness.
Tie every waiver to silicon-risk framing and expiry.
Why this matters at signoff
At tapeout, unresolved CDC/RDC issues become latent reliability bugs. Metastability is probabilistic physics managed through architecture and timing assumptions.
Mental model
bus[3:0] bits cross independently
sample N : 0 1 1 0
sample N+1: 1 0 0 1 (illegal mixed state)
Need protocol or encoded transfer, not per-bit sync.Worked intuition
Classify crossing intent and direction.
Name clock/reset relationship assumptions.
Inspect primary metric: data coherence violations, reconvergence warning count, escaped protocol bugs.
Collect structural plus dynamic evidence.
Differentiate real hazard from tool noise.
Pick smallest safe fix and define regression matrix.
Document signoff rationale or waiver ownership.
Common misconceptions
CDC clean report means protocol is proven.
All resets are equivalent if assertion works.
Gray code alone guarantees FIFO correctness.
Waivers are harmless schedule shortcuts.
Visual reinforcement
Bus incoherency hazard
bus[3:0] bits cross independently
sample N : 0 1 1 0
sample N+1: 1 0 0 1 (illegal mixed state)
Need protocol or encoded transfer, not per-bit sync.Layer responsibilities
CDC/RDC OWNERSHIP LAYERS — Multi-bit CDC Hazards
layer owns common failure
------------------ ----------------------------- -----------------------------
design intent crossing architecture wrong topology selected
protocol semantics req/ack, fifo, ordering liveness/deadlock bugs
reset behavior assert/deassert sequencing boot instability
analysis setup tool rules + waivers false confidence
signoff governance risk acceptance + dashboard stale critical waiversCDC/RDC deep dive
Metastability is managed risk, not eliminated risk.
Concept diagram
METASTABILITY FLOW
async event -> first sample may metastabilize
-> settle window
-> downstream sample confidenceMetric graph
MTBF TREND
target MTBF ---------
current design ____/Reports and artifacts
MTBF assumptions
synchronizer inventory
crossing class summary
critical waivers
Mini case study
Pulse sync chosen for a level signal caused intermittent stuck state under voltage stress.
Debug branches
Validate crossing class first
Check pulse width assumptions
Audit synchronizer template usage
Senior review question
Ask: what evidence proves this risk is closed for silicon, not just tool-clean?
Key takeaways
State crossing class, assumptions, and owner with every issue.
Run structural and dynamic regressions after each fix.
Common pitfalls
Treating all warnings as equivalent risk.
Waiving issues without containment evidence.
Skipping reset and reconvergence stress after CDC fixes.
Theory reinforcement
Metastability is probabilistic physics managed through architecture and timing assumptions.