Verilog and VHDL Digital Logic Design: Primitives, Descriptions, and Constructs

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/99

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 3:54 AM on 2/10/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

100 Terms

1
New cards

The first port in the port list of a Verilog gate level primitive is

The one and only output

2
New cards

The Verilog HDL is case sensitive

True

3
New cards

Which HDL description or model is a one to one match with the schematic diagram of a logic circuit?

Structural

4
New cards

The binary/logic operators in Verilog use what kind of characters?

special characters

5
New cards

The Verilog HDL has gate level primitives defined in the language standard and recognized by the compiler/synthesizer

True

6
New cards

Does behavioral description give any hints about how the circuit should be implemented?

No

7
New cards

The statements in an always block are executed

whenever one or more signals in the sensitivity list change

8
New cards

The statements in a procedural block (always/initial in Verilog) are executed

sequentially

9
New cards

We can use functional description inside a procedural block

True

10
New cards

We can instantiate modules inside a procedural block

False

11
New cards

A test bench can be synthesized

False

12
New cards

A test bench has no input and output ports

True

13
New cards

Exhaustive verification applies to

all possible input combinations

14
New cards

The initial Verilog procedural block is executed

Only once

15
New cards

The signals assigned a value inside a procedural block (always or initial in Verilog) have to be declared of type

reg

16
New cards

A VHDL component is comprised of

one entity and one or more architectures

17
New cards

VHDL does NOT have built-in gate level primitives

True

18
New cards

High-impedance or tri-stated outputs are used to transfer data

from multiple sources to one destination

19
New cards

A VHDL entity contains the component interface information

True

20
New cards

VHDL logic operators use

letter names such as AND OR XOR etc

21
New cards

Behavioral description uses

procedural statements

22
New cards

The sensitivity list should contain all signals used inside the process on the right hand side of assignments

True

23
New cards

The statements in a VHDL process are executed

sequentially

24
New cards

All project files that contain descriptions belong automatically to the work library

True

25
New cards

If-else and/or case statements can be nested

True

26
New cards

In Verilog the size of an instance using a parameterized module can be chosen

by providing a new value for the parameters at the time of instantiation

27
New cards

In named (or explicit) association (or port mapping) the order of associations

does NOT matter

28
New cards

Multi-bit signals in Verilog are described as

vectors

29
New cards

In an ECA the carry-outs ripple (propagate) from the least significant bit position to the most significant bit position

True

30
New cards

To create parameterized descriptions using module instances

we need to use the generate for loop or construct

31
New cards

In VHDL a generic component can be resized from the default values at instantiation time by

providing another value for the generics

32
New cards

In a RCA the cout is known after all carries have propagated from

the LSb to the MSb position

33
New cards

Multi-bit signals in VHDL are described as

vectors

34
New cards

To create generic descriptions using component instances

we can use the VHDL for generate loop in the concurrent block of code

35
New cards

In VHDL generic mapping maps

generics to positive integer values

36
New cards

At instantiation time the value of a parameter in Verilog can be specified

in more than one way

37
New cards

The generate for loop in Verilog allows the description of a circuit with arbitrary structure

False

38
New cards

The for generate loop in VHDL allows the description of a circuit with repetitive periodic structure

True

39
New cards

The Verilog generate for loop can only be used in a concurrent block of code

True

40
New cards

The VHDL for generate loop can only be used in a procedural block of code

False

41
New cards

A NOT gate can be implemented using a 2-to-1 mux by

connecting the NOT input to the select input and tying data input 0 to 1 and data input 1 to 0

42
New cards

In an FPGA LUT the data inputs of the multiplexer are driven by

values stored in storage elements

43
New cards

If we expand a function by 2 variables we need at least a

4 to 1 mux

44
New cards

What are the steps to the application of Shannon's expansion theorem?

expansion rearrangement of function simplification of co-factors

45
New cards

The canonical form of a function is

the SOP of all terms for which the function is 1

46
New cards

If we add two numbers of the same sign and the sign of the result is the opposite sign did overflow occur?

Yes

47
New cards

The zero status bit is 1 if the result is

0

48
New cards

For two's complement represented numbers the negative status bit is 1 if the MSbit of the result is

1

49
New cards

Shift right arithmetic replicates the MSbit to

maintain the sign of the operand in two's complement

50
New cards

A rotate left through carry allows us to transfer into the carry the value of the blank of the operand

MSbit

51
New cards

What is the first port in the port list of a Verilog gate level primitive?

