Digital Logic Structures: Chapter 3 COMP 2610 Dr. James Money COMP 2610 1.

Slides:



Advertisements
Similar presentations
ADDER, HALF ADDER & FULL ADDER
Advertisements

Adders and Subtractors
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.
Combinational Circuits. Analysis Diagram Designing Combinational Circuits In general we have to do following steps: 1. Problem description 2. Input/output.
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 9 Programmable Configurations Read Only Memory (ROM) – –a fixed array of AND gates.
EET 1131 Unit 7 Arithmetic Operations and Circuits
Digital Logic Structures: Chapter 3 COMP 2610 Dr. James Money COMP
CSE-221 Digital Logic Design (DLD)
08/07/041 CSE-221 Digital Logic Design (DLD) Lecture-8:
Chapter 4 Gates and Circuits.
ECE 331 – Digital System Design Tristate Buffers, Read-Only Memories and Programmable Logic Devices (Lecture #16) The slides included herein were taken.
Part 2: DESIGN CIRCUIT. LOGIC CIRCUIT DESIGN x y z F F = x + y’z x y z F Truth Table Boolean Function.
CS 105 Digital Logic Design
Chapter 3 Digital Logic Structures. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 3-2 Building Functions.
Digital Logic Lecture 08 By Amr Al-Awamry. Combinational Logic 1 A combinational circuit consists of an interconnection of logic gates. Combinational.
Lecture 3. Boolean Algebra, Logic Gates Prof. Sin-Min Lee Department of Computer Science 2x.
Chapter 4 Gates and Circuits. 4–2 Chapter Goals Identify the basic gates and describe the behavior of each Describe how gates are implemented using transistors.
1 CHAPTER 4: PART I ARITHMETIC FOR COMPUTERS. 2 The MIPS ALU We’ll be working with the MIPS instruction set architecture –similar to other architectures.
Combinational and Sequential Logic Circuits.
Chapter 4 The Building Blocks: Binary Numbers, Boolean Logic, and Gates.
Dr. Ahmed El-Bialy, Dr. Sahar Fawzy Combinational Circuits Dr. Ahmed El-Bialy Dr. Sahar Fawzy.
Transistors and Logic Circuits. Transistor control voltage in voltage out control high allows current to flow -- switch is closed (on) control low stops.
ECE 3130 – Digital Electronics and Design
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.
Chapter 10 (Part 2): Boolean Algebra  Logic Gates (10.3) (cont.)  Minimization of Circuits (10.4)
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 Logic Structures: Chapter 3 COMP 2610 Dr. James Money COMP
Lecture 9 Topics: –Combinational circuits Basic concepts Examples of typical combinational circuits –Half-adder –Full-adder –Ripple-Carry adder –Decoder.
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.
Arithmetic Circuits. Half Adder ABSumCarry
Universal college of engineering & technology. .By Harsh Patel)
1 Ethics of Computing MONT 113G, Spring 2012 Session 5 Binary Addition.
Computer Architecture
Combinational Circuits
CEC 220 Digital Circuit Design Programmable Logic Devices
CPEN Digital System Design
ECE 320 Homework #4 1. Using 8 data input selector logic (MUX), implement the following two functions: a) F(A,B,C)=S 0 S 2 S 3 S 5 b) F(A,B,C,D)=P 0 +P.
Complex Combinational Circuits Binary Adders Key to enterprise: Addition table also a truth table S i = C i 'A i B i ' + C i 'A i 'B i + C i A i 'B i '+
Chapter 3 Digital Logic Structures
1 Ethics of Computing MONT 113G, Spring 2012 Session 4 Binary Addition.
How does a Computer Add ? Logic Gates within chips: AND Gate A B Output OR Gate A B Output A B A B
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
LOGIC CIRCUITLOGIC CIRCUIT. Goal To understand how digital a computer can work, at the lowest level. To understand what is possible and the limitations.
Computer Organization CS345 David Monismith Based upon notes by Dr. Bill Siever and notes from the Patterson and Hennessy Text.
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.
Chapter 36 Combinational Logic Circuits. Objectives After completing this chapter, you will be able to: –Describe the functions of encoders, decoders,
ACOE161 (Spring2007)MSI Devices1 Revision on MSI Devices M. Mano & C. Kime: Logic and Computer Design Fundamentals (Chapter 5)
Logic Gates Practical Objective: to develop an understanding of logic circuits and truth tables.
Combinational Circuits
Computer Architecture CST 250
Dr. Clincy Professor of CS
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.
Dr. Clincy Professor of CS
Week 7: Gates and Circuits: PART II
Digital Logic.
Number Systems and Circuits for Addition
Dr. Clincy Professor of CS
Princess Sumaya University
Logic Gates.
Digital Logic.
DIGITAL ELECTRONICS B.SC FY
Combinational Circuits
XOR Function Logic Symbol  Description  Truth Table 
Digital Circuits.
Half & Full Subtractor Half Subtractor Full Subtractor.
Half & Full Subtractor Half Subtractor Full Subtractor.
SYEN 3330 Digital Systems Chapter 2 – Part 1 SYEN 3330 Digital Systems.
Presentation transcript:

Digital Logic Structures: Chapter 3 COMP 2610 Dr. James Money COMP

Full Adder In order to implement a full adder circuit, let’s consider our method for adding binary numbers Recall that this is done in a similar way to long addition for decimal numbers

Full Adder Carry:

Full Adder Note that for each column of bits, we need three values: – Bit from value 1 - a i – Bit from value 2 - b i – Carry Bit – carry i

Full Adder The two outputs of the add are: – The result of the add is stored in s i – The carry value is stored in carry i+1 When can now formally turn this into a truth table for adding one bit

Full Adder aiai bibi carry i carry i+1 sisi

Full Adder

Figure 3.15 is on the previous slide

PLAs A Programmable Logic Array (PLA) is a common building block for building logical functions It consists of an array of AND gates, an array of OR gates, and some way to connect these outputs

PLAs

For a PLA, we consider a truth table with n inputs and m outputs You will need 2 n AND gates and m OR gates We then program the connections between the AND and OR gates The full adder is an example of this

Logical Completeness There is an important property to notice before we leave logic circuits called logical completeness We’ve shown that we only need AND, OR, NOT to form a logic circuit using PLAs We say {AND, OR, NOT} is logically complete because of this