Adders & Comparators Flashcards

1
Q

What is a Half Adder

A

Adds 2 Bits Together, 2 Inputs Generate a Sum and a Carry.

No Input Carry

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

Draw a Truth Table for a Half Adder

Write the SOP for the Sun and carry Outputs

Draw the Logic CIrcuit

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

What is a Full Adder

A

Adss 3 Bits Together, 2 Inputs and a Cary input generate 2 Sum and a Carry Output

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

Draw a Truth Table for a Full Adder

Write the SOP for the Sun and carry Outputs

Draw the Logic CIrcuit

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

Draw a Block Diagram for an Adder that Adds two 4-bit Numbers Together

If we wanted to Make an 8-bit Adder, what would you do?

Explain why a full adder is mostly used for the final 2 bits, instead of a half adder.

A

Get two 4-bit adders, put the carry output of one 4-bit adder, and put it as carry input to another

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

What is a Compliment

A

For a specific calculation ie. 64-38

A Compliment is a number that when added to the first number (64) produces an answer where the MSB is 1, yet the proceeding digits are the answer to the calculation.

The Compliment for the Calculation 64-38 is 62
64-38 = 26
64 + 62 = 126

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

Show how Two’s Complement works

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

How do you Check your answer is correct, if it is in Two’s Compliment (Negative) form

A

Invert all digits
Add 1
The answer given is now Positive

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

Calculate -15-7 (base 10) via Two’s Compliment

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

Calculate 9-11 via Two’s Compliment

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

What is the Function of an Equality Comparator

Write the SOP Expression for a 4 Bit Equality Comparator

Draw the Logic Circuit

A

Outputs 1 if two N-Bit Numbers are equal, 0 otherwise

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

What is the Function of a Magnitude Comparator

Write the SOP Expression for the 3 Required Functions

Draw the Block Diagram

A

Out puts whether two N-Bit numbers are A=B , A>B , A<B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q
A
17
Q
A
18
Q
A
19
Q
A
20
Q
A