Skip to content
VLSI Mentor
Labs · RTL Verification Using C++Coming soon

RTL Verification Using C++.

Use C++ to verify RTL through simulator harnesses, independent reference models, scoreboards and regression tooling. One hundred labs in ten modules take you from cycle models, handshakes and FIFOs through registers, fixed-point datapaths and transaction-level checking to random stimulus, clock domains, subsystem reference models and capstones.

100Labs
10Modules
30Published
Design Verification with C++Category
Scope. These labs assume basic C++ and RTL familiarity and use C++ as the verification language. C++ language fundamentals 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 starts with an RTL behavior to verify using a C++ simulator harness, independent reference model, scoreboard or regression tool.

Module 110 labs

Cycle models

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

Module 210 labs

Handshakes and pipelines

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

Module 310 labs

FIFOs and arbitration

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

Module 410 labs

Registers and memories

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

Module 510 labs

Datapaths and fixed-point arithmetic

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

Module 610 labs

Transaction-level verification

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

Module 710 labs

Random stimulus, coverage, and debug

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

Module 810 labs

Clock domains, reset, and recovery

CPPV-071 · CPPV-072 · CPPV-073 · CPPV-074 · CPPV-075 · CPPV-076 · CPPV-077 · CPPV-078 · CPPV-079 · CPPV-080

Module 910 labs

Subsystem reference models

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

Module 1010 labs

Advanced verification and capstones

CPPV-091 · CPPV-092 · CPPV-093 · CPPV-094 · CPPV-095 · CPPV-096 · CPPV-097 · CPPV-098 · CPPV-099 · CPPV-100

Lab numbers are stable. Each lab opens here as it 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 1Cycle models

10 labs · 10 published
  1. Lab 1
    Cycle models

    Counter Wrap Under Intermittent Enable

    Can you predict when an N-bit counter wraps under intermittent enable?

    Foundation·50 min
    FoundationPublishedPaid
  2. Lab 2
    Cycle models

    Saturating Accumulator at Both Limits

    Can you verify a saturating accumulator at both limits and on recovery?

    Foundation·50 min
    FoundationPublishedPaid
  3. Lab 3
    Cycle models

    Signed Comparison Operands

    Can you catch unsigned interpretation of signed comparison operands?

    Foundation·45 min
    FoundationPublishedPaid
  4. Lab 4
    Cycle models

    Zero Shifts, Maximum Shifts and Sign Fill

    Can you check zero shifts, maximum shifts, and sign fill?

    Foundation·45 min
    FoundationPublishedPaid
  5. Lab 5
    Cycle models

    Priority Encoding with Simultaneous and No Inputs

    Can you check priority encoding with simultaneous inputs and no inputs?

    Foundation·40 min
    FoundationPublishedPaid
  6. Lab 6
    Cycle models

    Byte-Masked Register Writes

    Can you predict which register bytes change under a masked write?

    Foundation·45 min
    FoundationPublishedPaid
  7. Lab 7
    Cycle models

    Reset Priority When Reset and Enable Coincide

    Can you check reset priority when reset and enable coincide?

    Foundation·45 min
    FoundationPublishedPaid
  8. Lab 8
    Cycle models

    Register Hold Across Disabled Cycles

    Can you verify register hold behavior across disabled cycles?

    Foundation·45 min
    FoundationPublishedPaid
  9. Lab 9
    Cycle models

    Scheduling Stimulus and Observation to Expose a Cycle-Early Output

    Can you schedule C++ stimulus and observation to expose a cycle-early check?

    Intermediate·60 min
    IntermediatePublishedPaid
  10. Lab 10
    Cycle models

    Register Swap from a Pre-Edge Snapshot

    Can you model a register swap using one snapshot of pre-edge state?

    Intermediate·45 min
    IntermediatePublishedPaid

Module 2Handshakes and pipelines

