4.1/4.2- Decoders & Adders Flashcards

1
Q

a way to create a circuit with multiple inputs based upon desired outputs.

A

minterm

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

When do we use minterms

A

When we have the truth table but not a boolean expression and want to create a circuit

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

What is the purpose of a multiplexer?

A

Pass through one of multiple inputs based upon a selection input.

Similar to an “if/else” statement in code.

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

Kinda a reverse multiplexer
Select one of 2n data OUTPUTS to set high based on the binary value of the n control inputs
Possible enable switch

Uses:
Decode address lines in memory
Decode opcode (operation code) in CPU

A

Decoder

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

Key component in an Arithmetic Logic Unit (ALU)
For ____ _____:
Thee Inputs: C{in}, x, y
Two Outputs: S & C

A

Full Adder

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

given an example decoder with inputs s0 and s1 and outputs m0 - m3, the inside of the decoder will contain:

A

inputs s1 and not s1 as well as input s0 and not s0
the output gates will be 4 AND gates with two inputs each. from top to bottom inputs will be:
(s1 and s0)
(s1 and not s0)
(not s1 and s0)
(not s1 and not s0)

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

given an example decoder with inputs s0, s1, and Enable (E) and outputs Q0 - Q3, the inside of the decoder will contain:

A

inputs s1 and not s1 as well as input s0 and not s0, and Enable (E)
the output gates will be 4 AND gates with three inputs each. from top to bottom inputs will be:
(s1 and s0 and E)
(s1 and not s0 and E)
(not s1 and s0 and E)
(not s1 and not s0 and E)

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

a single bit full adder circuit has the inputs X, Y and Cin as well as the outputs C and S. What is the inner circuits formula?

A

C = yCin + xCin + xy
S = x ⊕ y ⊕ Cin

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

a single bit full adder circuit has the inputs X, Y and Cin as well as the outputs C and S. What does the inner circuit look like?

A

Three AND gates with 2 inputs each, two xor gates and a or gate
(X AND Y)———
(X AND Cin)—— (OR) = C
(Y AND Cin)——-

(Y XOR Cin) XOR X = S

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

What two things cause a carry in a look ahead adder?

A

x =1 && y=1 ← generation (g)
(x =1 || y=1) && Cin ← propagation (p)

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

Carry look ahead adder formula

A

g= xy
p=x⊕y

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

there is a carry to a higher bit if

A

Carry generated by current bit (g=1)

OR There is a carry from the lower bit AND the current bit can propagate it

Formula: C = g + pCin

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

Look ahead adder input and output
g = _____
p = _____
S = _______

A

xy
x⊕y
x⊕y⊕Cin

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

a full adder with inputs x, y, and c and outputs p, g, and s can be formed from the following circuit:

A

(X XOR Y) –|– p
(X AND Y) –|— g
C— XOR —— s

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