Module

Module 9: SystemVerilog for Design & Verification

11 lessons
Start

Previous modules presented digital design using Verilog-2001 standards. SystemVerilog extends classic Verilog with modern constructs for design and functional verification. It provides explicit data types, structured modular interfaces, object-oriented testbench classes, constrained randomization, and formal assertions.

This module provides a focused introduction to industry-standard SystemVerilog features. You will learn to identify modern syntax patterns and apply them to hardware designs.

Module 9 at a glance
Figure 1: Module 9 at a glance

Section 9.1 covers design enhancements that improve code safety and clarity. Section 9.2 introduces object-oriented testbench development and constrained random stimulus generation. Section 9.3 introduces SystemVerilog Assertions (SVA) to monitor protocol rules continuously.

Objectives by Section

Section Target Competencies
9.1 Design Enhancements Apply logic data types, explicit procedural blocks (always_ff, always_comb, always_latch), structured types (typedef, struct, enum), and modular interface constructs.
9.2 Verification Basics Build class-based testbench components, generate randomized stimulus with rand and randc, configure constraints, and interpret modular testbench structures.
9.3 Assertions (SVA) Write immediate assertions for procedural checking, write concurrent assertions for multi-cycle temporal validation, and create reusable sequence and property definitions.

Estimated Study Time

Section Articles Estimated Reading and Exercise Time
9.1 SystemVerilog Design Enhancements 4 ~52 minutes
9.2 SystemVerilog Verification Basics 4 ~56 minutes
9.3 Assertions (SVA) 3 ~42 minutes
Total 11 ~150 minutes

Section 9.1 begins with the logic data type. This unified type simplifies data declarations and eliminates the confusion between wire and reg. Begin with 9.1 SystemVerilog Design Enhancements.

In this module

01 The logic Type 3 min 02 always_ff, always_comb and always_latch 3 min 03 typedef, struct, union and enum 3 min 04 Interfaces and Modports 3 min 05 Classes and Objects for Verification 3 min 06 Randomization With rand and randc 3 min 07 Constraints and Constraint Solving 3 min 08 Toward a UVM-Ready Testbench 3 min 09 Immediate Assertions 3 min 10 Concurrent Assertions and Temporal Logic 3 min 11 Writing Properties and Sequences 3 min