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
  • CDC/RDC Glossary
  • CDC/RDC Metrics Reference
  • CDC/RDC Interview Prep
  • CDC/RDC Signoff Cheatsheet
  • Clock Domains and Failure Modes8
  • Metastability and Synchronizers16
  • CDC Protocols and Handshakes16
  • Reconvergence and Gray Coding16
  • Reset Domain Crossing16
  • Architecture and Design Rules16
  • CDC Signoff Methodology24
  • RDC Signoff16
  • Debug and Case Studies11
  • CDC and RDC Interview Prep30
    • CDC/RDC Whiteboard Framework
    • CDC/RDC Framework Drills
    • Scenario: Metastability Bug
    • Scenario: Metastability Escape in Silicon Bring-up
    • Scenario: Async FIFO Pointer Mismatch
      • The Scenario
      • Diagnosis
      • Fix and Guard
    • Scenario: Waiver Debate
    • Scenario: RDC Waiver Under Tapeout Pressure
    • CDC/RDC Interview Q&A Bank
    • CDC/RDC Interview Q&A Bank (Expanded)
  • Capstone: Sign Off a Multi-clock Peripheral4
Loading lesson

‹CDC and RDC Interview Prep
  1. Topics
  2. CDC & RDC
  3. CDC and RDC Interview Prep
  4. Scenario: Async FIFO Pointer Mismatch

Part 10 · Interview Prep · All levels

Scenario: Async FIFO Pointer Mismatch

A FIFO that reports empty while writes are active: the scenario, the diagnosis, and the fix with guards.

  • 3topics
  • 3lessons

An asynchronous FIFO between a write clock and a read clock occasionally reports empty while the writer is still active, stalling the reader for no reason. No traffic rule is violated and the data path checks out. This generic, illustrative scenario rehearses pointer-crossing diagnosis: the flags, the Gray assumptions, and the reset alignment the data path never shows.

Lesson

After it you can...

The Scenario

State the underflow symptom and isolate it to the pointer crossing.

Diagnosis

Walk the pointer path: Gray encoding, synchroniser depth, comparison placement, reset.

Fix and Guard

Name the fix and the regression guards that keep it fixed.

The traps to avoid: debugging the data path only, waiving a Gray-code warning without transition proof, and fixing full and empty logic without reviewing reset alignment.

Check yourself Why does "sporadic empty with no traffic violation" point at the pointers, not the data?

The data path moves payloads; only the pointer comparison produces the empty flag. A flag wrong while traffic is legal means the comparison saw a wrong pointer value.

Related topics

  • Next: Scenario: Waiver Debate

PreviousNext: The Scenario

Up next

Up nextThe Scenario

Sign in to save progress

Practice this lessonReport an error

See also

  • CDC/RDC Whiteboard Framework
  • CDC/RDC Framework Drills
  • Scenario: Metastability Bug