1. AND/OR Gate Testbench
Write your first self-checking Verilog testbench for simple combinational gates.
Project goals
- Test every input combination.
- Use $display and $error checks.
- Inspect the waveform.
Twenty hands-on verification projects that take you from your first testbench to reusable, system-level UVM environments.
Write your first self-checking Verilog testbench for simple combinational gates.
Verify selection behavior and create a small directed stimulus plan.
Verify a clocked register with synchronous or asynchronous reset behavior.
Build a testbench for a parameterized counter with enable and reset.
Verify arithmetic and logical operations selected by an opcode.
Test a finite-state machine with timed state transitions and reset recovery.
Verify fairness and grant behavior for multiple requesters.
Create a complete UVM agent, queue-based scoreboard, and coverage collector.
Verify data transfer across independent read and write clock domains.
Build an APB UVM agent and verify register reads, writes, and error responses.
Verify serial framing, baud timing, parity, and error conditions.
Verify SPI modes, chip-select behavior, and shift-register data transfer.
Verify burst transfers from a source address to a destination address.
Verify cache-hit, cache-miss, valid, and replacement decisions.
Verify a register-controlled peripheral using sequences, assertions, and RAL.
Verify backpressure, packet boundaries, and data integrity across a stream pipeline.
Verify priority, masking, pending state, and software-visible register behavior.
Verify packet routing, arbitration, and independent input/output traffic.
Verify instruction execution, exceptions, flags, and randomized instruction streams.
Integrate bus, data, interrupt, and register agents around one subsystem environment.