Lecture 11 Flashcards

1
Q

Given n inputs, how many outputs will a Decoder have?

A

2^n

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

What does the input determine in a Decoder?

A

Which of the outputs gets a value of 1.

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

Given a computer with 4 memory chips, with 64KB between them and using 16 bits to store an address, how many inputs will need to be given to a Decoder to work out which chip to send the rest of the address?

A
The first 2.
Eg.
00xxxxxxxxxxxxxx - Chip 0
01xxxxxxxxxxxxxx  - Chip 1
10xxxxxxxxxxxxxx  - Chip 2
11xxxxxxxxxxxxxx    - Chip 3
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

A demultiplexer has how many ‘data’ inputs?

A

1

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

Given n ‘control’ inputs, how many total inputs does a demultiplexer have?

A

n+1

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

Given n ‘control’ inputs, and 1 data input, how many outputs does a demultiplexer have?

A

2^n

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

Given n ‘control’ inputs, how many data inputs does a multiplexer have?

A

2^n

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

How many outputs does a multiplexer have?

A

1

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

What gates/circuits are in a Full Adder?

A

Two half adders and an or gate

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

A 4-bit ripple adder consists of what four circuits?

A

Three full adders and one half adder

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

What is gate delay?

A

The time taken from when an input becomes stable to when an output becomes stable.

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

What is gate delay also known as?

A

Propagation delay.

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

What is the depth of a circuit?

A

The largest number of gates between any input and any output.

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

How long does it take for a circuit to settle?

A

depth * gate delay, assuming gate delay is the same for every gate.

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

How many gate delays are there in a 4-bit ripple adder?

A

7

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

How many gates are there in a 4-bit ripple adder?

A

17

17
Q

How many gates are there in a 32-bit ripple adder?

A

157

(31 * 5) for the 31 full adders, plus 2 for the 1 half adder.

18
Q

How many gate delays are there in a 32 bit ripple adder?

A

63

19
Q

How many gates are there in a 64-bit ripple adder?

A

317

(63 * 5) + 2

20
Q

How many gate delays are there in a 64 bit ripple adder?

A

127

21
Q

What is a carry-select adder?

A

No clue lol

22
Q

What is a barrel shifter used for?

A

Left/right shifting