SlideShare a Scribd company logo
1 of 41
Binary Arithmetic
 Addition
 Subtraction
 Multiplication
 Division
Logic Gates
 Logic gates are electronic digital circuit
perform logic functions. Commonly expected
logic functions are already having the
corresponding logic circuits in Integrated
Circuit (I.C.) form.
Types of Logic Gates
AND Gate
OR Gate
NOT Gate
A
B
C
A
B
C
A C
NAND Gate
A
B
C
NOR Gate
A
B
C
Exclusive - OR Gate
A
B
A B=C
Basic Gates
AND , OR , NOT
AND Gate
 The AND gate implements the Boolean AND function
where the output only is logical 1 when all inputs are
logical 1.
 The standard symbol and the truth tabel for a two
input AND gate is:
Boolean expression of AND
The Boolean expression for the
AND gate is R=A.B
A B R
0 0 0
0 1 0
1 0 0
1 1 1
OR Gate
 The OR gate implements the Boolean OR
function where the output is logical 1 when
just input is logical 1.
 The standard symbol and the truth table for a
two input OR gate is:
Boolean Expression of OR
A B R
0 0 0
0 1 1
1 0 1
1 1 1
The Boolean expression for the
OR gate is: R=A+B
NOT Gate
 The NOT gate implements the Boolean
NOT function where the output is the
inverse of the input.
 The standard symbol and the truth
table for the NOT gate is:
Boolean Expression of NOT
 The Boolean expression for the NOT
gate is: R=-A
A R
0 1
0 0
Derived Gates
NAND , NOR , XOR
NAND Gate
 The NAND gate is an AND gate followed by a NOT
gate. The output is logical 1 when one of the inputs
are logical 0
 The standard symbol and the truth table for the
NAND gate is:
Boolean expression of NAND
A B R
0 0 1
0 1 1
1 0 1
1 1 0
NOR Gate
 The NOR is a combination of an OR followed by a
NOT gate. The output is logical 1 when non of the
inputs are logical 0
 The standard symbol and the truth table for the NOR
gate is:
Boolean Expression of NOR
A B R
0 0 1
0 1 0
1 0 0
1 1 0
ADDER
A N D SUBTRACTOR
INTRODUCTIO
N
OBJECTIVE:
• HALF ADDER
• FULLADDER
• HALF SUBTRACTOR
• FULL SUBTRACTOR
What isAdder?
 Adder : In electronics an adder is digital circuit
that perform addition of numbers. In modern
computer adder reside in the arithmetic logic unit
(ALU).
Adders:
Adders are important not only in the computer but
also in many types of digital systems in which the
numeric data are processed.
 Types of adder:
 Half adder
 Full adder
 Half adder :The half adder accepts two binary
digits on its inputs and produce two binary
digits outputs, a sum bit and a carry bit.
 The half adder is an example of a simple, functional
digital circuit built from two logic gates. The half
adder adds to one-bit binary numbers (AB). The
output is the sum of the two bits (S) and the carry (C).
 Note that how the same two inputs are directed
to two different gates. The inputs
to the XOR gate are also the inputs to the AND
gate. The input "wires" to the XOR gate are tied
to the input wires of the AND gate; thus, when
voltage is applied to the A input of the XOR gate,
the A input to the AND gate receives the same
voltage.
Half adder truth
table
S=A  B (Exclusive
OR) C=A.B (AND)
 Full adder : The full adder accepts two inputs bits
and an input carry and generates a sum output and
an output carry.
 The full-adder circuit adds three one-bit binary numbers
(Cin, A ,B) and outputs two one-bit binary numbers, a sum
(S) and a carry (Cout). The full-adder is usually a
component in a cascade of adders, which add 8, 16, 32,
etc. binary numbers.
 If you look closely, you'll see the full adder is simply two
half
adders joined by an OR.
 W e can implement a full adder circuit with the help of two
half adder circuits. The first half adder will be used to add A
and B to produce a partial Sum. The second half adder
logic can be used to add CIN to the Sum produced by the
first half adder to get the final S output. If any of the half
adder logic produces a carry, there will be an output carry.
Thus, COUT will be an OR function of the half-adder Carry
outputs.
 Full addertruth table
S= A  B  Cin
C=AB + Cin (A 
B)
What is the difference
between half adder and afull
adder circuit?
 The main difference between a half-adder and a ful-
