Skip to content
VLSI Mentor
Labs · RTL Design and Verification Using CComing soon

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.

100Labs
10Modules
30Published
RTL Design & Verification with CCategory
Scope. These labs assume basic C familiarity and use C as a hardware-engineering tool — bit-accurate models, stimulus, oracles, scoreboards and simulator harnesses. General-purpose C lessons are part of the separate C Programming track.
30 of 100 labs are published; the rest publish module by module. Enrollment is not open yet; one purchase will cover the entire collection.

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.

Module 110 labs

Bit-accurate combinational logic

RTLC-001 · RTLC-002 · RTLC-003 · RTLC-004 · RTLC-005 · RTLC-006 · RTLC-007 · RTLC-008 · RTLC-009 · RTLC-010

Module 210 labs

Sequential logic and timing

RTLC-011 · RTLC-012 · RTLC-013 · RTLC-014 · RTLC-015 · RTLC-016 · RTLC-017 · RTLC-018 · RTLC-019 · RTLC-020

Module 310 labs

Arithmetic datapaths

RTLC-021 · RTLC-022 · RTLC-023 · RTLC-024 · RTLC-025 · RTLC-026 · RTLC-027 · RTLC-028 · RTLC-029 · RTLC-030

Module 410 labs

Handshakes and pipelines

RTLC-031 · RTLC-032 · RTLC-033 · RTLC-034 · RTLC-035 · RTLC-036 · RTLC-037 · RTLC-038 · RTLC-039 · RTLC-040

Module 510 labs

Memories, registers, and interrupts

RTLC-041 · RTLC-042 · RTLC-043 · RTLC-044 · RTLC-045 · RTLC-046 · RTLC-047 · RTLC-048 · RTLC-049 · RTLC-050

Module 610 labs

Arbitration and bus interfaces

RTLC-051 · RTLC-052 · RTLC-053 · RTLC-054 · RTLC-055 · RTLC-056 · RTLC-057 · RTLC-058 · RTLC-059 · RTLC-060

Module 710 labs

Clock domains and recovery

RTLC-061 · RTLC-062 · RTLC-063 · RTLC-064 · RTLC-065 · RTLC-066 · RTLC-067 · RTLC-068 · RTLC-069 · RTLC-070

Module 810 labs

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

Module 910 labs

Debugging and verification closure

RTLC-081 · RTLC-082 · RTLC-083 · RTLC-084 · RTLC-085 · RTLC-086 · RTLC-087 · RTLC-088 · RTLC-089 · RTLC-090

Module 1010 labs

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.

100 of 100
Module
Difficulty
Status

Module 1Bit-accurate combinational logic

10 labs · 10 published
  1. Lab 1
    Bit-accurate combinational logic

    How do you model N-bit truncation in C after every hardware operation?

    Foundation·75 min
    FoundationPublishedPaid
  2. Lab 2
    Bit-accurate combinational logic

    How do you exhaustively verify a multiplexer against its truth table?

    Foundation·45 min
    FoundationPublishedPaid
  3. Lab 3
    Bit-accurate combinational logic

    How do you check a priority encoder with simultaneous requests?

    Foundation·60 min
    FoundationPublishedPaid
  4. Lab 4
    Bit-accurate combinational logic

    How do you test a decoder for unused input codes?

    Foundation·60 min
    FoundationPublishedPaid
  5. Lab 5
    Bit-accurate combinational logic

    Which injected bit errors can a parity checker detect?

    Foundation·75 min
    FoundationPublishedPaid
  6. Lab 6
    Bit-accurate combinational logic

    How do you verify a leading-zero counter when the entire word is zero?

    Foundation·60 min
    FoundationPublishedPaid
  7. Lab 7
    Bit-accurate combinational logic

    How do you distinguish logical and arithmetic right shifts?

    Foundation·75 min
    FoundationPublishedPaid
  8. Lab 8
    Bit-accurate combinational logic

    How do you test rotates at zero, word width, and larger shift amounts?

    Intermediate·90 min
    IntermediatePublishedPaid
  9. Lab 9
    Bit-accurate combinational logic

    How do you check sign extension across unequal RTL signal widths?

    Intermediate·75 min
    IntermediatePublishedPaid
  10. Lab 10
    Bit-accurate combinational logic

    How do you uncover swapped byte lanes with a C oracle?

    Foundation·60 min
    FoundationPublishedPaid

Module 2Sequential logic and timing

