Larger 5 & 6variable Karnaugh maps

Similar documents
Odd-Prime Number Detector The table of minterms is represented. Table 13.1

Logic Design I (17.341) Fall Lecture Outline

EECS 150 Homework 4 Solutions Fall 2008

UNIT-2: BOOLEAN EXPRESSIONS AND COMBINATIONAL LOGIC CIRCUITS

Subject: Analog and Digital Electronics Code:15CS32

CHAPTER 3 BASIC & COMBINATIONAL LOGIC CIRCUIT

Dr. Nicola Nicolici COE/EE2DI4 Midterm Test #1 Oct 18, 2006

BOOLEAN ALGEBRA AND LOGIC FAMILIES

University of Technology

Asst. Prof. Thavatchai Tayjasanant, PhD. Power System Research Lab 12 th Floor, Building 4 Tel: (02)

Function Table of an Odd-Parity Generator Circuit

Name: Class: Date: 1. As more electronic systems have been designed using digital technology, devices have become smaller and less powerful.

Number system: the system used to count discrete units is called number. Decimal system: the number system that contains 10 distinguished

DEPARTMENT OF ELETRONICS AND COMMUNICATION ENGINEERING COURSE NOTES FACULTY NAME/DESIGNATION: SUGAPRIYAA.THA / LECTURER

ECE 172 Digital Systems. Chapter 2 Digital Hardware. Herbert G. Mayer, PSU Status 6/30/2018

Logic Circuit Design

Chapter 3 Digital Logic Structures

Combinational logic. ! Regular logic: multiplexers, decoders, LUTs and FPGAs. ! Switches, basic logic and truth tables, logic functions

Objective Questions. (a) Light (b) Temperature (c) Sound (d) all of these

IES Digital Mock Test

CS302 - Digital Logic Design Glossary By

ECE380 Digital Logic

Combinational Logic. Rab Nawaz Khan Jadoon DCS. Lecturer COMSATS Lahore Pakistan. Department of Computer Science

Course Overview. Course Overview

2 Building Blocks. There is often the need to compare two binary values.

6.1 In this section, you will design (but NOT build) a circuit with 4 inputs,

Introduction to Digital Logic Missouri S&T University CPE 2210 Exam 1 Logistics

Digital Electronic Concepts

Chapter 4 Combinational Logic Circuits

Gates and Circuits 1

Lecture 15 Analysis of Combinational Circuits

Module 4: Design and Analysis of Combinational Circuits 1. Module-4. Design and Analysis of Combinational Circuits

UNIT-IV Combinational Logic

CS302 Digital Logic Design Solved Objective Midterm Papers For Preparation of Midterm Exam

EECS-140/141 Introduction to Digital Logic Design Lecture 4:Simplification in Logic Synthesis

Chapter 4 Combinational Logic Circuits

THE UNIVERSITY OF TRINIDAD & TOBAGO

Digital Logic Circuits

GATE Online Free Material

Digital Electronics 8. Multiplexer & Demultiplexer

CMSC 2833 Lecture 26. Step Expression Justification

Lab 2: Combinational Circuits Design

Chapter 1: Digital logic

1.) If a 3 input NOR gate has eight input possibilities, how many of those possibilities result in a HIGH output? (a.) 1 (b.) 2 (c.) 3 (d.) 7 (e.

De Morgan s second theorem: The complement of a product is equal to the sum of the complements.

NUMBER SYSTEM AND CODES

SYNTHESIS OF COMBINATIONAL CIRCUITS

Fan in: The number of inputs of a logic gate can handle.

GOVERNMENT OF KARNATAKA KARNATAKA STATE PRE-UNIVERSITY EDUCATION EXAMINATION BOARD II YEAR PUC EXAMINATION JULY-2012 SCHEME OF VALUATION

Combinational Logic Design CH002

ELECTRONIC CIRCUITS. Time: Three Hours Maximum Marks: 100

2 Logic Gates THE INVERTER. A logic gate is an electronic circuit which makes logic decisions. It has one output and one or more inputs.

Combinational Logic Circuits. Combinational Logic

Digital. Design. R. Ananda Natarajan B C D

Analysis procedure. To obtain the output Boolean functions from a logic diagram, proceed as follows:

DIGITAL FUNDAMENTALS

Laboratory Manual CS (P) Digital Systems Lab

Synthesis of Combinational Logic

Digital Applications (CETT 1415) Credit: 4 semester credit hours (3 hours lecture, 4 hours lab) Prerequisite: CETT 1403 & CETT 1405

(CSC-3501) Lecture 6 (31 Jan 2008) Seung-Jong Park (Jay) CSC S.J. Park. Announcement

Combinational Logic. Combinational Logic Design Process, Three State Buffers, Decoders, Multiplexers, Encoders, Demultiplexers, Other Considerations

Topic Notes: Digital Logic

Exercises: Fundamentals of Computer Engineering 1 PAGE: 1

In this lecture: Lecture 8: ROM & Programmable Logic Devices

ECE380 Digital Logic

Encoders. Lecture 23 5

Formal Foundation of Digital Design

Digital Logic Design ELCT 201

Chapter 3 Describing Logic Circuits Dr. Xu

B.C.A 2017 DIGITAL ELECTRONICS BCA104T MODULE SPECIFICATION SHEET. Course Outline

Digital Applications (CETT 1415) Credit: 4 semester credit hours (3 hours lecture, 4 hours lab) Prerequisite: CETT 1403 & CETT 1405

DIGITAL ELECTRONICS QUESTION BANK

S-[F] NPW-02 June All Syllabus B.Sc. [Electronics] Ist Year Semester-I & II.doc - 1 -

Digital Circuits II Lecture 6. Lab Demonstration 3 Using Altera Quartus II to Determine Simplified Equations & Entering Truth Table into VHDL

R09. 1.a) State and explain Kirchoff s laws. b) In the circuit given below Figure 1 find the current through 5 Ω resistor. [7+8] FIRSTRANKER.

