Programming for GCSE Topic 9.2: Circuits for Adding T eaching L ondon C omputing William Marsh School of Electronic Engineering and Computer Science Queen.

Slides:



Advertisements
Similar presentations
Programming for GCSE Topic 9.1: Logic Circuits T eaching L ondon C omputing William Marsh School of Electronic Engineering and Computer Science Queen Mary.
Advertisements

ADDER, HALF ADDER & FULL ADDER
Digital Circuits. Review – Getting the truth table The first step in designing a digital circuit usually is to get the truth table. That is, for every.
CSE-221 Digital Logic Design (DLD)
08/07/041 CSE-221 Digital Logic Design (DLD) Lecture-8:
Section 10.3 Logic Gates.
ECE 301 – Digital Electronics
ECE 301 – Digital Electronics
Combinational circuits
Part 2: DESIGN CIRCUIT. LOGIC CIRCUIT DESIGN x y z F F = x + y’z x y z F Truth Table Boolean Function.
Programming for GCSE Topic 3.3: Boolean Logic and Truth Tables
XOR, XNOR, and Binary Adders
Adders and Multipliers Review. ARITHMETIC CIRCUITS Is a combinational circuit that performs arithmetic operations, e.g. –Addition –Subtraction –Multiplication.
Binary Numbers.
OCR GCSE Computing © Hodder Education 2013 Slide 1 OCR GCSE Computing Chapter 2: Binary Logic.
Binary Addition CSC 103 September 17, 2007.
XOR and XNOR Logic Gates. XOR Function Output Y is TRUE if input A OR input B are TRUE Exclusively, else it is FALSE. Logic Symbol  Description  Truth.
ECE 3130 – Digital Electronics and Design
Chapter 2: Binary logic OCR Computing for GCSE © Hodder Education 2011.
Computer Architecture I: Digital Design Dr. Robert D. Kent Logic Design Medium Scale Integration and Programmable Logic Devices Part I.
Digital Components and Combinational Circuits Sachin Kharady.
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
ADDERS Half Adders Recall that the basic rules of binary addition are as indicated below in Table 2-9. A circuit known as the half-adder carries out these.
1 CMSC 250 Chapter 1, con't., Combinatorial circuits.
WEEK #10 FUNCTIONS OF COMBINATIONAL LOGIC (ADDERS)
Module 9.  Digital logic circuits can be categorized based on the nature of their inputs either: Combinational logic circuit It consists of logic gates.
Digital Electronics Lecture 6 Combinational Logic Circuit Design.
Digital Electronics and Computer Interfacing
Lecture 9 Topics: –Combinational circuits Basic concepts Examples of typical combinational circuits –Half-adder –Full-adder –Ripple-Carry adder –Decoder.
Logic Gates Logic gates are electronic digital circuit perform logic functions. Commonly expected logic functions are already having the corresponding.
Computer Science 101 Circuit Design - Examples. Sum of Products Algorithm Identify each row of the output that has a 1. Identify each row of the output.
4. Computer Maths and Logic 4.2 Boolean Logic Logic Circuits.
Digital Logic. 2 Abstractions in CS (gates) Basic Gate: Inverter IO IO GNDI O Vcc Resister (limits conductivity) Truth Table.
Logic Design CS 270: Mathematical Foundations of Computer Science Jeremy Johnson.
Half-Adder: A combinational circuit which adds two one-bit binary numbers is called a half-adder. The sum column resembles like an output of the XOR gate.
Universal college of engineering & technology. .By Harsh Patel)
1 Ethics of Computing MONT 113G, Spring 2012 Session 5 Binary Addition.
Logic and computers 2/6/12. Binary Arithmetic /6/ Only two digits: the bits 0 and 1 (Think: 0 = F, 1.
Computer Science 101 More Devices: Arithmetic. From 1-Bit Equality to N-Bit Equality = A B A = B Two bit strings.
Digital Logic Structures: Chapter 3 COMP 2610 Dr. James Money COMP
Computer Architecture
1 GCSE Computing Binary Logic. GCSE Computing 2 Candidates should be able to understand and produce simple logic diagrams using the operations NOT, AND,
CEC 220 Digital Circuit Design
Discrete Systems I Lecture 10 Adder and ALU Profs. Koike and Yukita.
C OMBINATIONAL L OGIC D ESIGN 1 Eng.Maha AlGubali.
LOGIC CIRCUITLOGIC CIRCUIT. Goal To understand how digital a computer can work, at the lowest level. To understand what is possible and the limitations.
ETE 204 – Digital Electronics Combinational Logic Design Single-bit and Multiple-bit Adder Circuits [Lecture: 9] Instructor: Sajib Roy Lecturer, ETE,ULAB.
ECEN 248 Lab 3: Study and Implementation of Adders Dept. of Electrical and Computer Engineering.
Logic Gates Learning Objectives Learn that there is a one-to-one relationship between logic gates and Boolean expressions Learn how logic gates are combined.
Dr.Ahmed Bayoumi Dr.Shady Elmashad
Combinational Circuits
Summary Half-Adder Basic rules of binary addition are performed by a half adder, which has two binary inputs (A and B) and two binary outputs (Carry out.
XOR, XNOR, and Binary Adders
Elec 2607 Digital Switching Circuits
XOR, XNOR, & Binary Adders
ECE 301 – Digital Electronics
Week 7: Gates and Circuits: PART II
Digital Logic.
Number Systems and Circuits for Addition
Logic Gates.
Digital Logic.
DIGITAL ELECTRONICS B.SC FY
XOR, XNOR, and Binary Adders
Electronics for Physicists
XOR Function Logic Symbol  Description  Truth Table 
Adder Circuits By: Asst Lec. Basma Nazar
XOR, XNOR, and Binary Adders
Half & Full Subtractor Half Subtractor Full Subtractor.
Half & Full Subtractor Half Subtractor Full Subtractor.
Presentation transcript:

Programming for GCSE Topic 9.2: Circuits for Adding T eaching L ondon C omputing William Marsh School of Electronic Engineering and Computer Science Queen Mary University of London

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

H ALF A DDER

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

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

Half Adder – Formula Simplest circuit for binary addition input: two bits A and B output: sum S and carry C A B C S Quiz: draw the circuit

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

F ULL A DDER One Columns of a Binary Addition

Full Adder – One Column Each digit (column) of binary add has 3 inputs A, B and carry C in A B C in C out S A Full-+ C in B S C out ABAB S C in

Full-Adder from 2 Half Adders Step 1: add A + B Step 2: add carry to result Step 3: carry A B S’ C’ Half-+ S C in C out C’’

Ripple Adder Add each bit, carry from previous bit A Full-+ C in B S C out

Ripple Adder Add each bit, carry from previous bit A0A0 Full-+ C in = 0 B0B0 S0S0 Full-+ C out S1S1 S2S2 A1A1 B1B1 A2A2 B2B2

S YLLABUS

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

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