CMSC 313 Lecture 16 Postulates & Theorems of Boolean Algebra Semiconductors CMOS Logic Gates

Similar documents
CMSC 313 Lecture 17 Postulates & Theorems of Boolean Algebra Semiconductors CMOS Logic Gates

CMSC 313 Lecture 17. Focus Groups. Announcement: in-class lab Thu 10/30 Homework 3 Questions Circuits for Addition Midterm Exam returned

CMSC 313 Lecture 15 Good-bye Assembly Language Programming Overview of second half on Digital Logic DigSim Demo

CMSC 313 Lecture 16 Announcement: no office hours today. Good-bye Assembly Language Programming Overview of second half on Digital Logic DigSim Demo

Appendix A: Digital Logic. Principles of Computer Architecture. Principles of Computer Architecture by M. Murdocca and V. Heuring

Logic Gates and Boolean Algebra

Introduction. 1854: Logical algebra was published by George Boole known today as Boolean Algebra

CMSC 313 Lecture 19 Combinational Logic Components Programmable Logic Arrays Karnaugh Maps

Switches: basic element of physical implementations

Lecture 3. Title goes here 1. level Networks. Boolean Algebra and Multi-level. level. level. level. level

CMSC 313 Lecture 18 Midterm Exam returned Assign Homework 3 Circuits for Addition Digital Logic Components Programmable Logic Arrays

Learning Objectives. Boolean Algebra. In this chapter you will learn about:

Why digital? Overview. Number Systems. Binary to Decimal conversion

CMSC 313 Lecture 19 Homework 4 Questions Combinational Logic Components Programmable Logic Arrays Introduction to Circuit Simplification

CS 226: Digital Logic Design

12/31/2010. Overview. 05-Boolean Algebra Part 3 Text: Unit 3, 7. DeMorgan s Law. Example. Example. DeMorgan s Law

Theorem/Law/Axioms Over (.) Over (+)

Boolean Algebra. The Building Blocks of Digital Logic Design. Section. Section Overview. Binary Operations and Their Representation.

Combinational logic. Possible logic functions of two variables. Minimal set of functions. Cost of different logic functions.

Chapter 2: Switching Algebra and Logic Circuits

Chapter 2 Combinational Logic Circuits

Goals for Lecture. Binary Logic and Gates (MK 2.1) Binary Variables. Notation Examples. Logical Operations

Digital Circuits. 1. Inputs & Outputs are quantized at two levels. 2. Binary arithmetic, only digits are 0 & 1. Position indicates power of 2.

CHAPTER 3 LOGIC GATES & BOOLEAN ALGEBRA

Appendix A: Digital Logic. Principles of Computer Architecture. Principles of Computer Architecture by M. Murdocca and V. Heuring

Lecture 1. Notes. Notes. Notes. Introduction. Introduction digital logic February Bern University of Applied Sciences

EEE130 Digital Electronics I Lecture #4

Combinational Logic Design Principles

E&CE 223 Digital Circuits & Systems. Lecture Transparencies (Boolean Algebra & Logic Gates) M. Sachdev. Section 2: Boolean Algebra & Logic Gates

CMSC 313 Lecture 18 Midterm Exam returned Assign Homework 3 Circuits for Addition Digital Logic Components Programmable Logic Arrays

LOGIC GATES (PRACTICE PROBLEMS)

CHAPTER 2 BOOLEAN ALGEBRA

Computer Organization: Boolean Logic

Chapter 2: Boolean Algebra and Logic Gates

COSC3330 Computer Architecture Lecture 2. Combinational Logic

Part 5: Digital Circuits

Logic Design. Chapter 2: Introduction to Logic Circuits

Boolean Algebra. Boolean Variables, Functions. NOT operation. AND operation. AND operation (cont). OR operation

LOGIC GATES A Y=A+B. Logic symbol of OR gate B The Boolean expression of OR gate is Y = A + B, read as Y equals A 'OR' B.

Intro To Digital Logic

Prove that if not fat and not triangle necessarily means not green then green must be fat or triangle (or both).

Gates and Logic: From switches to Transistors, Logic Gates and Logic Circuits

Digital Fundamentals

Chapter 2: Princess Sumaya Univ. Computer Engineering Dept.

EECS Variable Logic Functions

EECS150 - Digital Design Lecture 4 - Boolean Algebra I (Representations of Combinational Logic Circuits)

Lecture 2 Review on Digital Logic (Part 1)

Lecture 9: Digital Electronics

Outline. EECS150 - Digital Design Lecture 4 - Boolean Algebra I (Representations of Combinational Logic Circuits) Combinational Logic (CL) Defined

Digital Circuit And Logic Design I. Lecture 3

Possible logic functions of two variables

Unit 2 Boolean Algebra

