SlideShare a Scribd company logo
NAND and NOR 
As a universal gates 
This presentation is about NAND Logic in the sense of building other 
logic gates using just NAND and NOR gates.
What are a Universal Gate 
And why NAND and NOR are 
known as universal gates? 
 A gate which can be use to create any Logic 
gate is called Universal Gate 
 NAND and NOR are called Universal Gates 
because all the other gates can be created by 
using these gates
Proof for NAND gates 
 Any Boolean function 
can be implemented using AND, OR and NOT 
gates 
 In the same way AND, OR and NOT gates can 
be implemented using NAND gates only,
Implementation of NOT using NAND 
A NOT gate is made by joining the inputs of a NAND 
gate together. 
Desired NOT Gate NAND Construction 
Input Output 
0 1 
1 0
Implementation of AND using 
NAND 
 A NAND gate is an inverted AND gate. 
 An AND gate is made by following a NAND gate with a 
NOT gate 
NAND Construction 
Input A Input B Output Q 
0 0 0 
0 1 0 
1 0 0 
1 1 1
Implementation of OR gate using NAND 
• If the truth table for a NAND gate is examined or by 
applying De Morgan's Laws, it can be seen that if any of 
the inputs are 0, then the output will be 1. To be an OR 
gate, 
Input A Input B Output Q 
0 0 0 
0 1 1 
1 0 1 
1 1 1 NAND Construction
Implementation of NOR gate using 
NAND 
 A NOR gate is simply an inverted OR gate. Output is 
high when neither input A nor input B is high: 
Input A Input B Output Q 
0 0 1 
0 1 0 
1 0 0 
1 1 0 
NAND Construction
Implementation of XOR gate using 
NAND 
 An XOR gate is constructed similarly to an OR 
gate, except with an additional NAND 
gate inserted such that if both inputs are high, 
the inputs to the final NAND gate will also be 
high, 
Input A Input B Output Q 
0 0 0 
0 1 1 
1 0 1 
NAND Construction 1 1 0
Implementation of XNOR gate using 
NAND 
• An XNOR gate is simply an XOR gate with an inverted 
output: 
Input A Input B Output Q 
0 0 1 
0 1 0 
1 0 0 
1 1 1 
NAND Construction
Proof for NOR gates 
 Like NAND gates, NOR gates are so-called "universal 
gates" that can be combined to form any other kind 
of logic gate. A NOR gate is logically an inverted OR 
gate 
Implementation of NOT gate using 
NAND 
 NOT made by joining the inputs 
 of a NOR gate. 
Input Output 
0 1 
1 0
Implementation of OR gate using NOR 
• The OR gate is simply a NOR gate followed by another 
NOR gate 
Input A Input B Output Q 
0 0 0 
0 1 1 
1 0 1 
1 1 1 
Desired Gate
Implementation of AND gate using 
NOR 
• an AND gate is made by inverting the inputs to a 
Input A Input B Output Q 
0 0 0 
0 1 0 
1 0 0 
1 1 1 
NOR gate. 
NOR Construction
Implementation of NAND gate using 
NOR 
NOR Construction
Implementation of XOR gate using 
NOR 
 An XOR gate is made by connecting the output of 3 
NOR gates (connected as an AND gate) and the output 
of a NOR gate to the respective inputs of a NOR gate. 
Input A Input B Output Q 
0 0 0 
0 1 1 
1 0 1 
NOR Construction 1 1 0
Implementation of XNOR gate using 
NOR 
 An XNOR gate can be constructed from four NOR gates 
implementing the expression "(A NOR N) NOR (B NOR 
N) where N = A NOR B". This construction has a 
propagation delay three times that of a single NOR gate, 
and uses more gates. 
Input A Input B Output Q 
0 0 1 
0 1 0 
1 0 0 
NOR Construction 1 1 1
The End!! 
Any Question?

More Related Content

What's hot

