SlideShare une entreprise Scribd logo
1  sur  49
Software Developers
   View of Hardware
        Electronic Circuits
What are circuits?
   Computers are electrical devices, so
    therefore all functions performed by a
    computer need to done via the use of circuits.
   Circuits are designed via the use of Logic
    Gates which show the path and the way in
    which electronic signals are sent and
    received.
Logic Gates
   Are a hardware circuit that produces a 0 or 1,
    which is normally an electronic impulse.
   There are THREE basic logic gates and
    THREE extended gates that can be used to
    build integrated circuits.
BASIC GATES
1.       NOT Gate
         This is the simplest of all gates, it involves a
          single input and a single output.
         The purpose of this gate is the flipping of a bit
          similar to what is performed in one’s
          complement.
NOT Gate



        A   X
    0           1
NOT Gate
NOT Gate
NOT Gate – Truth Table


                 IF A = 0 THEN
   A       X
                      X=1
   0       1     ELSE
                      X=0
   1       0     ENDIF
BASIC GATES
1.       AND Gate
         This is involves two inputs to produce one
          output.
         Both inputs must be true for the output to be true.
AND Gate



    A
           X
    B
AND Gate
AND Gate
AND Gate
AND Gate – Truth Table

 A    B     X    IF A=1 AND B=1THEN

 0    0     0        X=1

 0    1     0
                 ELSE
                     X=0
 1    0     0
                 ENDIF
 1    1     1
BASIC GATES
1.       OR Gate
         This is involves two inputs to produce one
          output.
         If either inputs are true then the output will be
          true.
OR Gate



    A
          X
    B
OR Gate
OR Gate
OR Gate
OR Gate
OR Gate – Truth Table

 A    B     X    IF A=1 OR B=1THEN

 0    0     0           X=1

 0    1     1
                 ELSE
                        X=0
 1    0     1
                 ENDIF
 1    1     1
Activity 1
Complete the truth table for the following circuit.



     A
                          X
                                          Y
     B
Truth Table

       A      B   X   Y

       0      0

       0      1

       1      0

       1      1
EXTENDED GATES
1.       NAND Gate
         This is involves two inputs to produce one
          output.
         The output is the opposite of an AND gate.
         Is a combination of an AND and NOT gate.
NAND Gate



    A
            X
    B
NAND Gate – Truth Table

 A    B     X   IF A=1 AND B=1THEN

 0    0     1       X=0

 0    1     1
                ELSE
                    X=1
 1    0     1
                ENDIF
 1    1     0
EXTENDED GATES
1.       NOR Gate
         This is involves two inputs to produce one
          output.
         The output is the opposite of an OR gate.
         It is a combination of an OR and NOT.
NOR Gate



    A
           X
    B
NOR Gate – Truth Table

 A    B     X    IF A=1 AND B=1THEN

 0    0     1        X=0

 0    1     0
                 ELSE
                     X=1
 1    0     0
                 ENDIF
 1    1     0
EXTENDED GATES
1.       XOR Gate
         This stands for exclusive OR.
         This gate is true if only one input is true.
XOR Gate



    A
           X
    B
XOR Gate – Truth Table

        A    B     X

        0    0     0

        0    1     1

        1    0     1

        1    1     0
SPECIALITY CIRCUITS
       Designed to make use of our binary
        knowledge and our circuitry knowledge
       Examples include:
        Adders
        Flip Flops
        Shifts
DESIGNING SPECIALITY
CIRCUITS
   These circuits are written to provide a specific
    function:
       Adder (Binary Addition)
       Flip Flop (Binary Storage)
DESIGNING SPECIALITY
CIRCUITS
       Follow these steps:
        Identify inputs and outputs
        Identify the components required to produce the
         output (AND, OR, NOT, NAND, NOR, XOR)
        Construct the solution with logic gates
        Check the solution for validity (with a truth table)
        Evaluate the circuit design (could you make this
         circuit better by chaining different logic gates)
Binary Half Adder
   This device is basically a calculator.
   Lets look at the half adder truth table first.
