CXL Concepts — RTL Design & UVM Verification.
A structured collection of 50 practical engineering labs covering CXL transaction concepts, RTL microarchitecture, SystemVerilog assertions, UVM verification, cache coherency, transaction ordering, debugging, and subsystem integration. The designs are CXL-inspired educational models — they make no claim of compliance with a CXL specification revision.

Five modules — protocol foundations to subsystem integration
CXL Architecture & Protocol Foundations
Host–device request and response channels, decode, credits, tags, arbitration, FIFOs, link bring-up, timeouts, ordering and the first assertions.
CXL-01 · CXL-02 · CXL-03 · CXL-04 · CXL-05 · CXL-06 · CXL-07 · CXL-08 · CXL-09 · CXL-10
RTL Microarchitecture & Transaction Handling
Request routing, memory read/write control, outstanding-transaction tracking, split pipelines, scheduling, reordering, address decode, replay and width adaptation.
CXL-11 · CXL-12 · CXL-13 · CXL-14 · CXL-15 · CXL-16 · CXL-17 · CXL-18 · CXL-19 · CXL-20
UVM Verification Architecture
A transaction class, driver, monitor, agent and sequences, then a reference model, out-of-order scoreboard, coverage, constrained-random traffic and a regression-ready environment.
CXL-21 · CXL-22 · CXL-23 · CXL-24 · CXL-25 · CXL-26 · CXL-27 · CXL-28 · CXL-29 · CXL-30
Cache Coherency & Memory Semantics
A simplified host–device coherency model: line state and ownership, coherent reads and writes, snoops, writeback and eviction, device memory, and coherency race debugging.
CXL-31 · CXL-32 · CXL-33 · CXL-34 · CXL-35 · CXL-36 · CXL-37 · CXL-38 · CXL-39 · CXL-40
Advanced Verification, Reliability & Integration
Deadlock and forward progress, error containment, reset with traffic in flight, virtual sequences, protocol checkers, stress, coverage closure, fault-injected debug and the capstone.
CXL-41 · CXL-42 · CXL-43 · CXL-44 · CXL-45 · CXL-46 · CXL-47 · CXL-48 · CXL-49 · CXL-50
Lab numbers are stable IDs (Lab 7 is CXL-07). Labs marked “Coming soon” are not yet available.
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 1CXL Architecture & Protocol Foundations
Host–device request and response channels, decode, credits, tags, arbitration, FIFOs, link bring-up, timeouts, ordering and the first assertions.
- Lab 1CXL Architecture & Protocol Foundations
Model a Host–Device Transaction Interface with Request and Response Channels
How would you separate requests and responses into their own valid/ready channels, and where do the two directions still interact?
Foundation·90 min·Testbench·4 challengesFoundationPublishedPaid - Lab 2CXL Architecture & Protocol Foundations
Design a Configurable CXL Transaction Decoder
How would you decode an incoming transaction into its class and target with a decoder whose command map is a parameter, not hard-wired logic?
Foundation·90 min·Testbench·4 challengesFoundationPublishedPaid - Lab 3CXL Architecture & Protocol Foundations
Implement a Credit-Based Flow-Control Controller
How would you track transmit credits so a sender never issues a transaction the receiver has no buffer space for, and credits are never created or lost?
Foundation·120 min·Testbench·4 challengesFoundationPublishedPaid - Lab 4CXL Architecture & Protocol Foundations
Design a Transaction Tag Allocation and Reclamation Unit
How would you hand out unique tags to outstanding requests, reclaim each one exactly once on completion, and stall cleanly when the pool is empty?
Foundation·120 min·Testbench·4 challengesFoundationPublishedPaid - Lab 5CXL Architecture & Protocol Foundations
Implement a Multi-Request Arbitration Controller
How would you arbitrate between several request sources so every source makes progress and a grant is held until its transfer completes?
Foundation·120 min·Testbench·4 challengesFoundationPublishedPaid - Lab 6CXL Architecture & Protocol Foundations
Design a Protocol-Aware Command and Response FIFO
How would you buffer commands and responses so that backpressure propagates correctly and no entry is dropped, duplicated or reordered?
Foundation·120 min·Testbench·4 challengesFoundationPublishedPaid - Lab 7CXL Architecture & Protocol Foundations
Implement Link Initialization and Recovery State Machines
How would you model link bring-up and recovery as an abstract state machine that blocks traffic until the link is ready and resumes it safely after recovery?
Foundation·150 min·Testbench·4 challengesFoundationPublishedPaid - Lab 8CXL Architecture & Protocol Foundations
Build a Transaction Timeout and Error Reporting Controller
How would you detect a request that never receives a response, report it once with its tag, and release the resources it held?
Foundation·120 min·Testbench·4 challengesFoundationPublishedPaid - Lab 9CXL Architecture & Protocol Foundations
Design an Ordered Response Tracking Engine
How would you return responses to the requester in request order when the responder may complete them in any order?
Foundation·150 min·Testbench·4 challengesFoundationPublishedPaid - Lab 10CXL Architecture & Protocol Foundations
Verify Transaction Routing, Backpressure, and Ordering Using SystemVerilog Assertions
Which properties — stable payload under backpressure, correct routing, and preserved ordering — would you write as concurrent assertions, and how would you show each one can fail?
Foundation·150 min·Testbench·4 challengesFoundationPublishedPaid
Module 2RTL Microarchitecture & Transaction Handling
Request routing, memory read/write control, outstanding-transaction tracking, split pipelines, scheduling, reordering, address decode, replay and width adaptation.
- Lab 11RTL Microarchitecture & Transaction Handling
Design a CXL.io-Inspired Request Routing Engine
How would you route each request to its destination from its address or identifier, and handle a request that matches no destination?
Intermediate·150 min·Testbench·4 challengesIntermediatePublishedPaid - Lab 12RTL Microarchitecture & Transaction Handling
Implement a Memory Read and Write Transaction Controller
How would you sequence memory reads and writes so that data, responses and completions stay associated with the request that caused them?
Intermediate·150 min·Testbench·4 challengesIntermediatePublishedPaid - Lab 13RTL Microarchitecture & Transaction Handling
Design a Configurable Outstanding Transaction Tracker
How would you record every in-flight transaction with a configurable depth, retire it on completion, and flag a completion that matches nothing?
Intermediate·150 min·Testbench·4 challengesIntermediatePublishedPaid - Lab 14RTL Microarchitecture & Transaction Handling
Build a Split Request–Response Processing Pipeline
How would you pipeline request and response processing as separate paths while keeping per-stage valid/ready flow control correct?
Intermediate·180 min·Testbench·4 challengesIntermediatePublishedPaid - Lab 15RTL Microarchitecture & Transaction Handling
Implement a Multi-Queue Scheduler with Backpressure
How would you schedule several transaction queues so that a blocked queue cannot stall the others and every queue eventually drains?
Intermediate·150 min·Testbench·4 challengesIntermediatePublishedPaid - Lab 16RTL Microarchitecture & Transaction Handling
Design a Variable-Latency Response Reordering Buffer
How would you size and manage a reorder buffer that absorbs responses arriving with variable latency and releases them in request order?
Intermediate·180 min·Testbench·4 challengesIntermediatePublishedPaid - Lab 17RTL Microarchitecture & Transaction Handling
Implement a Host-to-Device Address Translation and Decode Unit
How would you translate a host address into a device-local address through programmable windows, and reject an access that falls in no window?
Intermediate·150 min·Testbench·4 challengesIntermediatePublishedPaid - Lab 18RTL Microarchitecture & Transaction Handling
Design a Retry and Transaction Replay Controller
How would you hold a copy of each transaction until it is acknowledged, and replay exactly the unacknowledged ones after a retry request?
Intermediate·180 min·Testbench·4 challengesIntermediatePublishedPaid - Lab 19RTL Microarchitecture & Transaction Handling
Implement a Parameterized Data-Path Width Adapter
How would you convert between a narrow and a wide data path in both directions without losing, duplicating or misordering bytes?
Intermediate·150 min·Testbench·4 challengesIntermediatePublishedPaid - Lab 20RTL Microarchitecture & Transaction Handling
Integrate a Transaction Processing Subsystem and Validate Its RTL Behavior
How would you integrate the decoder, credits, tags, tracker and reorder buffer into one subsystem and show, with a self-checking testbench, that it behaves as a whole?
Intermediate·240 min·Testbench·4 challengesIntermediatePublishedPaid
Module 3UVM Verification Architecture
A transaction class, driver, monitor, agent and sequences, then a reference model, out-of-order scoreboard, coverage, constrained-random traffic and a regression-ready environment.
- Lab 21UVM Verification Architecture
Develop a Reusable UVM Transaction Class for CXL-Inspired Traffic
Which fields, constraints and utility methods should a transaction class carry so every component — driver, monitor, model and scoreboard — can reuse it?
Intermediate·120 min·Testbench·4 challengesIntermediatePublishedPaid - Lab 22UVM Verification Architecture
Implement a UVM Driver with Valid/Ready Handshake Handling
How would you drive a transaction onto a valid/ready interface so that it holds stable under backpressure and completes exactly once?
Intermediate·150 min·Testbench·4 challengesIntermediatePublishedPaid - Lab 23UVM Verification Architecture
Build a Passive UVM Monitor with Transaction Reconstruction
How would a monitor that only observes the pins reconstruct complete transactions — including split requests and responses — and publish them?
Intermediate·150 min·Testbench·4 challengesIntermediatePublishedPaid - Lab 24UVM Verification Architecture
Develop a UVM Agent Supporting Active and Passive Modes
How would you build one agent that drives traffic when active and only observes when passive, selected by configuration rather than code changes?
Intermediate·150 min·Testbench·4 challengesIntermediatePublishedPaid - Lab 25UVM Verification Architecture
Create a Protocol-Aware UVM Sequencer and Directed Sequences
How would you write directed sequences that exercise each command type and protocol corner deliberately, and keep them reusable across tests?
Intermediate·150 min·Testbench·4 challengesIntermediatePublishedPaid - Lab 26UVM Verification Architecture
Implement a UVM Reference Model for Request–Response Behavior
How would you model the expected response to every request independently of the RTL, so the comparison means something?
Advanced·180 min·Testbench·4 challengesAdvancedPublishedPaid - Lab 27UVM Verification Architecture
Build a Transaction-Level Scoreboard for Out-of-Order Completions
How would a scoreboard match completions to requests by tag when they arrive out of order, and report missing, extra and mismatched responses?
Advanced·180 min·Testbench·4 challengesAdvancedPublishedPaid - Lab 28UVM Verification Architecture
Develop a Functional Coverage Model for Commands, Tags, and Responses
Which covergroups and crosses would show that every command, tag range and response type has been exercised in the combinations that matter?
Advanced·150 min·Testbench·4 challengesAdvancedPublishedPaid - Lab 29UVM Verification Architecture
Create Constrained-Random Sequences for Backpressure and Concurrent Traffic
How would you constrain random traffic to create sustained backpressure and many concurrent transactions without generating illegal stimulus?
Advanced·180 min·Testbench·4 challengesAdvancedPublishedPaid - Lab 30UVM Verification Architecture
Integrate a Reusable UVM Environment with Regression and Coverage Reporting
How would you assemble agents, the reference model, scoreboard and coverage into one environment, and run it as a seeded regression with a coverage report?
Advanced·240 min·Testbench·4 challengesAdvancedPublishedPaid
Module 4Cache Coherency & Memory Semantics
A simplified host–device coherency model: line state and ownership, coherent reads and writes, snoops, writeback and eviction, device memory, and coherency race debugging.
- Lab 31Cache Coherency & Memory Semantics
Design a Simplified Host–Device Cache Coherency State Machine
How would you model a simplified line-state machine for a device cache, and make illegal transitions impossible by construction?
Advanced·180 min·Testbench·4 challengesAdvancedPublishedPaid - Lab 32Cache Coherency & Memory Semantics
Implement a Cache-Line Ownership and State Tracking Unit
How would you track the state and owner of each cache line so that at most one agent can hold a line with write permission?
Advanced·180 min·Testbench·4 challengesAdvancedPublishedPaid - Lab 33Cache Coherency & Memory Semantics
Design a Coherent Read Request Processing Controller
How would you service a coherent read whose data may be in memory or in another cache, and return the line in the right state?
Advanced·180 min·Testbench·4 challengesAdvancedPublishedPaid - Lab 34Cache Coherency & Memory Semantics
Implement a Coherent Write and Invalidation Handling Engine
How would you gain write permission for a line by invalidating other copies first, and never let a write complete while a stale copy survives?
Advanced·180 min·Testbench·4 challengesAdvancedPublishedPaid - Lab 35Cache Coherency & Memory Semantics
Build a Snoop Request and Response Controller
How would the home keep several snoops outstanding, match every answer to the snoop that asked for it, and refuse an answer that is early, late, duplicated or from the wrong agent?
Advanced·210 min·Testbench·4 challengesAdvancedPublishedPaid - Lab 36Cache Coherency & Memory Semantics
Design a Dirty-Line Writeback and Eviction Controller
How would you evict a line so that dirty data is written back exactly once and a clean line is dropped without traffic?
Advanced·180 min·Testbench·4 challengesAdvancedPublishedPaid - Lab 37Cache Coherency & Memory Semantics
Implement a Device Memory Access and Completion Controller
How would a device service host reads and writes to its own memory and return completions that each match the request that caused them?
Advanced·180 min·Testbench·4 challengesAdvancedPublishedPaid - Lab 38Cache Coherency & Memory Semantics
Verify Coherency State Transitions Using UVM and Assertions
How would you combine assertions on the state machine with a UVM checker so that every legal transition is covered and every illegal one is caught?
Advanced·210 min·Testbench·4 challengesAdvancedPublishedPaid - Lab 39Cache Coherency & Memory Semantics
Build a Multi-Agent UVM Environment for Host–Device Coherency
How would you build an environment with host and device agents whose combined traffic can be checked against one coherency model?
Advanced·240 min·Testbench·4 challengesAdvancedPublishedPaid - Lab 40Cache Coherency & Memory Semantics
Inject Coherency Races and Debug Ordering and State-Transition Failures
How would you deliberately create races between snoops, reads and writebacks to one line, and trace each resulting failure to its root cause?
Advanced·240 min·Testbench·4 challengesAdvancedPublishedPaid
Module 5Advanced Verification, Reliability & Integration
Deadlock and forward progress, error containment, reset with traffic in flight, virtual sequences, protocol checkers, stress, coverage closure, fault-injected debug and the capstone.
- Lab 41Advanced Verification, Reliability & Integration
Design and Verify a Transaction-Level Deadlock Detection Mechanism
How would you detect that transactions have stopped making progress — not merely slowed down — and report which resources form the cycle?
Expert·210 min·Testbench·4 challengesExpertPublishedPaid - Lab 42Advanced Verification, Reliability & Integration
Verify Credit Exhaustion, Recovery, and Forward Progress
How would you drive the design into credit exhaustion and prove that it recovers and every transaction eventually completes?
Expert·210 min·Testbench·4 challengesExpertPublishedPaid - Lab 43Advanced Verification, Reliability & Integration
Inject Malformed Requests and Verify Error Containment
How would you inject malformed requests and show that each one is rejected and reported without corrupting state or affecting well-formed traffic?
Expert·210 min·Testbench·4 challengesExpertPublishedPaid - Lab 44Advanced Verification, Reliability & Integration
Verify Reset During Outstanding Transactions
How would you assert reset with transactions in flight and check that every structure returns to a clean state and the testbench does not expect lost responses?
Expert·210 min·Testbench·4 challengesExpertPublishedPaid - Lab 45Advanced Verification, Reliability & Integration
Develop a UVM Virtual Sequencer for Concurrent Host and Device Traffic
How would you coordinate host and device sequences from one virtual sequence so that interleavings are deliberate and reproducible?
Expert·180 min·Testbench·4 challengesExpertPublishedPaid - Lab 46Advanced Verification, Reliability & Integration
Build a Protocol Checker Using SystemVerilog Assertions
How would you package the interface's rules as a bindable SVA checker that any testbench can attach without modification?
Expert·210 min·Testbench·4 challengesExpertPublishedPaid - Lab 47Advanced Verification, Reliability & Integration
Verify Stress Scenarios with Random Latency and Response Reordering
How would you randomize response latency and order to stress tracking and reordering logic, and know the checks still mean something under stress?
Expert·210 min·Testbench·4 challengesExpertPublishedPaid - Lab 48Advanced Verification, Reliability & Integration
Develop a Coverage-Driven Verification Closure Strategy
How would you turn coverage holes into targeted tests or justified exclusions, and decide when the remaining gaps are acceptable?
Expert·180 min·Testbench·4 challengesExpertPublishedPaid - Lab 49Advanced Verification, Reliability & Integration
Debug a Fault-Injected Integrated RTL Subsystem Using UVM
Given an integrated subsystem with injected faults, how would you use the UVM environment, logs and waveforms to localise each fault to its RTL?
Expert·240 min·Testbench·4 challengesExpertPublishedPaid - Lab 50Advanced Verification, Reliability & Integration
Capstone: Design and Verify a Simplified CXL-Inspired Host–Device Transaction Subsystem
How would you design a host–device transaction subsystem end to end and present the tests, coverage and assertions that justify calling it verified — and what remains unverified?
Expert·300 min·Testbench·4 challengesExpertPublishedPaid
