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

Electric Motor Control
10th Edition
ISBN:9781133702818
Author:Herman
Publisher:Herman
Chapter22: Sequence Control
Section: Chapter Questions
Problem 6SQ: Draw a symbol for a solid-state logic element AND.
icon
Related questions
Question

Solve this problem and show all of the work 

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
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
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Electric Motor Control
Electric Motor Control
Electrical Engineering
ISBN:
9781133702818
Author:
Herman
Publisher:
CENGAGE L
Power System Analysis and Design (MindTap Course …
Power System Analysis and Design (MindTap Course …
Electrical Engineering
ISBN:
9781305632134
Author:
J. Duncan Glover, Thomas Overbye, Mulukutla S. Sarma
Publisher:
Cengage Learning
Electricity for Refrigeration, Heating, and Air C…
Electricity for Refrigeration, Heating, and Air C…
Mechanical Engineering
ISBN:
9781337399128
Author:
Russell E. Smith
Publisher:
Cengage Learning
Delmar's Standard Textbook Of Electricity
Delmar's Standard Textbook Of Electricity
Electrical Engineering
ISBN:
9781337900348
Author:
Stephen L. Herman
Publisher:
Cengage Learning
EBK ELECTRICAL WIRING RESIDENTIAL
EBK ELECTRICAL WIRING RESIDENTIAL
Electrical Engineering
ISBN:
9781337516549
Author:
Simmons
Publisher:
CENGAGE LEARNING - CONSIGNMENT