adder is that the full-adder has three inputs and two
outputs. The first two inputs are A and B and the third
input is an input carry designated as CIN. When a full
adder logic is designed we will be able to string eight
of them together to create a byte-wide adder and
cascade the carry bit from one adder to the next.
 The output carry is designated as COUT and the
normal output is designated as S.
SUBTRACTOR
 WhatisSubtractor?
Subtractor is an electronic logic circuit for
calculating the difference between two binary
numbers which provides the difference and
borrow as output.
 TypesofSubtractor
 Half Subtractor
 Full Subtractor
 Halfsubtractor
Half Subtractor is used for subtracting one
single
single bit binary number from another
bit binary number.
It has two inputs;
Minuend (A) and
Subtrahend (B) and two outputs; Difference
(D) and Borrow (Bout).
 TruthTable
Input Output
A B Difference (D) Borrow (Bout)
0 0 0 0
0 1 1 1
1 0 1 0
1 1 0 0
 BooleanExpression
From the truth table and K-map, the Boolean
Expression can be derived as:
Difference (D) = Ā.B + A. 𝐁= A ⊕B
Borrow (Bout)=Ā.B
 LogicalCircuit
 FULLSubtractor
• A logic Circuit Which is used for subtracting three single
bit binary numbers is known as Full Subtractor.
• It has three inputs; Minuend (A), Subtrahend
(B) and following Subtrahend (C) and two
outputs; Difference (D) and Borrow (Bout).
 TruthT
able
Input Output
A B C D B(out)
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
 BOOLEANEXPRESSION
