wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Verilog Fundamentals

Total questions: 15

Worksheet time: 1hrs 25mins

Name
Class
Date
1.

initial statement is

a)

Synthesizable

b)

Not Synthesizable

2.

always construct is Synthesizable

a)

True

b)

False

3.

#5 is Synthesizable

a)

True

b)

False

4.

= and <= represent

a)

Non-blocking and Blocking Assingment respectively

b)

Blocking and Non-blocking Assingment respectively

5.

Verilog is an

a)

Case Insensitive

b)

Case Sensitive

c)

Can't say

6.

Integer datatype is allocated ______ number of bits

a)

16

b)

32

c)

64

d)

8

7.

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

a)

3

b)

4

c)

5

d)

6

8.

{,} is used to perform which operation

a)

concat

b)

Division

c)

Exponent

d)

Mod

9.

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

a)

Dataflow

b)

Structural

c)

Behavioral

d)

Switch

10.

{1'b0, 2'b01, 3'b0} will result in

a)

6'b 001001

b)

6'b 001000

c)

4'b 0010

d)

4'b 0100

11.

Shivani wish to implement 4:1 mux. Identify the errors in the line numbers of the code

a)

4,16, 20,21

b)

4, 17,20,22

c)

4,16,20,22

d)

4,17,20,21

12.

Nitin Wish to implement Arithmetic unit capable of performing add, sub, mul and div operation. He written the following code identify the line numbers on which error exists.

a)

8,15,21,23

b)

8,16,21,23

c)

10,15,22,23

d)

10,16,22,23

13.

Vishwesh wish to implement D-flipflop with clear input. So if clear is high he want the output to be zero else D-fliflop must follow Din. He written the following code identify the line numbers on which error exists.

a)

9,13,16,17

b)

11,13,14,16

c)

14,16,17,18

d)

9,14,16,17

14.

Sumedh wish to implement 4-bit Synchronous Up/Down Counter. If reset state is high counter will reset to zero else depending on the mode pin state it will count up or Down. He decided that if Mode state is high then Counter will count up else vice versa.

a)

4,8,12,16

b)

5,10,16,21

c)

10,13,16,22

d)

8,10,12, 16

15.

Gaurav wish to implement Half adder. He written the following code identify the line numbers on which error exists.

a)

8,9,11,12

b)

4,5,8,9

c)

4,5,11,12

d)

8,9,12,14