Lecture 17: Digital Design Today’s topic –Intro to Boolean functions Reminders –HW 4 due Wednesday 10/8/2014 (extended) –HW 5 due Wednesday 10/15/2014.

Slides:



Advertisements
Similar presentations
Chapter 4 Gates and Circuits.
Advertisements

Logic Gates A logic gate is an elementary building block of a digital circuit Most logic gates have two inputs and one output At any given moment, every.
Logic Gates.
Digital logic gates.
CT455: Computer Organization Logic gate
1 COMP541 Combinational Logic Montek Singh Jan 16, 2007.
Chapter 4 Gates and Circuits.
1 Lecture 11: Digital Design Today’s topics:  Evaluating a system  Intro to boolean functions.
Chapter 4 Logic Gates and Boolean Algebra. Introduction Logic gates are the actual physical implementations of the logical operators. These gates form.
Logic Gates Circuits to manipulate 0’s and 1’s. 0’s and 1’s used for numbers Also to make decisions within the computer. In that context, 1 corresponds.
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.
Chapter 4 Gates and Circuits.
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.
1 Fundamentals of Computer Science Propositional Logic (Boolean Algebra)
Logic gates & Boolean Algebra. Introduction Certain components (called logic elements) of the computer combine electric pulses using a set of rules. Electric.
SUPLEMENTARY CHAPTER 1: An Introduction to Digital Logic The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
Lecture 7 Topics –Boolean Algebra 1. Logic and Bits Operation Computers represent information by bit A bit has two possible values, namely zero and one.
Fall 2012: FCM 708 Foundation I Lecture 2 Prof. Shamik Sengupta
1 Boolean Algebra & Logic Gates. 2 Objectives Understand the relationship between Boolean logic and digital computer circuits. Learn how to design simple.
Apr. 3, 2000Systems Architecture I1 Systems Architecture I (CS ) Lecture 3: Review of Digital Circuits and Logic Design Jeremy R. Johnson Mon. Apr.
 In studying digital integrated circuits, one must start with the simplest group of circuit, the SSIs or Small Scale Integrated Circuits. Since these.
Combinational Logic 1.
CPS3340 COMPUTER ARCHITECTURE Fall Semester, /05/2013 Lecture 4: Basics of Logic Design Instructor: Ashraf Yaseen DEPARTMENT OF MATH & COMPUTER.
Logic Gates Shashidhara H S Dept. of ISE MSRIT. Basic Logic Design and Boolean Algebra GATES = basic digital building blocks which correspond to and perform.
Lecture 22: 11/19/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
Week 6: Gates and Circuits: PART I READING: Chapter 4.
Boolean Algebra & Logic Prepared by Dr P Marais (Modified by D Burford)
Linear Algebra. Circuits The circuits in computers and other input devices have inputs, each of which is either a 0 or 1, the output is also 0s and 1s.
1 Lecture 10: Floating Point, Digital Design Today’s topics:  FP arithmetic  Intro to Boolean functions.
CS/COE0447 Computer Organization & Assembly Language
Logic Gates. A logic gate is an elementary building block of a digital circuit. Most logic gates have two inputs and one output. At any given moment,
Appendix C Basics of Digital Logic Part I. Florida A & M University - Department of Computer and Information Sciences Modern Computer Digital electronics.
Boolean Algebra Computer Architecture. Digital Representation Digital is an abstraction of analog voltage –Voltage is a continuous, physical unit Typically.
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Yaohang Li.
Dr. ClincyLecture Slide 1 CS6020- Chapter 3 (3A and ) Dr. Clincy Professor of CS First Exam - Tuesday, September 6th Coverage: All subjects up to.
Logic gates.
Computer Architecture & Operations I
Computer Architecture & Operations I
CSIS-110 Introduction to Computer Science
Digital Logic.
Morgan Kaufmann Publishers
Logic Gates.
Digital Technology.
Lecture 11: Hardware for Arithmetic
Logic Gates and Boolean Algebra
Logic Gates.
Logic Gates Benchmark Companies Inc PO Box Aurora CO
Digital Logic.
Digital Signals Digital Signals have two basic states:
Basic Digital Logic Basic Gates
Jeremy R. Johnson Wed. Sept. 29, 1999
Basics of Digital Logic Design Presentation D
Dr. Clincy Professor of CS
Lecture 10: Floating Point, Digital Design
CS105 Introduction to Computer Concepts GATES and CIRCUITS
Computer Science 210 Computer Organization
Jeremy R. Johnson Anatole D. Ruslanov William M. Mongan
Agenda – 2/12/18 Questions? Readings: CSI 4, P
3.4 Computer systems Boolean logic Lesson 2.
Week 7: Gates and Circuits: PART II
CS Chapter 3 (3A and ) Part 3 of 8
Logic Gates.
Lecture 11: Hardware for Arithmetic
CS Chapter 3 (3A and ) – Part 2 of 5
Digital Logic.
Binary Logic.
Lecture 5 Binary Operation Boolean Logic. Binary Operations Addition Subtraction Multiplication Division.
Digital Logic Design Basics Combinational Circuits Sequential Circuits.
Logic Gates By: Asst Lec. Besma Nazar Nadhem
Agenda Lecture Content: Combinatorial Circuits Boolean Algebras
Presentation transcript:

Lecture 17: Digital Design Today’s topic –Intro to Boolean functions Reminders –HW 4 due Wednesday 10/8/2014 (extended) –HW 5 due Wednesday 10/15/2014 –Midterm 2 on October 31 No laptop this time You can bring hard copy cheatsheets 1

2 Digital Design Basics Two voltage levels – high and low (1 and 0, true and false) Hence, the use of binary arithmetic/logic in all computers A transistor is a 3-terminal device that acts as a switch V V 0 0 Conducting 0 V 0 V Non-conducting

3 Logic Blocks A logic block has a number of binary inputs and produces a number of binary outputs – the simplest logic block is composed of a few transistors A logic block is termed combinational if the output is only a function of the inputs A logic block is termed sequential if the block has some internal memory (state) that also influences the output A basic logic block is termed a gate (AND, OR, NOT, etc.) We will only deal with combinational circuits today

4 Truth Table A truth table defines the outputs of a logic block for each set of inputs Consider a block with 3 inputs A, B, C and an output E that is true only if exactly 2 inputs are true A B C E

5 Truth Table A truth table defines the outputs of a logic block for each set of inputs Consider a block with 3 inputs A, B, C and an output E that is true only if exactly 2 inputs are true A B C E Can be compressed by only representing cases that have an output of 1

6 Boolean Algebra Equations involving two values and three primary operators:  OR : symbol +, X = A + B  X is true if at least one of A or B is true  AND : symbol., X = A. B  X is true if both A and B are true  NOT : symbol, X = A  X is the inverted value of A

7 Boolean Algebra Rules Identity law : A + 0 = A ; A. 1 = A Zero and One laws : A + 1 = 1 ; A. 0 = 0 Inverse laws : A. A = 0 ; A + A = 1 Commutative laws : A + B = B + A ; A. B = B. A Associative laws : A + (B + C) = (A + B) + C A. (B. C) = (A. B). C Distributive laws : A. (B + C) = (A. B) + (A. C) A + (B. C) = (A + B). (A + C)

8 DeMorgan’s Laws A + B = A. B A. B = A + B Confirm that these are indeed true

9 Pictorial Representations AND OR NOT What logic function is this?

10 Boolean Equation Consider the logic block that has an output E that is true only if exactly two of the three inputs A, B, C are true

11 Boolean Equation Consider the logic block that has an output E that is true only if exactly two of the three inputs A, B, C are true Multiple correct equations: Two must be true, but all three cannot be true: E = ((A. B) + (B. C) + (A. C)). (A. B. C) Identify the three cases where it is true: E = (A. B. C) + (A. C. B) + (C. B. A)

12 Sum of Products Can represent any logic block with the AND, OR, NOT operators  Draw the truth table  For each true output, represent the corresponding inputs as a product  The final equation is a sum of these products A B C E (A. B. C) + (A. C. B) + (C. B. A) Can also use “product of sums” Any equation can be implemented with an array of ANDs, followed by an array of ORs

13 NAND and NOR NAND : NOT of AND : A nand B = A. B NOR : NOT of OR : A nor B = A + B NAND and NOR are universal gates, i.e., they can be used to construct any complex logical function