Question: Design a 4 - bit Arithmetic Unit that can perform different arithmetic operations based on the mode selected. The unit should have two unsigned 4
Design a bit Arithmetic Unit that can perform different arithmetic operations
based on the mode selected. The unit should have two unsigned bit inputs A
and B and should be able to perform addition, subtraction, multiplication, and
division. Your circuit must also output flags indicating the result's zero and carry
status.
Mode of Operation:
Mode : Perform bit addition of A and B
Mode : Perform bit subtraction of B from A
Mode : Perform bit multiplication of A and B ignore overflow
Mode : Perform integer division of A by B output quotient and
remainder
Constraints:
For multiplication and division, you can use shift registers.
The circuit must use no more than registers for intermediate storage.
Outputs should include carry and zero flags.
Inputs
Pin Size in bits Explanation
A Unsigned bit input A
B Unsigned bit input B
Mode Mode selection:
for add,
for subtract,
for multiply,
for divide.
clkIn Connect to the clock
ports of
registersflipflops.
Outputs
Pin Size in bits Explanation
Result The result of the
arithmetic operation.
Remainder The remainder when
dividing A by B valid
only for division
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