ENGR 303 Introduction to Logic Design Lecture 3. Dr. Chuck Brown Engineering and Computer Information Science Folsom Lake College

Circuits & Boolean algebra.

Appendix A: Digital Logic. CPSC 352- Computer Organization

Combinational Logic (mostly review!)

L2: Combinational Logic Design (Construction and Boolean Algebra)

Boole Algebra and Logic Series

ECE/Comp Sci 352 Digital System Fundamentals Quiz # 1 Solutions

Chapter 2 Combinational Logic Circuits

COMP2611: Computer Organization. Introduction to Digital Logic

Gates. Quiz 1 will cover up to and including this lecture. The book says something about NAND... maybe an in-law. Is he talking about BILL??? 6.

Learning Objectives 10/7/2010. CE 411 Digital System Design. Fundamental of Logic Design. Review the basic concepts of logic circuits. Dr.

Lecture 2. Notes. Notes. Notes. Boolean algebra and optimizing logic functions. BTF Electronics Fundamentals August 2014

Electronics. Overview. Introducction to Synthetic Biology

L2: Combinational Logic Design (Construction and Boolean Algebra)

ELEC Digital Logic Circuits Fall 2014 Switching Algebra (Chapter 2)

2. Associative Law: A binary operator * on a set S is said to be associated whenever (A*B)*C = A*(B*C) for all A,B,C S.

Lecture 4: More Boolean Algebra

WEEK 2.1 BOOLEAN ALGEBRA

Chapter 2 Boolean Algebra and Logic Gates

BOOLEAN ALGEBRA INTRODUCTION SUBSETS

II. COMBINATIONAL LOGIC DESIGN. - algebra defined on a set of 2 elements, {0, 1}, with binary operators multiply (AND), add (OR), and invert (NOT):

DIGITAL CIRCUIT LOGIC BOOLEAN ALGEBRA

Digital electronic systems are designed to process voltage signals which change quickly between two levels. Low time.

Number System conversions

Boolean Algebra & Logic Gates. By : Ali Mustafa

Boolean algebra. Examples of these individual laws of Boolean, rules and theorems for Boolean algebra are given in the following table.

Chapter 2 Part 7 Combinational Logic Circuits

Standard Expression Forms

EECS150 - Digital Design Lecture 19 - Combinational Logic Circuits : A Deep Dive

4 Switching Algebra 4.1 Axioms; Signals and Switching Algebra

Chapter 7 Combinational Logic Networks

3.4 Set Operations Given a set A, the complement (in the Universal set U) A c is the set of all elements of U that are not in A. So A c = {x x / A}.

CprE 281: Digital Logic

Ch 2. Combinational Logic. II - Combinational Logic Contemporary Logic Design 1

Chapter 2 Combinational Logic Circuits

Unit 8A Computer Organization. Boolean Logic and Gates

UC Berkeley College of Engineering, EECS Department CS61C: Representations of Combinational Logic Circuits

Combinational Logic Fundamentals

EC-121 Digital Logic Design

CS61c: Representations of Combinational Logic Circuits

Discrete Mathematics. CS204: Spring, Jong C. Park Computer Science Department KAIST

Digital Design 2. Logic Gates and Boolean Algebra

ECE 545 Digital System Design with VHDL Lecture 1A. Digital Logic Refresher Part A Combinational Logic Building Blocks

2009 Spring CS211 Digital Systems & Lab CHAPTER 2: INTRODUCTION TO LOGIC CIRCUITS

ECE 20B, Winter 2003 Introduction to Electrical Engineering, II LECTURE NOTES #2

Algebraic Methods for the Analysis and Synthesis

Floating Point Representation and Digital Logic. Lecture 11 CS301

E&CE 223 Digital Circuits & Systems. Lecture Transparencies (Boolean Algebra & Logic Gates) M. Sachdev

Transcription:

CMSC 33 Lecture 6 Postulates & Theorems of oolean lgebra Semiconductors CMOS Logic Gates UMC, CMSC33, Richard Chang <chang@umbc.edu>

Last Time Overview of second half of this course Logic gates & symbols Equivalence of oolean functions, truth tables, oolean formulas and combinational circuits Universality of NND gates UMC, CMSC33, Richard Chang <chang@umbc.edu>

Postulates of oolean lgebra Commutative: =, + = + ssociative: ()C = (C), ( + ) + C = + ( + C) Distributive: ( + C) = + C, + C = ( + )( + C) Identity: there exists and such that for all, = and + =. Complement: for all, there exists such that = and + = where and are the identity elements.

Some Theorems of oolean lgebra Zero and One: =, + = Idempotence: =, + = Involution: = DeMorgan s: = +, + = bsorption: ( + ) =, + = Consensus: + C + C = + C, ( + )( + C)( + C) = ( + )( + C) 2

