wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Verilog HDL -module 1 Quiz

Total questions: 18

Worksheet time: 12mins

Name
Class
Date
1.

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

2.

Correct order of HDL based design flow is..

a)

implementation->

sysnthesis->

RTL description->

Design specification

b)

RTL description->

Design specification->

implementation->

sysnthesis

c)

Design specification

RTL description->

sysnthesis->

implementation

d)

Design specification

RTL description->

implementation->

sysnthesis

3.

which among the following are related to importance of HDL?

a) Designers can be described at a very abstract level by use of HDL.

b) Designers can write their RTL description by choosing certainfab technology.

c) Easier way to develop and debug digital circuits.

d) Similar in syntax to Python programming



a)

a,b

b)

a,b,c

c)

a,b,c,d

d)

a alone

4.

Hierarchical modelling concepts are ......and ........... also cells that cannot further be divided is called ......

a)

Top up

bottom down

leef cells

b)

Top up

bottom up

leefy cells

c)

Top down

bottom up

leef cells

d)

Top down

bottom up

leaf cells

5.

Highest level of abstraction provided by Verilog HDL is?

a)

Behavioural

b)

Gate level

c)

Data flow

d)

structural

6.

The process of creating objects from a module template is called....


a)

Test bench

b)

stimulus.

c)

Instantiation

d)

system tasks

7.

The functionality of the design block can be tested by applying .............and checking results.


a)

a) Stimulus

b)

b) Compiler directives

c)

c) Testbench

d)

d) both a and c

8.

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.

9.

#40 in verilog indicates

a)

40ms time

b)

40us time.

c)

40ns time.

d)

40s time

10.

Given below are lexical conventions in verilog except

a)

registers

b)

whitespace

c)

comments

d)

Identifiers

11.

Special identifiers reserved to define the language constructs are called?

a)

Registers

b)

system tasks.

c)

keywords

d)

whitespaces

12.

How will you declare an array of 40 count variables?

a)

integer count [0:40]

b)

integer count [0:39]

c)

integer count [0:0]

d)

integer count 2[0:20]

13.

given below are system tasks in verilog except

a)

$finish()

b)

$stop()

c)

$start()

d)

$display()

14.

`define clk_period 20 and `include file.v are examples of...in verilog

a)

System tasks

b)

data types

c)

compiler directives

d)

module top

15.

unknown values are denoted by.......... and High impedance is denoted by.....in verilog

a)

x, y

b)

0, z

c)

x, z

d)

x,1

16.

As per the given circuit the missing line in the code using gatelevel modelling is.......

module mux2x1( I0,I1,S, Y );

output Y;

input I0,I1,S;

wire w1,w2,w3;

not(w1,S);

and(w2,I0,w1);

or(Y,w2,w3);

endmodule

a)

and(w3,I1,S);

b)

and(S,I1,w3);

c)

nand(I1,w3,S);

d)

nand(w3,I1,S);

17.

16-bit decimal number is represented in verilog as....

a)

16'b1111

b)

16'd255

c)

16'x255

d)

16'h255

18.

write the verilog gate level modelling for the given circuit.

note: use module name as "CKT"

4 lines