POWR IP PZ1/17

Similar documents
Combinational Logic Circuits

DKT 122/3 DIGITAL SYSTEM 1

Chapter 2. Boolean Expressions:

CprE 281: Digital Logic

Karnaugh Map (K-Map) Karnaugh Map. Karnaugh Map Examples. Ch. 2.4 Ch. 2.5 Simplification using K-map

Digital Logic Lecture 7 Gate Level Minimization

CS8803: Advanced Digital Design for Embedded Hardware

Specifying logic functions

QUESTION BANK FOR TEST

Bawar Abid Abdalla. Assistant Lecturer Software Engineering Department Koya University

1. Mark the correct statement(s)

Module -7. Karnaugh Maps

Experiment 4 Boolean Functions Implementation

Points Addressed in this Lecture. Standard form of Boolean Expressions. Lecture 4: Logic Simplication & Karnaugh Map


Date Performed: Marks Obtained: /10. Group Members (ID):. Experiment # 04. Boolean Expression Simplification and Implementation

Combinational Circuits Digital Logic (Materials taken primarily from:

Assignment (3-6) Boolean Algebra and Logic Simplification - General Questions

Incompletely Specified Functions with Don t Cares 2-Level Transformation Review Boolean Cube Karnaugh-Map Representation and Methods Examples

Standard Forms of Expression. Minterms and Maxterms

Code No: 07A3EC03 Set No. 1

CHAPTER-2 STRUCTURE OF BOOLEAN FUNCTION USING GATES, K-Map and Quine-McCluskey

Philadelphia University Faculty of Information Technology Department of Computer Science. Computer Logic Design. By Dareen Hamoudeh.

Combinational Logic Circuits Part III -Theoretical Foundations

Digital logic fundamentals. Question Bank. Unit I

Chapter 2 Combinational

Summary. Boolean Addition

Chapter 2 Combinational Logic Circuits

Experiment 3: Logic Simplification

10EC33: DIGITAL ELECTRONICS QUESTION BANK

ENGIN 112 Intro to Electrical and Computer Engineering

ENGIN 112. Intro to Electrical and Computer Engineering

Gate-Level Minimization. BME208 Logic Circuits Yalçın İŞLER

Gate Level Minimization Map Method

Karnaugh Maps. Kiril Solovey. Tel-Aviv University, Israel. April 8, Kiril Solovey (TAU) Karnaugh Maps April 8, / 22

Chapter 3 Simplification of Boolean functions

Outcomes. Unit 9. Logic Function Synthesis KARNAUGH MAPS. Implementing Combinational Functions with Karnaugh Maps

SUBJECT CODE: IT T35 DIGITAL SYSTEM DESIGN YEAR / SEM : 2 / 3

Chapter 6. Logic Design Optimization Chapter 6

To write Boolean functions in their standard Min and Max terms format. To simplify Boolean expressions using Karnaugh Map.

Midterm Exam Review. CS 2420 :: Fall 2016 Molly O'Neil

LSN 4 Boolean Algebra & Logic Simplification. ECT 224 Digital Computer Fundamentals. Department of Engineering Technology

Unit-IV Boolean Algebra

2.6 BOOLEAN FUNCTIONS

S1 Teknik Telekomunikasi Fakultas Teknik Elektro FEH2H3 2016/2017

2008 The McGraw-Hill Companies, Inc. All rights reserved.

Combinational Logic Circuits

Final Examination (Open Katz, asynchronous & test notes only, Calculators OK, 3 hours)

Review. EECS Components and Design Techniques for Digital Systems. Lec 05 Boolean Logic 9/4-04. Seq. Circuit Behavior. Outline.

COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING QUESTION BANK SUBJECT CODE & NAME: EC 1312 DIGITAL LOGIC CIRCUITS UNIT I

COPYRIGHTED MATERIAL INDEX


SEE1223: Digital Electronics

UNIT-4 BOOLEAN LOGIC. NOT Operator Operates on single variable. It gives the complement value of variable.

Chap-2 Boolean Algebra

Announcements. Chapter 2 - Part 1 1

Chapter 4. Combinational Logic

L3: Representations of functions

Boolean Analysis of Logic Circuits

Contents. Chapter 3 Combinational Circuits Page 1 of 34

COMBINATIONAL LOGIC CIRCUITS

Menu. Algebraic Simplification - Boolean Algebra EEL3701 EEL3701. MSOP, MPOS, Simplification

Boolean Reasoning. The Logic of Boolean Equations. Frank Markham Brown Air Force Institute of Technology

CS470: Computer Architecture. AMD Quad Core

Optimized Implementation of Logic Functions

BOOLEAN ALGEBRA. Logic circuit: 1. From logic circuit to Boolean expression. Derive the Boolean expression for the following circuits.

Review: Standard forms of expressions

Simplification of Boolean Functions

Lecture (05) Boolean Algebra and Logic Gates

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District UNIT-II COMBINATIONAL CIRCUITS

Combinational Logic & Circuits

Switching Circuits & Logic Design

DIGITAL CIRCUIT LOGIC UNIT 5: KARNAUGH MAPS (K-MAPS)

UNIT I BOOLEAN ALGEBRA AND COMBINATIONAL CIRCUITS PART-A (2 MARKS)

Homework. Update on website issue Reading: Chapter 7 Homework: All exercises at end of Chapter 7 Due 9/26

Digital Logic Design (CEN-120) (3+1)

EECS 270 Midterm Exam

UNIT II. Circuit minimization

A B AB CD Objectives:

IT 201 Digital System Design Module II Notes

VALLIAMMAI ENGINEERING COLLEGE. SRM Nagar, Kattankulathur DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING EC6302 DIGITAL ELECTRONICS

Lecture 22: Implementing Combinational Logic

ECE380 Digital Logic

Lecture Summary Module 2 Combinational Logic Circuits

Computer Organization

Department of Electrical Engineering McGill University ECSE 221 Introduction to Computer Engineering Assignment 2 Combinational Logic

1. What is y-chart? ans: The y- chart consists of three domains:- behavioral, structural and geometrical.

Slide Set 5. for ENEL 353 Fall Steve Norman, PhD, PEng. Electrical & Computer Engineering Schulich School of Engineering University of Calgary

EECS150, Fall 2004, Midterm 1, Prof. Culler. Problem 1 (15 points) 1.a. Circle the gate-level circuits that DO NOT implement a Boolean AND function.

Code No: R Set No. 1

Reference Sheet for C112 Hardware

Simplification of Boolean Functions

Chapter 2 Combinational Logic Circuits

ADAPTIVE MAP FOR SIMPLIFYING BOOLEAN EXPRESSIONS

VLSI System Design Part II : Logic Synthesis (1) Oct Feb.2007

Definitions. 03 Logic networks Boolean algebra. Boolean set: B 0,

University of Technology

MODULE 5 - COMBINATIONAL LOGIC

Digital Circuits ECS 371

Boolean Logic CS.352.F12

Transcription:

Silesian University of Technology as Centre of Modern Education Based on Research and Innovations POWR.03.05.00-IP.08-00-PZ1/17 Project co-financed by the European Union under the European Social Fund Course title: Digital Circuits Theory (DCT) Faculty of Automatic Control, Electronics and Computer Science, Institute of Informatics Field of study: Informatics Stationary first degree studies

Functions for auxiliary input combinational circuit Comparison of functions depending on the variables selected as root (base) Functions for input combinational circuit when the variables driving MUX are Functions for input combinational circuit when the variables driving MUX are 45

Functions for auxiliary input combinational circuit Matrix method allows to obtain functions for inputs addressed by any selected variables (selection does not have to be optimal) Selection of variables regardless of numbers of don t care conditions 46

Functions for auxiliary input combinational circuit Matrix method expansion of rows with don t care conditions For all don t care conditions on selected variables we repeat the row in the matrix, substituting don t cares with all possible combinations of values of variables 47

Functions for auxiliary input combinational circuit Matrix method ordering and reduction of rows leading to don t care conditions Ordering and grouping Covering Reduction of rows 48

Functions for auxiliary input combinational circuit Matrix method resulting functions The same as previously obtained by algebraic transformations 49

Properties of commutators Commutators and hazards Definitions and structures by canonical forms MUX DDMUX All minterms (or maxterms) implemented independently Consequences for all transitions between logically adjacent states there are static hazards 50

Implementations with Demultiplexers Multi-output functions enabled by added gates Example: Translator from Gray code into natural binary code on 4 bits Logic diagram Definitions of functions corresponding to this implementation Z 3 =x 3 Z 2 =Σ(4,5,6,7,8,9,10,11)x 3 x 2 x 1 x 0 Z 1 =Σ(2,3,4,5,8,9,14,15)x 3 x 2 x 1 x 0 Z 0 =Σ(1,2,4,7,8,11,13,14)x 3 x 2 x 1 x 0 51

Implementations with Demultiplexers Choice of the implemented form of a function For balanced functions can be dictated by available gates For imbalanced functions this form is chosen that requires smaller gate (with fewer inputs) Example Function to implement yz x 00 01 11 10 0 0 0 1 0 Fewer zeros than ones, so PoS form is selected over SoP form Logic diagram Definition corresponding to this implementation F=Π(0,3,7)xyz 52

Implementations with Demultiplexers Implementation of incompletely specified functions Once the circuit is constructed, it is not possible to recognise combinations for which the output is specified from those unspecified Example Function to implement yz x 00 01 11 10 0 1 1 1-1 Logic diagram Fewer ones than zeros, so SoP form is selected over PoS form Definition of the function corresponding to this implementation F=Σ(0,3,6)xyz 53

Implementations with Multiplexers Each MUX can implemented only one function Example: Translator from Gray code into natural binary code on 4 bits Logic diagram Definitions of functions corresponding to this implementation Z 3 =x 3 Z 2 =Σ(1,2)Z 3 x 2 Z 1 =Σ(1,2)Z 2 x 1 Z 0 =Σ(1,2)Z 1 x 0 54

Implementations with Multiplexers Implementation of incompletely specified functions Information inputs corresponding to combinations for which the output is unspecified can be left unconnected (then the answer depends on implementation technology) Example Function to implement yz x 00 01 11 10 0 1 1 1-1 Logic diagram Definition of the function corresponding to this implementation F=Σ(0,3,6(5))xyz 55

Specific implementations Example yz wx 00 01 11 10 00 1 01 1 11 1 Function to implement is of 4 variables, so in regular implementation would require 16-bit commutators, and then the definition would be given as F=Σ(1,4,8,13)wxyz 10 1 On the other hand, we can decompose the function = ++ + + + + ++ = =,, =,, =+(,,) G=Σ(1,2,4,7)wxz 56

Specific implementations Example (cont.) Decomposed function =+(,,) G=Σ(1,2,4,7)wxz Logic diagrams With addition of gates, 8-bit commutators are sufficient for implementation of the function 57

LECTURE10 58

Iterative circuits Problems to be solved by building structures that consist of repetitively, iterativelyused blocks In the structure there can be distinguished some number of identical sub-circuits, cells The number of inputs (cells) is either unspecified, or likely to change Design of an iterative or cascade circuit Cascade can work in one direction or in both 59

General structure of a single direction iterative circuit 60

A typical cell of an iterative circuit The specific number of variables used to carry messages between cells depends on the number of these messages A typical cell that is designed, works as a general template, adapted to requirements of each cell in a cascade. Boundary cells are often degenerate. 61

Standard design procedure 1. Identify inputs and outputs of a typical cell 2. Define clearly messages to be passed between cells (by carry) 3. Define symbolic maps for outputs from the typical cell 4. Encode listed messages with sufficient number of binary variables 5. Obtain binary maps for outputs from the typical cell 6. Set boundary conditions in their symbolic and binary forms 7. Obtain appropriate implementation-dependent forms for switching functions describing the typical cell 8. Implement the typical cell (or boundary cells, or the complete circuit) 62

Example Design a circuit which on the output Y sets 1 when on its four inputs there is a single 1 or two 1 s Standard processing for a combinational circuit 1. Construct a truth table since a circuit is relatively simple we can directly construct Karnaugh map 63

Example 2. Find such form of description that corresponds to intended implementation for implementation with gates we need minimal either SoP or PoS form If we need to change the number of inputs to the circuits, we start designing all over again! 64

Approach of iterative circuits Re-formulate circuit description Design a circuit which on the output Y i sets 1 when on inputs from 0 to i there is a single 1 or two 1 s Start designing an iterative circuit 1. A typical cell For this specific circuit, if constructed in the complete structure, there is needed only one output, from the last cell 65

Approach of iterative circuits 2. Definition of messages passed with carry on inputs there are no 1 s on inputs there is one 1 on inputs there are two 1 s on inputs there are more than two 1 s The number of messages is problem-dependent. We need as many as are necessary and sufficient to pass on relevant information. They need to exhaust all logically possible situations, and always only one choice of message is possible basing on current circuit knowledge. Messages are based on knowledge about preceding cells, and references to inputs of i-th cell would be wrong. 66

Approach of iterative circuits 3. Symbolic maps for output and carry 4. Encoding of symbolic messages Can be natural binary, by Gray code, or more optimisation-oriented. In this example, natural binary encoding is applied. 67

Approach of iterative circuits 5. Binary Karnaugh maps for output and carry 6. Boundary conditions 68

Approach of iterative circuits 7. Expressions for output and carry The form of obtained equations reminds recursive procedures or functions in programming. Without boundary conditions (or with wrong conditions) the whole circuit cannot work correctly. 69

Approach of iterative circuits 8. Implementation For Cell 0 we have: Inputs: Outputs: For Cell 1 we have: Inputs: Outputs: For Cell 2 we have: Inputs: Outputs: For Cell 3 we have: Inputs: Outputs: If we perform calculations for all cells, substituting correct inputs, transforming accordingly with laws of Boolean algebra, as a result the final formula for the output from the circuit corresponds to the one obtained before, for the circuit designed as a regular combinational circuit 70