RTL Design and Verification Using C.
Use C to model hardware, generate stimulus, check RTL results, and debug regressions. One hundred labs in ten modules take you from bit-accurate combinational logic and sequential timing through datapaths, handshakes, memories, arbitration and clock domains to C-to-RTL harnesses, debugging, verification closure and integrated projects.
10 modules · 100 labs
Each lab poses one engineering question about modeling, stimulating or checking RTL with C. The modules build from bit-accurate logic to complete subsystems closed with a C oracle, mutations, coverage and replay.
Bit-accurate combinational logic
RTLC-001 · RTLC-002 · RTLC-003 · RTLC-004 · RTLC-005 · RTLC-006 · RTLC-007 · RTLC-008 · RTLC-009 · RTLC-010
Sequential logic and timing
RTLC-011 · RTLC-012 · RTLC-013 · RTLC-014 · RTLC-015 · RTLC-016 · RTLC-017 · RTLC-018 · RTLC-019 · RTLC-020
Arithmetic datapaths
RTLC-021 · RTLC-022 · RTLC-023 · RTLC-024 · RTLC-025 · RTLC-026 · RTLC-027 · RTLC-028 · RTLC-029 · RTLC-030
Handshakes and pipelines
RTLC-031 · RTLC-032 · RTLC-033 · RTLC-034 · RTLC-035 · RTLC-036 · RTLC-037 · RTLC-038 · RTLC-039 · RTLC-040
Memories, registers, and interrupts
RTLC-041 · RTLC-042 · RTLC-043 · RTLC-044 · RTLC-045 · RTLC-046 · RTLC-047 · RTLC-048 · RTLC-049 · RTLC-050
Arbitration and bus interfaces
RTLC-051 · RTLC-052 · RTLC-053 · RTLC-054 · RTLC-055 · RTLC-056 · RTLC-057 · RTLC-058 · RTLC-059 · RTLC-060
Clock domains and recovery
RTLC-061 · RTLC-062 · RTLC-063 · RTLC-064 · RTLC-065 · RTLC-066 · RTLC-067 · RTLC-068 · RTLC-069 · RTLC-070
C-to-RTL verification harnesses
RTLC-071 · RTLC-072 · RTLC-073 · RTLC-074 · RTLC-075 · RTLC-076 · RTLC-077 · RTLC-078 · RTLC-079 · RTLC-080
Debugging and verification closure
RTLC-081 · RTLC-082 · RTLC-083 · RTLC-084 · RTLC-085 · RTLC-086 · RTLC-087 · RTLC-088 · RTLC-089 · RTLC-090
Integrated projects
RTLC-091 · RTLC-092 · RTLC-093 · RTLC-094 · RTLC-095 · RTLC-096 · RTLC-097 · RTLC-098 · RTLC-099 · RTLC-100
Lab numbers are stable. Published labs open their reader; the rest open here as each one is published.
All 100 labs
Search and filter the full curriculum. Titles, previews and metadata are free to browse — full lab content requires the labs package.
Module 1Bit-accurate combinational logic
- Lab 1Bit-accurate combinational logic
How do you model N-bit truncation in C after every hardware operation?
Foundation·75 minFoundationPublishedPaid - Lab 2Bit-accurate combinational logic
How do you exhaustively verify a multiplexer against its truth table?
Foundation·45 minFoundationPublishedPaid - Lab 3Bit-accurate combinational logic
How do you check a priority encoder with simultaneous requests?
Foundation·60 minFoundationPublishedPaid - Lab 4Bit-accurate combinational logic
How do you test a decoder for unused input codes?
Foundation·60 minFoundationPublishedPaid - Lab 5Bit-accurate combinational logic
Which injected bit errors can a parity checker detect?
Foundation·75 minFoundationPublishedPaid - Lab 6Bit-accurate combinational logic
How do you verify a leading-zero counter when the entire word is zero?
Foundation·60 minFoundationPublishedPaid - Lab 7Bit-accurate combinational logic
How do you distinguish logical and arithmetic right shifts?
Foundation·75 minFoundationPublishedPaid - Lab 8Bit-accurate combinational logic
How do you test rotates at zero, word width, and larger shift amounts?
Intermediate·90 minIntermediatePublishedPaid - Lab 9Bit-accurate combinational logic
How do you check sign extension across unequal RTL signal widths?
Intermediate·75 minIntermediatePublishedPaid - Lab 10Bit-accurate combinational logic
How do you uncover swapped byte lanes with a C oracle?
Foundation·60 minFoundationPublishedPaid
Module 2Sequential logic and timing
- Lab 11Sequential logic and timing
How do you model simultaneous register updates from the same pre-edge state?
Foundation·75 minFoundationPublishedPaid - Lab 12Sequential logic and timing
How do you test reset priority over register load and enable?
Foundation·60 minFoundationPublishedPaid - Lab 13Sequential logic and timing
How do you check that a disabled register holds its value?
Foundation·60 minFoundationPublishedPaid - Lab 14Sequential logic and timing
How do you distinguish wrapping from saturating counters at their limits?
Foundation·60 minFoundationPublishedPaid - Lab 15Sequential logic and timing
How do you check timer expiry on reload, cancellation, and the last count?
Intermediate·75 minIntermediatePublishedPaid - Lab 16Sequential logic and timing
How do you verify exact shift-register delay with consecutive inputs?
Intermediate·75 minIntermediatePublishedPaid - Lab 17Sequential logic and timing
How do you test an edge detector for missing or repeated pulses?
Foundation·60 minFoundationPublishedPaid - Lab 18Sequential logic and timing
How do you verify overlapping matches in a serial sequence detector?
Intermediate·90 minIntermediatePublishedPaid - Lab 19Sequential logic and timing
How do you check state and output timing in a finite-state controller?
Intermediate·90 minIntermediatePublishedPaid - Lab 20Sequential logic and timing
How do you test recovery after injecting an illegal controller state?
Intermediate·75 minIntermediatePublishedPaid
Module 3Arithmetic datapaths
- Lab 21Arithmetic datapaths
How do you distinguish adder carry-out from signed overflow?
Foundation·60 minFoundationPublishedPaid - Lab 22Arithmetic datapaths
How do you verify a subtractor's borrow convention at numeric extremes?
Foundation·60 minFoundationPublishedPaid - Lab 23Arithmetic datapaths
How do you check ALU results and flags with an independent C oracle?
Intermediate·75 minIntermediatePublishedPaid - Lab 24Arithmetic datapaths
How do you verify mixed-sign multiplication and truncated product bits?
Intermediate·75 minIntermediatePublishedPaid - Lab 25Arithmetic datapaths
How do you check quotient, remainder, and divide-by-zero behavior?
Intermediate·75 minIntermediatePublishedPaid - Lab 26Arithmetic datapaths
How do you model fixed-point scaling and finite intermediate widths?
Intermediate·90 minIntermediatePublishedPaid - Lab 27Arithmetic datapaths
How do you test nearest-even rounding on positive and negative ties?
Intermediate·75 minIntermediatePublishedPaid - Lab 28Arithmetic datapaths
How do you verify a saturating MAC near both accumulator limits?
Intermediate·90 minIntermediatePublishedPaid - Lab 29Arithmetic datapaths
How do you isolate misplaced lane products in a pipelined dot product?
Advanced·90 minAdvancedPublishedPaid - Lab 30Arithmetic datapaths
How do you measure approximation error against a high-precision C model?
Advanced·90 minAdvancedPublishedPaid
Module 4Handshakes and pipelines
- Lab 31Handshakes and pipelines
How do you monitor accepted ready/valid transfers at clock edges?
Coming soonPaid - Lab 32Handshakes and pipelines
How do you catch payload changes while a source waits for ready?
Coming soonPaid - Lab 33Handshakes and pipelines
How do you test whether a skid buffer absorbs an extra beat?
Coming soonPaid - Lab 34Handshakes and pipelines
How do you verify FIFO ordering under simultaneous reads and writes?
Coming soonPaid - Lab 35Handshakes and pipelines
How do you test FIFO acceptance when reads and writes target full or empty boundaries?
Coming soonPaid - Lab 36Handshakes and pipelines
How do you check pointer rollover in a non-power-of-two FIFO?
Coming soonPaid - Lab 37Handshakes and pipelines
How do you verify a width converter's byte order and partial last beat?
Coming soonPaid - Lab 38Handshakes and pipelines
How do you distinguish a pipeline bubble from a dropped transaction?
Coming soonPaid - Lab 39Handshakes and pipelines
How do you verify that a flush discards the intended in-flight work?
Coming soonPaid - Lab 40Handshakes and pipelines
How do you measure latency and throughput independently under stalls?
Coming soonPaid
Module 5Memories, registers, and interrupts
- Lab 41Memories, registers, and interrupts
How do you verify synchronous RAM latency with back-to-back accesses?
Coming soonPaid - Lab 42Memories, registers, and interrupts
How do you distinguish read-first, write-first, and no-change collision modes?
Coming soonPaid - Lab 43Memories, registers, and interrupts
How do you verify that byte write enables preserve untouched lanes?
Coming soonPaid - Lab 44Memories, registers, and interrupts
How do you check a dual-port RAM against its defined access collision rules?
Coming soonPaid - Lab 45Memories, registers, and interrupts
How do you test address decode boundaries and unmapped responses?
Coming soonPaid - Lab 46Memories, registers, and interrupts
How do you model read-only, read-write, and reserved fields in C?
Coming soonPaid - Lab 47Memories, registers, and interrupts
How do you check event priority when hardware sets a write-one-to-clear bit?
Coming soonPaid - Lab 48Memories, registers, and interrupts
How do you verify status, masking, and interrupt output independently?
Coming soonPaid - Lab 49Memories, registers, and interrupts
How do you test clear-on-read when the next request is already waiting?
Coming soonPaid - Lab 50Memories, registers, and interrupts
How do you trace each interrupt source to the expected controller pending bit?
Coming soonPaid
Module 6Arbitration and bus interfaces
- Lab 51Arbitration and bus interfaces
How do you check fixed-priority grants when all requests arrive together?
Coming soonPaid - Lab 52Arbitration and bus interfaces
How do you verify that round-robin priority advances on the specified event?
Coming soonPaid - Lab 53Arbitration and bus interfaces
How do you measure bounded service under sustained contention?
Coming soonPaid - Lab 54Arbitration and bus interfaces
How do you verify that packet arbitration holds ownership through stalls?
Coming soonPaid - Lab 55Arbitration and bus interfaces
How do you check per-ID response ordering while allowing cross-ID reordering?
Coming soonPaid - Lab 56Arbitration and bus interfaces
How do you verify routing through a two-master, two-target interconnect?
Coming soonPaid - Lab 57Arbitration and bus interfaces
How do you check APB setup, access, wait cycles, and error completion?
Coming soonPaid - Lab 58Arbitration and bus interfaces
How do you verify separately timed AXI write address and data channels?
Coming soonPaid - Lab 59Arbitration and bus interfaces
How do you check burst addresses, beat counts, strobes, and final-beat signaling?
Coming soonPaid - Lab 60Arbitration and bus interfaces
How do you verify credit accounting when sends and returns overlap?
Coming soonPaid
Module 7Clock domains and recovery
- Lab 61Clock domains and recovery
How do you check digital synchronizer behavior across varied clock phases?
Coming soonPaid - Lab 62Clock domains and recovery
When can a slow destination clock miss a one-cycle source pulse?
Coming soonPaid - Lab 63Clock domains and recovery
How do you test the event-spacing limit of a toggle synchronizer?
Coming soonPaid - Lab 64Clock domains and recovery
How do you verify one stable payload per request in a CDC handshake?
Coming soonPaid - Lab 65Clock domains and recovery
How do you check Gray-pointer one-bit transitions including wraparound?
Coming soonPaid - Lab 66Clock domains and recovery
How do you verify asynchronous FIFO ordering under unequal clocks?
Coming soonPaid - Lab 67Clock domains and recovery
How do you distinguish delayed FIFO flags from overflow or underflow?
Coming soonPaid - Lab 68Clock domains and recovery
How do you test reset release independently in two clock domains?
Coming soonPaid - Lab 69Clock domains and recovery
How do you check bridge recovery when one side resets with outstanding traffic?
Coming soonPaid - Lab 70Clock domains and recovery
How do you verify the first accepted transaction after clock-gated wakeup?
Coming soonPaid
Module 8C-to-RTL verification harnesses
- Lab 71C-to-RTL verification harnesses
How do you replay cycle-stamped stimuli in C and an RTL simulator?
Coming soonPaid - Lab 72C-to-RTL verification harnesses
How do you verify signedness at a SystemVerilog DPI-C boundary?
Coming soonPaid - Lab 73C-to-RTL verification harnesses
How do you drive Verilated RTL from C through a C++ wrapper?
Coming soonPaid - Lab 74C-to-RTL verification harnesses
How do you preserve unknown-bit information in a four-state comparison?
Coming soonPaid - Lab 75C-to-RTL verification harnesses
How do you score expected values independently of expected timing?
Coming soonPaid - Lab 76C-to-RTL verification harnesses
How do you detect missing or duplicate completions with outstanding requests?
Coming soonPaid - Lab 77C-to-RTL verification harnesses
How do you implement C monitors for bounded response and signal stability?
Coming soonPaid - Lab 78C-to-RTL verification harnesses
How do you seed randomized traffic and replay the first mismatch?
Coming soonPaid - Lab 79C-to-RTL verification harnesses
How do you track functional coverage across resets, stalls, and boundary values?
Coming soonPaid - Lab 80C-to-RTL verification harnesses
How do you minimize a replay trace while preserving its failure signature?
Coming soonPaid
Module 9Debugging and verification closure
- Lab 81Debugging and verification closure
How do you distinguish a sampling-phase mistake from an RTL state bug?
Coming soonPaid - Lab 82Debugging and verification closure
How do you trace a signedness mismatch to the first wrong datapath stage?
Coming soonPaid - Lab 83Debugging and verification closure
Which reset and handshake events are necessary to reproduce an intermittent failure?
Coming soonPaid - Lab 84Debugging and verification closure
How do you use deliberate RTL mutations to test checker effectiveness?
Coming soonPaid - Lab 85Debugging and verification closure
How do you compare two microarchitectures with different latencies against one oracle?
Coming soonPaid - Lab 86Debugging and verification closure
How do you catch a shared RTL and model assumption using an exhaustive small-domain check?
Coming soonPaid - Lab 87Debugging and verification closure
How do you classify a coverage hole as reachable, unreachable, or untested?
Coming soonPaid - Lab 88Debugging and verification closure
How do you use byte conservation and occupancy to detect silent data loss?
Coming soonPaid - Lab 89Debugging and verification closure
How do you prevent pre-reset responses from satisfying post-reset requests?
Coming soonPaid - Lab 90Debugging and verification closure
How do you verify the first successful transaction after an injected error?
Coming soonPaid
Module 10Integrated projects
- Lab 91Integrated projects
How do you verify an APB timer from programming to interrupt clear?
Coming soonPaid - Lab 92Integrated projects
How do you verify a packet formatter with empty payloads and partial beats?
Coming soonPaid - Lab 93Integrated projects
How do you check a packet parser against a C oracle for malformed and truncated input?
Coming soonPaid - Lab 94Integrated projects
How do you verify scatter-gather DMA descriptor order, byte counts, and recovery?
Coming soonPaid - Lab 95Integrated projects
How do you verify multi-channel DMA ordering, progress, and interrupt routing?
Coming soonPaid - Lab 96Integrated projects
How do you verify a fixed-point FIR for precision, sample order, and stalls?
Coming soonPaid - Lab 97Integrated projects
How do you verify cache hits, misses, and dirty evictions with a C memory model?
Coming soonPaid - Lab 98Integrated projects
How do you test a multiclock mailbox for delivery, reset recovery, and interrupts?
Coming soonPaid - Lab 99Integrated projects
How do you verify a register-controlled accelerator from configuration to result?
Coming soonPaid - Lab 100Integrated projects
How do you close verification of a streaming subsystem using a C oracle, mutations, coverage, and replay?
Coming soonPaid
