Question

Design a 4-bit adder-subtractor circuit using the 4-bit binary Full adders (74LS83) and any necessary additional...

Design a 4-bit adder-subtractor circuit using the 4-bit binary Full adders (74LS83) and any necessary additional logic gates. The circuit has a mode input bit, M, that controls its operation. Specifically, when M=0, the circuit becomes a 4-bit adder, and when M=1, the circuit becomes a 4-bit subtractor that performs the operation A plus the 2’s complement of B.Where A and B are two 4-bits binary numbers. That is,

* When M=0, we perform A+B, and we assume that both numbers are unsigned numbers. So the maximum sum value will be 15 (since we are assuming A and B are 4-bit numbers).

* When M=1, we perform A+ (B)2’s Complement. That is, we find first the2’s complement of B then add it to A. Hence, here the answer of theoperation A-B is expressed in 2’s complement representation.

* In both cases above, assume that overflow will not happen. That is, you may assume that your inputs are chosen in a way that willnot generate overflow. So, you don’t have to worry aboutoverflow.

a. Draw the logic diagram that implements this circuit,and simulate the circuit on logisim program.

**please show details of your work

Homework Answers

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
I have an 4-bit unsigned Binary adder that performs F=A+B with carry in and carry out,...
I have an 4-bit unsigned Binary adder that performs F=A+B with carry in and carry out, I have to draw the smallest circuit using the adder and whatever other combinational logic gates I need to perform the 4-bit function below on 2's complement numbers A and B F=A+B if ADD=1, F=A-B if ADD=0
Use contraction beginning with a 4-bit adder-subtractor with carry in, to design a 4-bit circuit without...
Use contraction beginning with a 4-bit adder-subtractor with carry in, to design a 4-bit circuit without carry out that increments its input by 0010 for input S=0 and decrements its input by 0010 for input S=1. Perform the design by designing the distinct 1-bit full adder cells needed and indicating the type of cell used in each of the four bit positions.
Adder Start out by picking 2 positive six bit binary numbers that are less than 3210,...
Adder Start out by picking 2 positive six bit binary numbers that are less than 3210, written in 2's complement notation. The eventual goal is to add these two numbers. 1) Look at the LSB bit of the numbers, and using logic gates (NANDs, NORs, etc.) design a circuit that correctly gives the right output for any possible combination of bits in the LSB place. 2) Now look at the next column to the left (next to LSB). In this...
True and False 1. A half-adder has 2 inputs and 2 outputs. 2. Using only full-adders,...
True and False 1. A half-adder has 2 inputs and 2 outputs. 2. Using only full-adders, how many are needed to add together two 8-bit unsigned integer binary codes? 3. When A and B are unsigned integer binary codes, A-B is calculated as 2's complement(A) + B. 4. An N-bit address bus sends an address value one bit at a time. 5. The instruction pointer register stores the result of calculations from the previous instruction.
VERILOG Design an Arithmetic Logic Unit (ALU) that can perform four-bit 1. Four-bit addition; 2. Four-bit...
VERILOG Design an Arithmetic Logic Unit (ALU) that can perform four-bit 1. Four-bit addition; 2. Four-bit subtraction; 3. Four-bit multiplication; 4. Four-bit comparator (that compares two binary numbers to check whether two numbers are equal, or one is less/greater than other). Write test benches and simulate each module/submodule. Hint: First make individual modules of the four-bit adder, four-bit subtractor, four-bit multiplier, four-bit comparator modules (make all these in same/one project) and then use a multiplexer to combine these modules to...
(a) Design a 2 - digit BCD number -to- binary number converter circuit by using 4...
(a) Design a 2 - digit BCD number -to- binary number converter circuit by using 4 bit parallel adders. (b) Design a parallel binary multiplier that multiplies a 4- bit number B = B3B2B1B0 by a 3- bit number A = A2A1A0 to form the product C = C6C5C4C3C2C1C0.
Design a circuit for a synchronous 4-bit counter. Your counter should count up starting from 0...
Design a circuit for a synchronous 4-bit counter. Your counter should count up starting from 0 to 9 (00002 to 10012) and then wind back to 0 (00002) – after 9, it should go back to 0. Use 4 JK flip-flops and any other gates you need. Include your design documentation in your submission: a. Truth table b. Simplification (show your work) 2. Build this circuit in Logisim. Please label each gate, including flip-flops. You may need the following wiring...
We wish to design a 4-bit PWM to control the brightness of a 7-segment LED display....
We wish to design a 4-bit PWM to control the brightness of a 7-segment LED display. A PWM circuit will be constructed with a 74163 (4-bit binary counter) and a 7485 (4-bit magnitude comparator). The inputs and output are:  clk: DE1 50 MHz clock signal.  d: 4-bit input control signal specifying the duty cycle of output pulse.  p: 1-bit output pulse with the specified duty cycle. The d signal is treated as a 4-bit unsigned binary number....
In the following problems, assume you are using 2s complement form and do the indicated operation....
In the following problems, assume you are using 2s complement form and do the indicated operation. Leave the answers in binary. Also, assume you are dealing with signed numbers. Also, assume we are saving the answer in a 8-bit register. In this case, for each problem would the saved answer be correct. If not for which of the following problems would if be incorrect and why?   6 + 7   6 + (-7)    -6 + 13 (Note: 13, which is positive...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT