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 Puzzle Bank
  • SystemVerilog Language Puzzles25
  • Difficulty Guide
  • Full Topic Map
  • Interview-Day Tips
  • OOP & Testbench Puzzles25
  • Concurrency & Timing Puzzles25
    • Event Scheduling Puzzles
    • Race Condition Puzzles
      • Competing Active Writers on x
      • Blocking Writer vs NBA Writer Same Signal
      • False Mismatch from Active Sampling
      • #0 Monitor Is Still Before NBA
      • Lost Update in Forked Counter
      • Two always_ff Writers, One Register
    • Clocking Block Puzzles
    • Semaphore & Mailbox Puzzles
    • Concurrency & Timing Puzzles: Tricky Q&A
  • Randomization & Constraint Puzzles25
  • SVA Assertion Puzzles25
  • Functional Coverage Puzzles25
  • Logic & Aptitude Puzzles25
  • Scenario & Debug Puzzles25
  • Interview Prep: Puzzle Rounds5
  • DV Puzzle Cheatsheet
Loading lesson

‹Concurrency & Timing Puzzles
  1. Topics
  2. DV Interview Puzzles
  3. Concurrency & Timing Puzzles
  4. Race Condition Puzzles

VLSI DV Interview Puzzles · All levels

Race Condition Puzzles

These puzzles target write-write and read-write races that slip through otherwise clean RTL style. The focus is not just identifying races, but proving exact sampled values and timing outcomes.

  • 6topics
  • 6lessons

Topics in this section

  1. 1Competing Active Writers on x1 lesson
  2. 2Blocking Writer vs NBA Writer Same Signal1 lesson
  3. 3False Mismatch from Active Sampling1 lesson
  4. 4#0 Monitor Is Still Before NBA1 lesson
  5. 5Lost Update in Forked Counter1 lesson
  6. 6Two always_ff Writers, One Register1 lesson
On this page

    About this puzzle set

    These puzzles target write-write and read-write races that slip through otherwise clean RTL style. The focus is not just identifying races, but proving exact sampled values and timing outcomes.

    Puzzles in this topic

    Diagram
    1. Competing Active Writers on x  [Medium]
    2. Blocking Writer vs NBA Writer Same Signal  [Medium]
    3. False Mismatch from Active Sampling  [Easy]
    4. #0 Monitor Is Still Before NBA  [Medium]
    5. Lost Update in Forked Counter  [Hard]
    6. Two always_ff Writers, One Register  [Hard]

    Work each puzzle before reading the solution: predict the exact output or answer, name the rule that governs it, then check yourself.

    SV scheduling regions at puzzle scale

    Diagram
    SYSTEMVERILOG EVENT REGIONS (SIMPLIFIED ORDER)
    
    time slot T
       |
       +--> ACTIVE   : blocking statements, RHS sampling
       +--> INACTIVE : #0 queued work
       +--> NBA      : non-blocking LHS updates commit
       +--> OBSERVED : assertions sample stable design values
       +--> REACTIVE : testbench/program reaction code
    
    If behavior looks impossible, ask: "Which region saw which value?"

    Related topics

    • Concurrency & Timing Puzzles section

    • VLSI DV Interview Puzzles hub

    PreviousNext: Competing Active Writers on x

    Up next

    Up nextCompeting Active Writers on x

    Sign in to save progress

    Practice this lessonReport an error

    See also

    • Event Scheduling Puzzles
    • Clocking Block Puzzles
    • Semaphore & Mailbox Puzzles