Binary Half Adders
                            INPUT         OUTPUT
   To create a
    Binary Adder,       A           B   Carry   Sum
    we need to find
    a logic gate that
    give us the         0           0    0       0
    Carry output
    and a logic gate
                        0           1    0       1
    the Sum output

                        1           0    0       1

                        1           1    1       0
Binary Half Adders
                                  INPUT         OUTPUT
       Carry output is
        created using a       A           B   Carry   Sum
        AND logic gate

                              0           0    0       0
A
                          X
B                             0           1    0       1

                              1           0    0       1

                              1           1    1       0
Binary Half Adders
                              INPUT         OUTPUT
       Sum output is
        created using a   A           B   Carry   Sum
        XOR logic gate

                          0           0    0       0
A
                      X
B
                          0           1    0       1

                          1           0    0       1

                          1           1    1       0
Binary Half Adders

The circuit:
  A

                     Carry (C)
  B




                     Sum (S)
Half And Full Adders

   Half Adders only work to add two digits
   To add more than 2 binary digits we need a full
    adder
   A full adder allows us to add the “carry” value to
    an binary addition
Full Adders

   A

   B

                     Carry
                     (C)


               Sum (S)
Carry in
Truth Tables
Construct a truth table for the full adder.
Truth Table
  A      B    CARRY   CARRY   SUM
                IN
  0      0       0      0      0
  0      0       1      0      1
  0      1       0      0      1
  0      1       1      1      0
  1      0       0      0      1
  1      0       1      1      0
  1      1       0      1      0
  1      1       1      1      1
Circuit Design Steps
   Identify inputs and outputs.
    A+B+C=X
   Identify the components needed to obtain
    the desired output.
    AND/OR/NOT/XOR/NAND/NOR
   Construct a truth table to test.
Activity 2
   Construct a truth table for the following
    circuit.

    A
                    Y
    B                             X



    C
A
    B               X



    C
A       B   C   Y       X
0       0   0   1       1
0       0   1   1       0
0       1   0   1       1
0       1   1   1       0
1       0   0   1       1
1       0   1   1       0
1       1   0   0       0
1       1   1   0       1
Activity 3
Fault   Door   Switch   x   Light
  0      0       0            0
  0      0       1            0
  0      1       0            0
  0      1       1            1
  1      0       0            0
  1      0       1            0
  1      1       0            0
  1      1       1            0

Contenu connexe

Tendances

Physics investigatory project
Physics investigatory projectPhysics investigatory project
Physics investigatory projectPrakhar Seth
 
Lecture 2.4 logic_gate_&_simple_logic_circuit
Lecture 2.4 logic_gate_&_simple_logic_circuitLecture 2.4 logic_gate_&_simple_logic_circuit
Lecture 2.4 logic_gate_&_simple_logic_circuitKMJ Science Computer
 
Report on-the-logic-gates
Report on-the-logic-gatesReport on-the-logic-gates
Report on-the-logic-gatesbhardubhai
 
Physics investigatory project
Physics investigatory projectPhysics investigatory project
Physics investigatory projectAbhinav Kumar
 
Digital Electronics Logic gates
Digital Electronics Logic gatesDigital Electronics Logic gates
Digital Electronics Logic gatesMD Mahadi Hasan
 
296779866 c-b-s-e-class-12-physics-project-on-logic-gates
296779866 c-b-s-e-class-12-physics-project-on-logic-gates296779866 c-b-s-e-class-12-physics-project-on-logic-gates
296779866 c-b-s-e-class-12-physics-project-on-logic-gatesAnuragSharma530
 
Logic gates 12th standard ivestigatory project
Logic gates 12th standard ivestigatory projectLogic gates 12th standard ivestigatory project
Logic gates 12th standard ivestigatory projectJaipuriar School
 
Logic gate class 12
Logic gate class 12Logic gate class 12
Logic gate class 12Nipun Shah
 
Computer circuit logic
Computer circuit logicComputer circuit logic
Computer circuit logicYoungik Song
 