10 labs · 10 published
  1. Lab 11
    Handshakes and pipelines

    Matching Fixed-Latency Results to Their Accepting Cycle

    Can you match fixed-latency results to the cycle that accepted their inputs?

    Intermediate·50 min
    IntermediatePublishedPaid
  2. Lab 12
    Handshakes and pipelines

    Tracking Bubbles Through a Stallable Pipeline

    Can you track pipeline bubbles through multiple stages?

    Intermediate·50 min
    IntermediatePublishedPaid
  3. Lab 13
    Handshakes and pipelines

    Counting Each Ready/Valid Transfer Exactly Once

    Can you count each ready/valid transfer exactly once?

    Intermediate·50 min
    IntermediatePublishedPaid
  4. Lab 14
    Handshakes and pipelines

    Payload and Valid Stability While Stalled

    Can you detect payload or valid changes while an output is stalled?

    Intermediate·50 min
    IntermediatePublishedPaid
  5. Lab 15
    Handshakes and pipelines

    Elastic-Buffer Occupancy Under Simultaneous Transfers

    Can you predict elastic-buffer occupancy during simultaneous transfers?

    Intermediate·50 min
    IntermediatePublishedPaid
  6. Lab 16
    Handshakes and pipelines

    Skid Buffer Retention of the Beat Accepted Before a Stall

    Can you verify that a skid buffer retains the beat accepted before a stall?

    Intermediate·55 min
    IntermediatePublishedPaid
  7. Lab 17
    Handshakes and pipelines

    Transactions Discarded or Preserved by a Pipeline Flush

    Can you identify transactions discarded or preserved by a pipeline flush?

    Intermediate·55 min
    IntermediatePublishedPaid
  8. Lab 18
    Handshakes and pipelines

    Forwarding When the Stored Result Is Stale

    Can you verify forwarding when the stored pipeline result is stale?

    Intermediate·55 min
    IntermediatePublishedPaid
  9. Lab 19
    Handshakes and pipelines

    Lost, Duplicated and Late Responses in a Latency Window

    Can you detect lost, duplicated, and late responses within a latency window?

    Advanced·60 min
    AdvancedPublishedPaid
  10. Lab 20
    Handshakes and pipelines

    Sustained Throughput and Avoidable Bubbles

    Can you measure sustained throughput and locate avoidable bubbles?

    Advanced·60 min
    AdvancedPublishedPaid

Module 3FIFOs and arbitration

10 labs · 10 published
  1. Lab 21
    FIFOs and arbitration

    FIFO Order and Payload Conservation with a C++ Queue

    Can you check FIFO order and payload conservation with a C++ queue?

    Intermediate·50 min
    IntermediatePublishedPaid
  2. Lab 22
    FIFOs and arbitration

    Pointer Wraparound at a Non-Power-of-Two Depth

    Can you exercise both pointers through wraparound at a non-power-of-two depth?

    Intermediate·50 min
    IntermediatePublishedPaid
  3. Lab 23
    FIFOs and arbitration

    Push and Pop Acceptance at the Full Boundary

    Can you verify push and pop acceptance at the full boundary?

    Intermediate·50 min
    IntermediatePublishedPaid
  4. Lab 24
    FIFOs and arbitration

    Fall-Through Behaviour at the Empty Boundary

    Can you check the specified fall-through behavior at the empty boundary?

    Intermediate·50 min
    IntermediatePublishedPaid
  5. Lab 25
    FIFOs and arbitration

    Almost-Full Flag Transitions Around the Threshold

    Can you verify almost-full flag transitions around the occupancy threshold?

    Intermediate·45 min
    IntermediatePublishedPaid
  6. Lab 26
    FIFOs and arbitration

    Overflow and Underflow Flags with Preserved Contents

    Can you check overflow and underflow flags and preservation of queue contents?

    Intermediate·50 min
    IntermediatePublishedPaid
  7. Lab 27
    FIFOs and arbitration

    Fixed-Priority Grants Among Eligible Requesters

    Can you detect a fixed-priority grant to the wrong eligible requester?

    Intermediate·45 min
    IntermediatePublishedPaid
  8. Lab 28
    FIFOs and arbitration

    Round-Robin Grant Order Under Stalls

    Can you predict round-robin grant order under simultaneous requests and stalls?

    Intermediate·50 min
    IntermediatePublishedPaid
  9. Lab 29
    FIFOs and arbitration

    Weighted Round-Robin Service Against Configured Weights

    Can you compare service counts with configured weights under sustained demand?

    Advanced·55 min
    AdvancedPublishedPaid
  10. Lab 30
    FIFOs and arbitration

    Lost, Duplicated and Misrouted Transactions in a Crossbar

    Can you detect lost, duplicated, or misrouted transactions in a crossbar?

    Advanced·60 min
    AdvancedPublishedPaid

Module 4Registers and memories

10 labs · 0 published
  1. Lab 31
    Registers and memories

    Can you check reset values and register access permissions?

    Coming soonPaid
  2. Lab 32
    Registers and memories

    Can you resolve simultaneous set and write-one-to-clear of a status bit?

    Coming soonPaid
  3. Lab 33
    Registers and memories

    Can you verify read-to-clear data and side-effect timing?

    Coming soonPaid
  4. Lab 34
    Registers and memories

    Can you check that a short event remains pending until acknowledged?

    Coming soonPaid
  5. Lab 35
    Registers and memories

    Can you detect address aliasing across register bank boundaries?

    Coming soonPaid
  6. Lab 36
    Registers and memories

    Can you check that an unmapped write reports an error and preserves state?

    Coming soonPaid
  7. Lab 37
    Registers and memories

    Can you predict single-port RAM read-during-write behavior?

    Coming soonPaid
  8. Lab 38
    Registers and memories

    Can you check defined collisions in dual-port RAM?

    Coming soonPaid
  9. Lab 39
    Registers and memories

    Can you inject ECC faults and check single-bit correction and double-bit detection?

    Coming soonPaid
  10. Lab 40
    Registers and memories

    Can you model indirect registers with index selection and auto-increment?

    Coming soonPaid

