UVM Interview Questions - VLSI Encyclopedia
UVM Interview Questions - VLSI Encyclopedia
UVM Interview Questions - VLSI Encyclopedia
Ans: UVM (Universal Veri ication Methodology) is a standardized methodology for verifying the
both complex & simple digital design in simple way.
UVM Features:
First methodology & second collection of class libraries for Automation
Reusability through testbench
Plug & Play of veri ication IPs
Generic Testbench Development
Vendor & Simulator Independent
Smart Testbench i.e. generate legal stimulus as from pre-planned coverage plan
Support CDV –Coverage Driven Veri ication
Support CRV –Constraint Random Veri ication
UVM standardized under the Accellera System Initiative
Register modeling
Ans: Here is the detailed connection between SV, UVM, OVM and other methodologies.
Ans:
uvm_component:
Quasi Static Entity (after build phase it is available throughout the simulation)
Always tied to a given hardware(DUT Interface) Or a TLM port
Having phasing mechanism for control the behavior of simulation
Con iguration Component Topology
uvm_object:
Dynamic Entity (create when needed, transfer from one component to other & then
dereference)
Not tied to a given hardware or any TLM port
Not phasing mechanism
Q4: Why phasing is used? What are the different phases in uvm?
Ans: UVM Phases is used to control the behavior of simulation in a systematic way & execute in
a sequential ordered to avoid race condition. This could also be done in system verilog but
manually.
Ans: Only build phase is a top-down & other phases are bottom-up except run phase which is
parallel. The build phase works top-down since the testbench hierarchy may be con igure so we
need to build the branches before leafs
Q6: Why build phase is top – down & connect phase is bottom – up?
Ans: The connect phase is intended to be used for making TLM connections between
components, which is why it occur after build phase. It work bottom-up so that its got the
correct implementation all the way up the design hierarchy, if worked top-down this would be
not possible
Ans: Only run phase is a task (time consuming phase) & other phases are functions (non-
blocking)
Ans: As previously said the run phase is implemented as task and remaining all are
function. run phase will get executed from start of simulation to till the end of simulation. run
phase is time consuming, where the testcase is running.
Ans: UVM phases initiate by calling run_test(“test1”) in top module. When run_test() method
call, it irst create the object of test top & then call all phases.
Ans: In top module write run_test(); i.e. Don't give anything in argument.
Then in command line : +UVM_TESTNAME=testname