SlideShare a Scribd company logo
1 of 20
Design and implementation of EX-OR A
EX-NOR Gates using python
Presented By:
S.DEVENDRAN-- 713620104007
F.DHIPTHI VERONICA-- 71362010400
G.ESWAR-- 713620104009
CS8351
Digital Principles And System
Designing
• Aim
• Abstract
• EX-OR Gate
• EX-XNOR Gate
• Applications
• Program
• Advantages
• Disadvantages
• Conclusion
CONTENT
S
AIM
To understand the working of
EX-OR Gate and EX-NOR Gate using
python program.
ABSTRACT
EX-OR and EX-NOR gate plays an important
role in digital systems including arithmetic and
encryption circuits. It proposes a combination of EX-OR
and EX-NOR gate using 6-transistors for low power
applications. The simulation results demonstrate the
delay, power consumption and power-delay product
(PDP) at different supply voltages ranging from 0.6V to
1.2V. The results show that the proposed design has
lower power dissipation and has a full voltage swing.
LOGIC GATES
A logic gate is an idealized model of computation
or physical electronic device implementing a Boolean
function, a logical operation performed on one or more
binary inputs that produces a single binary output.
TYPES:
• AND EX-NOR
• OR NOR
• NOT NAND
• EX-OR
Advantages of Logic Gates
• Logic gates are quick yet use low energy.
• Logic gates don't get overworked.
• Logic ‘1’ and Logic ‘0’ can be easily
distinguished.
• Logical Operations are performed using
Boolean Algebra which makes the circuit
design more economical and simple.
Disadvantages of Logic Gates
• Operating Voltage is limited.
• Time delay occurs between input and
output.
EX-OR GATE
• The IC number is 7486.
• The output of XOR Gate is'High' if either of
the inputs is 'High'.
• The output is 'Low' if both the inputs are
'High' or if both the inputs are 'Low'.
Symbols and Truth tables
APPLICATIONS OF EX-OR
GATE
Program to implement EX-OR Gate
def XOR (a, b):
if a != b:
return 1
else:
return 0
if __name__=='__main__':
print(XOR(5, 5))
print("+---------------+----------------+")
print(" | XOR Truth Table | Result |")
print(" A = False, B = False | A XOR B =",XOR(False,False)," | ")
print(" A = False, B = True | A XOR B =",XOR(False,True)," | ")
print(" A = True, B = False | A XOR B =",XOR(True,False)," | ")
print(" A = True, B = True | A XOR B =",XOR(True,True)," | ")
Output
0
+---------------+----------------+
| XOR Truth Table | Result |
A = False, B = False | A XOR B = 0 |
A = False, B = True | A XOR B = 1 |
A = True, B = False | A XOR B = 1 |
A = True, B = True | A XOR B = 0 |
EX-NOR
• The output of XNOR Gate is ‘High’
if both the inputs are ‘High’ or if
both the inputs are ‘Low’.
• The output is ‘Low’ if either of the
input is ‘Low’
Symbols and Truth tables
Applications of EX-NOR
Gate
Program to implement EX-NOR
Gate
def XNOR(a,b):
if(a == b):
return 1
else:
return 0
if __name__=='__main__':
print(XNOR(1,1))
print("+---------------+----------------+")
print(" | XNOR Truth Table | Result |")
print(" A = False, B = False | A XNOR B =",XNOR(False,False)," | ")
print(" A = False, B = True | A XNOR B =",XNOR(False,True)," | ")
print(" A = True, B = False | A XNOR B =",XNOR(True,False)," | ")
print(" A = True, B = True | A XNOR B =",XNOR(True,True)," | ")
Output
1
+---------------+----------------+
| XNOR Truth Table | Result |
A = False, B = False | A XNOR B = 1 |
A = False, B = True | A XNOR B = 0 |
A = True, B = False | A XNOR B = 0 |
A = True, B = True | A XNOR B = 1 |
CONCLUSION
That means the output of the XOR
gate is inverted in the XNOR gate. In the
XOR gate operation, the output is only 1
when only one input is 1. The output is
logical 0 when both inputs are the same,
meaning they are either 1 or 0. But in the
XNOR gate, the inverse is true.
Reference
• G.O’Regan, Guide to Discrete Mathematics.
• J.L. Ackrill, Aristotle the Philosopher.
(Clarendon Press Oxford, 1994
• G. Boole, An Investigation into the Laws of
Thought. Dover Publications. 1958.(First
published in 1854)
• D. McHale, Boole. (Cork University Press, 1985)
THANK YOU

More Related Content

Similar to dpsd.pptx

Computer Architecture 3rd Edition by Moris Mano CH 01-CH 02.ppt
Computer Architecture 3rd Edition by Moris Mano CH  01-CH 02.pptComputer Architecture 3rd Edition by Moris Mano CH  01-CH 02.ppt
Computer Architecture 3rd Edition by Moris Mano CH 01-CH 02.ppt
Howida Youssry
 

Similar to dpsd.pptx (20)

Matlab operators
Matlab operatorsMatlab operators
Matlab operators
 
2dig circ
2dig circ2dig circ
2dig circ
 
Combinational logic 1
Combinational logic 1Combinational logic 1
Combinational logic 1
 
Leet Code May Coding Challenge - DataStructure and Algorithm Problems
Leet Code May Coding Challenge - DataStructure and Algorithm ProblemsLeet Code May Coding Challenge - DataStructure and Algorithm Problems
Leet Code May Coding Challenge - DataStructure and Algorithm Problems
 
Boolean expression org.
Boolean expression org.Boolean expression org.
Boolean expression org.
 
Pengolahan Data Panel Logit di Stata: Penilaian Goodness of Fit, Uji Model, d...
Pengolahan Data Panel Logit di Stata: Penilaian Goodness of Fit, Uji Model, d...Pengolahan Data Panel Logit di Stata: Penilaian Goodness of Fit, Uji Model, d...
Pengolahan Data Panel Logit di Stata: Penilaian Goodness of Fit, Uji Model, d...
 
Ch1 2 (2)
Ch1 2 (2)Ch1 2 (2)
Ch1 2 (2)
 
Programs in array using SWIFT
Programs in array using SWIFTPrograms in array using SWIFT
Programs in array using SWIFT
 
Mcq cpup
Mcq cpupMcq cpup
Mcq cpup
 
Boolean Function SOP & POS
Boolean Function SOP &  POSBoolean Function SOP &  POS
Boolean Function SOP & POS
 
Computer Architecture 3rd Edition by Moris Mano CH 01-CH 02.ppt
Computer Architecture 3rd Edition by Moris Mano CH  01-CH 02.pptComputer Architecture 3rd Edition by Moris Mano CH  01-CH 02.ppt
Computer Architecture 3rd Edition by Moris Mano CH 01-CH 02.ppt
 
CH1_2.ppt
CH1_2.pptCH1_2.ppt
CH1_2.ppt
 
Ch1 2
Ch1 2Ch1 2
Ch1 2
 
CH1_2.ppt
CH1_2.pptCH1_2.ppt
CH1_2.ppt
 
Logic gates and boolean algebra.ppt
Logic gates and boolean algebra.pptLogic gates and boolean algebra.ppt
Logic gates and boolean algebra.ppt
 
digital logic circuits, logic gates, boolean algebra
digital logic circuits, logic gates, boolean algebradigital logic circuits, logic gates, boolean algebra
digital logic circuits, logic gates, boolean algebra
 
Ch1-2, Digital Logic Circuit and Digital Components.ppt
Ch1-2, Digital Logic Circuit and Digital Components.pptCh1-2, Digital Logic Circuit and Digital Components.ppt
Ch1-2, Digital Logic Circuit and Digital Components.ppt
 
Python Tidbits
Python TidbitsPython Tidbits
Python Tidbits
 
4,encoder & decoder MUX and DEMUX EEng - Copy.pdf
4,encoder & decoder MUX and DEMUX EEng - Copy.pdf4,encoder & decoder MUX and DEMUX EEng - Copy.pdf
4,encoder & decoder MUX and DEMUX EEng - Copy.pdf
 
Digital logic circuit
Digital logic circuitDigital logic circuit
Digital logic circuit
 

Recently uploaded

01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
AshwaniAnuragi1
 
一比一原版(Griffith毕业证书)格里菲斯大学毕业证成绩单学位证书
一比一原版(Griffith毕业证书)格里菲斯大学毕业证成绩单学位证书一比一原版(Griffith毕业证书)格里菲斯大学毕业证成绩单学位证书
一比一原版(Griffith毕业证书)格里菲斯大学毕业证成绩单学位证书
c3384a92eb32
 

Recently uploaded (20)

Worksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxWorksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptx
 
Developing a smart system for infant incubators using the internet of things ...
Developing a smart system for infant incubators using the internet of things ...Developing a smart system for infant incubators using the internet of things ...
Developing a smart system for infant incubators using the internet of things ...
 
engineering chemistry power point presentation
engineering chemistry  power point presentationengineering chemistry  power point presentation
engineering chemistry power point presentation
 
Diploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdfDiploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdf
 
Independent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging StationIndependent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging Station
 
Dynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptxDynamo Scripts for Task IDs and Space Naming.pptx
Dynamo Scripts for Task IDs and Space Naming.pptx
 
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptxSLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
 
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdfInstruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
 
History of Indian Railways - the story of Growth & Modernization
History of Indian Railways - the story of Growth & ModernizationHistory of Indian Railways - the story of Growth & Modernization
History of Indian Railways - the story of Growth & Modernization
 
analog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxanalog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptx
 
Autodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptxAutodesk Construction Cloud (Autodesk Build).pptx
Autodesk Construction Cloud (Autodesk Build).pptx
 
DBMS-Report on Student management system.pptx
DBMS-Report on Student management system.pptxDBMS-Report on Student management system.pptx
DBMS-Report on Student management system.pptx
 
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
 
Databricks Generative AI Fundamentals .pdf
Databricks Generative AI Fundamentals  .pdfDatabricks Generative AI Fundamentals  .pdf
Databricks Generative AI Fundamentals .pdf
 
Raashid final report on Embedded Systems
Raashid final report on Embedded SystemsRaashid final report on Embedded Systems
Raashid final report on Embedded Systems
 
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
01-vogelsanger-stanag-4178-ed-2-the-new-nato-standard-for-nitrocellulose-test...
 
Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...Fuzzy logic method-based stress detector with blood pressure and body tempera...
Fuzzy logic method-based stress detector with blood pressure and body tempera...
 
Working Principle of Echo Sounder and Doppler Effect.pdf
Working Principle of Echo Sounder and Doppler Effect.pdfWorking Principle of Echo Sounder and Doppler Effect.pdf
Working Principle of Echo Sounder and Doppler Effect.pdf
 
一比一原版(Griffith毕业证书)格里菲斯大学毕业证成绩单学位证书
一比一原版(Griffith毕业证书)格里菲斯大学毕业证成绩单学位证书一比一原版(Griffith毕业证书)格里菲斯大学毕业证成绩单学位证书
一比一原版(Griffith毕业证书)格里菲斯大学毕业证成绩单学位证书
 
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and ToolsMaximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
Maximizing Incident Investigation Efficacy in Oil & Gas: Techniques and Tools
 

dpsd.pptx

  • 1. Design and implementation of EX-OR A EX-NOR Gates using python Presented By: S.DEVENDRAN-- 713620104007 F.DHIPTHI VERONICA-- 71362010400 G.ESWAR-- 713620104009 CS8351 Digital Principles And System Designing
  • 2. • Aim • Abstract • EX-OR Gate • EX-XNOR Gate • Applications • Program • Advantages • Disadvantages • Conclusion CONTENT S
  • 3. AIM To understand the working of EX-OR Gate and EX-NOR Gate using python program.
  • 4. ABSTRACT EX-OR and EX-NOR gate plays an important role in digital systems including arithmetic and encryption circuits. It proposes a combination of EX-OR and EX-NOR gate using 6-transistors for low power applications. The simulation results demonstrate the delay, power consumption and power-delay product (PDP) at different supply voltages ranging from 0.6V to 1.2V. The results show that the proposed design has lower power dissipation and has a full voltage swing.
  • 5. LOGIC GATES A logic gate is an idealized model of computation or physical electronic device implementing a Boolean function, a logical operation performed on one or more binary inputs that produces a single binary output. TYPES: • AND EX-NOR • OR NOR • NOT NAND • EX-OR
  • 6. Advantages of Logic Gates • Logic gates are quick yet use low energy. • Logic gates don't get overworked. • Logic ‘1’ and Logic ‘0’ can be easily distinguished. • Logical Operations are performed using Boolean Algebra which makes the circuit design more economical and simple.
  • 7. Disadvantages of Logic Gates • Operating Voltage is limited. • Time delay occurs between input and output.
  • 8. EX-OR GATE • The IC number is 7486. • The output of XOR Gate is'High' if either of the inputs is 'High'. • The output is 'Low' if both the inputs are 'High' or if both the inputs are 'Low'.
  • 11. Program to implement EX-OR Gate def XOR (a, b): if a != b: return 1 else: return 0 if __name__=='__main__': print(XOR(5, 5)) print("+---------------+----------------+") print(" | XOR Truth Table | Result |") print(" A = False, B = False | A XOR B =",XOR(False,False)," | ") print(" A = False, B = True | A XOR B =",XOR(False,True)," | ") print(" A = True, B = False | A XOR B =",XOR(True,False)," | ") print(" A = True, B = True | A XOR B =",XOR(True,True)," | ")
  • 12. Output 0 +---------------+----------------+ | XOR Truth Table | Result | A = False, B = False | A XOR B = 0 | A = False, B = True | A XOR B = 1 | A = True, B = False | A XOR B = 1 | A = True, B = True | A XOR B = 0 |
  • 13. EX-NOR • The output of XNOR Gate is ‘High’ if both the inputs are ‘High’ or if both the inputs are ‘Low’. • The output is ‘Low’ if either of the input is ‘Low’
  • 16. Program to implement EX-NOR Gate def XNOR(a,b): if(a == b): return 1 else: return 0 if __name__=='__main__': print(XNOR(1,1)) print("+---------------+----------------+") print(" | XNOR Truth Table | Result |") print(" A = False, B = False | A XNOR B =",XNOR(False,False)," | ") print(" A = False, B = True | A XNOR B =",XNOR(False,True)," | ") print(" A = True, B = False | A XNOR B =",XNOR(True,False)," | ") print(" A = True, B = True | A XNOR B =",XNOR(True,True)," | ")
  • 17. Output 1 +---------------+----------------+ | XNOR Truth Table | Result | A = False, B = False | A XNOR B = 1 | A = False, B = True | A XNOR B = 0 | A = True, B = False | A XNOR B = 0 | A = True, B = True | A XNOR B = 1 |
  • 18. CONCLUSION That means the output of the XOR gate is inverted in the XNOR gate. In the XOR gate operation, the output is only 1 when only one input is 1. The output is logical 0 when both inputs are the same, meaning they are either 1 or 0. But in the XNOR gate, the inverse is true.
  • 19. Reference • G.O’Regan, Guide to Discrete Mathematics. • J.L. Ackrill, Aristotle the Philosopher. (Clarendon Press Oxford, 1994 • G. Boole, An Investigation into the Laws of Thought. Dover Publications. 1958.(First published in 1854) • D. McHale, Boole. (Cork University Press, 1985)