10 labs · 10 published
  1. Lab 11
    Sequential logic and timing

    How do you model simultaneous register updates from the same pre-edge state?

    Foundation·75 min
    FoundationPublishedPaid
  2. Lab 12
    Sequential logic and timing

    How do you test reset priority over register load and enable?

    Foundation·60 min
    FoundationPublishedPaid
  3. Lab 13
    Sequential logic and timing

    How do you check that a disabled register holds its value?

    Foundation·60 min
    FoundationPublishedPaid
  4. Lab 14
    Sequential logic and timing

    How do you distinguish wrapping from saturating counters at their limits?

    Foundation·60 min
    FoundationPublishedPaid
  5. Lab 15
    Sequential logic and timing

    How do you check timer expiry on reload, cancellation, and the last count?

    Intermediate·75 min
    IntermediatePublishedPaid
  6. Lab 16
    Sequential logic and timing

    How do you verify exact shift-register delay with consecutive inputs?

    Intermediate·75 min
    IntermediatePublishedPaid
  7. Lab 17
    Sequential logic and timing

    How do you test an edge detector for missing or repeated pulses?

    Foundation·60 min
    FoundationPublishedPaid
  8. Lab 18
    Sequential logic and timing

    How do you verify overlapping matches in a serial sequence detector?

    Intermediate·90 min
    IntermediatePublishedPaid
  9. Lab 19
    Sequential logic and timing

    How do you check state and output timing in a finite-state controller?

    Intermediate·90 min
    IntermediatePublishedPaid
  10. Lab 20
    Sequential logic and timing

    How do you test recovery after injecting an illegal controller state?

    Intermediate·75 min
    IntermediatePublishedPaid

Module 3Arithmetic datapaths

10 labs · 10 published
  1. Lab 21
    Arithmetic datapaths

    How do you distinguish adder carry-out from signed overflow?

    Foundation·60 min
    FoundationPublishedPaid
  2. Lab 22
    Arithmetic datapaths

    How do you verify a subtractor's borrow convention at numeric extremes?

    Foundation·60 min
    FoundationPublishedPaid
  3. Lab 23
    Arithmetic datapaths

    How do you check ALU results and flags with an independent C oracle?

    Intermediate·75 min
    IntermediatePublishedPaid
  4. Lab 24
    Arithmetic datapaths

    How do you verify mixed-sign multiplication and truncated product bits?

    Intermediate·75 min
    IntermediatePublishedPaid
  5. Lab 25
    Arithmetic datapaths

    How do you check quotient, remainder, and divide-by-zero behavior?

    Intermediate·75 min
    IntermediatePublishedPaid
  6. Lab 26
    Arithmetic datapaths

    How do you model fixed-point scaling and finite intermediate widths?

    Intermediate·90 min
    IntermediatePublishedPaid
  7. Lab 27
    Arithmetic datapaths

    How do you test nearest-even rounding on positive and negative ties?

    Intermediate·75 min
    IntermediatePublishedPaid
  8. Lab 28
    Arithmetic datapaths

    How do you verify a saturating MAC near both accumulator limits?

    Intermediate·90 min
    IntermediatePublishedPaid
  9. Lab 29
    Arithmetic datapaths

    How do you isolate misplaced lane products in a pipelined dot product?

    Advanced·90 min
    AdvancedPublishedPaid
  10. Lab 30
    Arithmetic datapaths

    How do you measure approximation error against a high-precision C model?

    Advanced·90 min
    AdvancedPublishedPaid

Module 4Handshakes and pipelines

10 labs · 0 published
  1. Lab 31
    Handshakes and pipelines

    How do you monitor accepted ready/valid transfers at clock edges?

    Coming soonPaid
  2. Lab 32
    Handshakes and pipelines

    How do you catch payload changes while a source waits for ready?

    Coming soonPaid
  3. Lab 33
    Handshakes and pipelines

    How do you test whether a skid buffer absorbs an extra beat?

    Coming soonPaid
  4. Lab 34
    Handshakes and pipelines

    How do you verify FIFO ordering under simultaneous reads and writes?

    Coming soonPaid
  5. Lab 35
    Handshakes and pipelines

    How do you test FIFO acceptance when reads and writes target full or empty boundaries?

    Coming soonPaid
  6. Lab 36
    Handshakes and pipelines

    How do you check pointer rollover in a non-power-of-two FIFO?

    Coming soonPaid
  7. Lab 37
    Handshakes and pipelines

    How do you verify a width converter's byte order and partial last beat?

    Coming soonPaid
  8. Lab 38
    Handshakes and pipelines

    How do you distinguish a pipeline bubble from a dropped transaction?

    Coming soonPaid
  9. Lab 39
    Handshakes and pipelines

    How do you verify that a flush discards the intended in-flight work?

    Coming soonPaid
  10. Lab 40
    Handshakes and pipelines

    How do you measure latency and throughput independently under stalls?

    Coming soonPaid

