wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

UVM and SystemVerilog Quiz

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What is the primary purpose of the UVM factory?

a)

To create clocking mechanisms

b)

To automate sequence generation

c)

To enable dynamic and configurable object creation

d)

To store and forward transactions

2.

In UVM, which component is responsible for converting a sequence item into signals?

a)

Monitor

b)

Driver

c)

Sequencer

d)

Environment

3.

Which method is used to raise an objection in UVM?

a)

raise_phase_objection()

b)

phase.raise_objection()

c)

raise_objection()

d)

phase.objection_raise()

4.

What does the uvm_config_db do in UVM?

a)

Passes configuration information to specific components

b)

Stores testbench logs

c)

Handles transaction recording

d)

Controls UVM phases

5.

How is a virtual sequence typically started?

a)

By calling start() directly on the sequence

b)

By using a sequencer pointer in the test class

c)

By defining it in the UVM monitor

d)

By overriding the factory default

6.

Which of the following is NOT true about initial blocks in SystemVerilog?

a)

They execute once at time 0.

b)

Multiple initial blocks execute concurrently.

c)

They can be used to drive clock signals.

d)

They cannot contain delays.

7.

What is the primary difference between interface and module in SystemVerilog?

a)

An interface cannot contain tasks and functions.

b)

An interface is used to group signals and simplify connections.

c)

A module is used only in testbenches.

d)

Interfaces can directly instantiate hardware.

8.

In SystemVerilog, what does the keyword unique ensure in a case statement?

a)

No two cases overlap.

b)

All cases must execute sequentially.

c)

The case is evaluated as a priority encoder.

d)

There is exactly one matching case at runtime.

9.

What is the role of the covergroup in SystemVerilog?

a)

To assert design functionality

b)

To perform code coverage

c)

To measure functional coverage

d)

To generate random data

10.

How is logic different from reg in SystemVerilog?

a)

logic is purely synthesizable, whereas reg is not.

b)

logic can be used for multi-driver signals, unlike reg.

c)

logic is a 4-state data type, whereas reg is only 2-state.

d)

logic is the preferred replacement for reg in modern designs.