Basic Logic gates
Basic Logic gatesBasic Logic gates
Basic Logic gates
Nong Aquino jr.
 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuits
Nabarun Chakraborty
 
Logic Gates
Logic GatesLogic Gates
Logic Gates
Andrew Nelson
 
Logic gates
Logic gatesLogic gates
Logic gates
Asuquo Asuquo
 
Encoder and decoder
Encoder and decoderEncoder and decoder
Encoder and decoder
Then Murugeshwari
 
Digital logic gates and Boolean algebra
Digital logic gates and Boolean algebraDigital logic gates and Boolean algebra
Digital logic gates and Boolean algebra
SARITHA REDDY
 
NAND and NOR implementation and Other two level implementation
NAND and NOR implementation and  Other two level implementationNAND and NOR implementation and  Other two level implementation
NAND and NOR implementation and Other two level implementation
Muhammad Akhtar
 
Logic gates and its realization
Logic gates and its realizationLogic gates and its realization
Logic gates and its realization
nganesh90
 
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
Kaushal Shah
 
Logic Gates
Logic GatesLogic Gates
Logic Gates
Adeel Rasheed
 
flip flop circuits and its applications
flip flop circuits and its applicationsflip flop circuits and its applications
flip flop circuits and its applications
Gaditek
 
Logic gates and NAND and NOR univarsal gates
Logic gates and NAND and NOR univarsal gatesLogic gates and NAND and NOR univarsal gates
Logic gates and NAND and NOR univarsal gates
Dhwanil Champaneria
 
Encoders and decoders
Encoders and decodersEncoders and decoders
Encoders and decoders
Jher Carlson Atasan
 
Logic gates
Logic gatesLogic gates
Magnitude comparator
Magnitude comparatorMagnitude comparator
Magnitude comparator
Syed Saeed
 
Synchronous Counter
Synchronous Counter Synchronous Counter
Synchronous Counter
Akhilesh Kushwaha
 
Encoder & Decoder
Encoder & DecoderEncoder & Decoder
Encoder & Decoder
Syed Saeed
 
BOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATEBOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATE
Ideal Eyes Business College
 
Digital Electronics - Counters
Digital Electronics - CountersDigital Electronics - Counters
Digital Electronics - Counters
Jayakrishnan J
 
digital Counter
digital Counterdigital Counter
digital Counter
shamshad alam
 

What's hot (20)

Basic Logic gates
Basic Logic gatesBasic Logic gates
Basic Logic gates
 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuits
 
Logic Gates
Logic GatesLogic Gates
Logic Gates
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Encoder and decoder
Encoder and decoderEncoder and decoder
Encoder and decoder
 
Digital logic gates and Boolean algebra
Digital logic gates and Boolean algebraDigital logic gates and Boolean algebra
Digital logic gates and Boolean algebra
 
NAND and NOR implementation and Other two level implementation
NAND and NOR implementation and  Other two level implementationNAND and NOR implementation and  Other two level implementation
NAND and NOR implementation and Other two level implementation
 
Logic gates and its realization
Logic gates and its realizationLogic gates and its realization
Logic gates and its realization
 
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
 
Logic Gates
Logic GatesLogic Gates
Logic Gates
 
flip flop circuits and its applications
flip flop circuits and its applicationsflip flop circuits and its applications
flip flop circuits and its applications
 
Logic gates and NAND and NOR univarsal gates
Logic gates and NAND and NOR univarsal gatesLogic gates and NAND and NOR univarsal gates
Logic gates and NAND and NOR univarsal gates
 
Encoders and decoders
Encoders and decodersEncoders and decoders
Encoders and decoders
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Magnitude comparator
Magnitude comparatorMagnitude comparator
Magnitude comparator
 
Synchronous Counter
Synchronous Counter Synchronous Counter
Synchronous Counter
 
Encoder & Decoder
Encoder & DecoderEncoder & Decoder
Encoder & Decoder
 
BOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATEBOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATE
 
Digital Electronics - Counters
Digital Electronics - CountersDigital Electronics - Counters
Digital Electronics - Counters
 
digital Counter
digital Counterdigital Counter
digital Counter
 

Viewers also liked

Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Satya P. Joshi
 
NAND gate
NAND gateNAND gate
NAND gate
Abhishekvb
 
Report on-the-logic-gates
Report on-the-logic-gatesReport on-the-logic-gates
Report on-the-logic-gatesbhardubhai
 
Logic gate class 12
Logic gate class 12Logic gate class 12
Logic gate class 12
Nipun Shah
 
7 realization of logic function using logic gates (1)
7 realization of logic function using logic gates (1)7 realization of logic function using logic gates (1)
7 realization of logic function using logic gates (1)
Hemant Suthar
 
Nand gate
Nand gateNand gate
Nand gate
Anupam Narang
 
Logic Gates Presentation
Logic Gates PresentationLogic Gates Presentation
Logic Gates Presentationnad407
 
Harmonics and intermodulation distortions
Harmonics and intermodulation distortionsHarmonics and intermodulation distortions
Harmonics and intermodulation distortionsAnjani Kumar
 
189626882 ep227-digital-electronics
189626882 ep227-digital-electronics189626882 ep227-digital-electronics
189626882 ep227-digital-electronics
Dimple Bansal
 
Kmap Slideshare
Kmap SlideshareKmap Slideshare
Kmap Slidesharetech4us
 
Karnaugh Mapping Explained
Karnaugh Mapping ExplainedKarnaugh Mapping Explained
Karnaugh Mapping Explained
ml4ml4
 
Bismillah in the Name of Allah
Bismillah   in the Name of AllahBismillah   in the Name of Allah
Bismillah in the Name of AllahXenia Y
 
Microsoft FrontPage PPT
Microsoft FrontPage PPTMicrosoft FrontPage PPT
Microsoft FrontPage PPT
anushreekmurthy
 
K map
K mapK map
physics investigatory project class 12 on logic gates ,boolean algebra
physics investigatory project class 12 on logic gates ,boolean algebraphysics investigatory project class 12 on logic gates ,boolean algebra
physics investigatory project class 12 on logic gates ,boolean algebra
sukhtej
 
Powerpoint: "How to make the first page"
Powerpoint: "How to make the first page"Powerpoint: "How to make the first page"
Powerpoint: "How to make the first page"
parrpakala
 
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational CircuitsCOMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
Vanitha Chandru
 
Karnaugh map
Karnaugh mapKarnaugh map
Karnaugh map
Vanitha Chandru
 
Basic logic gates
Basic logic gatesBasic logic gates
Basic logic gatesKumar
 

Viewers also liked (20)

Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
 
NAND gate
NAND gateNAND gate
NAND gate
 
Report on-the-logic-gates
Report on-the-logic-gatesReport on-the-logic-gates
Report on-the-logic-gates
 
Logic gate class 12
Logic gate class 12Logic gate class 12
Logic gate class 12
 
7 realization of logic function using logic gates (1)
7 realization of logic function using logic gates (1)7 realization of logic function using logic gates (1)
7 realization of logic function using logic gates (1)
 
Nand gate
Nand gateNand gate
Nand gate
 
Logic Gates Presentation
Logic Gates PresentationLogic Gates Presentation
Logic Gates Presentation
 
Harmonics and intermodulation distortions
Harmonics and intermodulation distortionsHarmonics and intermodulation distortions
Harmonics and intermodulation distortions
 
189626882 ep227-digital-electronics
189626882 ep227-digital-electronics189626882 ep227-digital-electronics
189626882 ep227-digital-electronics
 
Kmap Slideshare
Kmap SlideshareKmap Slideshare
Kmap Slideshare
 
