2. (8 points) Given the 4-bit adder below, fill out the tables below. Show your work for the add or subtract. (The overflow signal is a 1 if there is overflow.) The inputs are 4-bit two's complement numbers. C4 overflow x2 x1 хо $3 $2 Уз y2 y1 yo Add/Sub control 4-bit adder S1 a) Fill out the table for x - y (subtraction) SO Co x input 0x6 y input Add/Sub 0x7 CO s output (hex) C4 overflow b) Fill out the table for x + y (addition) x input y input Add/Sub 0x5 0x5 Co s output (hex) C4 overflow c) Fill out the table for x + y (addition) x input y input Add/Sub Co s output (hex) C4 overflow OxA 0x8 d) Fill out the table for x - y (subtraction) x input y input Add/Sub CO s output (hex) C4 overflow 0x7 0x5
2. (8 points) Given the 4-bit adder below, fill out the tables below. Show your work for the add or subtract. (The overflow signal is a 1 if there is overflow.) The inputs are 4-bit two's complement numbers. C4 overflow x2 x1 хо $3 $2 Уз y2 y1 yo Add/Sub control 4-bit adder S1 a) Fill out the table for x - y (subtraction) SO Co x input 0x6 y input Add/Sub 0x7 CO s output (hex) C4 overflow b) Fill out the table for x + y (addition) x input y input Add/Sub 0x5 0x5 Co s output (hex) C4 overflow c) Fill out the table for x + y (addition) x input y input Add/Sub Co s output (hex) C4 overflow OxA 0x8 d) Fill out the table for x - y (subtraction) x input y input Add/Sub CO s output (hex) C4 overflow 0x7 0x5
Introductory Circuit Analysis (13th Edition)
13th Edition
ISBN:9780133923605
Author:Robert L. Boylestad
Publisher:Robert L. Boylestad
Chapter1: Introduction
Section: Chapter Questions
Problem 1P: Visit your local library (at school or home) and describe the extent to which it provides literature...
Related questions
Question
Solve this problem and show all of the work

Transcribed Image Text:2. (8 points) Given the 4-bit adder below, fill out the tables below. Show your work for the add or subtract.
(The overflow signal is a 1 if there is overflow.) The inputs are 4-bit two's complement numbers.
C4
overflow
x2
x1
хо
$3
$2
Уз
y2
y1
yo
Add/Sub
control
4-bit adder
S1
a) Fill out the table for x - y (subtraction)
SO
Co
x input
0x6
y input Add/Sub
0x7
CO
s output (hex) C4
overflow
b) Fill out the table for x + y (addition)
x input y input Add/Sub
0x5
0x5
Co s output (hex) C4 overflow
c)
Fill out the table for x + y (addition)
x input y input Add/Sub Co
s output (hex)
C4 overflow
OxA
0x8
d)
Fill out the table for x - y (subtraction)
x input
y input Add/Sub CO s output (hex)
C4 overflow
0x7
0x5
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps

Recommended textbooks for you

Introductory Circuit Analysis (13th Edition)
Electrical Engineering
ISBN:
9780133923605
Author:
Robert L. Boylestad
Publisher:
PEARSON

Delmar's Standard Textbook Of Electricity
Electrical Engineering
ISBN:
9781337900348
Author:
Stephen L. Herman
Publisher:
Cengage Learning

Programmable Logic Controllers
Electrical Engineering
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education

Introductory Circuit Analysis (13th Edition)
Electrical Engineering
ISBN:
9780133923605
Author:
Robert L. Boylestad
Publisher:
PEARSON

Delmar's Standard Textbook Of Electricity
Electrical Engineering
ISBN:
9781337900348
Author:
Stephen L. Herman
Publisher:
Cengage Learning

Programmable Logic Controllers
Electrical Engineering
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education

Fundamentals of Electric Circuits
Electrical Engineering
ISBN:
9780078028229
Author:
Charles K Alexander, Matthew Sadiku
Publisher:
McGraw-Hill Education

Electric Circuits. (11th Edition)
Electrical Engineering
ISBN:
9780134746968
Author:
James W. Nilsson, Susan Riedel
Publisher:
PEARSON

Engineering Electromagnetics
Electrical Engineering
ISBN:
9780078028151
Author:
Hayt, William H. (william Hart), Jr, BUCK, John A.
Publisher:
Mcgraw-hill Education,