AMBA AHB RTL Design & UVM Verification Labs.
Thirty AHB engineering assignments, from an AHB-Lite address decoder to a verified multi-master subsystem — pipelined transfers, bursts, interconnect and bridge RTL, SystemVerilog and UVM environments, protocol assertions and coverage closure. Modules 1–5 target single-master AHB-Lite; Module 6 moves to full multi-master AHB. The protocol itself is taught in the free AHB tutorials.

Six modules — AHB-Lite RTL to multi-master verification
AHB-Lite Fundamentals and Transfer Control
Address decoding, register slaves, HTRANS handling, wait states and the two-cycle ERROR response.
AHB-Lite · AHB-01 · AHB-02 · AHB-03 · AHB-04 · AHB-05
Pipelined RTL and Burst Transfers
Address/data-phase overlap, SINGLE, INCR and fixed-length bursts, wrapping addresses and a pipelined SRAM controller.
AHB-Lite · AHB-06 · AHB-07 · AHB-08 · AHB-09 · AHB-10
AHB Interconnect and Advanced RTL Design
Multi-slave interconnect, a parameterized master, side-effect registers, an AHB-to-APB bridge and subsystem integration.
AHB-Lite · AHB-11 · AHB-12 · AHB-13 · AHB-14 · AHB-15
SystemVerilog Verification Architecture
Interfaces and monitors, constrained-random stimulus, self-checking environments, protocol assertions and coverage.
AHB-Lite · AHB-16 · AHB-17 · AHB-18 · AHB-19 · AHB-20
UVM Verification of AHB-Lite
Master and reactive slave agents, scoreboard and reference model, burst and backpressure sequences, regression closure.
AHB-Lite · AHB-21 · AHB-22 · AHB-23 · AHB-24 · AHB-25
Full AHB Multi-Master Verification and Debugging
Arbitration, bus ownership and locked transfers, a multi-master UVM environment, protocol debugging and a capstone.
Full AHB · AHB-26 · AHB-27 · AHB-28 · AHB-29 · AHB-30
Lab numbers are stable IDs (Lab 21 is AHB-21). Arbitration and bus ownership appear only in Module 6.
All 30 labs
Search and filter the full curriculum. Titles, previews and metadata are free to browse — full lab content requires the labs package.
Module 1AHB-Lite Fundamentals and Transfer Control
Address decoding, register slaves, HTRANS handling, wait states and the two-cycle ERROR response.
- Lab 1AHB-Lite Fundamentals and Transfer Control
Design an AHB-Lite Slave Address Decoder
Decode HADDR into one-hot HSEL lines for a fixed memory map and route unmapped addresses to a default slave, so every address phase selects exactly one slave.
Foundation·60 min·Testbench·4 challengesFoundationPublishedPaid - Lab 2AHB-Lite Fundamentals and Transfer Control
Design an AHB-Lite Slave with Read and Write Registers
Build a register-bank slave that captures the address phase when HSEL and HREADY are high and completes the write or read in the following data phase.
Foundation·75 min·Testbench·4 challengesFoundationPublishedPaid - Lab 3AHB-Lite Fundamentals and Transfer Control
Implement AHB Transfer-Type Handling
Decode HTRANS so NONSEQ and SEQ transfers access the slave while IDLE and BUSY receive a zero-wait OKAY response and leave its state untouched.
Foundation·60 min·Testbench·4 challengesFoundationPublishedPaid - Lab 4AHB-Lite Fundamentals and Transfer Control
Design AHB-Lite Wait-State Generation
Extend a slow slave's data phase by driving HREADYOUT low for a programmable number of cycles, with the address and control of the next transfer held until HREADY rises.
Foundation·75 min·Testbench·4 challengesFoundationPublishedPaid - Lab 5AHB-Lite Fundamentals and Transfer Control
Design AHB-Lite Transfer Error Handling
Signal an ERROR on illegal accesses with the two-cycle response — HREADYOUT low in the first cycle, high in the second, HRESP high in both — giving the master time to cancel the next transfer.
Foundation·75 min·Testbench·4 challengesFoundationPublishedPaid
Module 2Pipelined RTL and Burst Transfers
Address/data-phase overlap, SINGLE, INCR and fixed-length bursts, wrapping addresses and a pipelined SRAM controller.
- Lab 6Pipelined RTL and Burst Transfers
Design an Address-Phase and Data-Phase Tracking Unit
Register the address-phase controls so each data phase is paired with the address that started it, including when wait states hold the pipeline.
Intermediate·90 min·Testbench·4 challengesIntermediatePublishedPaid - Lab 7Pipelined RTL and Burst Transfers
Implement AHB-Lite SINGLE and INCR Bursts
Support SINGLE transfers and undefined-length INCR bursts, checking that each SEQ beat's address advances by the transfer size and that BUSY beats inside a burst are absorbed.
Intermediate·90 min·Testbench·4 challengesIntermediatePublishedPaid - Lab 8Pipelined RTL and Burst Transfers
Implement Fixed-Length Incrementing Bursts
Handle INCR4, INCR8 and INCR16 bursts by tracking the beat count against the burst length and confirming that no burst crosses a 1 KB address boundary.
Intermediate·90 min·Testbench·4 challengesIntermediatePublishedPaid - Lab 9Pipelined RTL and Burst Transfers
Implement Wrapping Burst Address Generation
Generate WRAP4, WRAP8 and WRAP16 addresses that wrap at the boundary set by beat count times transfer size, verified for every supported HSIZE.
Intermediate·90 min·Testbench·4 challengesIntermediatePublishedPaid - Lab 10Pipelined RTL and Burst Transfers
Design a Pipelined AHB-Lite SRAM Controller
Connect a synchronous SRAM to AHB-Lite so back-to-back transfers run at full rate, resolving the read-after-write hazard created when write data arrives one phase after its address.
Intermediate·120 min·Testbench·4 challengesIntermediatePublishedPaid
Module 3AHB Interconnect and Advanced RTL Design
Multi-slave interconnect, a parameterized master, side-effect registers, an AHB-to-APB bridge and subsystem integration.
- Lab 11AHB Interconnect and Advanced RTL Design
Design an AHB-Lite Multi-Slave Interconnect
Combine the decoder, a default slave and a read-data/response multiplexer selected by the data-phase HSEL, so the right slave drives HRDATA, HREADY and HRESP every cycle.
Intermediate·120 min·Testbench·4 challengesIntermediatePublishedPaid - Lab 12AHB Interconnect and Advanced RTL Design
Design a Parameterized AHB-Lite Master Controller
Build a command-driven master with parameterized address and data widths that issues single and burst transfers, holds its outputs under wait states and ends a burst cleanly after an ERROR.
Advanced·135 min·Testbench·4 challengesAdvancedPublishedPaid - Lab 13AHB Interconnect and Advanced RTL Design
Design an AHB-Lite Register Peripheral with Side Effects
Implement a peripheral with read-to-clear, write-one-to-clear and read-only registers plus an interrupt output, so that only completed accesses trigger side effects.
Intermediate·120 min·Testbench·4 challengesIntermediatePublishedPaid - Lab 14AHB Interconnect and Advanced RTL Design
Design an AHB-Lite to APB Bridge
Convert each AHB-Lite transfer into an APB setup and access phase, stretch HREADYOUT while the APB transfer completes, and return PSLVERR as an AHB ERROR response.
Advanced·135 min·Testbench·4 challengesAdvancedPublishedPaid - Lab 15AHB Interconnect and Advanced RTL Design
Integrate and Verify a Complete AHB-Lite Subsystem
Integrate the master, interconnect, SRAM controller, register peripheral and APB bridge into one memory-mapped subsystem and check it end to end with a directed self-checking testbench.
Advanced·150 min·Testbench·4 challengesAdvancedPublishedPaid
Module 4SystemVerilog Verification Architecture
Interfaces and monitors, constrained-random stimulus, self-checking environments, protocol assertions and coverage.
- Lab 16SystemVerilog Verification Architecture
Build a Transaction-Level AHB-Lite Interface and Monitor
Write an AHB-Lite SystemVerilog interface with clocking blocks and a monitor that pairs each address phase with its data phase to emit one complete transaction per transfer.
Advanced·105 min·Testbench·4 challengesAdvancedPublishedPaid - Lab 17SystemVerilog Verification Architecture
Build a Constrained-Random AHB-Lite Transaction Generator
Constrain random transactions to legal AHB-Lite traffic — size-aligned addresses, valid burst types, and bursts that stay inside a 1 KB boundary.
Advanced·105 min·Testbench·4 challengesAdvancedPublishedPaid - Lab 18SystemVerilog Verification Architecture
Build a Self-Checking AHB-Lite Verification Environment
Assemble generator, driver, monitor and scoreboard around a reference memory model, so every read is checked against the data the model predicts.
Advanced·120 min·Testbench·4 challengesAdvancedPublishedPaid - Lab 19SystemVerilog Verification Architecture
Implement AHB-Lite Protocol Assertions
Write SystemVerilog assertions for the core AHB-Lite rules: address and control stable while HREADY is low, the two-cycle ERROR response, legal HTRANS sequencing and SEQ address progression.
Advanced·120 min·Testbench·4 challengesAdvancedPublishedPaid - Lab 20SystemVerilog Verification Architecture
Build an AHB-Lite Functional Coverage Model
Model coverage of transfer types, burst kinds, sizes, wait-state counts and responses, and use crosses to expose the combinations the random stimulus has missed.
Advanced·105 min·Testbench·4 challengesAdvancedPublishedPaid
Module 5UVM Verification of AHB-Lite
Master and reactive slave agents, scoreboard and reference model, burst and backpressure sequences, regression closure.
- Lab 21UVM Verification of AHB-Lite
Develop a Reusable UVM AHB-Lite Agent
Build a configurable active/passive AHB-Lite master agent whose driver keeps the address and data phases pipelined and whose monitor publishes complete transactions.
Advanced·135 min·Testbench·4 challengesAdvancedPublishedPaid - Lab 22UVM Verification of AHB-Lite
Develop a UVM AHB-Lite Slave Response Agent
Build a reactive slave agent that answers the DUT master with configurable wait states, read data and ERROR responses chosen by sequences.
Advanced·135 min·Testbench·4 challengesAdvancedPublishedPaid - Lab 23UVM Verification of AHB-Lite
Build a UVM Environment with Scoreboard and Reference Model
Connect the agents to a scoreboard and memory reference model through analysis ports, checking read data, responses and transfer ordering.
Advanced·135 min·Testbench·4 challengesAdvancedPublishedPaid - Lab 24UVM Verification of AHB-Lite
Develop UVM Sequences for Burst and Backpressure Verification
Write a sequence library for every burst type and size, and coordinate it with slave-side wait-state profiles through a virtual sequence.
Advanced·135 min·Testbench·4 challengesAdvancedPublishedPaid - Lab 25UVM Verification of AHB-Lite
Build a UVM Regression and Coverage-Closure Suite
Organise tests and seeds into a regression, merge coverage across runs, and close the remaining holes with targeted tests.
Advanced·150 min·Testbench·4 challengesAdvancedPublishedPaid
Module 6Full AHB Multi-Master Verification and Debugging
Arbitration, bus ownership and locked transfers, a multi-master UVM environment, protocol debugging and a capstone.
- Lab 26Full AHB Multi-Master Verification and Debugging
Design a Multi-Master AHB Arbiter
Implement HBUSREQ/HGRANT arbitration with fixed-priority and round-robin policies and a default master, with ownership changing only when HREADY completes a transfer.
Expert·150 min·Testbench·4 challengesExpertPublishedPaid - Lab 27Full AHB Multi-Master Verification and Debugging
Implement Full AHB Bus Ownership and Locked Transfers
Drive the shared address and data buses from the granted master using HMASTER, keeping the data phase with its owner, and hold ownership through HLOCK/HMASTLOCK locked sequences.
Expert·150 min·Testbench·4 challengesExpertPublishedPaid - Lab 28Full AHB Multi-Master Verification and Debugging
Develop a Multi-Master AHB UVM Verification Environment
Verify a multi-master AHB system with one agent per master, an arbiter-aware monitor that tags each transfer with its owner, and checks for fairness, locked-sequence atomicity and data integrity across handovers.
Expert·180 min·Testbench·4 challengesExpertPublishedPaid - Lab 29Full AHB Multi-Master Verification and Debugging
Debug Protocol Violations Using Assertions and UVM
Localise injected protocol defects in an AHB design by combining assertion failures, UVM reports and waveforms, and separate DUT bugs from testbench bugs.
Expert·165 min·Testbench·4 challengesExpertPublishedPaid - Lab 30Full AHB Multi-Master Verification and Debugging
Capstone: Design and Verify a Complete AHB Subsystem
Design a multi-master AHB subsystem with arbiter, decoder, memory, peripherals and an APB bridge, then take it from verification plan to UVM regression and coverage closure.
Expert·240 min·Testbench·4 challengesExpertPublishedPaid