Karnaugh Mapping Explained
Karnaugh Mapping ExplainedKarnaugh Mapping Explained
Karnaugh Mapping Explained
 
Bismillah in the Name of Allah
Bismillah   in the Name of AllahBismillah   in the Name of Allah
Bismillah in the Name of Allah
 
Microsoft FrontPage PPT
Microsoft FrontPage PPTMicrosoft FrontPage PPT
Microsoft FrontPage PPT
 
K map
K mapK map
K map
 
physics investigatory project class 12 on logic gates ,boolean algebra
physics investigatory project class 12 on logic gates ,boolean algebraphysics investigatory project class 12 on logic gates ,boolean algebra
physics investigatory project class 12 on logic gates ,boolean algebra
 
Logic Gates
Logic GatesLogic Gates
Logic Gates
 
Powerpoint: "How to make the first page"
Powerpoint: "How to make the first page"Powerpoint: "How to make the first page"
Powerpoint: "How to make the first page"
 
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational CircuitsCOMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
 
Karnaugh map
Karnaugh mapKarnaugh map
Karnaugh map
 
Basic logic gates
Basic logic gatesBasic logic gates
Basic logic gates
 

Similar to Nand and nor

Universal logic Gate ppt for digital logic design
Universal logic Gate ppt for digital logic designUniversal logic Gate ppt for digital logic design
Universal logic Gate ppt for digital logic design
HODECEDSIET
 
Universal Gate ppt to design digital logic circuit
Universal Gate ppt to design digital logic circuitUniversal Gate ppt to design digital logic circuit
Universal Gate ppt to design digital logic circuit
HODECEDSIET
 
Dsd lab internal q.paper
Dsd lab internal q.paperDsd lab internal q.paper
Dsd lab internal q.paper
Arun Dasa
 
NAND AND NOR IMPLEMENTATION.pptx
NAND AND NOR IMPLEMENTATION.pptxNAND AND NOR IMPLEMENTATION.pptx
NAND AND NOR IMPLEMENTATION.pptx
recoveraccount1
 
Logic gates
Logic gatesLogic gates
Logic gates
prasanna chitra
 
UNIVERSAL PROPERTY.pptx
UNIVERSAL PROPERTY.pptxUNIVERSAL PROPERTY.pptx
UNIVERSAL PROPERTY.pptx
GaganaP13
 
New microsoft office power point presentation
New microsoft office power point presentationNew microsoft office power point presentation
New microsoft office power point presentation
arushi bhatnagar
 
LOGICAL_GATES_priyansh_singhal.pdf
LOGICAL_GATES_priyansh_singhal.pdfLOGICAL_GATES_priyansh_singhal.pdf
LOGICAL_GATES_priyansh_singhal.pdf
MeghaChauhan75
 
introduction of logic gates
introduction of logic gates introduction of logic gates
introduction of logic gates
HASNAINNAZIR1
 
Nand gate
Nand gateNand gate
Nand gate
hepzijustin
 
Chapter 3_Logic Gates (EEEg4302).pdf
Chapter 3_Logic Gates (EEEg4302).pdfChapter 3_Logic Gates (EEEg4302).pdf
Chapter 3_Logic Gates (EEEg4302).pdf
TamiratDejene1
 
Electronics: Logic Gates
Electronics: Logic GatesElectronics: Logic Gates
Electronics: Logic Gates
Marc Owen Rentap anak Dineal Gumis
 
LOGICAL GATES mayank chauhan.pdf
LOGICAL GATES mayank chauhan.pdfLOGICAL GATES mayank chauhan.pdf
LOGICAL GATES mayank chauhan.pdf
MeghaChauhan75
 
Deld lab manual
Deld lab manualDeld lab manual
Deld lab manual
Vivek Kumar Sinha
 
ICT Basic Logic Gates Lessons.pptx
ICT Basic Logic Gates Lessons.pptxICT Basic Logic Gates Lessons.pptx
ICT Basic Logic Gates Lessons.pptx
ChristianVelchez2
 
