CENG 241 Digital Design 1 Lecture 4

Slides:



Advertisements
Similar presentations
TWO STEP EQUATIONS 1. SOLVE FOR X 2. DO THE ADDITION STEP FIRST
Advertisements

Chapter 3 Gate-Level Minimization
Chapter 1 The Study of Body Function Image PowerPoint
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 5 Author: Julia Richards and R. Scott Hawley.
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
By D. Fisher Geometric Transformations. Reflection, Rotation, or Translation 1.
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
0 - 0.
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
SUBTRACTING INTEGERS 1. CHANGE THE SUBTRACTION SIGN TO ADDITION
Addition Facts
ZMQS ZMQS
ABC Technology Project
Chapter 3 Basic Logic Gates 1.
Chapter 4 Gates and Circuits.
Karnaugh Map Adjacent Squares
Chapter 3 Gate-Level Minimization
Digital Logic Design Gate-Level Minimization
Chap. 3 Logic Gates and Boolean Algebra
Other Gate Types COE 202 Digital Logic Design Dr. Aiman El-Maleh
Exclusive-OR and Exclusive-NOR Gates
Chapter3: Gate-Level Minimization Part 2
Karnaugh Map Adjacent Squares
©2004 Brooks/Cole FIGURES FOR CHAPTER 7 MULTI-LEVEL GATE CIRCUITS NAND AND NOR GATES Click the mouse to move to the next page. Use the ESC key to exit.
Chapter 4 Gates and Circuits.
1 4 Square Questions B A D C Look carefully to the diagram Now I will ask you 4 questions about this square. Are you ready?
Factor P 16 8(8-5ab) 4(d² + 4) 3rs(2r – s) 15cd(1 + 2cd) 8(4a² + 3b²)
Squares and Square Root WALK. Solve each problem REVIEW:
© 2012 National Heart Foundation of Australia. Slide 2.
CS 121 Digital Logic Design
Chapter 5 Test Review Sections 5-1 through 5-4.
CS 121 Digital Logic Design
CS 121 Digital Logic Design
Addition 1’s to 20.
CS 121 Digital Logic Design
25 seconds left…...
Week 1.
We will resume in: 25 Minutes.
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
KU College of Engineering Elec 204: Digital Systems Design
CSE20 Lecture 15 Karnaugh Maps Professor CK Cheng CSE Dept. UC San Diego 1.
1 Unit 1 Kinematics Chapter 1 Day
How Cells Obtain Energy from Food
CENG 241 Digital Design 1 Lecture 2 Amirali Baniasadi
CENG 241 Digital Design 1 Lecture 3 Amirali Baniasadi
Optimization, terms and don’t cares
ENGIN112 L9: More Karnaugh Maps September 22, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 9 More Karnaugh Maps and Don’t Cares.
ECE 238L Computer Logic Design Spring 2010
Gate-Level Minimization
Gate-level Minimization
Gate-Level Minimization. Digital Circuits The Map Method The complexity of the digital logic gates the complexity of the algebraic expression.
CENG 241 Digital Design 1 Lecture 5 Amirali Baniasadi
Chapter 3 Gate-Level Minimization
Gate-Level Minimization
A.Abhari CPS2131 Chapter 3: Gate-Level Minimization Topics in this Chapter: The Map Method Two-Variable Map Three- Variable Map Four/Five variable Map.
CS 1110 Digital Logic Design
Lecture 07 Digital logic By Amr Al-Awamry. 4 variables K-Map.
Speaker: Fuw-Yi Yang 楊伏夷 伏夷非征番, 道德經 察政章(Chapter 58) 伏者潛藏也
CHAPTER 3 Simplification of Boolean Functions
Gate-Level Minimization
Digital Logic and Design
CH7 Multilevel Gate Network
Digital Logic Design I Gate-Level Minimization
The Map Method Truth table of fn is unique but fn can be in many different algebraic forms Simplification by using boolean algebra is often difficult because.
Gate Level Minimization
3-Variable K-map AB/C AB/C A’B’ A’B AB AB’
Computer Architecture
Presentation transcript:

CENG 241 Digital Design 1 Lecture 4 Amirali Baniasadi amirali@ece.uvic.ca

This Lecture Review of last lecture: Gate-Level Minimization Continue Chapter 3:Don’t-Care Conditions, Implementation

Gate-Level Minimization The Map Method: A simple method for minimizing Boolean functions Map: diagram made up of squares Each square represents a minterm

Three-Variable Map Each variable is 1 in 4 squares, 0 in 4 squares Variable appears unprimed in squares equal to 1 Variable appears primed in squares equal to 0

Four-Variable Map

Five-Variable Map Maps for more than four variables are not easy to use. Five-variable maps require 32 squares. Alternative: Use two four-variable maps to make a five-variable one Minterms 0 to 15 in one map. 16 to 31 in the other one.

Five-Variable Map Each square in the A=0 map is adjacent to the corresponding one in the A=1 map.

0’s in the map For a function F, combining the 0 squares gives us F’. By using F’ and the DeMorgan’s law, we can simplify the function to product of sums. F’=AB+CD+BD’ TYPO

Gate implementation-example 4 SUM of Products Products of Sums

Don’t-Care Conditions There are applications that the function is not specified for certain combinations and variables. Mark don’t-cares with X, assume either 1 or 0 to simplify the function.

Don’t-Care Conditions Simplify the Boolean function F(w,x,y,z)=Σ(1,3,7,11,15) which has the don’t-care conditions d(w,x,y,z)= Σ(0,2,5)

NAND and NOR implementations Ease of fabrication: Digital circuits are made of NAND or NOR, rather than AND and OR gates. We need rules to convert from AND/OR/NOT to NAND/NOR circuits. NAND gate is a universal gate because any digital circuit can be implemented using it.

Graphic symbols for NAND gates

Two-Level Implementation Three implementations for A.B+C.D

Example 3-10 Implement the following function with NAND gates: F(x,y,z)=(1,2,3,4,5,7)

Multilevel NAND circuits Sum of Products and Product of Sums result in two level designs Not all designs are two-level e.g., F=A.(C.D+B)+B.C’ How do we convert multilevel circuits to NAND circuits? Rules 1-Convert all ANDs to NAND gates with AND-invert symbol 2-Convert all Ors to NAND gates with invert-OR symbols 3-Check the bubbles, insert bubble if not compensated

Multilevel NAND circuits B’ BC’

Multilevel NAND circuits

NOR implementation NOR is NAND dual so all NOR rules are dual of NAND rules. All designs can be made by NORs

NOR symbols NOR implementation requires the function expressed in product of sums NOR implementation Rules 1-Convert all ORs to NOR gates with OR-invert symbol 2-Convert all ANDs to NOR gates with invert-AND symbols 3-Check the bubbles, insert bubble if not compensated

NOR circuits

NOR circuits Figure 3-23(a) converted to NOR implementation:

Summary Reading: up to end of NAND and NOR implementations Gate-level Minimization, Implementation