Question

In: Computer Science

Design a combinational logic circuit that performs the function of Full Subtractor. Draw a neat diagram...

Design a combinational logic circuit that performs the function of Full Subtractor. Draw a neat diagram of the final circuit and verify the design for at least two input samples.

Solutions

Expert Solution

A full subtractor is a combinational circuit that performs subtraction of two bits, one is minuend and other is subtrahend, taking into account borrow of the previous adjacent lower minuend bit. This circuit has three inputs and two outputs. The three inputs A, B and Bin, denote the minuend, subtrahend, and previous borrow, respectively. The two outputs, D and Bout represent the difference and output borrow, respectively.

Truth Table –

From above table we can draw the K-Map as shown for “difference” and “borrow”.


Logical expression for difference –

D   = A’B’Bin + A’BBin’ + AB’Bin’ + ABBin
    = Bin(A’B’ + AB)  + Bin’(AB’ + A’B)
    = Bin( A XNOR B) + Bin’(A XOR B)
    = Bin (A XOR B)’  +  Bin’(A XOR B)
    = Bin XOR (A XOR B)
    = (A XOR B) XOR Bin

Logical expression for borrow –

Bout = A’B’Bin + A’BBin’ + A’BBin + ABBin      
     = A’B’Bin +A’BBin’ + A’BBin + A’BBin + A’BBin + ABBin
     = A’Bin(B + B’) + A’B(Bin + Bin’) + BBin(A + A’)
     = A’Bin + A’B + BBin

OR

Bout = A’B’Bin + A’BBin’ + A’BBin + ABBin      
     = Bin(AB + A’B’) + A’B(Bin + Bin’)
     = Bin( A XNOR B) + A’B
     = Bin (A XOR B)’ + A’B

Logic Circuit for Full Subtractor –


Related Solutions

Design a combinational logic circuit that takes a single digit decimal number as its input and...
Design a combinational logic circuit that takes a single digit decimal number as its input and also detects if the input is an odd number. Design a combinational circuit that accepts a 3-bit number and generates an output binary number equal to the square of the input number.
1. Design a combinational logic circuit that converts 4 bits binary to gray code 2. Design...
1. Design a combinational logic circuit that converts 4 bits binary to gray code 2. Design a combinational logic circuit that converts gray code to 4 bits binary 3. Design a combinational logic circuit that converts 4bits 2421 to excess 3 code
Problem Statement: Design a combinational logic circuit that meets the following specifications: • Input: 3-bit binary...
Problem Statement: Design a combinational logic circuit that meets the following specifications: • Input: 3-bit binary integer (A), 2-bit binary integer (B). • Output: 5-bit binary integer (X) = (AxB). For example, A=6, B=2, X=6x2=12. Notation: • A=(A2,A1,A0) • B=(B1,B0) • X=(X4,X3,X2,X1,X0) Required Output: Show the truth table and a minimal logic expression for each of the outputs. Also, draw a logic diagram using discrete gates. Extra Credit: Redesign by using multiplexers and minimal discrete logic as appropriate. 1 |...
Identify FM Broadcasting System in wireless communication and design circuit. Draw the appropriate circuit diagram or...
Identify FM Broadcasting System in wireless communication and design circuit. Draw the appropriate circuit diagram or functioning diagram. Develop circuit diagram in MATLAB for FM Broadcasting System and run the simulation.
Procedure a. Design and build a circuit based on the subtractor adder to implement the following...
Procedure a. Design and build a circuit based on the subtractor adder to implement the following equation: Y=2X +1.5 b. Check the operation of the circuit, entering 10 different values ​​of X and measuring the result obtained in Y. Use a source of +-15 volts to polarize the circuit c. Graph the results and obtain the equation of that graph.
Design an elevator control system for an 8 floors building, draw the logic diagram, and illustrate...
Design an elevator control system for an 8 floors building, draw the logic diagram, and illustrate the system with the following situations: 1. The car is on the ground floor, John Doe wants to go from ground floor to 7th floor; 2. The car is on 8th floor, John Doe wants to go from 6th floor to the ground floor; 3. The car is moving up from 4th floor to 7th floor, John Doe wants to go from 6th floor...
Draw the circuit diagram of a stand-alone photovoltaic system assisted with batteries and explain the function...
Draw the circuit diagram of a stand-alone photovoltaic system assisted with batteries and explain the function of each stage of the system.
Draw a neat and clear diagram and show the decomposition of total effect into substitution and...
Draw a neat and clear diagram and show the decomposition of total effect into substitution and income effects for a fall in wages when leisure is an inferior good (with leisure on the horizontal axis and consumption on the vertical axis).
Draw the logic diagram for the function f=ΣA,B,C (2, 6, 7) using only AND, OR, and...
Draw the logic diagram for the function f=ΣA,B,C (2, 6, 7) using only AND, OR, and NOT gates. Then draw logic schematic with only NAND gates, and appropriate resistors/LEDs to have LEDs to show the inputs and the outputs. You will need to swap out your AND, OR, and NOT gates as appropriate. You must show all gates, do not apply the involution theorem in the process. This means you will have more NAND gates than possible to implement with...
Design an 8-bit ALU Circuit diagram,
Design an 8-bit ALU Circuit diagram,
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT