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.

Slides:



Advertisements
Similar presentations
Logic Gates.
Advertisements

ECE 238L Computer Logic Design Spring 2010
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.
ECE 331 – Digital System Design Boolean Algebra (Lecture #3) The slides included herein were taken from the materials accompanying Fundamentals of Logic.
ECE 331 – Digital System Design
Relationship Between Basic Operation of Boolean and Basic Logic Gate The basic construction of a logical circuit is gates Gate is an electronic circuit.
CS 151 Digital Systems Design Lecture 6 More Boolean Algebra A B.
Digital Logic Design ESGD2201
Chapter 2: Boolean Algebra and Logic Functions
Digital Logic Circuits – Chapter 1 Section 1-3, 1-2.
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 and Digital Circuits
The Digital Logic Level
ECE 331 – Digital System Design
©2004 Brooks/Cole FIGURES FOR CHAPTER 2 BOOLEAN ALGEBRA Click the mouse to move to the next page. Use the ESC key to exit this chapter. This chapter in.
Apr. 3, 2000Systems Architecture I1 Systems Architecture I (CS ) Lecture 3: Review of Digital Circuits and Logic Design Jeremy R. Johnson Mon. Apr.
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.
Boolean Algebra & Logic Prepared by Dr P Marais (Modified by D Burford)
+ CS 325: CS Hardware and Software Organization and Architecture Gates and Boolean Algebra Part 2.
Boolean Logic and Circuits ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning.
ACOE1611 Combinational Logic Circuits Reference: M. Mano, C. Kime, “Logic and Computer Design Fundamentals”, Chapter 2.
LOGIC GATES & BOOLEAN ALGEBRA
ECE 301 – Digital Electronics Basic Logic Operations, Boolean Expressions, and Boolean Algebra (Lecture #3)
4. Computer Maths and Logic 4.2 Boolean Logic Simplifying Boolean Expressions.
XOR Operator A short digression… … to introduce another Boolean operation: exclusive- OR (XOR) ABA + B XOR.
1 BOOLEAN ALGEBRA Basic mathematics for the study of logic design is Boolean Algebra Basic laws of Boolean Algebra will be implemented as switching devices.
Digital Integrated Circuit Design Laboratory Department of Computer Science and Information Engineering National Cheng Kung University Experiment on digital.
ENGIN112 L6: More Boolean Algebra September 15, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 6 More Boolean Algebra A B.
Computer Systems 1 Fundamentals of Computing Simplifying Boolean Expressions.
BOOLEAN ALGEBRA Kamrul Ahsan Teacher of
Lecture 4 Introduction to Boolean Algebra. Binary Operators In the following descriptions, we will let A and B be Boolean variables and define a set of.
Chapter-3: BOOLEAN ALGEBRA & LOGIC GATES Analysis and logical design.
BOOLEAN ALGEBRA – Digital Circuit 1 Choopan Rattanapoka.
Module –I Boolean Algebra Digital Design Amit Kumar Assistant Professor SCSE, Galgotias University, Greater Noida.
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 4 Dr. Shi Dept. of Electrical and Computer Engineering.
Boolean Algebra ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning.
Lecture 5 More Boolean Algebra A B. Overview °Expressing Boolean functions °Relationships between algebraic equations, symbols, and truth tables °Simplification.
Hoda Roodaki Boolean Algebra Hoda Roodaki
Basics of Logic gates - Part 2
Speaker: Fuw-Yi Yang 楊伏夷 伏夷非征番, 道德經 察政章(Chapter 58) 伏者潛藏也
ECE 301 – Digital Electronics
Morgan Kaufmann Publishers
Chapter 3 Notes – Part II Review Questions
Chapter 2: Boolean Algebra and Logic Functions
CS 105 Digital Logic Design
Gate Circuits and Boolean Equations
CHAPTER 2 Boolean Algebra
Logic Gates.
CHAPTER 1 : INTRODUCTION
Digital Logic.
CHAPTER 2 Boolean Algebra This chapter in the book includes:
Boolean Algebra and Combinational Logic
Princess Sumaya University
Boolean Expressions Lecture No. 10.
FIGURES FOR CHAPTER 2 BOOLEAN ALGEBRA
Jeremy R. Johnson Wed. Sept. 29, 1999
ECE/CS 352 Digital Systems Fundamentals
Dr. Clincy Professor of CS
Lecture 3: Boolean Algebra
Boolean Algebra Why study Boolean Algebra?
Jeremy R. Johnson Anatole D. Ruslanov William M. Mongan
CSE 311 Foundations of Computing I
Boolean Algebra.
Lecture 14: Boolean Algebra
Universal gates.
Logic Gates.
Digital Systems Section 3 Boolean Algebra. Digital Systems Section 3 Boolean Algebra.
Presentation transcript:

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 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

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)

Logic Circuits (Gates) 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

Axioms Axioms are one way to simplify a Boolean expression –Consider the expression F(A,B,C) = (A+B)(A+C) –Requires 3 logic gates AND OR B A C A

Axioms Using the axioms one can “prove” that this expression simplifies F(A,B,C) = (A+B)(A+C) = A + BC (this is axiom 14 but it can be proved from the others) –Resulting in a two gate solution –We shaved 33% off of our design! A C B AND OR

Simplification Why bother? –A simplified expression means a smaller circuit –A smaller circuit is easier to build –A smaller circuit is easier to debug –A smaller circuit means more money in your pocket

Another Example F(A,B,C) = ABC + ABC’ + A’C –How many gates are required as specified? –What does the circuit look like? –Can the expression be simplified based on the axioms? If so, how?

Axioms/Gates Based on the axioms, the AND and OR gates may be created with more two inputs –Which axioms allow for this?

More Gates NAND –Shortened form of “not and” –Truth table? –Symbol NAND

More Gates NOR –Shortened form of “not or” –Truth table? –Symbol NOR

NAND/NOR So, what’s so special about NAND and NOR? NAND and NOR are considered “universal gates” –That is, anything that can be done with AND/OR/NOT can be done with only NAND or NOR gates (one or the other, not both)

NAND/NOR The universality of NAND/NOR is important because it means you can make many copies of a single gate type on a single piece of silicon and then use it to create complex circuits on a single chip Programmable (FPGA) devices use this technology

Simplification Using the axioms to “prove” that a simplified version of a circuit is equivalent to the complex version takes a special kind of person… –…of which I’m not one Fortunately, there’s another way…

Homework Chapter 1 –1-1, 1-2, 1-3, 1-4, 1-5, 1-6, 1-7 –Create an AND gate using only NAND gates –Create an AND gate using only NOR gates –Create an OR gate using only NAND gates –Create an OR gate using only NOR gates –Create a NOT gate using only NAND gates –Create a NOT gate using only NOR gates –Due next lecture