Reading: Hambley Ch. 7 through 7.5

Slides:



Advertisements
Similar presentations
EET 1131 Unit 5 Boolean Algebra and Reduction Techniques
Advertisements

L14: Boolean Logic and Basic Gates
Digital Circuits.
Chapter 11_1 (chap 10 ed 8) Digital Logic. Irvine, Kip R. Assembly Language for Intel-Based Computers, NOT AND OR XOR NAND NOR Truth Tables Boolean.
Lecture 20, Slide 1EECS40, Fall 2004Prof. White Lecture #20 ANNOUNCEMENT Midterm 2 Thursday Nov. 18, 12:40 – 2:00 pm A-L initials in F295 Haas Business.
Chapter 3 Boolean Algebra and Logic Gate (Part 2).
Relationship Between Basic Operation of Boolean and Basic Logic Gate The basic construction of a logical circuit is gates Gate is an electronic circuit.
Week 11b, Slide 1EECS42, Fall 2005Prof. White Week 11b OUTLINE – Synthesis of logic circuits – Minimization of logic circuits Reading: Hambley Ch. 7 through.
How to build a digital gate. CMOS NAND Gate Several realization of NOT 1. This is how a NOT operation is often represented schematically. 2. Sometimes.
Lecture 14 Today we will Learn how to implement mathematical logical functions using logic gate circuitry, using Sum-of-products formulation NAND-NAND.
EECS 40 Spring 2003 Lecture 11S. Ross and W. G. OldhamCopyright Regents of the University of California TO REVIEW AMPLIFIERS… Prove formulas for various.
4/11/03 Minute Paper How does MS window work? Like how do we have the screen on the computer. Is it just a bunch of Binary #’s representing colors? When.
EET 1131 Unit 5 Boolean Algebra and Reduction Techniques
W. G. Oldham EECS 40 Fall 2001 Lecture 2 Copyright Regents of University of California The CMOS Inverter: Current Flow during Switching V IN V OUT V DD.
ENGG 1203 Tutorial Combinational Logic (I) 1 Feb Learning Objectives
Chapter 10_1 Digital Logic. Irvine, Kip R. Assembly Language for Intel-Based Computers, NOT AND OR XOR NAND NOR Truth Tables Boolean Operators.
Chapter 3.5 Logic Circuits. How does Boolean algebra relate to computer circuits? Data is stored and manipulated in a computer as a binary number. Individual.
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC. K-Map (1)  Karnaugh Mapping is used to minimize the number of logic gates that are required in a digital circuit.
Computer Organization 1 Logic Gates and Adders. Propositions –Venn Diagrams.
Digital Circuits Design Chin-Sung Lin Eleanor Roosevelt High School.
Digital Electronics Lecture 6 Combinational Logic Circuit Design.
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.
Chapter 3: Digital Logic Dr Mohamed Menacer Taibah University
Lecture 4 Nand, Nor Gates, CS147 Circuit Minimization and
Computer Systems 1 Fundamentals of Computing Simplifying Boolean Expressions.
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.
Announcements Assignment 6 due tomorrow No Assignment 7 yet.
Karnaugh Map and Circuit Design.
BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC
THE K-MAP.
Digital Logic (Karnaugh Map). Karnaugh Maps Karnaugh maps (K-maps) are graphical representations of boolean functions. One map cell corresponds to a row.
K-maps and Decoders Prof. Sin-Min Lee Department of Computer Science.
Digital Circuits Design Chin-Sung Lin Eleanor Roosevelt High School.
EET 1131 Unit 5 Boolean Algebra and Reduction Techniques
Boolean Algebra & Logic Gates
Digital Logic.
CHAPTER 3 Simplification of Boolean Functions
Lecture 04 – Logic and circuits
Logic Gates and Boolean Algebra
Lecture 4 Nand, Nor Gates, CS147 Circuit Minimization and
Minimization of Circuits
Boolean Algebra & De Morgan's Theorems
Digital Logic.
Reading: Hambley Chapters
CSE 140 : Components and Design Techniques for Digital Systems
Digital Logic and Design
Basics Combinational Circuits Sequential Circuits
Basics Combinational Circuits Sequential Circuits Ahmad Jawdat
Karnaugh Maps (K-Maps)
Digital Circuits.
BASIC & COMBINATIONAL LOGIC CIRCUIT
CSE 370 – Winter Combinational Logic - 1
Combinatorial Logic Circuit
Reading: Hambley Ch. 7 through 7.5
13 Digital Logic Circuits.
ECB2212-Digital Electronics K-Map
CS/COE0447 Computer Organization & Assembly Language
Chapter 10.3 and 10.4: Combinatorial Circuits
Dr. Clincy Professor of CS
Circuits, Truth Tables & Boolean Algebra
Analysis of Logic Circuits Example 1
Digital Logic Design Basics Combinational Circuits Sequential Circuits.
Principles & Applications
Laws & Rules of Boolean Algebra
Chapter 2 Digital Design and Computer Architecture, 2nd Edition
Digital Circuits.
Circuit Simplification and
Computer Architecture
Digital Circuits.
Presentation transcript:

Reading: Hambley Ch. 7 through 7.5 Lecture #20 ANNOUNCEMENT Midterm 2 thurs. april 15, 9:40-11am. A-M initials in 10 Evans N-Z initials in Sibley auditorium Closed book, except for two 8.5 x 11 inch cheat sheets Covers HW’s 5-9; L’s,C’s, 1st-order ckts,semiconductor devices, diode ckts, mosfet model, common source amplifier OUTLINE Synthesis of logic circuits Minimization of logic circuits Reading: Hambley Ch. 7 through 7.5

Combinational Logic Circuits Logic gates combine several logic-variable inputs to produce a logic-variable output. Combinational logic circuits are “memoryless” because their output value at a given instant depends only on the input values at that instant. Next time, we will study sequential logic circuits that possess memory because their present output value depends on previous as well as present input values.

Boolean Algebra Relations A•A = A A•A = 0 A•1 = A A•0 = 0 A•B = B•A A•(B•C) = (A•B)•C A+A = A A+A = 1 A+1 = 1 A+0 = A A+B = B+A A+(B+C) = (A+B)+C A•(B+C) = A•B + A•C A•B = A + B De Morgan’s laws

Boolean Expression Example F = A•B•C + A•B•C + (C+D)•(D+E) F = C•(A+D+E) + D•E

Logical Sufficiency of NAND Gates If the inputs to a NAND gate are tied together, an inverter results From De Morgan’s laws, the OR operation can be realized by inverting the input variables and combining the results in a NAND gate. Since the basic logic functions (AND, OR, and NOT) can be realized by using only NAND gates, NAND gates are sufficient to realize any combinational logic function.

Logical Sufficiency of NOR Gates Show how to realize the AND, OR, and NOT functions using only NOR gates Since the basic logic functions (AND, OR, and NOT) can be realized by using only NOR gates, NOR gates are sufficient to realize any combinational logic function.

Synthesis of Logic Circuits Suppose we are given a truth table for a logic function. Is there a method to implement the logic function using basic logic gates? Answer: There are lots of ways, but one simple way is the “sum of products” implementation method: Write the sum of products expression based on the truth table for the logic function Implement this expression using standard logic gates. We may not get the most efficient implementation this way, but we can simplify the circuit afterwards…

Logic Synthesis Example: Adder Input Output S1 using sum-of-products: Find where S1 is 1 Write down each product of inputs which create a 1 Sum all of the products Draw the logic circuit A B C S1 S0 1 A B C A B C A B C A B C A B C A B C A B C A B C + A B C + A B C + A B C

NAND Gate Implementation De Morgan’s law tells us that is the same as By definition, All sum-of-products expressions can be implemented with only NAND gates.

Creating a Better Circuit What makes a digital circuit better? Fewer number of gates Fewer inputs on each gate multi-input gates are slower Let’s see how we can simplify the sum-of- products expression for S1, to make a better circuit… Use the Boolean algebra relations

4-variable Karnaugh Map Karnaugh Maps Graphical approach to minimizing the number of terms in a logic expression: Map the truth table into a Karnaugh map (see below) For each 1, circle the biggest block that includes that 1 Write the product that corresponds to that block. Sum all of the products 4-variable Karnaugh Map CD 2-variable Karnaugh Map 3-variable Karnaugh Map 00 01 11 10 B 00 BC 1 00 01 11 10 01 AB A 11 A 1 1 10

Karnaugh Map Example A B C S1 S0 1 00 01 11 10 Input Output A B C S1 S0 1 Simplification of expression for S1: BC 00 01 11 10 1 A BC AC AC AB S1 = AB + BC + AC

Further Comments on Karnaugh Maps The algebraic manipulations needed to simplify a given expression are not always obvious. Karnaugh maps make it easier to minimize the number of terms in a logic expression. Terminology: “2-cube: 2 squares that have a common edge (-> product of 3 variables) “4-cube: 4 squares with common edges (-> product of 2 variables) In locating cubes on a Karnaugh map, the map should be considered to fold around from top to bottom, and from left to right. Squares on the right-hand side are considered to be adjacent to those on the left-hand side. Squares on the top of the map are considered to be adjacent to those on the bottom. Example: The four squares in the map corners form a 4-cube CD 00 01 11 10 00 01 AB 11 10