All SystemVerilog labs
SystemVerilog Labs
Lab 15of 60
Parameters, Packages & ReusePublished
Functions, Tasks & Automatic Lifetime
Call the same task from two concurrent threads, watch static storage corrupt both, then fix it with automatic lifetime and understand why testbench code defaults differently.
Intermediate~45 minSelf-checking testbench2 challenges
Concepts covered
- automatic vs static
- ref/const ref args
- Reentrancy
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