Project on logic And Gate
Project on logic And GateProject on logic And Gate
Project on logic And GateAjay Yadav
 
Physics investigatgory project on logic gates class 12
Physics  investigatgory project on logic gates class 12Physics  investigatgory project on logic gates class 12
Physics investigatgory project on logic gates class 12appietech
 
verification of logic gates cbse class 12
verification of logic gates cbse class 12verification of logic gates cbse class 12
verification of logic gates cbse class 12Kirthi Kirthu
 
Class 12 Physics Investigatory Project Work, Practical- study of various logi...
Class 12 Physics Investigatory Project Work, Practical- study of various logi...Class 12 Physics Investigatory Project Work, Practical- study of various logi...
Class 12 Physics Investigatory Project Work, Practical- study of various logi...Kendriya Vidyalaya
 

Tendances (19)

Physics investigatory project
Physics investigatory projectPhysics investigatory project
Physics investigatory project
 
Lecture 2.4 logic_gate_&_simple_logic_circuit
Lecture 2.4 logic_gate_&_simple_logic_circuitLecture 2.4 logic_gate_&_simple_logic_circuit
Lecture 2.4 logic_gate_&_simple_logic_circuit
 
Report on-the-logic-gates
Report on-the-logic-gatesReport on-the-logic-gates
Report on-the-logic-gates
 
Physics investigatory project
Physics investigatory projectPhysics investigatory project
Physics investigatory project
 
Digital Electronics Logic gates
Digital Electronics Logic gatesDigital Electronics Logic gates
Digital Electronics Logic gates
 
Physic investigatory
Physic investigatoryPhysic investigatory
Physic investigatory
 
296779866 c-b-s-e-class-12-physics-project-on-logic-gates
296779866 c-b-s-e-class-12-physics-project-on-logic-gates296779866 c-b-s-e-class-12-physics-project-on-logic-gates
296779866 c-b-s-e-class-12-physics-project-on-logic-gates
 
Logic gates 12th standard ivestigatory project
Logic gates 12th standard ivestigatory projectLogic gates 12th standard ivestigatory project
Logic gates 12th standard ivestigatory project
 
Logic gates 07 11-2014
Logic gates 07 11-2014Logic gates 07 11-2014
Logic gates 07 11-2014
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Logic gate class 12
Logic gate class 12Logic gate class 12
Logic gate class 12
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Computer circuit logic
Computer circuit logicComputer circuit logic
Computer circuit logic
 
Project on logic And Gate
Project on logic And GateProject on logic And Gate
Project on logic And Gate
 
9. logic gates._rr
9. logic gates._rr9. logic gates._rr
9. logic gates._rr
 
Physics investigatgory project on logic gates class 12
Physics  investigatgory project on logic gates class 12Physics  investigatgory project on logic gates class 12
Physics investigatgory project on logic gates class 12
 
verification of logic gates cbse class 12
verification of logic gates cbse class 12verification of logic gates cbse class 12
verification of logic gates cbse class 12
 
Chap 3
Chap 3Chap 3
Chap 3
 
Class 12 Physics Investigatory Project Work, Practical- study of various logi...
Class 12 Physics Investigatory Project Work, Practical- study of various logi...Class 12 Physics Investigatory Project Work, Practical- study of various logi...
Class 12 Physics Investigatory Project Work, Practical- study of various logi...
 

Similaire à Electronic Circuits

EASA Part 66 Module 5.5 : Logic Circuit
EASA Part 66 Module 5.5 : Logic CircuitEASA Part 66 Module 5.5 : Logic Circuit
EASA Part 66 Module 5.5 : Logic Circuitsoulstalker
 
Lecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptxLecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptxWilliamJosephat1
 
Chapter 4. logic function and boolean algebra
Chapter 4. logic function and boolean algebraChapter 4. logic function and boolean algebra
Chapter 4. logic function and boolean algebraAshish KC
 
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
 
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
 