Module 5Datapaths and fixed-point arithmetic

10 labs · 0 published
  1. Lab 41
    Datapaths and fixed-point arithmetic

    Can you predict unsigned carry and signed overflow independently?

    Coming soonPaid
  2. Lab 42
    Datapaths and fixed-point arithmetic

    Can you determine which product bits survive truncation for signed and unsigned inputs?

    Coming soonPaid
  3. Lab 43
    Datapaths and fixed-point arithmetic

    Can you check fixed-point tie-breaking for positive and negative inputs?

    Coming soonPaid
  4. Lab 44
    Datapaths and fixed-point arithmetic

    Can you detect saturation performed after the result has already narrowed?

    Coming soonPaid
  5. Lab 45
    Datapaths and fixed-point arithmetic

    Can you catch a stale multiply-accumulate result at a frame boundary?

    Coming soonPaid
  6. Lab 46
    Datapaths and fixed-point arithmetic

    Can you check divider quotient, remainder, and divide-by-zero behavior?

    Coming soonPaid
  7. Lab 47
    Datapaths and fixed-point arithmetic

    Can you check leading-zero counts for one-hot and all-zero inputs?

    Coming soonPaid
  8. Lab 48
    Datapaths and fixed-point arithmetic

    Can you compare CRC results against independent vectors and diagnose bit-order errors?

    Coming soonPaid
  9. Lab 49
    Datapaths and fixed-point arithmetic

    Can you predict FIR impulse and step responses with the specified quantization?

    Coming soonPaid
  10. Lab 50
    Datapaths and fixed-point arithmetic

    Can you check checksum accumulation across partial final beats and adjacent packets?

    Coming soonPaid

Module 6Transaction-level verification

10 labs · 0 published
  1. Lab 51
    Transaction-level verification

    Can you drive a register transaction and reconstruct it independently from bus samples?

    Coming soonPaid
  2. Lab 52
    Transaction-level verification

    Can you detect duplicate side effects when completion takes several cycles?

    Coming soonPaid
  3. Lab 53
    Transaction-level verification

    Can you predict fixed, incrementing, and wrapping burst addresses?

    Coming soonPaid
  4. Lab 54
    Transaction-level verification

    Can you check byte placement and error behavior for unaligned transfers?

    Coming soonPaid
  5. Lab 55
    Transaction-level verification

    Can you match outstanding responses by ID and verify ordering within each ID?

    Coming soonPaid
  6. Lab 56
    Transaction-level verification

    Can you accept legal reordering while detecting an incorrect response?

    Coming soonPaid
  7. Lab 57
    Transaction-level verification

    Can you correlate independently arriving command and data beats?

    Coming soonPaid
  8. Lab 58
    Transaction-level verification

    Can you check memory effects after a burst error on a middle beat?

    Coming soonPaid
  9. Lab 59
    Transaction-level verification

    Can you prevent an expired response from satisfying a later transaction?

    Coming soonPaid
  10. Lab 60
    Transaction-level verification

    Can you check address, data, byte-enable, and error translation across a bridge?

    Coming soonPaid

Module 7Random stimulus, coverage, and debug

10 labs · 0 published
  1. Lab 61
    Random stimulus, coverage, and debug

    Can you reproduce a randomized failure from its saved seed and configuration?

    Coming soonPaid
  2. Lab 62
    Random stimulus, coverage, and debug

    Can you generate legal randomized transfers and measure exposure to rare cases?

    Coming soonPaid
  3. Lab 63
    Random stimulus, coverage, and debug

    Can you bias stimulus toward width, depth, and alignment boundaries?

    Coming soonPaid
  4. Lab 64
    Random stimulus, coverage, and debug

    Can you build functional coverage bins for observed operating modes?

    Coming soonPaid
  5. Lab 65
    Random stimulus, coverage, and debug

    Can you cross FIFO occupancy with backpressure and concurrent transfers?

    Coming soonPaid
  6. Lab 66
    Random stimulus, coverage, and debug

    Can you detect expected responses left pending at the end of a test?

    Coming soonPaid
  7. Lab 67
    Random stimulus, coverage, and debug

    Can you minimize stimulus while preserving the first mismatch?

    Coming soonPaid
  8. Lab 68
    Random stimulus, coverage, and debug

    Can you use a cycle log and waveform to trace the first state divergence?

    Coming soonPaid
  9. Lab 69
    Random stimulus, coverage, and debug

    Can you aggregate seed, configuration, coverage, and failure data across runs?

    Coming soonPaid
  10. Lab 70
    Random stimulus, coverage, and debug

    Can you inject controlled RTL defects and measure which checks catch them?

    Coming soonPaid