ECAD lab manual
ECAD lab manualECAD lab manual
ECAD lab manual
Dr. Swaminathan Kathirvel
 
Physics investigatory project { LOGIC GATES} CLASS XII
Physics investigatory project  { LOGIC GATES} CLASS XIIPhysics investigatory project  { LOGIC GATES} CLASS XII
Physics investigatory project { LOGIC GATES} CLASS XII
avneesh1234
 
Digital Electronics Logic gates
Digital Electronics Logic gatesDigital Electronics Logic gates
Digital Electronics Logic gates
MD Mahadi Hasan
 
Logic Gate.pptx
Logic Gate.pptxLogic Gate.pptx
Logic Gate.pptx
HrRajon2
 

Similar to Nand and nor (20)

Universal logic Gate ppt for digital logic design
Universal logic Gate ppt for digital logic designUniversal logic Gate ppt for digital logic design
Universal logic Gate ppt for digital logic design
 
Universal Gate ppt to design digital logic circuit
Universal Gate ppt to design digital logic circuitUniversal Gate ppt to design digital logic circuit
Universal Gate ppt to design digital logic circuit
 
Dsd lab internal q.paper
Dsd lab internal q.paperDsd lab internal q.paper
Dsd lab internal q.paper
 
Chap 3
Chap 3Chap 3
Chap 3
 
NAND AND NOR IMPLEMENTATION.pptx
NAND AND NOR IMPLEMENTATION.pptxNAND AND NOR IMPLEMENTATION.pptx
NAND AND NOR IMPLEMENTATION.pptx
 
Logic gates
Logic gatesLogic gates
Logic gates
 
UNIVERSAL PROPERTY.pptx
UNIVERSAL PROPERTY.pptxUNIVERSAL PROPERTY.pptx
UNIVERSAL PROPERTY.pptx
 
New microsoft office power point presentation
New microsoft office power point presentationNew microsoft office power point presentation
New microsoft office power point presentation
 
LOGICAL_GATES_priyansh_singhal.pdf
LOGICAL_GATES_priyansh_singhal.pdfLOGICAL_GATES_priyansh_singhal.pdf
LOGICAL_GATES_priyansh_singhal.pdf
 
introduction of logic gates
introduction of logic gates introduction of logic gates
introduction of logic gates
 
Nand gate
Nand gateNand gate
Nand gate
 
Chapter 3_Logic Gates (EEEg4302).pdf
Chapter 3_Logic Gates (EEEg4302).pdfChapter 3_Logic Gates (EEEg4302).pdf
Chapter 3_Logic Gates (EEEg4302).pdf
 
Electronics: Logic Gates
Electronics: Logic GatesElectronics: Logic Gates
Electronics: Logic Gates
 
LOGICAL GATES mayank chauhan.pdf
LOGICAL GATES mayank chauhan.pdfLOGICAL GATES mayank chauhan.pdf
LOGICAL GATES mayank chauhan.pdf
 
Deld lab manual
Deld lab manualDeld lab manual
Deld lab manual
 
ICT Basic Logic Gates Lessons.pptx
ICT Basic Logic Gates Lessons.pptxICT Basic Logic Gates Lessons.pptx
ICT Basic Logic Gates Lessons.pptx
 
ECAD lab manual
ECAD lab manualECAD lab manual
ECAD lab manual
 
Physics investigatory project { LOGIC GATES} CLASS XII
Physics investigatory project  { LOGIC GATES} CLASS XIIPhysics investigatory project  { LOGIC GATES} CLASS XII
Physics investigatory project { LOGIC GATES} CLASS XII
 
Digital Electronics Logic gates
Digital Electronics Logic gatesDigital Electronics Logic gates
Digital Electronics Logic gates
 
Logic Gate.pptx
Logic Gate.pptxLogic Gate.pptx
Logic Gate.pptx
 