The one and only output

52
New cards

Is the Verilog HDL case sensitive?

True

53
New cards

Which HDL description or model matches one to one with the schematic diagram of a logic circuit?

Structural

54
New cards

What kind of characters do binary/logic operators in Verilog use?

Special characters

55
New cards

Does the Verilog HDL have gate level primitives defined in the language standard?

True

56
New cards

Does behavioral description give hints about how the circuit should be implemented?

No

57
New cards

When are the statements in an always block executed?

Whenever one or more signals in the sensitivity list change

58
New cards

How are the statements in a procedural block executed?

Sequentially

59
New cards

Can we use functional description inside a procedural block?

True

60
New cards

Can we instantiate modules inside a procedural block?

False

61
New cards

Can a test bench be synthesized?

False

62
New cards

Does a test bench have input and output ports?

False

63
New cards

What does exhaustive verification apply to?

All possible input combinations

64
New cards

How many times is the initial Verilog procedural block executed?

Only once

65
New cards

What type must signals assigned a value inside a procedural block be declared as?

reg

66
New cards

What comprises a VHDL component?

One entity and one or more architectures

67
New cards

Does VHDL have built-in gate level primitives?

False

68
New cards

What are high-impedance or tri-stated outputs used for?

To transfer data from multiple sources to one destination

69
New cards

What information does a VHDL entity contain?

The component interface information

70
New cards

What do VHDL logic operators use?

Letter names, such as AND, OR, XOR, etc.

71
New cards

What does behavioral description use?

Procedural statements

72
New cards

What should the sensitivity list contain?

All signals used inside the process on the right hand side of assignments

73
New cards

How are the statements in a VHDL process executed?

Sequentially

74
New cards

Do all project files that contain descriptions belong automatically to the work library?

True

75
New cards

Can if-else and/or case statements be nested?

True

76
New cards

How can the size of an instance using a parameterized module be chosen in Verilog?

By providing a new value for the parameters at the time of instantiation

77
New cards

In named (or explicit) association, does the order of associations matter?

No

78
New cards

How are multi-bit signals in Verilog described?

Vectors

79
New cards

In an ECA, how do carry-outs ripple?

From the least significant bit (LSb) position to the most significant bit position (MSb)

80
New cards

What do we need to create parameterized descriptions using module instances?

The GENERATE FOR loop/construct

81
New cards

How can a generic component in VHDL be resized at instantiation time?

By providing another value for the generics

82
New cards

When is the cout known in a RCA?

After all carries have propagated from the LSb to the MSb position

83
New cards

How are multi-bit signals in VHDL described?

Vectors

84
New cards

What do we use to create generic descriptions using component instances in VHDL?

The VHDL FOR GENERATE loop in the concurrent block of code

85
New cards

What does VHDL generic mapping do?

Maps generics to positive integer values

86
New cards

How can the value of a parameter in Verilog be specified at instantiation time?

In more than one way

87
New cards

Can the generate For loop in Verilog describe a circuit with arbitrary structure?

False

88
New cards

What does the FOR GENERATE loop in VHDL allow?

The description of a circuit with repetitive (periodic) structure

89
New cards

Can the Verilog GENERATE FOR loop only be used in a concurrent block of code?

True

90
New cards

Can the VHDL FOR GENERATE loop only be used in a procedural block of code?

False

91
New cards

How can a NOT gate be implemented using a 2-to-1 mux?

Connecting the NOT input to the select input of the mux, and its data input 0 connected to 1 and 1 connected to 0 respectively

92
New cards

In a FPGA LUT, what drives the data inputs of the multiplexer?

Values stored in storage elements

93
New cards

What do we need to expand a function by 2 variables?

At least a 4 to 1 mux

94
New cards

What are the steps to apply Shannon's expansion theorem?

Expansion, re-arrangement of function, simplification of co-factors

95
New cards

What is the canonical form of a function?

The sum of products (sop) of all terms for which the function is 1

96
New cards

If we add two numbers of the same sign and the sign of the result is of the opposite sign, did overflow occur?

Yes

97
New cards

When is the zero (Z) status bit 1?

If the result is 0

98
New cards

For 2sC represented numbers, when is the negative status bit (N) 1?

If the MSbit of the result is 1

99
New cards

What does shift right arithmetic replicate?

The MSbit to maintain the sign of the operand in 2sC

100
New cards

What does a rotate left through carry (RLC) allow us to transfer into the carry?

The value of the MSbit of the operand