Exam 1 Flashcards

(20 cards)

1
Q

In a combinational logic circuit output values depend on

A

Only present input values, less a non-zero, combinational logic path propagation delay

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

In a finite state machine in which the output values depend exclusively on the present state value, the output values may change

A

Only during a clock event

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which of the following coding styles is NOT a “one-to-one” match with a schematic drawing?

A

Behavioral

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Statements inside a procedural block (always in Verilog or process in VHDL) are executed:

A

Sequentially

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which language does NOT have built-in primitives (gates)?

A

VHDL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

A circuit described in VHDL has

A

An entity and one or more architectures

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

In VHDL, if X is of type std_logic_vector(7 to 0), and X <= “10100101”, then the value of x(6) is

A

‘0’

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

In Verilog, if X{7:0] = 8’b10100101, then the value of X[3] is

A

‘0’

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which type of simulation DOES NOT use accurate gate and wire propagation delay?

A

Functional

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Is a testbench being/or not being synthesized?

A

Testbench is not being synthesized

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

High level programming languages such as C describe

A

Only sequential events

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

If the value of a parameter in Verilog is not specified at the time of instantiation, then the tool chooses to use

A

The default value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

A process in VHDL or always block in verilog is entered and executed when

A

one or more signals in the sensitivity list change state and when ALL signals in the sensitivity list change state

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Port mapping in VHDL can be done using

A

positional association and named association

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

During exhaustive verification or testing, what combinations are exercised?

A

All possible input combinations are exercised

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

A testbench module in verilog has:

  • only input ports
  • only output ports
  • input and output ports
  • none of the above
A

None of the above

17
Q

Calculate the following sum and determine if overflow occurs.

10001101
+ 01001101
——————

These operands are 8-bit 2’s C-signed integers. The values of C and V are

A

MSB is neg = 1 and pos = 0

If the sum of two positive numbers yields a negative result, the sum has overflowed.
If the sum of two negative numbers yields a positive result, the sum has overflowed.
Otherwise, the sum has not overflowed.

Overflow= V=0
Cout = resulting MSB=0
18
Q

Which number is represented by the following Verilog description {4’b0101, 4’hA)?

A

01011010

Verilog HDL allows integer numbers to be specified as

Sized or unsized numbers bits
In a radix: binary, octal, decimal,hexadecimal
Radix and hex digits (a,b,c,d,e,f) are case insensitive

Syntax: ‘;

19
Q

If 1010 is 4-bit 2’s C value, then the same value in 8-bit 2’s C representation is

20
Q

Overflow can be detected by applying one of the following rules

A

Sign of the results is different than that of both operands and when the carry in and out of the most significant bit position are different