m_sequencer vs p_sequencer in UVM: What’s the Difference?
m_sequencer and p_sequencer point to the same UVM sequencer. See what each handle can reach, what the macro does, and the real errors when it goes wrong.
m_sequencer and p_sequencer point to the same UVM sequencer. See what each handle can reach, what the macro does, and the real errors when it goes wrong.
How uvm_config_db set and get really behave: who wins when two components set a value, why get returns 0, and how uvm_resource_db differs. Run on VCS.
In short: fork starts several threads at the same time. The keyword that closes it decides when the parent moves on. join waits until all threads finish. join_any waits until the first one finishes, and the others keep running. join_none doesn’t wait at all; the threads start as soon as the parent pauses. Use wait…
Six UVM arbitration modes, priority, lock() and grab(), run on Synopsys VCS. See the real item order, and why the default FIFO mode ignores priority.
In short: UVM TLM lets components hand whole transactions to each other through ports instead of signals. The component that calls owns a port, the component that does the work owns an imp, and connect() joins them. A uvm_analysis_port is one-to-many: write() is a function, returns at once, and reaches every subscriber (or none). A…
In short: In SystemVerilog there are three ways to “copy” an object. p2 = p1; copies only the handle, so both names point to one object. p2 = new p1; is a shallow copy: a new object with every field copied, but any handle inside it still points to the same inner object. A deep…
The this keyword in SystemVerilog is a handle to the current object: use it for name clashes, to pass or return yourself, and as the parent in create(). 8 checks, tested on VCS.
How start_item, finish_item, get_next_item and item_done fit together in UVM. A tested bench with five planted bugs, and what VCS prints for each one.
set_automatic_phase_objection raises and drops for you, but only with a starting phase. Five real VCS runs, including the three ways it quietly fails.
In short: Use logic for almost every signal in SystemVerilog. It holds 4 states (0, 1, X, Z) and takes either one assign or procedural writes. reg is just the old name for the same thing. Use wire only when a signal has more than one driver, like a shared bus or an inout port….