PCIe RTL Design & UVM Verification Labs.
A structured, hands-on learning path covering PCIe architecture, transaction-layer RTL, TLP processing, flow control, Data Link Layer reliability, link-training abstractions, UVM verification, debugging, DMA, and verification sign-off. Link training is modelled at the state-machine level — there is no electrical or SerDes modelling.

Ten modules — TLP fundamentals to verification sign-off
PCIe Architecture & Transaction Fundamentals
Root Complex and Endpoint roles, a configuration-space model, BAR decode, TLP classification and header parsing.
PCIe-01 · PCIe-02 · PCIe-03 · PCIe-04 · PCIe-05
TLP Generation & Processing
Memory write and read request generation with tag allocation, completion generation, malformed-TLP detection and a request-to-completion scoreboard.
PCIe-06 · PCIe-07 · PCIe-08 · PCIe-09 · PCIe-10
Flow Control & Buffer Management
Posted, non-posted and completion credit accounting, a credit-aware scheduler, receive-buffer capacity, credit return and backpressure verification.
PCIe-11 · PCIe-12 · PCIe-13 · PCIe-14 · PCIe-15
Data Link Layer Reliability
Sequence numbers, LCRC generation and checking, ACK/NAK processing, the replay buffer, and replay-timeout and corruption verification.
PCIe-16 · PCIe-17 · PCIe-18 · PCIe-19 · PCIe-20
Link Training & State Machines
An abstracted LTSSM, transition assertions, a simplified lane-training controller, link-width negotiation and recovery verification.
PCIe-21 · PCIe-22 · PCIe-23 · PCIe-24 · PCIe-25
Ordering, Tags & Completion Handling
Outstanding-request tracking, split-completion reassembly, ordering checks, out-of-order completions and completion-timeout detection.
PCIe-26 · PCIe-27 · PCIe-28 · PCIe-29 · PCIe-30
PCIe UVM Verification Architecture
A TLP sequence item, sequencer, driver and monitor, an active/passive agent, a reference model and scoreboard, and transaction coverage.
PCIe-31 · PCIe-32 · PCIe-33 · PCIe-34 · PCIe-35
Advanced UVM Stress & Debugging
Constrained-random mixed traffic, multi-agent virtual sequences, error injection, protocol invariants and seeded-defect debugging.
PCIe-36 · PCIe-37 · PCIe-38 · PCIe-39 · PCIe-40
DMA & Endpoint Subsystem Design
DMA read and write engines, completion-buffer management, an integrated endpoint transaction subsystem and end-to-end data-integrity verification.
PCIe-41 · PCIe-42 · PCIe-43 · PCIe-44 · PCIe-45
Final Integration & Verification Sign-Off
A configurable transaction-layer endpoint, an integrated UVM environment, regression, coverage closure and a verification sign-off capstone.
PCIe-46 · PCIe-47 · PCIe-48 · PCIe-49 · PCIe-50
Lab numbers are stable IDs (Lab 7 is PCIe-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 1PCIe Architecture & Transaction Fundamentals
Root Complex and Endpoint roles, a configuration-space model, BAR decode, TLP classification and header parsing.
- Lab 1PCIe Architecture & Transaction Fundamentals
Root Complex and Endpoint Transaction-Flow Model
How would you model the request and completion flow between a Root Complex and an Endpoint, so that every non-posted request is answered and no posted write expects a reply?
Foundation·90 min·Testbench·4 challengesFoundationPublishedPaid - Lab 2PCIe Architecture & Transaction Fundamentals
PCIe Configuration-Space Register Model
How would you model a Type 0 configuration header whose read-only, read-write and write-1-to-clear fields behave correctly under configuration reads and writes?
Foundation·120 min·Testbench·4 challengesFoundationPublishedPaid - Lab 3PCIe Architecture & Transaction Fundamentals
BAR Address-Decode Unit
How would you design a BAR decoder that supports size discovery and claims only the address windows software has programmed?
Foundation·120 min·Testbench·4 challengesFoundationPublishedPaid - Lab 4PCIe Architecture & Transaction Fundamentals
Memory Read / Write TLP Classifier
How would you classify incoming TLPs by their Fmt and Type fields so memory reads, memory writes and every other TLP take the correct path?
Foundation·90 min·Testbench·4 challengesFoundationPublishedPaid - Lab 5PCIe Architecture & Transaction Fundamentals
TLP Header Parser and Field Validation
How would you parse a TLP header into its fields and reject headers whose Length, address or reserved encodings are inconsistent?
Foundation·120 min·Testbench·4 challengesFoundationPublishedPaid
Module 2TLP Generation & Processing
Memory write and read request generation with tag allocation, completion generation, malformed-TLP detection and a request-to-completion scoreboard.
- Lab 6TLP Generation & Processing
Parameterized Memory Write TLP Generator
How would you generate memory write TLPs whose header format, Length and byte enables follow from a parameterized address and payload?
Intermediate·120 min·Testbench·4 challengesIntermediatePublishedPaid - Lab 7TLP Generation & Processing
Memory Read Request Generator with Tag Allocation
How would you issue memory read requests that never reuse a tag while an earlier request with that tag is still outstanding?
Intermediate·120 min·Testbench·4 challengesIntermediatePublishedPaid - Lab 8TLP Generation & Processing
Completion TLP Generator
How would you build completions whose Requester ID, Tag, Byte Count and Lower Address let the requester match and reassemble them?
Intermediate·120 min·Testbench·4 challengesIntermediatePublishedPaid - Lab 9TLP Generation & Processing
Malformed TLP Detection and Validation
How would you detect malformed TLPs — length mismatches, illegal field combinations, requests that cross a 4 KB boundary — and report them without disturbing legal traffic?
Intermediate·150 min·Testbench·4 challengesIntermediatePublishedPaid - Lab 10TLP Generation & Processing
Request-to-Completion Scoreboard
How would you build a scoreboard that pairs every non-posted request with its completions and flags missing, duplicate or mismatched responses?
Intermediate·150 min·Testbench·4 challengesIntermediatePublishedPaid
Module 3Flow Control & Buffer Management
Posted, non-posted and completion credit accounting, a credit-aware scheduler, receive-buffer capacity, credit return and backpressure verification.
- Lab 11Flow Control & Buffer Management
Posted, Non-Posted, and Completion Credit Accounting
How would you track header and data credits separately for posted, non-posted and completion traffic?
Intermediate·120 min·Testbench·4 challengesIntermediatePublishedPaid - Lab 12Flow Control & Buffer Management
Credit-Aware TLP Transmit Scheduler
How would you schedule TLPs so nothing is sent without sufficient credits, while blocked non-posted requests do not stall posted writes that ordering allows to proceed?
Intermediate·150 min·Testbench·4 challengesIntermediatePublishedPaid - Lab 13Flow Control & Buffer Management
Receive Buffer and Header/Data Capacity Manager
How would you size and manage receive buffers so the credits advertised never exceed the header and data space actually available?
Intermediate·150 min·Testbench·4 challengesIntermediatePublishedPaid - Lab 14Flow Control & Buffer Management
Flow-Control Update and Credit Conservation
How would you return credits through flow-control updates so that no credit is ever lost or created as buffers drain?
Intermediate·150 min·Testbench·4 challengesIntermediatePublishedPaid - Lab 15Flow Control & Buffer Management
Credit Exhaustion and Backpressure Verification
How would you verify that the transmitter stalls cleanly when credits run out and resumes without loss or reordering when they return?
Intermediate·150 min·Testbench·4 challengesIntermediatePublishedPaid
Module 4Data Link Layer Reliability
Sequence numbers, LCRC generation and checking, ACK/NAK processing, the replay buffer, and replay-timeout and corruption verification.
- Lab 16Data Link Layer Reliability
Data Link Sequence-Number Generator
How would you assign sequence numbers to TLPs so that wraparound and sequence comparison are handled correctly?
Advanced·90 min·Testbench·4 challengesAdvancedPublishedPaid - Lab 17Data Link Layer Reliability
TLP LCRC Generation and Checking
How would you generate the LCRC over the sequence number and TLP, and check it on receive so corrupted TLPs are discarded?
Advanced·120 min·Testbench·4 challengesAdvancedPublishedPaid - Lab 18Data Link Layer Reliability
ACK/NAK Processing Controller
How would you process ACK and NAK DLLPs so acknowledged TLPs are released and a NAK triggers replay from the correct point?
Advanced·150 min·Testbench·4 challengesAdvancedPublishedPaid - Lab 19Data Link Layer Reliability
Replay Buffer and Retransmission Controller
How would you hold transmitted TLPs in a replay buffer and retransmit them in order until they are acknowledged?
Advanced·180 min·Testbench·4 challengesAdvancedPublishedPaid - Lab 20Data Link Layer Reliability
Replay Timeout and Corrupted-Packet Verification
How would you verify replay-timer expiry, NAK-driven replay and LCRC corruption so that every TLP is eventually delivered exactly once?
Advanced·180 min·Testbench·4 challengesAdvancedPublishedPaid
Module 5Link Training & State Machines
An abstracted LTSSM, transition assertions, a simplified lane-training controller, link-width negotiation and recovery verification.
- Lab 21Link Training & State Machines
Abstracted PCIe LTSSM Model
How would you model the LTSSM's major states — Detect, Polling, Configuration, L0 and Recovery — at an abstraction suitable for RTL and verification?
Advanced·150 min·Testbench·4 challengesAdvancedPublishedPaid - Lab 22Link Training & State Machines
LTSSM Transition Assertions
How would you write assertions that allow only legal LTSSM transitions and catch a state entered without its entry condition?
Advanced·120 min·Testbench·4 challengesAdvancedPublishedPaid - Lab 23Link Training & State Machines
Simplified Lane-Training Controller
How would you design a simplified per-lane training controller that declares a lane trained only after consistent consecutive training-set receptions?
Advanced·150 min·Testbench·4 challengesAdvancedPublishedPaid - Lab 24Link Training & State Machines
Link-Width Negotiation Model
How would you model link-width negotiation so the link settles on the widest width both sides support with working lanes?
Advanced·150 min·Testbench·4 challengesAdvancedPublishedPaid - Lab 25Link Training & State Machines
Link Recovery and Retraining Verification
How would you verify that the link enters Recovery on errors or retraining requests and returns to L0 without losing in-flight transactions?
Advanced·180 min·Testbench·4 challengesAdvancedPublishedPaid
Module 7PCIe UVM Verification Architecture
A TLP sequence item, sequencer, driver and monitor, an active/passive agent, a reference model and scoreboard, and transaction coverage.
- Lab 31PCIe UVM Verification Architecture
PCIe TLP UVM Sequence Item
How would you model a TLP as a UVM sequence item whose constraints produce legal headers by default and illegal ones only on request?
Advanced·120 min·Testbench·4 challengesAdvancedPublishedPaid - Lab 32PCIe UVM Verification Architecture
PCIe UVM Sequencer, Driver, and Monitor
How would you build a sequencer, driver and monitor so the monitor reconstructs every TLP independently of what the driver intended to send?
Advanced·180 min·Testbench·4 challengesAdvancedPublishedPaid - Lab 33PCIe UVM Verification Architecture
Active and Passive PCIe UVM Agent
How would you package these components into an agent that runs active or passive from configuration alone?
Advanced·150 min·Testbench·4 challengesAdvancedPublishedPaid - Lab 34PCIe UVM Verification Architecture
PCIe Reference Model and Scoreboard
How would you build a transaction-level reference model and scoreboard that predict completions and memory effects from observed requests?
Advanced·180 min·Testbench·4 challengesAdvancedPublishedPaid - Lab 35PCIe UVM Verification Architecture
Functional Coverage for PCIe Transactions
How would you define coverage for TLP types, lengths, byte-enable alignment, read concurrency and completion splitting so that coverage measures risk, not just traffic volume, and then prove every gap was closed?
Advanced·150 min·Testbench·4 challengesAdvancedPublishedPaid
Module 8Advanced UVM Stress & Debugging
Constrained-random mixed traffic, multi-agent virtual sequences, error injection, protocol invariants and seeded-defect debugging.
- Lab 36Advanced UVM Stress & Debugging
Constrained-Random Mixed PCIe Traffic
How would you generate mixed reads, writes and completions with constraints that reach corner cases such as lengths ending at a 4 KB boundary and tag exhaustion?
Expert·180 min·Testbench·4 challengesExpertPublishedPaid - Lab 37Advanced UVM Stress & Debugging
Multi-Agent UVM Virtual Sequences
How would you coordinate two requester agents that share one completer with virtual sequences, so dependencies between them hold, reset stops them cleanly and their interleaving is reproducible from a seed?
Expert·180 min·Testbench·4 challengesExpertPublishedPaid - Lab 38Advanced UVM Stress & Debugging
PCIe Error Injection and Negative Testing
How would you inject malformed requests and wrong, duplicated, missing or unexpected completions, and prove that the intended detector reported each one, on the right transaction, and that the design recovered?
Expert·180 min·Testbench·4 challengesExpertPublishedPaid - Lab 39Advanced UVM Stress & Debugging
Protocol Assertions and Invariant Checking
How would you express handshake stability, Tag uniqueness, completion matching and capacity as assertions that hold on every cycle, prove that each one was really exercised, and state what a liveness property must assume?
Expert·150 min·Testbench·4 challengesExpertPublishedPaid - Lab 40Advanced UVM Stress & Debugging
Seeded RTL Defect Debugging with UVM
Given a design with seeded defects, how would you use the UVM environment, logs and waveforms to localise each one to its line of RTL?
Expert·180 min·Testbench·4 challengesExpertPublishedPaid
Module 9DMA & Endpoint Subsystem Design
DMA read and write engines, completion-buffer management, an integrated endpoint transaction subsystem and end-to-end data-integrity verification.
- Lab 41DMA & Endpoint Subsystem Design
PCIe Endpoint DMA Read Engine
How would you design a DMA engine that splits a host-memory read into requests that respect the maximum read request size and the 4 KB boundary?
Expert·180 min·Testbench·4 challengesExpertPublishedPaid - Lab 42DMA & Endpoint Subsystem Design
PCIe DMA Write Engine
How would you design a DMA write engine that segments payloads by the maximum payload size and the 4 KB boundary while respecting posted credits?
Expert·180 min·Testbench·4 challengesExpertPublishedPaid - Lab 43DMA & Endpoint Subsystem Design
Completion Buffer and Backpressure Manager
How would you reserve completion buffer space before issuing reads, so the endpoint never requests more data than it can absorb?
Expert·150 min·Testbench·4 challengesExpertPublishedPaid - Lab 44DMA & Endpoint Subsystem Design
Integrated Endpoint Transaction Subsystem
How would you integrate configuration space, BAR decode, DMA engines and completion handling into one endpoint transaction subsystem with clean internal interfaces?
Expert·240 min·Testbench·4 challengesExpertPublishedPaid - Lab 45DMA & Endpoint Subsystem Design
End-to-End DMA Data Integrity Verification
How would you show that every byte a DMA moves arrives exactly once, unmodified, at the right address — across splits, reordering and backpressure?
Expert·210 min·Testbench·4 challengesExpertPublishedPaid
Module 10Final Integration & Verification Sign-Off
A configurable transaction-layer endpoint, an integrated UVM environment, regression, coverage closure and a verification sign-off capstone.
- Lab 46Final Integration & Verification Sign-Off
Configurable PCIe Transaction-Layer Endpoint
How would you parameterize the endpoint — BAR count and size, tag count, payload and read-request sizes — and keep every configuration verifiable?
Expert·240 min·Testbench·4 challengesExpertPublishedPaid - Lab 47Final Integration & Verification Sign-Off
Integrated UVM Environment and Assertions
How would you assemble agents, the reference model, scoreboards and bound assertions into one environment for the configurable endpoint?
Expert·240 min·Testbench·4 challengesExpertPublishedPaid - Lab 48Final Integration & Verification Sign-Off
Directed and Constrained-Random Regression
How would you organise directed and random tests into a regression with seeds, pass/fail triage and reproducible failures?
Expert·180 min·Testbench·4 challengesExpertPublishedPaid - Lab 49Final Integration & Verification Sign-Off
Functional Coverage Closure Analysis
How would you analyse coverage holes, decide which are reachable, and close them with targeted tests or justified exclusions?
Expert·180 min·Testbench·4 challengesExpertPublishedPaid - Lab 50Final Integration & Verification Sign-Off
PCIe Verification Sign-Off Capstone
What evidence — tests, coverage, assertions and bug history — would you present to sign off the endpoint, and how would you state what remains unverified?
Expert·240 min·Testbench·4 challengesExpertPublishedPaid