Module 5Memories, registers, and interrupts

10 labs · 0 published
  1. Lab 41
    Memories, registers, and interrupts

    How do you verify synchronous RAM latency with back-to-back accesses?

    Coming soonPaid
  2. Lab 42
    Memories, registers, and interrupts

    How do you distinguish read-first, write-first, and no-change collision modes?

    Coming soonPaid
  3. Lab 43
    Memories, registers, and interrupts

    How do you verify that byte write enables preserve untouched lanes?

    Coming soonPaid
  4. Lab 44
    Memories, registers, and interrupts

    How do you check a dual-port RAM against its defined access collision rules?

    Coming soonPaid
  5. Lab 45
    Memories, registers, and interrupts

    How do you test address decode boundaries and unmapped responses?

    Coming soonPaid
  6. Lab 46
    Memories, registers, and interrupts

    How do you model read-only, read-write, and reserved fields in C?

    Coming soonPaid
  7. Lab 47
    Memories, registers, and interrupts

    How do you check event priority when hardware sets a write-one-to-clear bit?

    Coming soonPaid
  8. Lab 48
    Memories, registers, and interrupts

    How do you verify status, masking, and interrupt output independently?

    Coming soonPaid
  9. Lab 49
    Memories, registers, and interrupts

    How do you test clear-on-read when the next request is already waiting?

    Coming soonPaid
  10. Lab 50
    Memories, registers, and interrupts

    How do you trace each interrupt source to the expected controller pending bit?

    Coming soonPaid

Module 6Arbitration and bus interfaces

10 labs · 0 published
  1. Lab 51
    Arbitration and bus interfaces

    How do you check fixed-priority grants when all requests arrive together?

    Coming soonPaid
  2. Lab 52
    Arbitration and bus interfaces

    How do you verify that round-robin priority advances on the specified event?

    Coming soonPaid
  3. Lab 53
    Arbitration and bus interfaces

    How do you measure bounded service under sustained contention?

    Coming soonPaid
  4. Lab 54
    Arbitration and bus interfaces

    How do you verify that packet arbitration holds ownership through stalls?

    Coming soonPaid
  5. Lab 55
    Arbitration and bus interfaces

    How do you check per-ID response ordering while allowing cross-ID reordering?

    Coming soonPaid
  6. Lab 56
    Arbitration and bus interfaces

    How do you verify routing through a two-master, two-target interconnect?

    Coming soonPaid
  7. Lab 57
    Arbitration and bus interfaces

    How do you check APB setup, access, wait cycles, and error completion?

    Coming soonPaid
  8. Lab 58
    Arbitration and bus interfaces

    How do you verify separately timed AXI write address and data channels?

    Coming soonPaid
  9. Lab 59
    Arbitration and bus interfaces

    How do you check burst addresses, beat counts, strobes, and final-beat signaling?

    Coming soonPaid
  10. Lab 60
    Arbitration and bus interfaces

    How do you verify credit accounting when sends and returns overlap?

    Coming soonPaid

Module 7Clock domains and recovery

10 labs · 0 published
  1. Lab 61
    Clock domains and recovery

    How do you check digital synchronizer behavior across varied clock phases?

    Coming soonPaid
  2. Lab 62
    Clock domains and recovery

    When can a slow destination clock miss a one-cycle source pulse?

    Coming soonPaid
  3. Lab 63
    Clock domains and recovery

    How do you test the event-spacing limit of a toggle synchronizer?

    Coming soonPaid
  4. Lab 64
    Clock domains and recovery

    How do you verify one stable payload per request in a CDC handshake?

    Coming soonPaid
  5. Lab 65
    Clock domains and recovery

    How do you check Gray-pointer one-bit transitions including wraparound?

    Coming soonPaid
  6. Lab 66
    Clock domains and recovery

    How do you verify asynchronous FIFO ordering under unequal clocks?

    Coming soonPaid
  7. Lab 67
    Clock domains and recovery

    How do you distinguish delayed FIFO flags from overflow or underflow?

    Coming soonPaid
  8. Lab 68
    Clock domains and recovery

    How do you test reset release independently in two clock domains?

    Coming soonPaid
  9. Lab 69
    Clock domains and recovery

    How do you check bridge recovery when one side resets with outstanding traffic?

    Coming soonPaid
  10. Lab 70
    Clock domains and recovery

    How do you verify the first accepted transaction after clock-gated wakeup?

    Coming soonPaid