logic system Outputs The addition of feedback means that the state of the circuit may change with time; it is sequential. logic system Outputs

Logic diagram: a graphical representation of a circuit

DIGITAL LOGIC CIRCUITS

Written exam IE1204/5 Digital Design Friday 13/

Introduction to CMOS VLSI Design (E158) Lecture 5: Logic

UC Berkeley CS61C : Machine Structures

EMT1250 LABORATORY EXPERIMENT. EXPERIMENT # 4: Combinational Logic Circuits. Name: Date:

CONTENTS Sl. No. Experiment Page No

Second Grade Mathematics Goals

Digital Fundamentals. Logic gates

This Figure here illustrates the operation for a 2-input OR gate for all four possible input combinations.

SKP Engineering College

Gates and and Circuits

14:332:231 DIGITAL LOGIC DESIGN. Gate Delays

SKP Engineering College

UC Berkeley CS61C : Machine Structures

UNIVERSITY OF NORTHERN COLORADO MATHEMATICS CONTEST

16 Multiplexers and De-multiplexers using gates and ICs. (74150, 74154)

By: Dr. Ahmed ElShafee

Time-Multiplexed Dual-Rail Protocol for Low-Power Delay-Insensitive Asynchronous Communication

Sr. No. Instrument Specifications. TTL (Transistor-Transistor Logic) based on bipolar junction transistors

Fault Tolerance in VLSI Systems

Winter 14 EXAMINATION Subject Code: Model Answer P a g e 1/28

Department of Electronics and Communication Engineering

Digital Electronics Course Objectives

Transcription:

Larger 5 & 6variable Karnaugh maps Larger Karnaugh maps reduce larger logic designs. How large is large enough? That depends on the number of inputs, fan-ins, to the logic circuit under consideration. One of the large programmable logic companies has an answer. Altera's own data, extracted from its library of customer designs, supports the value of heterogeneity. By examining logic cones, mapping them onto LUT-based nodes and sorting them by the number of inputs that would be best at each node, Altera found that the distribution of fan-ins was nearly flat between two and six inputs, with a nice peak at five. The answer is no more than six inputs for most all designs, and five inputs for the average logic design. The five variable Karnaugh map follows. The older version of the five variable K-map, a Gray Code map or reflection map, is shown above. The top (and side for a 6-variable map) of the map is numbered in full Gray code. The Gray code reflects about the middle of the code. This style map is found in older texts. The newer preferred style is below.

The overlay version of the Karnaugh map, shown above, is simply two (four for a 6-variable map) identical maps except for the most significant bit of the 3-bit address across the top. If we look at the top of the map, we will see that the numbering is different from the previous Gray code map. If we ignore the most significant digit of the 3-digit numbers, the sequence 00, 01, 11, 10 is at the heading of both sub maps of the overlay map. The sequence of eight 3-digit numbers is not Gray code. Though the sequence of four of the least significant two bits is. Let's put our 5-variable Karnaugh Map to use. Design a circuit which has a 5-bit binary input (A, B, C, D, E), with A being the MSB (Most Significant Bit). It must produce an output logic High for any prime number detected in the input data.

We show the solution above on the older Gray code (reflection) map for reference. The prime numbers are (1,2,3,5,7,11,13,17,19,23,29,31). Plot a 1 in each corresponding cell. Then, proceed with grouping of the cells. Finish by writing the simplified result. Note that 4- cell group A'B'E consists of two pairs of cell on both sides of the mirror line. The same is true of the 2-cell group AB'DE. It is a group of 2-cells by being reflected about the mirror line. When using this version of the K-map look for mirror images in the other half of the map. Out = A'B'E + B'C'E + A'C'DE + A'CD'E + ABCE + AB'DE + A'B'C'D Below we show the more common version of the 5-variable map, the overlay map.

