Half Subtractors:: To Design Half Subtractor and Full Subtractor Circuits Using Logisim
Half Subtractors:: To Design Half Subtractor and Full Subtractor Circuits Using Logisim
Theory:
Logisim is an educational tool for designing and simulating digital logic circuits. With its simple toolbar interface and simulation of circuits as they are built, it is simple enough to facilitate learning the most basic concepts related to logic circuits. With the capacity to build larger circuits from smaller sub circuits, and to draw bundles of wires with a single mouse drag, Logisim can be used (and is used) to design and simulate entire CPUs for educational purposes.
Half subtractors:
A half subtractor is an arithmetic circuit that subtracts one binary digit from another considering a borrow. It has two inputs and two outputs (Difference and borrow).
Gates Used: AND, OR, NOT and XOR gates. AND GATE: It is one of the basic gates. It performs logical AND operation.
It is represented by the symbol .
OR GATE:
XOR GATE:XOR gate is one of the derived gates. It performs Logical XOR
operation. It is represented by the symbol +
NOT GATE: NOT gate is also one of the basic gates. It performs logical
NOT operation. It is represented by the symbol
OPERATION OF GATES: AND GATE: It has a property to provide High state (i.e. 1) output only when
all the inputs are at high state otherwise its output is low (i.e. 0)
OR GATE:
It has a property to provide Low state (i.e. 0) output only when A circuit that takes two inputs and outputs 0 if the inputs are
all the inputs are at Low state otherwise its output is High (i.e. 1)
XOR GATE:
NOT GATE: It has a property to provide high state (i.e. 1) output when
input is at low state (i.e. 0) and vice-versa.
Input A O O 1 1 B O 1 O 1
INPUT
A B BIN D=A +B +BIN
Output
BOUT =AB+ABIN+BBIN
0 0 0 0 1 1 1 1
0 0 1 1 0 0 1 1
0 1 0 1 0 1 0 1
0 1 1 0 1 0 0 1
0 1 1 1 0 0 0 1
K-MAP
1. For Half Subtractor Circuit i. For Difference ( D)=AB+AB A 0 1 ii. For Borrow (Bin ) = AB A 0 1 B 0 0 0 1 1 0 B 0 0 1 1 1 0
Result: Hence Half Subtractor and Full Subtractor circuits are properly designed and simulated through Logisim