Reset Testing in UVM: phase.jump() With a Working Example
How to test a mid-traffic reset in UVM: run-time phases, phase.jump() back to pre_reset, reset-aware drivers, and a working bench with a planted bug.
How to test a mid-traffic reset in UVM: run-time phases, phase.jump() back to pre_reset, reset-aware drivers, and a working bench with a planted bug.
UVM vs SystemVerilog, tested on VCS: the same memory test in plain SV and in UVM, with 7 checks showing what agents, sequences, config_db, the factory, phases and reporting add.
A complete guide to UVM virtual sequences and virtual sequencers on one bench with three agents. Both styles, the env wiring, p_sequencer, nesting, default_sequence, lock and grab, all run on Synopsys VCS, plus 4 planted mistakes and the 2 a clean scoreboard missed.
How static works in SystemVerilog classes: static properties, static methods, static local variables, parameterized classes, inheritance and super, each run in one UVM bench on VCS.
In short: Lifetime decides how many copies of a variable exist. A static variable has one copy, created once and shared by every call; it remembers its value between calls. An automatic variable gets a fresh copy every time the task or function is called, and it disappears when the call ends. Tasks and functions…
In short: A virtual interface is a pointer (a handle) to a real, physical interface in SystemVerilog. Testbench classes are created and destroyed at run time (they are dynamic), while an interface with its wires is fixed at elaboration (it is static). A class cannot hold a static interface directly, so it holds a virtual…
Polymorphism in SystemVerilog lets one base handle hold many classes, and virtual methods let each object answer its own way. 8 checks with interface classes, type parameters and the UVM factory, tested on VCS.
A virtual function can be overridden; a pure virtual function must be. One tested SystemVerilog file, real VCS output, and the mistakes VCS does and doesn’t catch.
How the SystemVerilog streaming operator packs and unpacks data: >> vs <<, slice size, byte and bit reverse, and a packet round trip, tested on VCS.
How inheritance works in SystemVerilog: extends, super.new(), virtual vs non-virtual methods, constraint override, shadowing and $cast, tested on VCS.