Question: Modify your 4-bit adder to become a 4-bit adder/subtractor (see slide adders- 8). Your adder/subtractor has an additional input signal, subtract. If subtract = 0,
Modify your 4-bit adder to become a 4-bit adder/subtractor (see slide adders-
8). Your adder/subtractor has an additional input signal, subtract. If subtract = 0,
the circuit adds A + B. If subtract = 1, the circuit subtracts A B. Simulate the
operation as above, but with the subtract signal low for the first half and high for
the second half. This uses Quartus Prime Program.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