Mux decod pld2_vs2
Mux decod pld2_vs2Mux decod pld2_vs2
Mux decod pld2_vs2WanNurdiana
 
Digital logic Gates of Computer Science
Digital logic Gates of Computer ScienceDigital logic Gates of Computer Science
Digital logic Gates of Computer ScienceAnil Kumar Prajapati
 
Fault tolerant and online testability
Fault tolerant and online testabilityFault tolerant and online testability
Fault tolerant and online testabilitySajib Mitra
 
logic gates functions.pptx
logic gates functions.pptxlogic gates functions.pptx
logic gates functions.pptxLalithats2
 
Digital logic gates and Boolean algebra
Digital logic gates and Boolean algebraDigital logic gates and Boolean algebra
Digital logic gates and Boolean algebraSARITHA REDDY
 
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 CircuitsVanitha Chandru
 

Similaire à Electronic Circuits (20)

EASA Part 66 Module 5.5 : Logic Circuit
EASA Part 66 Module 5.5 : Logic CircuitEASA Part 66 Module 5.5 : Logic Circuit
EASA Part 66 Module 5.5 : Logic Circuit
 
Bca i sem de lab
Bca i sem  de labBca i sem  de lab
Bca i sem de lab
 
Logic Gates.pptx
Logic Gates.pptxLogic Gates.pptx
Logic Gates.pptx
 
Lecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptxLecture 04-Digital logic gates.pptx
Lecture 04-Digital logic gates.pptx
 
Chapter 4. logic function and boolean algebra
Chapter 4. logic function and boolean algebraChapter 4. logic function and boolean algebra
Chapter 4. logic function and boolean algebra
 
logic gates
logic gates logic gates
logic 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.
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.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
 
Mux decod pld2_vs2
Mux decod pld2_vs2Mux decod pld2_vs2
Mux decod pld2_vs2
 
Digital logic Gates of Computer Science
Digital logic Gates of Computer ScienceDigital logic Gates of Computer Science
Digital logic Gates of Computer Science
 
Logical Gates
Logical GatesLogical Gates
Logical Gates
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Fault tolerant and online testability
Fault tolerant and online testabilityFault tolerant and online testability
Fault tolerant and online testability
 
logic gates functions.pptx
logic gates functions.pptxlogic gates functions.pptx
logic gates functions.pptx
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Digital 1
Digital 1Digital 1
Digital 1
 
Digital Basics
Digital BasicsDigital Basics
Digital Basics
 
Digital logic gates and Boolean algebra
Digital logic gates and Boolean algebraDigital logic gates and Boolean algebra
Digital logic gates and Boolean algebra
 
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
 
Boolean Algebra.pptx
 Boolean Algebra.pptx Boolean Algebra.pptx
Boolean Algebra.pptx
 

Plus de gavhays

Data types
Data typesData types
Data typesgavhays
 
End user development
End user developmentEnd user development
End user developmentgavhays
 
Representation Of Data
Representation Of DataRepresentation Of Data
Representation Of Datagavhays
 
N301 Designing Circuits
N301 Designing CircuitsN301 Designing Circuits
N301 Designing Circuitsgavhays
 
Integer Representation
Integer RepresentationInteger Representation
Integer Representationgavhays
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmeticgavhays
 
Understanding Flip Flops
Understanding Flip FlopsUnderstanding Flip Flops
Understanding Flip Flopsgavhays
 
Programming Hardware Devices
Programming Hardware DevicesProgramming Hardware Devices
Programming Hardware Devicesgavhays
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebragavhays
 
Sdd Maintenance Of Software Solutions
Sdd Maintenance Of Software SolutionsSdd Maintenance Of Software Solutions
Sdd Maintenance Of Software Solutionsgavhays
 
Sdd Documentation
Sdd DocumentationSdd Documentation
Sdd Documentationgavhays
 
Testing Software Solutions
Testing Software SolutionsTesting Software Solutions
Testing Software Solutionsgavhays
 
Reporting On The Testing Process
Reporting On The Testing ProcessReporting On The Testing Process
Reporting On The Testing Processgavhays
 