More from Zahida Pervaiz

coffee tea & company
coffee tea & company coffee tea & company
coffee tea & company
Zahida Pervaiz
 
International marketing analysis
International marketing analysisInternational marketing analysis
International marketing analysis
Zahida Pervaiz
 
learning Management system
learning Management systemlearning Management system
learning Management system
Zahida Pervaiz
 
Sunny vale foods inc
Sunny vale foods inc Sunny vale foods inc
Sunny vale foods inc
Zahida Pervaiz
 
Publisher topic 7
Publisher topic 7Publisher topic 7
Publisher topic 7
Zahida Pervaiz
 
1st lecture basics of visio
1st lecture  basics of visio1st lecture  basics of visio
1st lecture basics of visio
Zahida Pervaiz
 
2nd topic stencil and data linkage
2nd topic stencil and data linkage2nd topic stencil and data linkage
2nd topic stencil and data linkage
Zahida Pervaiz
 
3rd topic creating flowchart and calendar
3rd topic creating flowchart and calendar3rd topic creating flowchart and calendar
3rd topic creating flowchart and calendar
Zahida Pervaiz
 
Lecture no 6
Lecture no 6Lecture no 6
Lecture no 6
Zahida Pervaiz
 
Publisher lec 5
Publisher lec 5Publisher lec 5
Publisher lec 5
Zahida Pervaiz
 
Publisher lec 4
Publisher lec 4Publisher lec 4
Publisher lec 4
Zahida Pervaiz
 
Publisher lec 3
Publisher lec 3Publisher lec 3
Publisher lec 3
Zahida Pervaiz
 
Publisher lec 2
Publisher lec 2Publisher lec 2
Publisher lec 2
Zahida Pervaiz
 
Publisher topic 1
Publisher topic 1Publisher topic 1
Publisher topic 1
Zahida Pervaiz
 
Binomial distribution good
Binomial distribution goodBinomial distribution good
Binomial distribution goodZahida Pervaiz
 
Probability theory good
Probability theory goodProbability theory good
Probability theory goodZahida Pervaiz
 
Review writing
Review writing Review writing
Review writing
Zahida Pervaiz
 
Tourism in pakistan
Tourism in pakistanTourism in pakistan
Tourism in pakistan
Zahida Pervaiz
 

More from Zahida Pervaiz (20)

coffee tea & company
coffee tea & company coffee tea & company
coffee tea & company
 
International marketing analysis
International marketing analysisInternational marketing analysis
International marketing analysis
 
learning Management system
learning Management systemlearning Management system
learning Management system
 
Sunny vale foods inc
Sunny vale foods inc Sunny vale foods inc
Sunny vale foods inc
 
Publisher topic 7
Publisher topic 7Publisher topic 7
Publisher topic 7
 
1st lecture basics of visio
1st lecture  basics of visio1st lecture  basics of visio
1st lecture basics of visio
 
2nd topic stencil and data linkage
2nd topic stencil and data linkage2nd topic stencil and data linkage
2nd topic stencil and data linkage
 
3rd topic creating flowchart and calendar
3rd topic creating flowchart and calendar3rd topic creating flowchart and calendar
3rd topic creating flowchart and calendar
 
Lecture no 6
Lecture no 6Lecture no 6
Lecture no 6
 
Publisher lec 5
Publisher lec 5Publisher lec 5
Publisher lec 5
 
Publisher lec 4
Publisher lec 4Publisher lec 4
Publisher lec 4
 
Publisher lec 3
Publisher lec 3Publisher lec 3
Publisher lec 3
 
Publisher lec 2
Publisher lec 2Publisher lec 2
Publisher lec 2
 
Publisher topic 1
Publisher topic 1Publisher topic 1
Publisher topic 1
 
5 random variables
5 random variables5 random variables
5 random variables
 
