Digital Logic Circuits – Chapter 1 Section 1-3, 1-2.

Slides:



Advertisements
Similar presentations
Boolean Algebra and Logic Gates
Advertisements

BOOLEAN ALGEBRA. A Mathematical notation used to represent the function of the Digital circuit. A notation that allows variables & constants to have only.
Lecture 5 EGRE 254 1/28/09. 2 Boolean algebra a.k.a. “switching algebra” –deals with Boolean values -- 0, 1 Positive-logic convention –analog voltages.
Chapter 2 Logic Circuits.
Logic Functions Logical functions can be expressed in several ways: ▫ Truth table ▫ Logical expressions ▫ Graphical form prepared by:eng.Rula Amjed.
Boolean Algebra and Logic Gate
Chapter 2 – Combinational Logic Circuits Part 1 – Gate Circuits and Boolean Equations Logic and Computer Design Fundamentals.
1 Section 10.1 Boolean Functions. 2 Computers & Boolean Algebra Circuits in computers have inputs whose values are either 0 or 1 Mathematician George.
1 Boolean Algebra & Logic Design. 2 Developed by George Boole in the 1850s Mathematical theory of logic. Shannon was the first to use Boolean Algebra.
ENGIN112 L5: Boolean Algebra September 12, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 5 Boolean Algebra.
Binary Logic and Gates COE 202 Digital Logic Design Dr. Aiman El-Maleh
Boolean Algebra Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2009.
CHAPTER 2 Boolean Algebra
1 Why study Boolean Algebra? 4 It is highly desirable to find the simplest circuit implementation (logic) with the smallest number of gates or wires. We.
Boolean Algebra – I. Outline  Introduction  Digital circuits  Boolean Algebra  Two-Valued Boolean Algebra  Boolean Algebra Postulates  Precedence.
Boolean Algebra and Digital Circuits
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.
1 The Chinese University of Hong Kong Faculty of Education Diploma in Education (Part-Time) Winter 1997 Educational Communications and Technology Assignment.
Computer Science 210 Computer Organization Introduction to Boolean Algebra.
CS1Q Computer Systems Lecture 6 Simon Gay. Lecture 6CS1Q Computer Systems - Simon Gay2 Algebraic Notation Writing AND, OR, NOT etc. is long-winded and.
Combinational Logic 1.
Module 4.  Boolean Algebra is used to simplify the design of digital logic circuits.  The design simplification are based on: Postulates of Boolean.
Why? What’s Boolean algebra used for? –“The purpose of Boolean algebra is to facilitate the analysis and design of digital circuits.” Express a truth table.
Lecture 22: 11/19/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
6 - 1 Simplification Theorems Useful for simplification of expressions & therefore simplification of the logic network which results. XY + XY' = ( X +
XOR Operator A short digression… … to introduce another Boolean operation: exclusive- OR (XOR) ABA + B XOR.
June 11, 2002© Howard Huang1 Boolean algebra Last time we talked about Boolean functions, Boolean expressions, and truth tables. Today we’ll learn.
--- outputs logical functions of inputs --- new outputs appear shortly after changed inputs (propagation delay) --- no feedback loops --- no clock Sequential.
Computer Systems 1 Fundamentals of Computing Simplifying Boolean Expressions.
Dale Roberts Department of Computer and Information Science, School of Science, IUPUI Dale Roberts, Lecturer Computer Science, IUPUI
Lecture 4 Boolean Algebra. Logical Statements °A proposition that may or may not be true: Today is Monday Today is Sunday It is raining °Compound Statements.
CS1Q Computer Systems Lecture 6 Simon Gay. Lecture 6CS1Q Computer Systems - Simon Gay2 Algebraic Notation Writing AND, OR, NOT etc. is long-winded and.
1 Lect # 2 Boolean Algebra and Logic Gates Boolean algebra defines rules for manipulating symbolic binary logic expressions. –a symbolic binary logic expression.
© BYU 03 BA1 Page 1 ECEn 224 Boolean Algebra – Part 1.
Laws of Boolean Algebra Commutative Law Associative Law Distributive Law Identity Law De Morgan's Theorem.
Chapter-3: BOOLEAN ALGEBRA & LOGIC GATES Analysis and logical design.
BOOLEAN ALGEBRA – Digital Circuit 1 Choopan Rattanapoka.
Boolean Algebra and Logic Gates
Boolean Functions and Boolean Algebra Laxmikant Kale.
Boolean Algebra Computer Architecture. Digital Representation Digital is an abstraction of analog voltage –Voltage is a continuous, physical unit Typically.
Dale Roberts Department of Computer and Information Science, School of Science, IUPUI Dale Roberts, Lecturer Computer Science, IUPUI
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 4 Dr. Shi Dept. of Electrical and Computer Engineering.
ECE DIGITAL LOGIC LECTURE 6: BOOLEAN ALGEBRA Assistant Prof. Fareena Saqib Florida Institute of Technology Fall 2016, 02/01/2016.
Boolean Algebra. BOOLEAN ALGEBRA Formal logic: In formal logic, a statement (proposition) is a declarative sentence that is either true(1) or false (0).
Hoda Roodaki Boolean Algebra Hoda Roodaki
CS2100 Computer Organisation
Morgan Kaufmann Publishers
Chapter 3 Notes – Part II Review Questions
Chapter 11 (Part 1): Boolean Algebra
Computer Science 210 Computer Organization
Boolean Algebra.
ECE 20B, Winter 2003 Introduction to Electrical Engineering, II LECTURE NOTES #2 Instructor: Andrew B. Kahng (lecture)
CHAPTER 2 Boolean Algebra
CHAPTER 2 Boolean Algebra This chapter in the book includes:
Overview Part 1 – Gate Circuits and Boolean Equations
Boolean Algebra – Part 1 ECEn 224.
TN 221: DIGITAL ELECTRONICS 1
Boolean algebra Last time we talked about Boolean functions, Boolean expressions, and truth tables. Today we’ll learn how to how use Boolean algebra to.
FIGURES FOR CHAPTER 2 BOOLEAN ALGEBRA
Lecture 3: Boolean Algebra
Boolean Algebra.
Computer Science 210 Computer Organization
Dr. Clincy Professor of CS
Boolean Algebra Introduction CSCI 240
Instructor: Alexander Stoytchev
Truth tables Mrs. Palmer.
Introductory Concepts
Binary Logic and Gates COE 202 Digital Logic Design Dr. Aiman El-Maleh
Digital Systems Section 3 Boolean Algebra. Digital Systems Section 3 Boolean Algebra.
Boolean Algebra S.SADHISH PRABHU.
Presentation transcript:

Digital Logic Circuits – Chapter 1 Section 1-3, 1-2

Boolean Algebra What is “Algebra”? –A branch of mathematics in which symbols represent numbers or members of a specified set and are used to represent quantities and to express general relationships that hold for all members of the set.

Boolean Algebra What is “Boolean”? –Of or relating to a data type or variable in a programming language that can have one of two values, true or false.

Boolean Algebra Therefore –Boolean algebra is an algebra that deals with binary variables and logic operations But why is it called “Boolean”? –Invented by English mathematician George Boole in the 1850’s (published in 1854)

Boolean Algebra Boolean algebra consists of… –A set of symbols that represent variables Use letters just like “regular algebra” A, B, C, a, b, c… –Variables are binary (2-valued) 0, 1 true, false –Three basic operators AND, OR, NOT –Other symbols ( ) =

Boolean Operators AND –Notation: A · B, AB, (AB), A(B) –Yields a value of 1 when both A and B are 1 –Yields a value of 0 when either A or B is 0

Boolean Operators OR –Notation: A + B –Yields a value of 1 when either A or B is 1 –Yields a value of 0 when both A and B are 0

Boolean Operators NOT –Notation: A, A’ –Yields a value of 1 A is 0 –Yields a value of 0 when A is 1

Boolean Expressions As in “regular” algebra, variables, operators, and symbols can be combined to form expressions or functions F(x, a, b) = x + (a · b) –F is a boolean function of three variables –Often written as: F = x + (a · b)

Boolean Functions Solution is found by plugging in values for the variables and applying the operators F = x + (a · b) –Given x=0, a=1, b=0 we have F(0, 1, 0) = 0 + (1 · 0) F(0, 1, 0) = 0 + (1 · 1) F(0, 1, 0) = F(0, 1, 0) = 1

Operator Precedence NOT operators are done first Parenthesized expressions second AND operators are done third (left to right) OR operators are done fourth (left to right) Thus AB + CD is the same as (AB) + (CD), not A(B + C)D

Boolean Functions Typically, we want to exhaustively evaluate a given Boolean function –That is, we want to know its functional value for every possible combination of inputs –This leads us to Truth Tables

Truth Tables List all possible combinations of input values in the left hand columns List expression result in the right hand column ABAB ABA+B AA 01 10

Truth Tables For more complex expressions you will [typically] create columns for each operation: F(x, a, b) = x + (a · b) xabb(a·b)x+(a·b )

Truth Tables Doesn’t matter what order the input variables are, just a long as all combinations are included. xabb(a·b)x+(a·b)

Truth Tables Are they the same? xabb(a·b)x+(a·b) xabb(a·b)x+(a·b)

Proof via Truth Table Proof that our earlier conjecture (AB) + (CD) ≠ A(B + C)D is true via truth table

Other Methods Truth tables can always be used to evaluate Boolean expressions But, they’re not always convenient –They can get big and unmanageable quite fast Fortunately, as in any good algebra, Boole gave us a set of axioms (laws, identities) that can be used to simplify boolean expressions symbolically

Axioms 1.x + 0 = x 2.x + 1 = 1 3.x + x = x 4.x + x’ = 1 5.x + y = y + x 6.x + (y + z) = (x + y) + z 7.x(y + z) = xy + xz 8.(x + y)’ = x’y’ 9.(x’)’ = x 10.x · 1 = x 11.x · 0 = 0 12.x · x = x 13.x · x’ = 0 14.xy = yx 15.x(yz) = (xy)z 16.x + yz = (x + y)(x + z) 17.(xy)’ = x’ + y’

Axioms 1, 10 – identity laws 2, 11 – one, zero laws 3, 12 – idempotence laws 4, 13 – inverse laws 5, 14 – commutative laws 6, 15 – associative laws 7, 16 – distributive laws 8, 17 – De’ Mogan’s laws 9 – double negation law (?? – I made that name up)

Why? What’s all this stuff used for? –“The purpose of Boolean algebra is to facilitate the analysis and design of digital circuits.” Express a truth table relationship in algebraic (symbolic) notation Express a logic diagram’s input/output relationships in algebraic notation Provides a means for finding simpler circuits to implement a given function

Logic Circuits These are the things computers (and other digital devices) are made of Circuit designers use Boolean algebra to design circuits drawn on schematic drawings Fabrication facilities use schematic drawings to produce silicon chips AND OR NOT Schematic Symbols

Logic Circuits F(x, a, b) = x + (a · b) AND OR NOT b a x AND OR b a x b a x

Homework Prove all 17 axioms using truth tables Due next lecture