From the Truth Table The Difference and Borrow will written
as,
Difference=A'B'C+A'BC'+AB'C'+ABC
Reducing it we got,
Difference=A ⊕B ⊕C
Borrow=A'B'C+A'BC'+A'BC+ABC
=A'B'C+A'BC'+A'BC+A'BC+A'BC+ABC
=A'C(B'+B)+A'B(C'+C)+BC(A'+A) Borrow=A'C+A'B+BC
 BooleanExpression
From the t ruth table and k-map minimization,
the Boolean Expression can be derived as:
D = A ⊕ B ⊕ C B(out) = BC + (B ⊕C) A
 LogicalCircuit
HalfAdderusingNANDGate
Halfsubtractorusing
NANDGate
Anyquestion?

More Related Content

Similar to Lecturer mid.ppt

CHAPTER 6: Function of Combination Logic From Flyod ( Digital Logic Design )
CHAPTER 6: Function of Combination Logic From Flyod ( Digital Logic Design ) CHAPTER 6: Function of Combination Logic From Flyod ( Digital Logic Design )
CHAPTER 6: Function of Combination Logic From Flyod ( Digital Logic Design ) Sefat Ahammed Shovo
 
Adder Presentation
Adder PresentationAdder Presentation
Adder PresentationMoeez Ahmad
 
combinational_circuits
combinational_circuitscombinational_circuits
combinational_circuitsBindu Madhavi
 
combinational_circuits
combinational_circuitscombinational_circuits
combinational_circuitsBindu Madhavi
 
Half Adder_Digital logic_
Half Adder_Digital logic_Half Adder_Digital logic_
Half Adder_Digital logic_Rabin BK
 
logical circuits substractors
logical circuits substractors logical circuits substractors
logical circuits substractors Fâhém Ähmêd
 
Computer Organization And Architecture lab manual
Computer Organization And Architecture lab manualComputer Organization And Architecture lab manual
Computer Organization And Architecture lab manualNitesh Dubey
 
Combinational and sequential logic
Combinational and sequential logicCombinational and sequential logic
Combinational and sequential logicDeepak John
 
I semester Unit 4 combinational circuits.pptx
I semester Unit 4 combinational circuits.pptxI semester Unit 4 combinational circuits.pptx
I semester Unit 4 combinational circuits.pptxMayank Pandey
 
Unit 4 combinational circuit
Unit 4 combinational circuitUnit 4 combinational circuit
Unit 4 combinational circuitKalai Selvi
 
Introduction of Combinational logic circuits & half adder
Introduction of Combinational logic circuits & half adderIntroduction of Combinational logic circuits & half adder
Introduction of Combinational logic circuits & half adderhymalakshmitirumani
 

Similar to Lecturer mid.ppt (20)

CHAPTER 6: Function of Combination Logic From Flyod ( Digital Logic Design )
CHAPTER 6: Function of Combination Logic From Flyod ( Digital Logic Design ) CHAPTER 6: Function of Combination Logic From Flyod ( Digital Logic Design )
CHAPTER 6: Function of Combination Logic From Flyod ( Digital Logic Design )
 
B sc3 unit 4 combi..lckt
B sc3 unit 4 combi..lcktB sc3 unit 4 combi..lckt
B sc3 unit 4 combi..lckt
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Adder Presentation
Adder PresentationAdder Presentation
Adder Presentation
 
combinational_circuits
combinational_circuitscombinational_circuits
combinational_circuits
 
combinational_circuits
combinational_circuitscombinational_circuits
combinational_circuits
 
Half Adder_Digital logic_
Half Adder_Digital logic_Half Adder_Digital logic_
Half Adder_Digital logic_
 
Adder Basic
Adder BasicAdder Basic
Adder Basic
 
logical circuits substractors
logical circuits substractors logical circuits substractors
logical circuits substractors
 
Computer Organization And Architecture lab manual
Computer Organization And Architecture lab manualComputer Organization And Architecture lab manual
Computer Organization And Architecture lab manual
 
Chapter 4: Combinational Logic
Chapter 4: Combinational LogicChapter 4: Combinational Logic
Chapter 4: Combinational Logic
 
full subtractor
full subtractorfull subtractor
full subtractor
 
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
 
I semester Unit 4 combinational circuits.pptx
I semester Unit 4 combinational circuits.pptxI semester Unit 4 combinational circuits.pptx
I semester Unit 4 combinational circuits.pptx
 
Unit 4 combinational circuit
Unit 4 combinational circuitUnit 4 combinational circuit
Unit 4 combinational circuit
 
Unit 2 DE Notes.pptx
Unit 2 DE Notes.pptxUnit 2 DE Notes.pptx
Unit 2 DE Notes.pptx
 
Fulll Adder
Fulll AdderFulll Adder
Fulll Adder
 
Introduction of Combinational logic circuits & half adder
Introduction of Combinational logic circuits & half adderIntroduction of Combinational logic circuits & half adder
Introduction of Combinational logic circuits & half adder
 
Lect 1 unit 2.pdf
Lect 1 unit 2.pdfLect 1 unit 2.pdf
Lect 1 unit 2.pdf
 

Recently uploaded

SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfngoud9212
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 

Recently uploaded (20)

Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 

Lecturer mid.ppt

  • 1. Binary Arithmetic  Addition  Subtraction  Multiplication  Division
  • 2. Logic Gates  Logic gates are electronic digital circuit perform logic functions. Commonly expected logic functions are already having the corresponding logic circuits in Integrated Circuit (I.C.) form.
  • 3. Types of Logic Gates AND Gate OR Gate NOT Gate A B C A B C A C NAND Gate A B C NOR Gate A B C Exclusive - OR Gate A B A B=C
  • 4. Basic Gates AND , OR , NOT
  • 5. AND Gate  The AND gate implements the Boolean AND function where the output only is logical 1 when all inputs are logical 1.  The standard symbol and the truth tabel for a two input AND gate is:
  • 6. Boolean expression of AND The Boolean expression for the AND gate is R=A.B A B R 0 0 0 0 1 0 1 0 0 1 1 1
  • 7. OR Gate  The OR gate implements the Boolean OR function where the output is logical 1 when just input is logical 1.  The standard symbol and the truth table for a two input OR gate is:
  • 8. Boolean Expression of OR A B R 0 0 0 0 1 1 1 0 1 1 1 1 The Boolean expression for the OR gate is: R=A+B
  • 9. NOT Gate  The NOT gate implements the Boolean NOT function where the output is the inverse of the input.  The standard symbol and the truth table for the NOT gate is:
  • 10. Boolean Expression of NOT  The Boolean expression for the NOT gate is: R=-A A R 0 1 0 0
  • 11. Derived Gates NAND , NOR , XOR
  • 12. NAND Gate  The NAND gate is an AND gate followed by a NOT gate. The output is logical 1 when one of the inputs are logical 0  The standard symbol and the truth table for the NAND gate is:
  • 13. Boolean expression of NAND A B R 0 0 1 0 1 1 1 0 1 1 1 0
  • 14. NOR Gate  The NOR is a combination of an OR followed by a NOT gate. The output is logical 1 when non of the inputs are logical 0  The standard symbol and the truth table for the NOR gate is:
  • 15. Boolean Expression of NOR A B R 0 0 1 0 1 0 1 0 0 1 1 0
  • 16. ADDER A N D SUBTRACTOR
  • 17. INTRODUCTIO N OBJECTIVE: • HALF ADDER • FULLADDER • HALF SUBTRACTOR • FULL SUBTRACTOR
  • 18. What isAdder?  Adder : In electronics an adder is digital circuit that perform addition of numbers. In modern computer adder reside in the arithmetic logic unit (ALU).
  • 19. Adders: Adders are important not only in the computer but also in many types of digital systems in which the numeric data are processed.  Types of adder:  Half adder  Full adder
  • 20.  Half adder :The half adder accepts two binary digits on its inputs and produce two binary digits outputs, a sum bit and a carry bit.  The half adder is an example of a simple, functional digital circuit built from two logic gates. The half adder adds to one-bit binary numbers (AB). The output is the sum of the two bits (S) and the carry (C).
  • 21.  Note that how the same two inputs are directed to two different gates. The inputs to the XOR gate are also the inputs to the AND gate. The input "wires" to the XOR gate are tied to the input wires of the AND gate; thus, when voltage is applied to the A input of the XOR gate, the A input to the AND gate receives the same voltage.
  • 22. Half adder truth table S=A  B (Exclusive OR) C=A.B (AND)
  • 23.  Full adder : The full adder accepts two inputs bits and an input carry and generates a sum output and an output carry.  The full-adder circuit adds three one-bit binary numbers (Cin, A ,B) and outputs two one-bit binary numbers, a sum (S) and a carry (Cout). The full-adder is usually a component in a cascade of adders, which add 8, 16, 32, etc. binary numbers.
  • 24.  If you look closely, you'll see the full adder is simply two half adders joined by an OR.  W e can implement a full adder circuit with the help of two half adder circuits. The first half adder will be used to add A and B to produce a partial Sum. The second half adder logic can be used to add CIN to the Sum produced by the first half adder to get the final S output. If any of the half adder logic produces a carry, there will be an output carry. Thus, COUT will be an OR function of the half-adder Carry outputs.
  • 25.  Full addertruth table S= A  B  Cin C=AB + Cin (A  B)
  • 26. What is the difference between half adder and afull adder circuit?  The main difference between a half-adder and a ful- adder is that the full-adder has three inputs and two outputs. The first two inputs are A and B and the third input is an input carry designated as CIN. When a full adder logic is designed we will be able to string eight of them together to create a byte-wide adder and cascade the carry bit from one adder to the next.  The output carry is designated as COUT and the normal output is designated as S.
  • 28.  WhatisSubtractor? Subtractor is an electronic logic circuit for calculating the difference between two binary numbers which provides the difference and borrow as output.
  • 29.  TypesofSubtractor  Half Subtractor  Full Subtractor
  • 30.  Halfsubtractor Half Subtractor is used for subtracting one single single bit binary number from another bit binary number. It has two inputs; Minuend (A) and Subtrahend (B) and two outputs; Difference (D) and Borrow (Bout).
  • 31.  TruthTable Input Output A B Difference (D) Borrow (Bout) 0 0 0 0 0 1 1 1 1 0 1 0 1 1 0 0
  • 32.  BooleanExpression From the truth table and K-map, the Boolean Expression can be derived as: Difference (D) = Ā.B + A. 𝐁= A ⊕B Borrow (Bout)=Ā.B
  • 34.  FULLSubtractor • A logic Circuit Which is used for subtracting three single bit binary numbers is known as Full Subtractor. • It has three inputs; Minuend (A), Subtrahend (B) and following Subtrahend (C) and two outputs; Difference (D) and Borrow (Bout).
  • 35.  TruthT able Input Output A B C D B(out) 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
  • 36.  BOOLEANEXPRESSION From the Truth Table The Difference and Borrow will written as, Difference=A'B'C+A'BC'+AB'C'+ABC Reducing it we got, Difference=A ⊕B ⊕C Borrow=A'B'C+A'BC'+A'BC+ABC =A'B'C+A'BC'+A'BC+A'BC+A'BC+ABC =A'C(B'+B)+A'B(C'+C)+BC(A'+A) Borrow=A'C+A'B+BC
  • 37.  BooleanExpression From the t ruth table and k-map minimization, the Boolean Expression can be derived as: D = A ⊕ B ⊕ C B(out) = BC + (B ⊕C) A