All SystemVerilog labs
SystemVerilog Labs
Lab 35of 60
OOP Verification FoundationsPublished
Classes, Handles & Construction
Refactor the procedural stimulus of the previous module into a class, then assign one handle to another and discover you have two names for one object, not two objects.
Intermediate~50 minSelf-checking testbench2 challenges
Concepts covered
- class/new
- Handles vs objects
- Object lifetime
This lab is part of SystemVerilog Labs
Unlock the complete lab — language semantics, hardware meaning, complete SystemVerilog source, a self-checking testbench, compiler-diagnostic evidence, debugging walkthroughs and challenges — with the SystemVerilog Labs package.
- Language semantics & hardware meaning
- Complete, runnable SystemVerilog
- Self-checking testbench
- Compiler-diagnostic evidence
- Debugging walkthroughs
- 2 progressive challenges
