SlideShare une entreprise Scribd logo
1  sur  14
Télécharger pour lire hors ligne
SYED HASAN SAEED
hasansaeedcontrol@gmail.com
shasansaeed@yolasite.com
1
syed hasan saeed, Integral University,
Lucknow
BINARY SUBTRACTOR
RULES FOR BINARY SUBTRACTION
0 - 0 = 0
0 - 1 = 1 with borrow 1
1 - 0 =1
1 – 1=0
NOTE: In the second case (0 – 1) it is necessary to borrow a 1.
2
syed hasan saeed, Integral University,
Lucknow
TYPES OF BINARY SUBTRACTOR
• Half Subtractor
• Full Subtractor
Half Subtractor:
• It is a combinational circuit with two inputs and two outputs ( difference
and borrow)
• Two inputs are A (minuend), B (subtrahend) and two outputs are D
(difference) and Bo (borrow out).
• It is used to perform subtraction of two bits.
3
syed hasan saeed, Integral University,
Lucknow
BLOCK DIAGRAM:
LOGIC DIAGRAM:
HALF
SUBTRACTOR
D
Bo
A
B
D
Bo
A
B
4
syed hasan saeed, Integral University,
Lucknow
INPUTS OUTPUTS
Minuend (A) Subtrahend (B) Difference (D) Borrow (Bo)
0 0 0 0
0 1 1 1
1 0 1 0
1 1 0 0
TRUTH TABLE OF HALF-SUBTRACTOR
5
syed hasan saeed, Integral University,
Lucknow
INPUTS OUTPUTS
Minuend (A) Subtrahend (B) Difference (D) Borrow (Bo)
0 0 0 0
0 1 1 1
1 0 1 0
1 1 0 0
TRUTH TABLE OF HALF-SUBTRACTOR
K-Map for difference (D)
0 1
1 0
A
B
BA
BA
0 1
0
1
6
syed hasan saeed, Integral University,
Lucknow
INPUTS OUTPUTS
Minuend (A) Subtrahend (B) Difference (D) Borrow (Bo)
0 0 0 0
0 1 1 1
1 0 1 0
1 1 0 0
TRUTH TABLE OF HALF-SUBTRACTOR
K-Map for difference (D) K-Map for Borrow Output (Bo)
0 1
1 0
A
B
BA
BA
0 1
0
1
0 1
0 0
A
B
0
0
1
1
BA
7
syed hasan saeed, Integral University,
Lucknow
From K-maps
syed hasan saeed, Integral University,
Lucknow
8
BAB
BABAD