Module 8C-to-RTL verification harnesses

10 labs · 0 published
  1. Lab 71
    C-to-RTL verification harnesses

    How do you replay cycle-stamped stimuli in C and an RTL simulator?

    Coming soonPaid
  2. Lab 72
    C-to-RTL verification harnesses

    How do you verify signedness at a SystemVerilog DPI-C boundary?

    Coming soonPaid
  3. Lab 73
    C-to-RTL verification harnesses

    How do you drive Verilated RTL from C through a C++ wrapper?

    Coming soonPaid
  4. Lab 74
    C-to-RTL verification harnesses

    How do you preserve unknown-bit information in a four-state comparison?

    Coming soonPaid
  5. Lab 75
    C-to-RTL verification harnesses

    How do you score expected values independently of expected timing?

    Coming soonPaid
  6. Lab 76
    C-to-RTL verification harnesses

    How do you detect missing or duplicate completions with outstanding requests?

    Coming soonPaid
  7. Lab 77
    C-to-RTL verification harnesses

    How do you implement C monitors for bounded response and signal stability?

    Coming soonPaid
  8. Lab 78
    C-to-RTL verification harnesses

    How do you seed randomized traffic and replay the first mismatch?

    Coming soonPaid
  9. Lab 79
    C-to-RTL verification harnesses

    How do you track functional coverage across resets, stalls, and boundary values?

    Coming soonPaid
  10. Lab 80
    C-to-RTL verification harnesses

    How do you minimize a replay trace while preserving its failure signature?

    Coming soonPaid

Module 9Debugging and verification closure

10 labs · 0 published
  1. Lab 81
    Debugging and verification closure

    How do you distinguish a sampling-phase mistake from an RTL state bug?

    Coming soonPaid
  2. Lab 82
    Debugging and verification closure

    How do you trace a signedness mismatch to the first wrong datapath stage?

    Coming soonPaid
  3. Lab 83
    Debugging and verification closure

    Which reset and handshake events are necessary to reproduce an intermittent failure?

    Coming soonPaid
  4. Lab 84
    Debugging and verification closure

    How do you use deliberate RTL mutations to test checker effectiveness?

    Coming soonPaid
  5. Lab 85
    Debugging and verification closure

    How do you compare two microarchitectures with different latencies against one oracle?

    Coming soonPaid
  6. Lab 86
    Debugging and verification closure

    How do you catch a shared RTL and model assumption using an exhaustive small-domain check?

    Coming soonPaid
  7. Lab 87
    Debugging and verification closure

    How do you classify a coverage hole as reachable, unreachable, or untested?

    Coming soonPaid
  8. Lab 88
    Debugging and verification closure

    How do you use byte conservation and occupancy to detect silent data loss?

    Coming soonPaid
  9. Lab 89
    Debugging and verification closure

    How do you prevent pre-reset responses from satisfying post-reset requests?

    Coming soonPaid
  10. Lab 90
    Debugging and verification closure

    How do you verify the first successful transaction after an injected error?

    Coming soonPaid

Module 10Integrated projects

10 labs · 0 published
  1. Lab 91
    Integrated projects

    How do you verify an APB timer from programming to interrupt clear?

    Coming soonPaid
  2. Lab 92
    Integrated projects

    How do you verify a packet formatter with empty payloads and partial beats?

    Coming soonPaid
  3. Lab 93
    Integrated projects

    How do you check a packet parser against a C oracle for malformed and truncated input?

    Coming soonPaid
  4. Lab 94
    Integrated projects

    How do you verify scatter-gather DMA descriptor order, byte counts, and recovery?

    Coming soonPaid
  5. Lab 95
    Integrated projects

    How do you verify multi-channel DMA ordering, progress, and interrupt routing?

    Coming soonPaid
  6. Lab 96
    Integrated projects

    How do you verify a fixed-point FIR for precision, sample order, and stalls?

    Coming soonPaid
  7. Lab 97
    Integrated projects

    How do you verify cache hits, misses, and dirty evictions with a C memory model?

    Coming soonPaid
  8. Lab 98
    Integrated projects

    How do you test a multiclock mailbox for delivery, reset recovery, and interrupts?

    Coming soonPaid
  9. Lab 99
    Integrated projects

    How do you verify a register-controlled accelerator from configuration to result?

    Coming soonPaid
  10. Lab 100
    Integrated projects

    How do you close verification of a streaming subsystem using a C oracle, mutations, coverage, and replay?

    Coming soonPaid