wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Verilog Quizz

Total questions: 20

Worksheet time: 3mins

Name
Class
Date
1.

Verilog is an

a)

Case Insensitive

b)

Case Sensitive

c)

Can't say

2.

Integer datatype is allocated ______ number of bits

a)

16

b)

32

c)

64

d)

8

3.

reg [4:1] pwm will initialize variable of _______ bits

a)

3

b)

4

c)

5

d)

6

4.

{,} is used to perform which operation

a)

concat

b)

Division

c)

Exponent

d)

Mod

5.

The most appropriate modeling style to implement Traffic light controller will be

a)

Dataflow

b)

Structural

c)

Behavioral

d)

Switch

6.

Full of HDL is.......and two HDL Languages are ........and ..................

a)

Hardware developed language

VHLD

Verilog

b)

Hardware debugging language

Verilag HDL

VHDL

c)

Hardware description
Language

Verilog

C

d)

Hardware description
Language

Verilog

VHDL

7.

Describe the structure of a testbench in Verilog.

a)

A testbench in Verilog does not need to instantiate the DUT.

b)

A testbench in Verilog consists only of a module declaration and no signal declarations.

c)

A testbench in Verilog includes a module declaration, signal declarations, instantiation of the DUT, initial and always blocks for stimulus and monitoring, and simulation control.

d)

A testbench requires only a single always block for stimulus and monitoring.

8.

Special identifiers reserved to define the language constructs are called?

a)

Registers

b)

system tasks.

c)

keywords

d)

whitespaces

9.

For describing circuits like flip flops _____________ statement is used

a)

always

b)

assign

c)

initial

d)

forever

10.

<= is used in

a)

Blocking

b)

Non Blocking

c)

Both

d)

None

11.

Which logic level is not supported by

verilog?

a)

U

b)

X

c)

Z

d)

None of the above

12.

Which level of abstraction level is available in Verilog but not in VHDL?

a)

Behavioral level

b)

Structural level

c)

Dataflow level

d)

Switch level

13.

The input and output ports should be declared inside the ________

a)

Module

b)

Case

c)

wire

d)

None of the above

14.

The symbol used for Logical AND operation is ______

a)

and

b)

or

c)

&&

d)

None

15.

In behavioral modeling the keyword used is _______

a)

always

b)

become

c)

and

d)

or

16.

The Verilog HDL code ends with the keyword_________

a)

always

b)

module

c)

keys

d)

endmodule

17.

What are the different types of operators available in Verilog?

a)

Arithmetic, bitwise, logical, and relational operators

b)

Comparison, assignment, increment, decrement operators

c)

Addition, subtraction, multiplication, division operators

d)

String, array, object, function operators

18.

always will be used in program when we use following data type

a)

wire

b)

value set

c)

register

d)

integer

19.

Half adder will be using following gates to the circuit

a)

XOR & AND gate

b)

XOR & OR gate

c)

NOT & XOR gate

d)

NAND & XOR gate

20.

Which of the following data types can store value during Verilog simulation?

a)

wire

b)

wand

c)

wor

d)

reg