LOGIC DIAGRAM
A
B
D
Bo
DISADVANTAGE OF HALF SUBTRACTOR:
Half subtractor can only perform the subtraction of two binary bits. But
while performing the subtraction, it does not take into account the borrow of
the lower significant stage.
HALF SUBTRACTOR USING BASIC GATES:
syed hasan saeed, Integral University,
Lucknow
9
BA
BA
BABAD 
BABO 
A B
FULL SUBTRACTOR:
• Full subtractor is a combinational circuit.
• It performs subtraction involving three bits (i) minuend bit (ii)
subtrahend bit (ii) borrow from the previous stage.
• It has three inputs (i) X (minuend) (ii) Y (subtrahend) (iii) Bin from
the previous stage.
• It has two outputs D (difference) and Borrow out Bout.
LOGIC SYMBOL:
syed hasan saeed, Integral University,
Lucknow
10
X
Y
Bin
D
Bout
FULL
SUBTRACTOR
TRUTH TABLE:
syed hasan saeed, Integral University,
Lucknow
11
INPUTS OUTPUTS
X Y Bin D Bout
0 0 0 0 0
0 0 1 1 1
0 1 0 1 1
0 1 1 0 1
1 0 0 1 0
1 0 1 0 0
1 1 0 0 0
1 1 1 1 1
K-Map For Difference Output (D)
0 1 0 1
1 0 1 0
X
YBin
00 01 11 10
0
1
inininin XYBBYXBYXBYXD 
K-Maps For Borrow Output (Bout)
0 1 1 1
0 0 1 0
X
YBin
00 01 11 10
0
1
ininout YBBXYXB 
syed hasan saeed, Integral University,
Lucknow
12
inininin XYBBYXBYXBYXD 
in
inin
inin
BYXD
BYXBYXD
BYXYXBXYYXD



)()(
)()(
•Equation for a borrow output is resembles the carry output of full adder
except that one of the input is complemented.
• Equation for D is same as the sum of output for a full adder.
•It is possible to convert a full adder into a full subtractor by
complementing that input before to its applied to the input of gates which
form the borrow output.
RELIZATION OF FULL SUBTRACTOR:
syed hasan saeed, Integral University,
Lucknow
13
X Y Bin
D
Bout
THANK YOU
syed hasan saeed, Integral University,
Lucknow
14

Contenu connexe

Tendances

encoder and decoder in digital electronics
encoder and decoder in digital electronicsencoder and decoder in digital electronics
encoder and decoder in digital electronicsvikram rajpurohit
 
SHIFT REGISTERS
SHIFT REGISTERSSHIFT REGISTERS
SHIFT REGISTERSkumari36
 
Sequential circuits in Digital Electronics
Sequential circuits in Digital ElectronicsSequential circuits in Digital Electronics
Sequential circuits in Digital ElectronicsVinoth Loganathan
 
adder and subtractor
 adder and subtractor adder and subtractor
adder and subtractorUnsa Shakir
 
multiplexers and demultiplexers
 multiplexers and demultiplexers multiplexers and demultiplexers
multiplexers and demultiplexersUnsa Shakir
 
Combinational Circuits & Sequential Circuits
Combinational Circuits & Sequential CircuitsCombinational Circuits & Sequential Circuits
Combinational Circuits & Sequential Circuitsgourav kottawar
 
Multiplexer and DeMultiplexer
Multiplexer and DeMultiplexerMultiplexer and DeMultiplexer
Multiplexer and DeMultiplexerEstiak Khan
 
Adder & subtractor (Half adder, Full adder, Half subtractor, Full subtractor)
Adder & subtractor (Half adder, Full adder, Half subtractor, Full subtractor)Adder & subtractor (Half adder, Full adder, Half subtractor, Full subtractor)
Adder & subtractor (Half adder, Full adder, Half subtractor, Full subtractor)ISMT College
 
Decoders-Digital Electronics
Decoders-Digital ElectronicsDecoders-Digital Electronics
Decoders-Digital ElectronicsPaurav Shah
 
Half adder and full adder
Half adder and full adderHalf adder and full adder
Half adder and full adderSanjuktaBanik
 
Magnitude comparator
Magnitude comparatorMagnitude comparator
Magnitude comparatorSyed Saeed
 
Decoder Full Presentation
Decoder Full Presentation Decoder Full Presentation
Decoder Full Presentation Adeel Rasheed
 

Tendances (20)

encoder and decoder in digital electronics
encoder and decoder in digital electronicsencoder and decoder in digital electronics
encoder and decoder in digital electronics
 
MULTIPLEXER
MULTIPLEXERMULTIPLEXER
MULTIPLEXER
 
Multiplexers & Demultiplexers
Multiplexers & DemultiplexersMultiplexers & Demultiplexers
Multiplexers & Demultiplexers
 
SHIFT REGISTERS
SHIFT REGISTERSSHIFT REGISTERS
SHIFT REGISTERS
 
Sequential circuits in Digital Electronics
Sequential circuits in Digital ElectronicsSequential circuits in Digital Electronics
Sequential circuits in Digital Electronics
 
Combinational circuit
Combinational circuitCombinational circuit
Combinational circuit
 
Shift Registers
Shift RegistersShift Registers
Shift Registers
 
adder and subtractor
 adder and subtractor adder and subtractor
adder and subtractor
 
multiplexers and demultiplexers
 multiplexers and demultiplexers multiplexers and demultiplexers
multiplexers and demultiplexers
 
Combinational Circuits & Sequential Circuits
Combinational Circuits & Sequential CircuitsCombinational Circuits & Sequential Circuits
Combinational Circuits & Sequential Circuits
 
K - Map
  K - Map    K - Map
K - Map
 
Multiplexer and DeMultiplexer
Multiplexer and DeMultiplexerMultiplexer and DeMultiplexer
Multiplexer and DeMultiplexer
 
Adder & subtractor (Half adder, Full adder, Half subtractor, Full subtractor)
Adder & subtractor (Half adder, Full adder, Half subtractor, Full subtractor)Adder & subtractor (Half adder, Full adder, Half subtractor, Full subtractor)
Adder & subtractor (Half adder, Full adder, Half subtractor, Full subtractor)
 
Combinational circuit
Combinational circuitCombinational circuit
Combinational circuit
 
Decoders-Digital Electronics
Decoders-Digital ElectronicsDecoders-Digital Electronics
Decoders-Digital Electronics
 
Half adder and full adder
Half adder and full adderHalf adder and full adder
Half adder and full adder
 
Magnitude comparator
Magnitude comparatorMagnitude comparator
Magnitude comparator
 
Adder ppt
Adder pptAdder ppt
Adder ppt
 
Bcd
BcdBcd
Bcd
 
Decoder Full Presentation
Decoder Full Presentation Decoder Full Presentation
Decoder Full Presentation
 

Similaire à Subtractor

magnitude comparator.pdf
magnitude comparator.pdfmagnitude comparator.pdf
magnitude comparator.pdfShayanRoy10
 
1. Combinational Logic Circutis with examples (1).pdf
1. Combinational Logic Circutis with examples (1).pdf1. Combinational Logic Circutis with examples (1).pdf
1. Combinational Logic Circutis with examples (1).pdfRohitkumarYadav80
 
1. Combinational Logic Circutis with examples (1).pdf
1. Combinational Logic Circutis with examples (1).pdf1. Combinational Logic Circutis with examples (1).pdf
1. Combinational Logic Circutis with examples (1).pdfRohitkumarYadav80
 
logical circuits substractors
logical circuits substractors logical circuits substractors
logical circuits substractors Fâhém Ähmêd
 
Adder and Subtractor
Adder and SubtractorAdder and Subtractor
Adder and SubtractorJaydeep Kale
 
UNIT - II.pptx
UNIT - II.pptxUNIT - II.pptx
UNIT - II.pptxamudhak10
 
Binary parallel adder, decimal adder
Binary parallel adder, decimal adderBinary parallel adder, decimal adder
Binary parallel adder, decimal addershahzad ali
 
Digital VLSI - Unit 2.pptx
Digital VLSI - Unit 2.pptxDigital VLSI - Unit 2.pptx
Digital VLSI - Unit 2.pptxSanjaiPrasad
 
Combinational and sequential logic
Combinational and sequential logicCombinational and sequential logic
Combinational and sequential logicDeepak John
 
Half Subtractor : Combiational Circuit
Half Subtractor : Combiational CircuitHalf Subtractor : Combiational Circuit
Half Subtractor : Combiational CircuitDoCircuits
 
Adders and subtractors in vlsi design
Adders and subtractors in vlsi designAdders and subtractors in vlsi design
Adders and subtractors in vlsi designdinesh aitha
 
combinational_circuits
combinational_circuitscombinational_circuits
combinational_circuitsBindu Madhavi
 
combinational_circuits
combinational_circuitscombinational_circuits
combinational_circuitsBindu Madhavi
 
Combinational circuits r011
Combinational circuits   r011Combinational circuits   r011
Combinational circuits r011arunachalamr16
 

Similaire à Subtractor (20)

magnitude comparator.pdf
magnitude comparator.pdfmagnitude comparator.pdf
magnitude comparator.pdf
 
1. Combinational Logic Circutis with examples (1).pdf
1. Combinational Logic Circutis with examples (1).pdf1. Combinational Logic Circutis with examples (1).pdf
1. Combinational Logic Circutis with examples (1).pdf
 
1. Combinational Logic Circutis with examples (1).pdf
1. Combinational Logic Circutis with examples (1).pdf1. Combinational Logic Circutis with examples (1).pdf
1. Combinational Logic Circutis with examples (1).pdf
 
encoderdecoder.pptx
encoderdecoder.pptxencoderdecoder.pptx
encoderdecoder.pptx
 
logical circuits substractors
logical circuits substractors logical circuits substractors
logical circuits substractors
 
Adder and Subtractor
Adder and SubtractorAdder and Subtractor
Adder and Subtractor
 
UNIT - II.pptx
UNIT - II.pptxUNIT - II.pptx
UNIT - II.pptx
 
Binary parallel adder, decimal adder
Binary parallel adder, decimal adderBinary parallel adder, decimal adder
Binary parallel adder, decimal adder
 
17067688.ppt
17067688.ppt17067688.ppt
17067688.ppt
 
Digital VLSI - Unit 2.pptx
Digital VLSI - Unit 2.pptxDigital VLSI - Unit 2.pptx
Digital VLSI - Unit 2.pptx
 
Combinational Ckt.pdf
Combinational Ckt.pdfCombinational Ckt.pdf
Combinational Ckt.pdf
 
Chapter-04.pdf
Chapter-04.pdfChapter-04.pdf
Chapter-04.pdf
 
Combinational and sequential logic
Combinational and sequential logicCombinational and sequential logic
Combinational and sequential logic
 
Unit 2 DE Notes.pptx
Unit 2 DE Notes.pptxUnit 2 DE Notes.pptx
Unit 2 DE Notes.pptx
 
Half Subtractor : Combiational Circuit
Half Subtractor : Combiational CircuitHalf Subtractor : Combiational Circuit
Half Subtractor : Combiational Circuit
 
Adders and subtractors in vlsi design
Adders and subtractors in vlsi designAdders and subtractors in vlsi design
Adders and subtractors in vlsi design
 
combinational_circuits
combinational_circuitscombinational_circuits
combinational_circuits
 
combinational_circuits
combinational_circuitscombinational_circuits
combinational_circuits
 
PLA
PLAPLA
PLA
 
Combinational circuits r011
Combinational circuits   r011Combinational circuits   r011
Combinational circuits r011
 

Plus de Syed Saeed

Laplace transform of periodic functions
Laplace transform of periodic functionsLaplace transform of periodic functions
Laplace transform of periodic functionsSyed Saeed
 
Maximum power transfer theorem for ac network
Maximum power transfer theorem for ac networkMaximum power transfer theorem for ac network
Maximum power transfer theorem for ac networkSyed Saeed
 
Thevenin's theorem for ac network
Thevenin's theorem for ac network Thevenin's theorem for ac network
Thevenin's theorem for ac network Syed Saeed
 
Tellegen's theorem
Tellegen's theoremTellegen's theorem
Tellegen's theoremSyed Saeed
 
Millman's theorem
Millman's theoremMillman's theorem
Millman's theoremSyed Saeed
 
Subsitution theorem
Subsitution theoremSubsitution theorem
Subsitution theoremSyed Saeed
 
Max. power transfer theorem dc network (Revised)
Max. power transfer theorem dc network (Revised)Max. power transfer theorem dc network (Revised)
Max. power transfer theorem dc network (Revised)Syed Saeed
 
Norton's theorem
Norton's theoremNorton's theorem
Norton's theoremSyed Saeed
 
Circuit theory thevenin theorem
Circuit theory thevenin theoremCircuit theory thevenin theorem
Circuit theory thevenin theoremSyed Saeed
 
Basic definitions & laws revised
Basic definitions & laws revisedBasic definitions & laws revised
Basic definitions & laws revisedSyed Saeed
 
Read only memory(rom)
Read only memory(rom)Read only memory(rom)
Read only memory(rom)Syed Saeed
 
Binary multipliers
Binary multipliersBinary multipliers
Binary multipliersSyed Saeed
 
Quine Mc Clusky (Tabular) method
Quine Mc Clusky (Tabular) methodQuine Mc Clusky (Tabular) method
Quine Mc Clusky (Tabular) methodSyed Saeed
 
Time domain definition 6
Time domain definition 6Time domain definition 6
Time domain definition 6Syed Saeed
 
Time domain definition 6
Time domain definition 6Time domain definition 6
Time domain definition 6Syed Saeed
 

Plus de Syed Saeed (20)

Laplace transform of periodic functions
Laplace transform of periodic functionsLaplace transform of periodic functions
Laplace transform of periodic functions
 
Maximum power transfer theorem for ac network
Maximum power transfer theorem for ac networkMaximum power transfer theorem for ac network
Maximum power transfer theorem for ac network
 
Thevenin's theorem for ac network
Thevenin's theorem for ac network Thevenin's theorem for ac network
Thevenin's theorem for ac network
 
Tellegen's theorem
Tellegen's theoremTellegen's theorem
Tellegen's theorem
 
Millman's theorem
Millman's theoremMillman's theorem
Millman's theorem
 
Subsitution theorem
Subsitution theoremSubsitution theorem
Subsitution theorem
 
Max. power transfer theorem dc network (Revised)
Max. power transfer theorem dc network (Revised)Max. power transfer theorem dc network (Revised)
Max. power transfer theorem dc network (Revised)
 
Norton's theorem
Norton's theoremNorton's theorem
Norton's theorem
 
Circuit theory thevenin theorem
Circuit theory thevenin theoremCircuit theory thevenin theorem
Circuit theory thevenin theorem
 
Basic definitions & laws revised
Basic definitions & laws revisedBasic definitions & laws revised
Basic definitions & laws revised
 
Read only memory(rom)
Read only memory(rom)Read only memory(rom)
Read only memory(rom)
 
Prom
PromProm
Prom
 
FPGA
FPGAFPGA
FPGA
 
PAL
PALPAL
PAL
 
Binary multipliers
Binary multipliersBinary multipliers
Binary multipliers
 
Decimal adder
Decimal adderDecimal adder
Decimal adder
 
Quine Mc Clusky (Tabular) method
Quine Mc Clusky (Tabular) methodQuine Mc Clusky (Tabular) method
Quine Mc Clusky (Tabular) method
 
Time domain definition 6
Time domain definition 6Time domain definition 6
Time domain definition 6
 
Time domain definition 6
Time domain definition 6Time domain definition 6
Time domain definition 6
 
Sfg 5
Sfg 5Sfg 5
Sfg 5
 

Dernier

KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 

Dernier (20)

KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 

Subtractor

  • 2. BINARY SUBTRACTOR RULES FOR BINARY SUBTRACTION 0 - 0 = 0 0 - 1 = 1 with borrow 1 1 - 0 =1 1 – 1=0 NOTE: In the second case (0 – 1) it is necessary to borrow a 1. 2 syed hasan saeed, Integral University, Lucknow
  • 3. TYPES OF BINARY SUBTRACTOR • Half Subtractor • Full Subtractor Half Subtractor: • It is a combinational circuit with two inputs and two outputs ( difference and borrow) • Two inputs are A (minuend), B (subtrahend) and two outputs are D (difference) and Bo (borrow out). • It is used to perform subtraction of two bits. 3 syed hasan saeed, Integral University, Lucknow
  • 5. INPUTS OUTPUTS Minuend (A) Subtrahend (B) Difference (D) Borrow (Bo) 0 0 0 0 0 1 1 1 1 0 1 0 1 1 0 0 TRUTH TABLE OF HALF-SUBTRACTOR 5 syed hasan saeed, Integral University, Lucknow
  • 6. INPUTS OUTPUTS Minuend (A) Subtrahend (B) Difference (D) Borrow (Bo) 0 0 0 0 0 1 1 1 1 0 1 0 1 1 0 0 TRUTH TABLE OF HALF-SUBTRACTOR K-Map for difference (D) 0 1 1 0 A B BA BA 0 1 0 1 6 syed hasan saeed, Integral University, Lucknow
  • 7. INPUTS OUTPUTS Minuend (A) Subtrahend (B) Difference (D) Borrow (Bo) 0 0 0 0 0 1 1 1 1 0 1 0 1 1 0 0 TRUTH TABLE OF HALF-SUBTRACTOR K-Map for difference (D) K-Map for Borrow Output (Bo) 0 1 1 0 A B BA BA 0 1 0 1 0 1 0 0 A B 0 0 1 1 BA 7 syed hasan saeed, Integral University, Lucknow
  • 8. From K-maps syed hasan saeed, Integral University, Lucknow 8 BAB BABAD   LOGIC DIAGRAM A B D Bo
  • 9. DISADVANTAGE OF HALF SUBTRACTOR: Half subtractor can only perform the subtraction of two binary bits. But while performing the subtraction, it does not take into account the borrow of the lower significant stage. HALF SUBTRACTOR USING BASIC GATES: syed hasan saeed, Integral University, Lucknow 9 BA BA BABAD  BABO  A B
  • 10. FULL SUBTRACTOR: • Full subtractor is a combinational circuit. • It performs subtraction involving three bits (i) minuend bit (ii) subtrahend bit (ii) borrow from the previous stage. • It has three inputs (i) X (minuend) (ii) Y (subtrahend) (iii) Bin from the previous stage. • It has two outputs D (difference) and Borrow out Bout. LOGIC SYMBOL: syed hasan saeed, Integral University, Lucknow 10 X Y Bin D Bout FULL SUBTRACTOR
  • 11. TRUTH TABLE: syed hasan saeed, Integral University, Lucknow 11 INPUTS OUTPUTS X Y Bin D Bout 0 0 0 0 0 0 0 1 1 1 0 1 0 1 1 0 1 1 0 1 1 0 0 1 0 1 0 1 0 0 1 1 0 0 0 1 1 1 1 1 K-Map For Difference Output (D) 0 1 0 1 1 0 1 0 X YBin 00 01 11 10 0 1 inininin XYBBYXBYXBYXD  K-Maps For Borrow Output (Bout) 0 1 1 1 0 0 1 0 X YBin 00 01 11 10 0 1 ininout YBBXYXB 
  • 12. syed hasan saeed, Integral University, Lucknow 12 inininin XYBBYXBYXBYXD  in inin inin BYXD BYXBYXD BYXYXBXYYXD    )()( )()( •Equation for a borrow output is resembles the carry output of full adder except that one of the input is complemented. • Equation for D is same as the sum of output for a full adder. •It is possible to convert a full adder into a full subtractor by complementing that input before to its applied to the input of gates which form the borrow output.
  • 13. RELIZATION OF FULL SUBTRACTOR: syed hasan saeed, Integral University, Lucknow 13 X Y Bin D Bout
  • 14. THANK YOU syed hasan saeed, Integral University, Lucknow 14