Understanding Binary Addition Circuits in Computing

Slide Note
Embed
Share

Explore the concepts of half adders, full adders, and binary addition circuits used in computer systems. Learn how binary digits are represented as logic levels to perform addition operations. Dive into the working principles of half adders, truth tables, formulas, and circuit diagrams for binary addition. Gain insights into the role of logic gates in building computer systems from basics to complex operations.


Uploaded on Oct 02, 2024 | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. Download presentation by click this link. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

E N D

Presentation Transcript


  1. TeachingLondon Computing Programming for GCSE Topic 9.2: Circuits for Adding William Marsh School of Electronic Engineering and Computer Science Queen Mary University of London

  2. Aims Show how computers are built from logic gates Circuit for Adding two inputs three inputs one column many columns Key Idea: Represent numbers as binary digits Digits as logic levels

  3. HALF ADDER

  4. Half Adder Simplest circuit for binary addition input: two bits A and B output: sum S and carry C Sums ? circuit A S Half-+ B C 0 + 0 = 0 0 + 1 = 1 1 + 0 = 1 1 + 1 = 0 carry 1 Example: 0 ? Half-+ 1 ?

  5. Half Adder Truth Table Binary addition truth table input: two bits A and B output: sum S and carry C A B C S 0 0 0 0 Quiz: Determine the formula for S and C 0 1 0 1 1 0 0 1 1 1 1 0

  6. Half Adder Formula Simplest circuit for binary addition input: two bits A and B output: sum S and carry C A B C S 0 0 0 0 = + B . B . S A A 0 1 0 1 = B . C A 1 0 0 1 Quiz: draw the circuit 1 1 1 0

  7. Half Adder Circuit Simplest circuit for binary addition input: two bits A and B output: sum S and carry C C A B C S 0 0 0 0 A 0 1 0 1 S 1 0 0 1 B 1 1 1 0

  8. FULL ADDER One Columns of a Binary Addition

  9. Full Adder One Column Each digit (column) of binary add has 3 inputs A, B and carry Cin A B Cin Cout S 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 CoutCin A B S Cin S A B Full-+ Cout

  10. Full-Adder from 2 Half Adders Step 1: add A + B Step 2: add carry to result Step 3: carry S S A Half-+ Half-+ C C B Cout Cin

  11. Ripple Adder Add each bit, carry from previous bit Cin S A B Full-+ Cout

  12. Ripple Adder Add each bit, carry from previous bit Cin = 0 S0 A0 B0 Full-+ S1 A1 B1 Full-+ S2 A2 B2 Full-+ Cout

  13. SYLLABUS

  14. Syllabus Binary GCSE (OCR) Logic circuits: and, or , not Truth tables Writing boolean expressions Joined up view? How to make sense of logic unless used e.g. adder circuit. binary truth table circuit AS/A2 (AQA) (AS) More boolean algebra (AS) More gates

  15. Summary Show how logic circuits build a computer Binary digits become logic inputs Circuits operate on numbers Adder stages One column, no carry One column, with carry Many columns

Related


More Related Content