SlideShare une entreprise Scribd logo
1  sur  30
1MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
Introduction to Logic Gates
• Logical gates
– Inverter
– AND
– OR
– NAND
– NOR
– Exclusive OR (XOR)
– Exclusive NOR (XNOR)
• Draw Logic Circuit
• Analysis of Logic Circuit
2MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
Introduction to Logic Gates
• Universal gates NAND and NOR
– NAND gate
– NOR gate
• Execution using NAND gate
• Execution using NOR gate
• Positive & Negative Logic
• SOP Expression Execution
• POS Expression Execution
• Integrated Logic Circuit Family
3MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
Logic Gates
4MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
Logic Gates
• Inverter gate
• The use of inverter: complement
5MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
Logic Gates
• AND gate
6MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
Logic Gates
• OR gate
7MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
Logic Gates
• NAND gate
8MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
Logic Gates
• NOR gate
9MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
Logic Gates
• Exclusive OR (XOR) gate
10MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
Logic Gates
• Exclusive NOR (XNOR) gate
11MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
Draw Logic Gates
• When Boolean expression is obtained, we
can draw logic gates
• Example:
– F1 = xyz’ (use three input AND gate)
12MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
Draw Logic Gates
13MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
Logic Circuit Analysis
• When logic circuit is given, we can analyze
the circuit to obtain logical expression
• Example:
– What is the Boolean expression for F4
14MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
Logic Circuit Analysis
• What is the Boolean expression for F5
15MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
Universal Gates: NAND & NOR
• Gate AND/OR/NOT is enough to build any
Boolean function
• Even though, other gates is also used because:
– Very useful (no choice)
– Save transistor’s number
– Self sufficient (can build any gate from it)
NAND/NOR: save, self sufficient
XOR: useful (e.g. execute parity bit)
16MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
NAND Gate
• NAND gate is self sufficient (i.e.can build
any gate from it)
• Can be used for building AND/OR/NOT
gate
• Build NOT gate using NAND gate
17MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
NAND Gate
• Build AND gate using NAND gates
• Build OR gate using NAND gates
18MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
NOR Gate
• NOR gate is also self sufficient
• Can be used for building AND/OR/NOT
gate
• Build NOT gate using NOR gate
19MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
NOR Gate
• Build AND gate using NOR gates
• Build OR gate using NOR gates
20MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
Build using NAND gate
• It is not impossible to build Boolean
expression using NAND gates
Steps
– Obtain sum-of-product Boolean expression
• E.g: F3 = xy’ +x’z
– Use DeMorgan theorem to get expression using
two level NAND gate
• E.g: F3 = xy’ +x’z
= (xy’+x’z)”
= ((xy’)’.(x’z)’)’
21MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
Build using NAND gate
22MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
Build using NOR gate
• It is not impossible to build Boolean
expression using NOR gates
Steps
– Obtain product-of-sum Boolean expression
• E.g: F6 = (x+y’).(x’+z)
– Use DeMorgan theorem to get expression using
two level NAND gate
• E.g: F3 = (x+y’).(x’+z)
=((x+y’).(x’+z))’’
= ((x+y’)+(x’+z)’)’
23MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
Build using NOR gate
24MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
Positive & Negative Logic
• In logic gate, most of the time
– H (High Voltage, 5V) = logic 1
– L (Low Voltage, 0V) = logic 0
• This is called positive logic
• However, if it is inverted, it is negative logic
– H (High Voltage, 5V) = logic 0
– L (Low Voltage, 0V) = logic 1
• Depends, some similar gate need different
Boolean function
25MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
Positive & Negative Logic
• Signal which is set to logic 1 is said to be
active and true
• Signal which is set to logic 0 is said to be
not active and false
• The name of active high signal is always
written in non-compliment form
• The name of active low signal is always
written in non-compliment form
26MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
Positive & Negative Logic
27MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
Construction of SOP Expression
• Sum-of-product expression can be built
using
– Two level logic gate AND-OR
– Two level logic gate AND-NOT
• Logic AND-OR gate
28MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
Construction of SOP Expression
• NAND-NAND circuit (with transformation
circuit)
– Add two balls
– Change OR with NAND
with inverted input and ball
on it’s compliment input
29MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
Construction of POS Expression
• Product-of-sum expression can be built
using
– Two level logic gate AND-OR
– Two level logic gate AND-NOT
• Logic AND-OR gate
30MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR
Construction of POS Expression
• NOR-NOR circuit (with transformation
circuit)
– Add two balls
– Change AND with NOR
with inverted input and ball
on it’s compliment input
 
 
 
”:

Contenu connexe

Tendances

SHIFT REGISTERS
SHIFT REGISTERSSHIFT REGISTERS
SHIFT REGISTERSkumari36
 
basic logic gates
 basic logic gates basic logic gates
basic logic gatesvishal gupta
 
sequential circuits
sequential circuitssequential circuits
sequential circuitsUnsa Shakir
 
Combinational circuits
Combinational circuits Combinational circuits
Combinational circuits DrSonali Vyas
 
