All SystemVerilog labs
SystemVerilog Labs
Lab 16of 60
Parameters, Packages & ReusePublished
Type Parameters & Generic Modules
Parameterise a module by TYPE rather than by width, so one synchroniser or one register slice serves a struct, an enum and a plain vector without edits.
Advanced~50 minSelf-checking testbench2 challenges
Concepts covered
- Type parameters
- Generic containers
- Parameterised types
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