Binomial distribution good
Binomial distribution goodBinomial distribution good
Binomial distribution good
 
Probability theory good
Probability theory goodProbability theory good
Probability theory good
 
after 20 years
after 20 yearsafter 20 years
after 20 years
 
Review writing
Review writing Review writing
Review writing
 
Tourism in pakistan
Tourism in pakistanTourism in pakistan
Tourism in pakistan
 

Nand and nor

  • 1. NAND and NOR As a universal gates This presentation is about NAND Logic in the sense of building other logic gates using just NAND and NOR gates.
  • 2. What are a Universal Gate And why NAND and NOR are known as universal gates?  A gate which can be use to create any Logic gate is called Universal Gate  NAND and NOR are called Universal Gates because all the other gates can be created by using these gates
  • 3. Proof for NAND gates  Any Boolean function can be implemented using AND, OR and NOT gates  In the same way AND, OR and NOT gates can be implemented using NAND gates only,
  • 4. Implementation of NOT using NAND A NOT gate is made by joining the inputs of a NAND gate together. Desired NOT Gate NAND Construction Input Output 0 1 1 0
  • 5. Implementation of AND using NAND  A NAND gate is an inverted AND gate.  An AND gate is made by following a NAND gate with a NOT gate NAND Construction Input A Input B Output Q 0 0 0 0 1 0 1 0 0 1 1 1
  • 6. Implementation of OR gate using NAND • If the truth table for a NAND gate is examined or by applying De Morgan's Laws, it can be seen that if any of the inputs are 0, then the output will be 1. To be an OR gate, Input A Input B Output Q 0 0 0 0 1 1 1 0 1 1 1 1 NAND Construction
  • 7. Implementation of NOR gate using NAND  A NOR gate is simply an inverted OR gate. Output is high when neither input A nor input B is high: Input A Input B Output Q 0 0 1 0 1 0 1 0 0 1 1 0 NAND Construction
  • 8. Implementation of XOR gate using NAND  An XOR gate is constructed similarly to an OR gate, except with an additional NAND gate inserted such that if both inputs are high, the inputs to the final NAND gate will also be high, Input A Input B Output Q 0 0 0 0 1 1 1 0 1 NAND Construction 1 1 0
  • 9. Implementation of XNOR gate using NAND • An XNOR gate is simply an XOR gate with an inverted output: Input A Input B Output Q 0 0 1 0 1 0 1 0 0 1 1 1 NAND Construction
  • 10. Proof for NOR gates  Like NAND gates, NOR gates are so-called "universal gates" that can be combined to form any other kind of logic gate. A NOR gate is logically an inverted OR gate Implementation of NOT gate using NAND  NOT made by joining the inputs  of a NOR gate. Input Output 0 1 1 0
  • 11. Implementation of OR gate using NOR • The OR gate is simply a NOR gate followed by another NOR gate Input A Input B Output Q 0 0 0 0 1 1 1 0 1 1 1 1 Desired Gate
  • 12. Implementation of AND gate using NOR • an AND gate is made by inverting the inputs to a Input A Input B Output Q 0 0 0 0 1 0 1 0 0 1 1 1 NOR gate. NOR Construction
  • 13. Implementation of NAND gate using NOR NOR Construction
  • 14. Implementation of XOR gate using NOR  An XOR gate is made by connecting the output of 3 NOR gates (connected as an AND gate) and the output of a NOR gate to the respective inputs of a NOR gate. Input A Input B Output Q 0 0 0 0 1 1 1 0 1 NOR Construction 1 1 0
  • 15. Implementation of XNOR gate using NOR  An XNOR gate can be constructed from four NOR gates implementing the expression "(A NOR N) NOR (B NOR N) where N = A NOR B". This construction has a propagation delay three times that of a single NOR gate, and uses more gates. Input A Input B Output Q 0 0 1 0 1 0 1 0 0 NOR Construction 1 1 1
  • 16. The End!! Any Question?