Universal Gates - Aneesa N Ali
Universal Gates - Aneesa N AliUniversal Gates - Aneesa N Ali
Universal Gates - Aneesa N AliDipayan Sarkar
 
CSL 202, Shift Registers using Flipflops
CSL 202, Shift Registers using FlipflopsCSL 202, Shift Registers using Flipflops
CSL 202, Shift Registers using FlipflopsCKSunith1
 
Control Unit Design
Control Unit DesignControl Unit Design
Control Unit DesignVinit Raut
 
8086 assembly language
8086 assembly language8086 assembly language
8086 assembly languageMir Majid
 
Data flow model -Lecture-4
Data flow model -Lecture-4Data flow model -Lecture-4
Data flow model -Lecture-4Dr.YNM
 
decorder and encoder and its applications
decorder and encoder and its applicationsdecorder and encoder and its applications
decorder and encoder and its applicationssafia safreen
 
Logic Gates Presentation
Logic Gates PresentationLogic Gates Presentation
Logic Gates Presentationnad407
 

Tendances (20)

Nand gate
Nand gateNand gate
Nand gate
 
SHIFT REGISTERS
SHIFT REGISTERSSHIFT REGISTERS
SHIFT REGISTERS
 
Logic Gates
Logic GatesLogic Gates
Logic Gates
 
Microprogrammed Control Unit
Microprogrammed Control UnitMicroprogrammed Control Unit
Microprogrammed Control Unit
 
basic logic gates
 basic logic gates basic logic gates
basic logic gates
 
sequential circuits
sequential circuitssequential circuits
sequential circuits
 
Combinational circuits
Combinational circuits Combinational circuits
Combinational circuits
 
D Flip Flop
D Flip Flop D Flip Flop
D Flip Flop
 
ECAD lab manual
ECAD lab manualECAD lab manual
ECAD lab manual
 
Universal Gates - Aneesa N Ali
Universal Gates - Aneesa N AliUniversal Gates - Aneesa N Ali
Universal Gates - Aneesa N Ali
 
CSL 202, Shift Registers using Flipflops
CSL 202, Shift Registers using FlipflopsCSL 202, Shift Registers using Flipflops
CSL 202, Shift Registers using Flipflops
 
Arduino dc motor
Arduino dc motor Arduino dc motor
Arduino dc motor
 
8086 micro processor
8086 micro processor8086 micro processor
8086 micro processor
 
Logic Gates
Logic GatesLogic Gates
Logic Gates
 
Control Unit Design
Control Unit DesignControl Unit Design
Control Unit Design
 
Prom
PromProm
Prom
 
8086 assembly language
8086 assembly language8086 assembly language
8086 assembly language
 
Data flow model -Lecture-4
Data flow model -Lecture-4Data flow model -Lecture-4
Data flow model -Lecture-4
 
decorder and encoder and its applications
decorder and encoder and its applicationsdecorder and encoder and its applications
decorder and encoder and its applications
 
Logic Gates Presentation
Logic Gates PresentationLogic Gates Presentation
Logic Gates Presentation
 

Similaire à Logic Gates

Similaire à Logic Gates (8)

LOGICAL_GATES_priyansh_singhal.pdf
LOGICAL_GATES_priyansh_singhal.pdfLOGICAL_GATES_priyansh_singhal.pdf
LOGICAL_GATES_priyansh_singhal.pdf
 
LOGICAL GATES mayank chauhan.pdf
LOGICAL GATES mayank chauhan.pdfLOGICAL GATES mayank chauhan.pdf
LOGICAL GATES mayank chauhan.pdf
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Chapter 3_Logic Gates (EEEg4302).pdf
Chapter 3_Logic Gates (EEEg4302).pdfChapter 3_Logic Gates (EEEg4302).pdf
Chapter 3_Logic Gates (EEEg4302).pdf
 
Universal logic gate
Universal logic gateUniversal logic gate
Universal logic gate
 
Nand and nor as a universal gates
Nand and nor as a universal gatesNand and nor as a universal gates
Nand and nor as a universal gates
 
Nand and nor
Nand and norNand and nor
Nand and nor
 

Plus de Ramasubbu .P (20)

radar
radarradar
radar
 
Press
PressPress
Press
 
Milling 2
Milling 2Milling 2
Milling 2
 
MIlling 1
MIlling 1MIlling 1
MIlling 1
 
Drillings
DrillingsDrillings
Drillings
 
Holding
HoldingHolding
Holding
 
Saftey
SafteySaftey
Saftey
 
Harvesting
HarvestingHarvesting
Harvesting
 
Plough
PloughPlough
Plough
 
Tractor PTO
Tractor PTOTractor PTO
Tractor PTO
 
Tractor Components
Tractor ComponentsTractor Components
Tractor Components
 
MSAT
MSATMSAT
MSAT
 
GPS
GPSGPS
GPS
 
RTOS
RTOSRTOS
RTOS
 
Virus
VirusVirus
Virus
 
Hacker
HackerHacker
Hacker
 
