Minimization of Circuits

Slides:



Advertisements
Similar presentations
Techniques for Combinational Logic Optimization
Advertisements

Minimization of Circuits
Gate-Level Minimization
Boolean Algebra and Combinational Logic
ECE 301 – Digital Electronics Karnaugh Maps (Lecture #7) The slides included herein were taken from the materials accompanying Fundamentals of Logic Design,
1 Homework Reading –Tokheim, Section 5-1, 5-2, 5-3, 5-7, 5-8 Machine Projects –Continue on MP4 Labs –Continue labs with your assigned section.
AOI Logic Implementation © 2014 Project Lead The Way, Inc.Digital Electronics.
Simplifying Boolean Expressions Using K-Map Method
1 Simplification of Boolean Functions:  An implementation of a Boolean Function requires the use of logic gates.  A smaller number of gates, with each.
1 Chapter 5 Karnaugh Maps Mei Yang ECG Logic Design 1.
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.
Chapter 10 (Part 2): Boolean Algebra  Logic Gates (10.3) (cont.)  Minimization of Circuits (10.4)
1 © 2015 B. Wilkinson Modification date: January 1, 2015 Designing combinational circuits Logic circuits whose outputs are dependent upon the values placed.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. Circuit Optimization Logic and Computer Design Fundamentals.
CS151 Introduction to Digital Design Chapter Map Simplification.
Logic Gates M. AL-Towaileb1. Introduction Boolean algebra is used to model the circuitry of electronic devices. Each input and each output of such a device.
1 Homework Reading –Tokheim, Section 5-1, 5-2, 5-3, 5-7, 5-8 Machine Projects –Continue on MP4 Labs –Continue labs with your assigned section.
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC
THE K-MAP.
Karnaugh Map (K-Map) By Dr. M. Khamis Mrs. Dua’a Al Sinari.
1 3- De-Morgan’s Theorems 1.The complement of a product of variables is equal to the sum of the complements of the variables. 2. The complement of a sum.
Karnaugh Maps (K maps).
Based on slides by:Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. ECE/CS 352: Digital System Fundamentals Lecture 7 – Karnaugh Maps.
Lecture 21: Combinatorial Circuits II Discrete Mathematical Structures: Theory and Applications.
1 EENG 2710 Chapter 3 Simplification of Switching Functions.
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC:K-Map. K-Map (1)  Karnaugh Map provides a systematic method for simplifying Boolean expressions and may produce.
CHAPTER 7 MULTI-LEVEL GATE CIRCUITS / NAND AND NOR GATES
CHAPTER 3 Simplification of Boolean Functions
Homework Reading Machine Projects Labs
Minimization of Circuits
ECE 2110: Introduction to Digital Systems
ECE 3110: Introduction to Digital Systems
ECE/CS 352 Digital Systems Fundamentals
Dr. Clincy Professor of CS
Boolean Algebra and Combinational Logic
CHAPTER 3 SETS AND BOOLEAN ALGEBRA
Karnaugh Map Method.
Computer Architecture CST 250
Karnaugh Maps.
ECE 331 – Digital System Design
Karnaugh Maps (K-Maps)
E- Lesson: Karnaugh Maps (K-Map ).
Logic Gates L Al-zaid Math110.
Optimized Implementation of Logic Function
Instructor: Alexander Stoytchev
BASIC & COMBINATIONAL LOGIC CIRCUIT
SYEN 3330 Digital Systems Chapter 2 – Part 4 SYEN 3330 Digital Systems.
ECE 331 – Digital System Design
Reading: Hambley Ch. 7 through 7.5
Karnaugh Mapping Digital Electronics
SYEN 3330 Digital Systems Chapter 2 – Part 5 SYEN 3330 Digital Systems.
Chapter 3 Gate-level Minimization.
AOI Logic Implementation
ECB2212-Digital Electronics K-Map
Representing Relations
Chapter 10.3 and 10.4: Combinatorial Circuits
CS Chapter 3 (3A and ) – Part 3 of 5
Logic Gates Dr.Halimah Alshehri.
Instructor: Alexander Stoytchev
Overview Part 2 – Circuit Optimization
3-Variable K-map AB/C AB/C A’B’ A’B AB AB’
Instructor: Alexander Stoytchev
Representing Boolean Functions
Karnaugh Maps (K maps).
Representing Boolean Functions
Laws & Rules of Boolean Algebra
Karnaugh Map Method By: Asst Lec. Besma Nazar Nadhem
Chapter 11 (Part 2): Boolean Algebra
Circuit Simplification and
Reading: Hambley Ch. 7 through 7.5
Presentation transcript:

Minimization of Circuits أ. زينب آل كاظم

Introduction We can always use the sum-of-products expansion of a circuit to find a set of logic gates that will implement this circuit. However, the sum-of products expansion may contain many more terms than are necessary. Terms in a sum-of products expansion that differ in just one variable, so that in one term this variable occurs and in the other term the complement of this variable occurs, can be combined. أ. زينب آل كاظم

consider the circuit that has output 1 if and only if x = y = z = 1 or x = z = 1 and y = 0. The sum-of-products expansion of this circuit is The two products in this expansion differ in exactly one variable, namely, y. They can be combined as Hence, x z is a Boolean expression with fewer operators that represents the circuit. أ. زينب آل كاظم

The second circuit uses only one gate, whereas the first circuit uses three gates and an inverter. Finding such a sum of products is called minimization of the Boolean function. Minimizing a Boolean function makes it possible to construct a circuit for this function that uses the fewest gates and fewest inputs to the AND gates and OR gates in the circuit. أ. زينب آل كاظم

Karnaugh Maps (K-map) There are four possible minterms in the sum-of-products expansion of a Boolean function in the two variables x and y. A K-map for a Boolean function in these two variables consists of four cells, where a 1 is placed in the cell representing a minterm if this minterm is present in the expansion. Cells are said to be adjacent if the minterms that they represent differ in exactly one literal. For instance, the cell representing is adjacent to the cells representing and The four cells and the terms that they represent are shown in Figure 2 أ. زينب آل كاظم

EXAMPLE 1 Find the K-maps for: أ. زينب آل كاظم

Solution: أ. زينب آل كاظم

EXAMPLE 2 Simplify the sum-of-products expansions given in Example 1 EXAMPLE 2 Simplify the sum-of-products expansions given in Example 1 . Solution: أ. زينب آل كاظم

K-map in three variables A K-map in three variables is a rectangle divided into eight cells. The cells represent the eight possible minterms in three variables. Two cells are said to be adjacent if the minterms that they represent differ in exactly one literal. One of the ways to form a K-map in three variables is shown in Figure 5(a). أ. زينب آل كاظم

K-map in three variables This K-map can be thought of as lying on a cylinder, as shown in Figure 5(b). On the cylinder, two cells have a common border if and only if they are adjacent. أ. زينب آل كاظم

Simplify a sum-of-products in 3 variables To simplify a sum-of-products expansion in three variables, we use the K-map to identify blocks of minterms that can be combined. Blocks of two adjacent cells represent pairs of minterms that can be combined into a product of two literals; 2 x 2 and 4 x 1 blocks of cells represent minterms that can be combined into a single literal; and the block of all eight cells represents a product of no literals, namely, the function 1 . أ. زينب آل كاظم

Simplify a sum-of-products in 3 variables 2 x 1 block 2 x 2 block 1 x 2 block 4 x 2 block 4 x 1 block أ. زينب آل كاظم

EXAMPLE 3 Use K-maps to minimize these sum-of-products expansions. أ. زينب آل كاظم

Solution: أ. زينب آل كاظم

K-map in 4 variables A K-map in four variables is a square that is divided into 16 cells. The cells represent the 16 possible minterms in four variables. One of the ways to form a K-map in four variables is shown in Figure 8. أ. زينب آل كاظم

Simplify a sum-of-products in 4 variables The simplification of a sum-of-products expansion in four variables is carried out by identifying those blocks of 2, 4, 8, or 1 6 cells that represent minterms that can be combined. أ. زينب آل كاظم

EXAMPLE 4 Use K-maps to simplify these sum-of-products expansions: أ. زينب آل كاظم

Solution: أ. زينب آل كاظم

أ. زينب آل كاظم

أ. زينب آل كاظم

Homework Page 779 1 (b) 2 (c) 3 (a,b,c) 5 (a,b) 7 (a,b). أ. زينب آل كاظم