UVM Interview Questions Part 2

1. In UVM, which of the following classes are continually created and destroyed during simulation?
a) Transactions classes
b) Components classes
c) Both a and b
d) None of the above
2. Which UVM facility can change or update the behavior of testbench components and transaction classes?
a)  UVM factory
b) UVM configuration database
c) Transaction Level Modeling
d) UVM reporting mechanism
3. Which of the following components are part of the agent?(Select all that apply)
a) The driver
b) The scoreboard
c) The sequencer
d) The monitor
4. Unlike stimulus classes, the testbench architecture is made up of classes that are extended from.
a) uvm_component class
b) uvm_object class
c) uvm_transaction class 
d) uvm_env class
5. Which of the following UVM phases are expected to consume time?
a) The report phase
b) The build phase
c) The end of elaboration phase
d) The run phase
6. Your transaction classes should extend which of the following classes?
a) uvm_sequence
b) uvm_sequence_item
c) uvm_transaction
d) None of the above
7. The sequencer is responsible for
a) Sending the transactions to the driver through a TLM connection
b) Controlling the flow of sequence Items transactions generated by one or more sequences
c) Both a and b
d) None of the above
8. The testbench components have no fixed location in the topology while the stimulus has a fixed location in the topology.
a) TRUE
b) FALSE
9. The sequence is created in which component, by calling the factory create() method?
a) The environment
b) The test
c) The agent
d) The sequencer
10. In which phase does a component create any components below it?
a) The build phase
b) The connect phase
c) The run phase
d) The end of elaboration phase
11. UVM code is started by calling run_test in an initial block in a module, which of the following statements is correct?
a)  At time 0, the run_test creates the uvm_root object
b) The run_test executes the method which starts the running of the phases in their correct order
c) The run_test fetches the test class name from the command line and creates the test object
d) All of the above
12. Store an agent’s configuration information in.
a) Agent class
b) Test class
c) Environment class
d) configuration class
13. To be able to override an object in the factory
a) Use the factory create method to create objects
b) The overriding class should be derived from the original class
c) Both classes should have been registered with the factory
d) All of the above
14. "uvm_test_top” is the instance name of
a) uvm_root
b) uvm_top
c) your test class
d) None of the above
15. Which verbosity level would you choose for critical messages that should always be printed?
a) UVM_FULL
b) UVM_MEDIUM
c) UVM_NONE
d) None of the above
16. What does the macro uvm_object_utils do?
a) Constructs the transaction object
b) Registers the class in the UVM factory
c) Creates the code to copy and compare transaction objects
d) Randomizes the properties
17. What is the return type of the clone() method?
a) uvm_object
b) uvm_transaction
c) uvm_sequence
d) None of the above
18.Which method is NOT called by uvm_sequence::start()?
a)  create()
b) pre_start()
c) body()
d) post_start()
19. How does a test tell a sequence to begin?
a) Call the run() method
b) Call the start() method
c) Call the body() method
d) None of the above
20. A sequence can send sequence items to multiple sequencers.
a) TRUE
b) FALSE
21. Which of these describes the TLM connection between a driver and sequencer?
a) The driver is the target and the sequencer is the initiator
b) The driver is the initiator and the sequence is the target
c) The driver is the master and the sequencer is the slave
d) The driver is the initiator and the sequencer is the target
22. The TLM connection in the driver is called seq_item_port.
a) TRUE
b) FALSE
23. Which components are in a passive agent?
a) A monitor
b) A sequencer
c) A driver
d) None of the above
24. Where are UVM scoreboards instantiated?
a) In the test class
b) In the agent component
c) In the environment component
d) In the monitor component.
25. A virtual sequence is
a) A configuration object.
b) Left over from OVM and not recommended.
c) A sequence that controls other sequences.
d) None of the above
These type of questions asked in written test for verification profile of product and service based companies like synopsys,nvidia,cadence,nxp,mentor graphics,qualcomm,xilinx,amd and intel etc.
Answers: 1.a  2.b  3.a,c and d  4.a  5.d  6.b  7.c  8.b  9.b  10.a  11.d  12.d  13.d  14.c  15.c  16.b  17.a  18.a  19.b  20.b  21.d  22. a  23.a  24.c  25.c
SHARE

vlsi4freshers

Hi I’m Designer of this blog.

    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment