DDR Concepts Labs.
Learn memory-controller RTL design and UVM verification through a simplified memory model. Fifty labs in ten modules take you from address decoding and request handshakes to bank state, timing enforcement, scheduling, ordering hazards, refresh, ECC, coverage closure and a capstone sign-off.

10 modules · 50 labs
Each lab poses one engineering question about building or verifying part of a memory controller. The modules build from addressing and bank sequencing to a UVM subsystem regression and sign-off.
Addressing and Request Interfaces
DDRC-01 · DDRC-02 · DDRC-03 · DDRC-04 · DDRC-05
Banks, Rows, and Command Sequencing
DDRC-06 · DDRC-07 · DDRC-08 · DDRC-09 · DDRC-10
Configurable Timing and Data Transfer
DDRC-11 · DDRC-12 · DDRC-13 · DDRC-14 · DDRC-15
Queues, Arbitration, and Scheduling
DDRC-16 · DDRC-17 · DDRC-18 · DDRC-19 · DDRC-20
Ordering, Hazards, and Multi-Beat Responses
DDRC-21 · DDRC-22 · DDRC-23 · DDRC-24 · DDRC-25
Refresh, Idle Control, and Reset
DDRC-26 · DDRC-27 · DDRC-28 · DDRC-29 · DDRC-30
UVM Environment and Reference Checking
DDRC-31 · DDRC-32 · DDRC-33 · DDRC-34 · DDRC-35
UVM Stress, Assertions, and Coverage Closure
DDRC-36 · DDRC-37 · DDRC-38 · DDRC-39 · DDRC-40
Error Handling and Performance Analysis
DDRC-41 · DDRC-42 · DDRC-43 · DDRC-44 · DDRC-45
Integration and Capstone
DDRC-46 · DDRC-47 · DDRC-48 · DDRC-49 · DDRC-50
Lab numbers are stable. Published labs open their reader; the rest open here as each one is published.
All 50 labs
Search and filter the full curriculum. Titles, previews and metadata are free to browse — full lab content requires the labs package.
Module 1Addressing and Request Interfaces
- Lab 1Addressing and Request Interfaces
Address Decoder
Can you split a byte address into byte offset, column, bank, and row fields, then verify every field boundary with a self-checking testbench?
PublishedPaid - Lab 2Addressing and Request Interfaces
Configurable Address Mapping
Can you implement two mappings, one that keeps nearby accesses in the same row and one that spreads them across banks, then compare both with a sequential address trace?
PublishedPaid - Lab 3Addressing and Request Interfaces
Request Handshake
Can you accept a read or write request using
validandreadywhile ensuring the payload stays stable during backpressure and each accepted request is counted once?PublishedPaid - Lab 4Addressing and Request Interfaces
Burst Address Generator
Can you generate the address for every beat of an incrementing burst and split the request when the next beat maps to a different row?
PublishedPaid - Lab 5Addressing and Request Interfaces
Byte-Enabled Writes
Can you update only the enabled bytes of a memory word and verify that disabled bytes retain their previous values under overlapping writes?
PublishedPaid
Module 2Banks, Rows, and Command Sequencing
- Lab 6Banks, Rows, and Command Sequencing
Single-Bank State Machine
Can you model a bank as closed or open, track the open row, and reject an access when the requested row differs from the open row?
PublishedPaid - Lab 7Banks, Rows, and Command Sequencing
Row Hit, Closed Bank, and Row Conflict
Can you classify each request and generate the correct sequence of abstract
OPEN,ACCESS, andCLOSEcommands?PublishedPaid - Lab 8Banks, Rows, and Command Sequencing
Multi-Bank State Tracking
Can you track open rows independently across banks and prove that opening or closing one bank leaves the others untouched?
PublishedPaid - Lab 9Banks, Rows, and Command Sequencing
Open-Row and Close-After-Access Policies
Can you implement both policies and measure command count and request latency for sequential and alternating-row traffic?
PublishedPaid - Lab 10Banks, Rows, and Command Sequencing
Command Backpressure
Can you stall the command interface mid-sequence and prove that the controller neither advances early nor issues the same command twice?
PublishedPaid
Module 3Configurable Timing and Data Transfer
- Lab 11Configurable Timing and Data Transfer
Open-to-Access Timing
Can you make the controller enforce a configurable gap between
OPENandACCESSand catch a one-cycle-early access with an assertion?PublishedPaid - Lab 12Configurable Timing and Data Transfer
Minimum Open Time and Reopen Delay
Can you enforce the earliest legal
CLOSEand the earliest subsequentOPEN, including exact-cycle boundary tests?PublishedPaid - Lab 13Configurable Timing and Data Transfer
Write Recovery
Can you prevent a bank from closing until the configured recovery interval has elapsed after the final accepted write beat?
PublishedPaid - Lab 14Configurable Timing and Data Transfer
Read-to-Write Turnaround
Can you reserve a shared data path for read returns and writes so that a delayed read burst cannot collide with an upcoming write?
PublishedPaid - Lab 15Configurable Timing and Data Transfer
Per-Bank and Shared Timing
Can you combine local timing restrictions with a shared command issue gap so that a blocked bank does not stall an eligible bank?
PublishedPaid
Module 4Queues, Arbitration, and Scheduling
- Lab 16Queues, Arbitration, and Scheduling
Request FIFO
Can you implement a parameterized FIFO that handles simultaneous push and pop, pointer wraparound, and full or empty transitions without losing a request?
PublishedPaid - Lab 17Queues, Arbitration, and Scheduling
Per-Bank Request Queues
Can you dispatch requests to per-bank queues and demonstrate when this removes head-of-line blocking compared with a single FIFO?
PublishedPaid - Lab 18Queues, Arbitration, and Scheduling
Round-Robin Arbitration
Can you schedule eligible banks fairly under sustained traffic and show that an ineligible bank does not consume a grant?
PublishedPaid - Lab 19Queues, Arbitration, and Scheduling
Row-Hit Scheduling With Aging
Can you prioritize ready row hits while ensuring an older row conflict eventually runs under a defined service assumption?
PublishedPaid - Lab 20Queues, Arbitration, and Scheduling
Write Draining
Can you enter and leave write-drain mode using queue watermarks while preserving a service opportunity for reads under sustained write traffic?
PublishedPaid
Module 5Ordering, Hazards, and Multi-Beat Responses
- Lab 21Ordering, Hazards, and Multi-Beat Responses
Outstanding Request IDs
Can you allocate and retire IDs so that multiple reads can be outstanding and every response matches exactly one live request?
PublishedPaid - Lab 22Ordering, Hazards, and Multi-Beat Responses
Out-of-Order Completion
Can you allow independent banks to finish in a different order and correctly associate each response with its original requester?
PublishedPaid - Lab 23Ordering, Hazards, and Multi-Beat Responses
Read After Pending Write
Can you stall a read that overlaps an older pending write and verify that unrelated reads continue to make progress?
PublishedPaid - Lab 24Ordering, Hazards, and Multi-Beat Responses
Write-to-Read Forwarding
Can you forward bytes from older pending writes, select the newest eligible value for each byte, and obtain the remaining bytes from memory?
PublishedPaid - Lab 25Ordering, Hazards, and Multi-Beat Responses
Burst Response Tracking
Can you track the beat count and final-beat signal for each outstanding read while independently applying backpressure to the response path?
PublishedPaid
Module 6Refresh, Idle Control, and Reset
- Lab 26Refresh, Idle Control, and Reset
Periodic Refresh Request
Can you generate refresh requests at a configurable interval and prove the timer behaves correctly at expiry, reset, and counter wraparound?
PublishedPaid - Lab 27Refresh, Idle Control, and Reset
Refresh Under Traffic
Can you finish in-flight operations, close affected banks, issue refresh, and resume queued traffic without losing or duplicating accepted requests?
PublishedPaid - Lab 28Refresh, Idle Control, and Reset
Bounded Refresh Deferral
Can you defer refresh to finish useful work while guaranteeing that refresh service stays within a configured deadline under continuous load?
PublishedPaid - Lab 29Refresh, Idle Control, and Reset
Self-Refresh Coordination
Can you enter a simplified self-refresh state only after required work drains, then handle a new request arriving on the cycle of entry?
PublishedPaid - Lab 30Refresh, Idle Control, and Reset
Reset With Outstanding Work
Can you define and verify what happens to queued requests, partially transferred writes, and late read responses when reset occurs mid-transaction?
PublishedPaid
Module 7UVM Environment and Reference Checking
- Lab 31UVM Environment and Reference Checking
Transaction and Sequence Design
Can you model reads, writes, masks, burst lengths, and IDs as UVM transactions, then generate legal traffic and deliberate boundary cases?
PublishedPaid - Lab 32UVM Environment and Reference Checking
Backpressure-Aware UVM Driver
Can you build a driver that holds request fields stable until acceptance and drives back-to-back requests without inserting unintended idle cycles?
PublishedPaid - Lab 33UVM Environment and Reference Checking
Independent UVM Monitors
Can you reconstruct accepted requests, issued commands, and returned responses from interface activity and publish each through the appropriate analysis port?
PublishedPaid - Lab 34UVM Environment and Reference Checking
Byte-Addressable Reference Model
Can you predict memory contents independently of the DUT, accounting for partial writes and the controller’s documented write visibility rules?
PublishedPaid - Lab 35UVM Environment and Reference Checking
UVM Scoreboard
Can you compare out-of-order, multi-beat responses by ID and flag wrong data, duplicate beats, unexpected responses, and unfinished reads at test end?
PublishedPaid
Module 8UVM Stress, Assertions, and Coverage Closure
- Lab 36UVM Stress, Assertions, and Coverage Closure
Concurrent Traffic With Virtual Sequences
Can you combine random requests, response stalls, and refresh activity while keeping any failure reproducible from its seed?
PublishedPaid - Lab 37UVM Stress, Assertions, and Coverage Closure
Bank and Timing Assertions
Can you write assertions that identify the first illegal command or timing boundary violation before it becomes a data mismatch?
PublishedPaid - Lab 38UVM Stress, Assertions, and Coverage Closure
Functional Coverage Plan
Can you cross request type, bank relationship, row hit or conflict, and refresh overlap, then explain which combinations are unreachable?
PublishedPaid - Lab 39UVM Stress, Assertions, and Coverage Closure
Coverage-Driven Sequence Refinement
Can you close a hole involving a row conflict, a nearly full queue, and an imminent refresh deadline without simply increasing the seed count?
PublishedPaid - Lab 40UVM Stress, Assertions, and Coverage Closure
Checker Validation and Debug
Can you introduce a controlled one-cycle timing defect and a masked-byte defect separately, then show which checker catches each and how the waveform confirms the cause?
PublishedPaid
Module 9Error Handling and Performance Analysis
- Lab 41Error Handling and Performance Analysis
Parity-Protected Request Queue
Can you add parity to queued request metadata and verify that detected corruption produces the specified error response without issuing a memory command?
PublishedPaid - Lab 42Error Handling and Performance Analysis
SECDED-Protected Data
Can you implement single-error correction and double-error detection for a memory word, then verify clean, corrected, and uncorrectable read cases?
PublishedPaid - Lab 43Error Handling and Performance Analysis
Scrubbing and Concurrent Writes
Can you write corrected data back in the background while ensuring that a newer host write to the same address keeps priority?
PublishedPaid - Lab 44Error Handling and Performance Analysis
Latency and Throughput Measurement
Can you measure request wait time, end-to-end latency, and useful data throughput, then explain why two workloads with the same request count differ?
PublishedPaid - Lab 45Error Handling and Performance Analysis
Scheduler Trade-Off Study
Can you compare round-robin and row-hit scheduling on streaming, random, and bank-conflict traffic and explain the trade-off between throughput and worst-case latency?
PublishedPaid
Module 10Integration and Capstone
- Lab 46Integration and Capstone
Configurable Memory Controller
Can you integrate address mapping, queues, bank tracking, timing enforcement, and refresh into one RTL controller and verify two configurations against the same memory model?
PublishedPaid - Lab 47Integration and Capstone
Register Control With UVM RAL
Can you add configuration, status, and error registers, then verify reset values, field access policies, and when configuration changes take effect during traffic?
PublishedPaid - Lab 48Integration and Capstone
Clock-Domain Crossing
Can you connect host and controller clock domains with asynchronous request and response FIFOs, then stress them with unrelated clock ratios, stalls, and documented reset sequencing?
PublishedPaid - Lab 49Integration and Capstone
Subsystem UVM Regression
Can you build a compact regression that covers mixed traffic, ordering hazards, refresh deadlines, ECC events, reset under load, and the remaining functional coverage holes?
PublishedPaid - Lab 50Integration and Capstone
Capstone Debug and Sign-Off
Can you reproduce a masked-write mismatch during refresh and queue saturation, isolate the first incorrect event, fix the RTL, and produce a sign-off report backed by assertions, scoreboard results, and coverage?
PublishedPaid