Module 8Clock domains, reset, and recovery

10 labs · 0 published
  1. Lab 71
    Clock domains, reset, and recovery

    Can you predict what happens to in-flight operations when reset interrupts traffic?

    Coming soonPaid
  2. Lab 72
    Clock domains, reset, and recovery

    Can you verify startup ordering with staggered reset release?

    Coming soonPaid
  3. Lab 73
    Clock domains, reset, and recovery

    Can you schedule two independent clocks and sample observations by domain?

    Coming soonPaid
  4. Lab 74
    Clock domains, reset, and recovery

    Can you sweep clock ratios and phases to check specified pulse capture guarantees?

    Coming soonPaid
  5. Lab 75
    Clock domains, reset, and recovery

    Can you check ordering and data conservation through an asynchronous FIFO?

    Coming soonPaid
  6. Lab 76
    Clock domains, reset, and recovery

    Can you distinguish permitted FIFO flag latency from illegal acceptance?

    Coming soonPaid
  7. Lab 77
    Clock domains, reset, and recovery

    Can you check state retention across clock gating and functional restart?

    Coming soonPaid
  8. Lab 78
    Clock domains, reset, and recovery

    Can you check which subsystem state is preserved after a soft reset?

    Coming soonPaid
  9. Lab 79
    Clock domains, reset, and recovery

    Can you verify watchdog expiry, reporting, and recovery of subsequent traffic?

    Coming soonPaid
  10. Lab 80
    Clock domains, reset, and recovery

    Can you check reset priority when a fault occurs on the same edge?

    Coming soonPaid

Module 9Subsystem reference models

10 labs · 0 published
  1. Lab 81
    Subsystem reference models

    Can you verify that each interrupt source maps to the correct controller input?

    Coming soonPaid
  2. Lab 82
    Subsystem reference models

    Can you predict interrupt selection when priorities and masks change?

    Coming soonPaid
  3. Lab 83
    Subsystem reference models

    Can you check timer compare timing across rollover and near-edge writes?

    Coming soonPaid
  4. Lab 84
    Subsystem reference models

    Can you predict DMA destination bytes and status from a descriptor?

    Coming soonPaid
  5. Lab 85
    Subsystem reference models

    Can you walk a scatter-gather chain and verify each segment and completion?

    Coming soonPaid
  6. Lab 86
    Subsystem reference models

    Can you check data integrity and service fairness under DMA channel contention?

    Coming soonPaid
  7. Lab 87
    Subsystem reference models

    Can you replay a driver-style sequence and compare peripheral outputs and bus responses?

    Coming soonPaid
  8. Lab 88
    Subsystem reference models

    Can you detect stale descriptor reuse after a ring wraps?

    Coming soonPaid
  9. Lab 89
    Subsystem reference models

    Can you verify power-state request, acknowledgment, denial, and completion?

    Coming soonPaid
  10. Lab 90
    Subsystem reference models

    Can you reconcile ingress, memory, and egress traffic under stalls and faults?

    Coming soonPaid

Module 10Advanced verification and capstones

10 labs · 0 published
  1. Lab 91
    Advanced verification and capstones

    Can you connect a C++ oracle to an HDL testbench and check data conversion and timing?

    Coming soonPaid
  2. Lab 92
    Advanced verification and capstones

    Can you preserve and check X/Z values through a four-state simulator interface?

    Coming soonPaid
  3. Lab 93
    Advanced verification and capstones

    Can you locate the first divergence between independently modeled and RTL state?

    Coming soonPaid
  4. Lab 94
    Advanced verification and capstones

    Can you compare architectural state at commit across different pipeline timings?

    Coming soonPaid
  5. Lab 95
    Advanced verification and capstones

    Can you verify a datapath with input transformations that imply output relationships?

    Coming soonPaid
  6. Lab 96
    Advanced verification and capstones

    Can you enumerate bounded arbiter traces and report the shortest failing sequence?

    Coming soonPaid
  7. Lab 97
    Advanced verification and capstones

    Can you checkpoint model state and replay a late failure?

    Coming soonPaid
  8. Lab 98
    Advanced verification and capstones

    Can you close a coverage gap and demonstrate that the new check catches a defect?

    Coming soonPaid
  9. Lab 99
    Advanced verification and capstones

    Can you verify a packet switch under concurrent traffic and backpressure?

    Coming soonPaid
  10. Lab 100
    Advanced verification and capstones

    Can you verify DMA registers, descriptors, memory effects, interrupts, and fault recovery?

    Coming soonPaid