If we compare the patterns in the two maps, some of the cells in the right half of the map are moved around since the addressing across the top of the map is different. We also need to take a different approach at spotting commonality between the two halves of the map. Overlay one half of the map atop the other half. Any overlap from the top map to the lower map is a potential group. The figure below shows that group AB'DE is composed of two stacked cells. Group A'B'E consists of two stacked pairs of cells. For the A'B'E group of 4-cells ABCDE = 00xx1 for the group. That is A,B,E are the same 001 respectively for the group. And, CD=xx that is it varies, no commonality in CD=xx for the group of 4-cells. Since ABCDE = 00xx1, the group of 4-cells is covered by A'B'XXE = A'B'E.

The above 5-variable overlay map is shown stacked. An example of a six variable Karnaugh map follows. We have mentally stacked the four sub maps to see the group of 4-cells corresponding to Out = C'F'

A magnitude comparator (used to illustrate a 6-variable K-map) compares two binary numbers, indicating if they are equal, greater than, or less than each other on three respective outputs. A three bit magnitude comparator has two inputs A 2 A 1 A 0 and B 2 B 1 B 0 An integrated circuit magnitude comparator (7485) would actually have four inputs, But, the Karnaugh map below needs to be kept to a reasonable size. We will only solve for the A>B output. Below, a 6-variable Karnaugh map aids simplification of the logic for a 3-bit magnitude comparator. This is an overlay type of map. The binary address code across the top and down the left side of the map is not a full 3-bit Gray code. Though the 2-bit address codes of the four sub maps is Gray code. Find redundant expressions by stacking the four sub maps atop one another (shown above). There could be cells common to all four maps, though not in the example below. It does have cells common to pairs of sub maps.

The A>B output above is ABC>XYZ on the map below. Where ever ABC is greater than XYZ, a 1 is plotted. In the first line ABC=000 cannot be greater than any of the values of XYZ. No 1s in this line. In the second line, ABC=001, only the first cell ABCXYZ= 001000 is ABC greater than XYZ. A single 1 is entered in the

first cell of the second line. The fourth line, ABC=010, has a pair of 1s. The third line, ABC=011 has three 1s. Thus, the map is filled with 1s in any cells where ABC is greater than XXZ. In grouping cells, form groups with adjacent sub maps if possible. All but one group of 16- cells involves cells from pairs of the sub maps. Look for the following groups: 1 group of 16-cells 2 groups of 8-cells 4 groups of 4-cells The group of 16-cells, AX' occupies all of the lower right sub map; though, we don't circle it on the figure above. One group of 8-cells is composed of a group of 4-cells in the upper sub map overlaying a similar group in the lower left map. The second group of 8-cells is composed of a similar group of 4-cells in the right sub map overlaying the same group of 4-cells in the lower left map. The four groups of 4-cells are shown on the Karnaugh map above with the associated product terms. Along with the product terms for the two groups of 8-cells and the group of 16-cells, the final Sum-Of-Products reduction is shown, all seven terms. Counting the 1s in the map, there is a total of 16+6+6=28 ones. Before the K-map logic reduction there would have been 28 product terms in our SOP output, each with 6-inputs. The Karnaugh map yielded seven product terms of four or less inputs. This is really what Karnaugh maps are all about! The wiring diagram is not shown. However, here is the parts list for the 3-bit magnitude comparator for ABC>XYZ using 4 TTL logic family parts: 1 ea 7410 triple 3-input NAND gate AX', ABY', BX'Y' 2 ea 7420 dual 4-input NAND gate ABCZ', ACY'Z', BCX'Z', CX'Y'Z' 1 ea 7430 8-input NAND gate for output of 7-P-terms REVIEW: Boolean algebra, Karnaugh maps, and CAD (Computer Aided Design) are methods of logic simplification. The goal of logic simplification is a minimal cost solution. A minimal cost solution is a valid logic reduction with the minimum number of gates with the minimum number of inputs. Venn diagrams allow us to visualize Boolean expressions, easing the transition to Karnaugh maps. Karnaugh map cells are organized in Gray code order so that we may visualize redundancy in Boolean expressions which results in simplification.

The more common Sum-Of-Products (Sum of Minters) expressions are implemented as AND gates (products) feeding a single OR gate (sum). Sum-Of-Products expressions (AND-OR logic) are equivalent to a NAND-NAND implementation. All AND gates and OR gates are replaced by NAND gates. Less often used, Product-Of-Sums expressions are implemented as OR gates (sums) feeding into a single AND gate (product). Product-Of-Sums expressions are based on the 0s, maxterms, in a Karnaugh map. Source: http://www.allaboutcircuits.com/vol_4/chpt_8/11.html