All SystemVerilog labs
SystemVerilog Labs
Lab 42of 60
Concurrency & CommunicationPublished
Process Control, wait fork & disable fork
Start a timeout thread alongside a transfer, let whichever finishes first win, then kill the loser cleanly — and see what a leaked process does to the next test.
Advanced~55 minSelf-checking testbench2 challenges
Concepts covered
- disable fork
- wait fork
- Process cleanup
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