S D D Program Development Tools
S D D  Program  Development  ToolsS D D  Program  Development  Tools
S D D Program Development Toolsgavhays
 
SDD Translation
SDD  TranslationSDD  Translation
SDD Translationgavhays
 
The Role Of The Cpu
The Role Of The CpuThe Role Of The Cpu
The Role Of The Cpugavhays
 
Sdd Syntax Descriptions
Sdd Syntax DescriptionsSdd Syntax Descriptions
Sdd Syntax Descriptionsgavhays
 
Interface Design
Interface DesignInterface Design
Interface Designgavhays
 

Plus de gavhays (19)

Data types
Data typesData types
Data types
 
End user development
End user developmentEnd user development
End user development
 
Representation Of Data
Representation Of DataRepresentation Of Data
Representation Of Data
 
N301 Designing Circuits
N301 Designing CircuitsN301 Designing Circuits
N301 Designing Circuits
 
Integer Representation
Integer RepresentationInteger Representation
Integer Representation
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmetic
 
Understanding Flip Flops
Understanding Flip FlopsUnderstanding Flip Flops
Understanding Flip Flops
 
Programming Hardware Devices
Programming Hardware DevicesProgramming Hardware Devices
Programming Hardware Devices
 
Plp
PlpPlp
Plp
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
Sdd Maintenance Of Software Solutions
Sdd Maintenance Of Software SolutionsSdd Maintenance Of Software Solutions
Sdd Maintenance Of Software Solutions
 
Sdd Documentation
Sdd DocumentationSdd Documentation
Sdd Documentation
 
Testing Software Solutions
Testing Software SolutionsTesting Software Solutions
Testing Software Solutions
 
Reporting On The Testing Process
Reporting On The Testing ProcessReporting On The Testing Process
Reporting On The Testing Process
 
S D D Program Development Tools
S D D  Program  Development  ToolsS D D  Program  Development  Tools
S D D Program Development Tools
 
SDD Translation
SDD  TranslationSDD  Translation
SDD Translation
 
The Role Of The Cpu
The Role Of The CpuThe Role Of The Cpu
The Role Of The Cpu
 
Sdd Syntax Descriptions
Sdd Syntax DescriptionsSdd Syntax Descriptions
Sdd Syntax Descriptions
 
Interface Design
Interface DesignInterface Design
Interface Design
 

Dernier

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 

Dernier (20)

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 