Denail of Service
Denail of ServiceDenail of Service
Denail of Service
 
RAID CONCEPT
RAID CONCEPTRAID CONCEPT
RAID CONCEPT
 
Network Security
Network SecurityNetwork Security
Network Security
 
Timer
TimerTimer
Timer
 

Dernier

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxdhanalakshmis0310
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 

Dernier (20)

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 

Logic Gates

  • 1. 1MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR Introduction to Logic Gates • Logical gates – Inverter – AND – OR – NAND – NOR – Exclusive OR (XOR) – Exclusive NOR (XNOR) • Draw Logic Circuit • Analysis of Logic Circuit
  • 2. 2MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR Introduction to Logic Gates • Universal gates NAND and NOR – NAND gate – NOR gate • Execution using NAND gate • Execution using NOR gate • Positive & Negative Logic • SOP Expression Execution • POS Expression Execution • Integrated Logic Circuit Family
  • 3. 3MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR Logic Gates
  • 4. 4MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR Logic Gates • Inverter gate • The use of inverter: complement
  • 5. 5MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR Logic Gates • AND gate
  • 6. 6MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR Logic Gates • OR gate
  • 7. 7MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR Logic Gates • NAND gate
  • 8. 8MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR Logic Gates • NOR gate
  • 9. 9MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR Logic Gates • Exclusive OR (XOR) gate
  • 10. 10MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR Logic Gates • Exclusive NOR (XNOR) gate
  • 11. 11MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR Draw Logic Gates • When Boolean expression is obtained, we can draw logic gates • Example: – F1 = xyz’ (use three input AND gate)
  • 12. 12MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR Draw Logic Gates
  • 13. 13MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR Logic Circuit Analysis • When logic circuit is given, we can analyze the circuit to obtain logical expression • Example: – What is the Boolean expression for F4
  • 14. 14MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR Logic Circuit Analysis • What is the Boolean expression for F5
  • 15. 15MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR Universal Gates: NAND & NOR • Gate AND/OR/NOT is enough to build any Boolean function • Even though, other gates is also used because: – Very useful (no choice) – Save transistor’s number – Self sufficient (can build any gate from it) NAND/NOR: save, self sufficient XOR: useful (e.g. execute parity bit)
  • 16. 16MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR NAND Gate • NAND gate is self sufficient (i.e.can build any gate from it) • Can be used for building AND/OR/NOT gate • Build NOT gate using NAND gate
  • 17. 17MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR NAND Gate • Build AND gate using NAND gates • Build OR gate using NAND gates
  • 18. 18MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR NOR Gate • NOR gate is also self sufficient • Can be used for building AND/OR/NOT gate • Build NOT gate using NOR gate
  • 19. 19MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR NOR Gate • Build AND gate using NOR gates • Build OR gate using NOR gates
  • 20. 20MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR Build using NAND gate • It is not impossible to build Boolean expression using NAND gates Steps – Obtain sum-of-product Boolean expression • E.g: F3 = xy’ +x’z – Use DeMorgan theorem to get expression using two level NAND gate • E.g: F3 = xy’ +x’z = (xy’+x’z)” = ((xy’)’.(x’z)’)’
  • 21. 21MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR Build using NAND gate
  • 22. 22MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR Build using NOR gate • It is not impossible to build Boolean expression using NOR gates Steps – Obtain product-of-sum Boolean expression • E.g: F6 = (x+y’).(x’+z) – Use DeMorgan theorem to get expression using two level NAND gate • E.g: F3 = (x+y’).(x’+z) =((x+y’).(x’+z))’’ = ((x+y’)+(x’+z)’)’
  • 23. 23MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR Build using NOR gate
  • 24. 24MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR Positive & Negative Logic • In logic gate, most of the time – H (High Voltage, 5V) = logic 1 – L (Low Voltage, 0V) = logic 0 • This is called positive logic • However, if it is inverted, it is negative logic – H (High Voltage, 5V) = logic 0 – L (Low Voltage, 0V) = logic 1 • Depends, some similar gate need different Boolean function
  • 25. 25MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR Positive & Negative Logic • Signal which is set to logic 1 is said to be active and true • Signal which is set to logic 0 is said to be not active and false • The name of active high signal is always written in non-compliment form • The name of active low signal is always written in non-compliment form
  • 26. 26MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR Positive & Negative Logic
  • 27. 27MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR Construction of SOP Expression • Sum-of-product expression can be built using – Two level logic gate AND-OR – Two level logic gate AND-NOT • Logic AND-OR gate
  • 28. 28MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR Construction of SOP Expression • NAND-NAND circuit (with transformation circuit) – Add two balls – Change OR with NAND with inverted input and ball on it’s compliment input
  • 29. 29MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR Construction of POS Expression • Product-of-sum expression can be built using – Two level logic gate AND-OR – Two level logic gate AND-NOT • Logic AND-OR gate
  • 30. 30MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR Construction of POS Expression • NOR-NOR circuit (with transformation circuit) – Add two balls – Change AND with NOR with inverted input and ball on it’s compliment input       ”: