All SystemVerilog labs
SystemVerilog Labs
Lab 19of 60
SystemVerilog RTL Foundations6
Strong Typing & Data Modeling6
Parameters, Packages & Reuse5
Interfaces & Modports5
Assertions & Temporal Reasoning7
Testbench Architecture5
OOP Verification Foundations6
Concurrency & Communication5
Constrained Random6
Functional Coverage5
Integrated Verification Projects4
Interfaces & ModportsPublished
Modports & Direction Contracts
Give each side of an interface its own view with modports, then attempt to drive a signal the DUT should only read and let the compiler enforce the contract for you.
Intermediate~40 minSelf-checking testbench1 challenge
Concepts covered
- modport
- Direction enforcement
- Bus contracts
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
- 1 progressive challenge
