Posts tagged “systemverilog”

8 posts.

Project: How Do You Verify an APB Slave in SystemVerilog?

A layered SystemVerilog testbench for an APB register slave: driver, monitor, scoreboard, coverage and protocol assertions, and the planted bug it caught.

14 min read

Lesson 5: How Do SystemVerilog Assertions Check a Design?

Concurrent assertions check timing and results on every clock. SVA properties for the ALU, and how one assertion caught an injected subtraction bug.

9 min read

Lesson 6: What Are the Basic Parts of a UVM Testbench?

UVM builds a testbench from standard parts: items, sequences, driver, monitor, scoreboard, agent and test. The ALU test rebuilt in UVM and run in xsim.

12 min read

Lesson 7: How Do You Verify a FIFO End to End?

The course's final project: a constrained-random testbench for the synchronous FIFO with a queue model, flag assertions and coverage, and a planted bug.

12 min read

Lesson 3: What Is Constrained Random Verification?

Random stimulus kept legal and steered to corner cases by constraints, then measured, with real xsim counts and a randcase fallback for weights.

9 min read

Lesson 4: What Is Functional Coverage, and How Do Covergroups Measure It?

Functional coverage records which cases a random test hit. A covergroup for the ALU, and how a cross exposed gaps that per-field coverage missed.

8 min read

Lesson 2: How Is a Layered Testbench Organized?

Generator, driver, monitor and scoreboard, joined by mailboxes inside an environment: a layered testbench for the ALU that checks 200 random transactions.

9 min read

Lesson 1: Which SystemVerilog Features Does a Testbench Need?

Classes for transactions, a reference model, queues, tasks and assertions: the SystemVerilog a testbench leans on, in a first self-checking test of an ALU.

8 min read