Theorems are derived from the postulates Idempotence: = identity, commutative = ( + ) complement = + distributive = + complement = commutative, identity = + identity = () + complement = ( + )( + ) distributive = ( + ) commutative, complement = + commutative, identity 3

Theorems are derived from the postulates Zero and One: = () complement = () commutative = () associative = idempotent = complement + = ( + ) + complement = + ( + ) commutative = ( + ) + associative = + idempotent = complement 4

Theorems are derived from the postulates bsorption: + = + identity, commutative = ( + ) distributive = one = commutative, identity ( + ) = + distributive = + idempotent = absorption 5

Proof by truth table? bsorption: + = + Proof by truth table only applies to - oolean lgebra. Proof by derivation from postulates holds for any oolean lgebra. 6

oolean lgebra with 8 elements Elements are the subsets of {a, b, c}:, {a}, {b}, {c}, {a, b}, {a, c}, {b, c}, {a, b, c} Operations:, +. Union and intersection are commutative and associative. Union distributes over intersection: ( C) = ( ) ( C). Intersection distributes over union: ( C) = ( ) ( C). Identity: =, = {a, b, c}, {a, b, c} = and =. Complement: = {a, b, c}, = and = {a, b, c}. ll postulates hold. Therefore, all derived theorems also hold. 7

Simplifying MJ3 Simplify MJ3 using the postulates and theorems of oolean lgebra MJ3(,, C) = C + C + C + C SOP form = C + C + C + C + C + C idempotent = C + C + C + C + C + C commutative = ( + )C + ( + )C + (C + C) distributive = C + C + complement = C + C + identity Resulting circuit uses fewer gates. 8

-6 ppendix : Reduction of Digital Logic The lgebraic Method This majority circuit is functionally equivalent to the previous majority circuit, but this one is in its minimal two-level form: C F Principles of Computer rchitecture by M. Murdocca and V. Heuring 999 M. Murdocca and V. Heuring

-9 ppendix : Digital Logic ND-OR Implementation of Majority C Gate count is 8, gate input count is 9. C C F C C Principles of Computer rchitecture by M. Murdocca and V. Heuring 999 M. Murdocca and V. Heuring

How do we make gates??? UMC, CMSC33, Richard Chang <chang@umbc.edu>

-5 ppendix : Digital Logic Truth Table Developed in 854 by George oole. Further developed by Claude Shannon (ell Labs). Outputs are computed for all possible input combinations (how many input combinations are there?) Consider a room with two light switches. How must they work? Inputs Output Hot Light Z Z Switch Switch Principles of Computer rchitecture by M. Murdocca and V. Heuring 999 M. Murdocca and V. Heuring

Electrically Operated Switch Example: a relay source: http://www.howstuffworks.com/relay.htm UMC, CMSC33, Richard Chang <chang@umbc.edu>

Semiconductors Electrical properties of silicon Doping: adding impurities to silicon Diodes and the P-N junction Field-effect transistors UMC, CMSC33, Richard Chang <chang@umbc.edu>

n Inverter using MOSFET CMOS = complementary metal oxide semiconductor P-type transistor conducts when gate is low N-type transistor conducts when gate is high p-type MOSFET n-type MOSFET UMC, CMSC33, Richard Chang <chang@umbc.edu>

NND GTE

NOR GTE

CMOS Logic vs ipolar Logic MOSFET transistors are easier to miniaturie CMOS logic has lower current drain CMOS logic is easier to manufacture UMC, CMSC33, Richard Chang <chang@umbc.edu>

CMSC 33, Computer Organiation & ssembly Language Programming, section Fall 23 Homework 3 Due: October 3, 23. (2 points) Draw schematics for the following functions using ND, OR and NOT gates. (Do not simplify the formulas.) (a) X(Y + Z) (b) X + Y Z (c) X(Y + Z) (d) W(X + Y Z) 2. ( points) Question.3, page 493, Murdocca & Heuring 3. ( points) Prove the Consensus Theorem + C + C = + C using the postulates and theorems of oolean algebra (except the Consensus Theorem itself) in Table - (p. 45). Hint: use absorption creatively. 4. (4 points) For each CMOS circuit below, (a) Provide a truth table for the circuit s function. (b) For diagram (a), write down the Sum-of-Products (SOP) oolean formula for the truth table. For diagram (b), wrtie down the Product-of-Sums (POS) oolean formula. (c) Simplify the SOP or POS formula using the postulates and theorems of oolean lgebra (p. 45). Show all work. (d) Draw the logic diagram of the simplified formula using ND, OR, NND, NOR and NOT gates. C D C D (a) (b)

Circuits for ddition Next time UMC, CMSC33, Richard Chang <chang@umbc.edu>