Electronic Circuits

  • 1. Software Developers View of Hardware Electronic Circuits
  • 2. What are circuits?  Computers are electrical devices, so therefore all functions performed by a computer need to done via the use of circuits.  Circuits are designed via the use of Logic Gates which show the path and the way in which electronic signals are sent and received.
  • 3. Logic Gates  Are a hardware circuit that produces a 0 or 1, which is normally an electronic impulse.  There are THREE basic logic gates and THREE extended gates that can be used to build integrated circuits.
  • 4. BASIC GATES 1. NOT Gate  This is the simplest of all gates, it involves a single input and a single output.  The purpose of this gate is the flipping of a bit similar to what is performed in one’s complement.
  • 5. NOT Gate A X 0 1
  • 8. NOT Gate – Truth Table IF A = 0 THEN A X X=1 0 1 ELSE X=0 1 0 ENDIF
  • 9. BASIC GATES 1. AND Gate  This is involves two inputs to produce one output.  Both inputs must be true for the output to be true.
  • 10. AND Gate A X B
  • 14. AND Gate – Truth Table A B X IF A=1 AND B=1THEN 0 0 0 X=1 0 1 0 ELSE X=0 1 0 0 ENDIF 1 1 1
  • 15. BASIC GATES 1. OR Gate  This is involves two inputs to produce one output.  If either inputs are true then the output will be true.
  • 16. OR Gate A X B
  • 21. OR Gate – Truth Table A B X IF A=1 OR B=1THEN 0 0 0 X=1 0 1 1 ELSE X=0 1 0 1 ENDIF 1 1 1
  • 22. Activity 1 Complete the truth table for the following circuit. A X Y B
  • 23. Truth Table A B X Y 0 0 0 1 1 0 1 1
  • 24. EXTENDED GATES 1. NAND Gate  This is involves two inputs to produce one output.  The output is the opposite of an AND gate.  Is a combination of an AND and NOT gate.
  • 25. NAND Gate A X B
  • 26. NAND Gate – Truth Table A B X IF A=1 AND B=1THEN 0 0 1 X=0 0 1 1 ELSE X=1 1 0 1 ENDIF 1 1 0
  • 27. EXTENDED GATES 1. NOR Gate  This is involves two inputs to produce one output.  The output is the opposite of an OR gate.  It is a combination of an OR and NOT.
  • 28. NOR Gate A X B
  • 29. NOR Gate – Truth Table A B X IF A=1 AND B=1THEN 0 0 1 X=0 0 1 0 ELSE X=1 1 0 0 ENDIF 1 1 0
  • 30. EXTENDED GATES 1. XOR Gate  This stands for exclusive OR.  This gate is true if only one input is true.
  • 31. XOR Gate A X B
  • 32. XOR Gate – Truth Table A B X 0 0 0 0 1 1 1 0 1 1 1 0
  • 33. SPECIALITY CIRCUITS  Designed to make use of our binary knowledge and our circuitry knowledge  Examples include:  Adders  Flip Flops  Shifts
  • 34. DESIGNING SPECIALITY CIRCUITS  These circuits are written to provide a specific function:  Adder (Binary Addition)  Flip Flop (Binary Storage)
  • 35. DESIGNING SPECIALITY CIRCUITS  Follow these steps:  Identify inputs and outputs  Identify the components required to produce the output (AND, OR, NOT, NAND, NOR, XOR)  Construct the solution with logic gates  Check the solution for validity (with a truth table)  Evaluate the circuit design (could you make this circuit better by chaining different logic gates)
  • 36. Binary Half Adder  This device is basically a calculator.  Lets look at the half adder truth table first.
  • 37. Binary Half Adders INPUT OUTPUT  To create a Binary Adder, A B Carry Sum we need to find a logic gate that give us the 0 0 0 0 Carry output and a logic gate 0 1 0 1 the Sum output 1 0 0 1 1 1 1 0
  • 38. Binary Half Adders INPUT OUTPUT  Carry output is created using a A B Carry Sum AND logic gate 0 0 0 0 A X B 0 1 0 1 1 0 0 1 1 1 1 0
  • 39. Binary Half Adders INPUT OUTPUT  Sum output is created using a A B Carry Sum XOR logic gate 0 0 0 0 A X B 0 1 0 1 1 0 0 1 1 1 1 0
  • 40. Binary Half Adders The circuit: A Carry (C) B Sum (S)
  • 41. Half And Full Adders  Half Adders only work to add two digits  To add more than 2 binary digits we need a full adder  A full adder allows us to add the “carry” value to an binary addition
  • 42. Full Adders A B Carry (C) Sum (S) Carry in
  • 43. Truth Tables Construct a truth table for the full adder.
  • 44. Truth Table A B CARRY CARRY SUM IN 0 0 0 0 0 0 0 1 0 1 0 1 0 0 1 0 1 1 1 0 1 0 0 0 1 1 0 1 1 0 1 1 0 1 0 1 1 1 1 1
  • 45. Circuit Design Steps  Identify inputs and outputs. A+B+C=X  Identify the components needed to obtain the desired output. AND/OR/NOT/XOR/NAND/NOR  Construct a truth table to test.
  • 46. Activity 2  Construct a truth table for the following circuit. A Y B X C
  • 47. A B X C A B C Y X 0 0 0 1 1 0 0 1 1 0 0 1 0 1 1 0 1 1 1 0 1 0 0 1 1 1 0 1 1 0 1 1 0 0 0 1 1 1 0 1
  • 49. Fault Door Switch x Light 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 1 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 0