Combinational Circuits Digital Logic (Materials taken primarily from:

Similar documents
DKT 122/3 DIGITAL SYSTEM 1

Chapter 2. Boolean Expressions:

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

Experiment 4 Boolean Functions Implementation

Experiment 3: Logic Simplification

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

Simplification of Boolean Functions

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

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

Combinational Logic Circuits

Module -7. Karnaugh Maps

ENGIN 112 Intro to Electrical and Computer Engineering

Summary. Boolean Addition

ELCT201: DIGITAL LOGIC DESIGN

Specifying logic functions

ELCT201: DIGITAL LOGIC DESIGN

Gate Level Minimization Map Method

1. Mark the correct statement(s)

QUESTION BANK FOR TEST

SYNERGY INSTITUTE OF ENGINEERING & TECHNOLOGY,DHENKANAL LECTURE NOTES ON DIGITAL ELECTRONICS CIRCUIT(SUBJECT CODE:PCEC4202)

Bawar Abid Abdalla. Assistant Lecturer Software Engineering Department Koya University

Chapter 3. Gate-Level Minimization. Outlines

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

Chapter 2 Combinational

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

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

Combinational Circuits

6. Combinational Circuits. Building Blocks. Digital Circuits. Wires. Q. What is a digital system? A. Digital: signals are 0 or 1.

Simplification of Boolean Functions

Propositional Calculus. Math Foundations of Computer Science

Combinational Logic & Circuits

CS470: Computer Architecture. AMD Quad Core

IT 201 Digital System Design Module II Notes

Unit-IV Boolean Algebra

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

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

6: Combinational Circuits

6.1 Combinational Circuits. George Boole ( ) Claude Shannon ( )

Boolean logic. Boolean Algebra. Introduction to Computer Yung-Yu Chuang NOT AND NOT

Chapter 2 Combinational Logic Circuits

Ch. 5 : Boolean Algebra &

4 KARNAUGH MAP MINIMIZATION

A B AB CD Objectives:

6.1 Combinational Circuits. George Boole ( ) Claude Shannon ( )

A graphical method of simplifying logic

Logic Gates and Boolean Algebra ENT263

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

CprE 281: Digital Logic

Digital Logic Lecture 7 Gate Level Minimization

Lecture 10: Combinational Circuits

Gate-Level Minimization

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

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

2.6 BOOLEAN FUNCTIONS

Gate Level Minimization

Computer Science. Unit-4: Introduction to Boolean Algebra

Combinational Logic Circuits

Bawar Abid Abdalla. Assistant Lecturer Software Engineering Department Koya University

CS8803: Advanced Digital Design for Embedded Hardware

9/10/2016. The Dual Form Swaps 0/1 and AND/OR. ECE 120: Introduction to Computing. Every Boolean Expression Has a Dual Form

Circuit analysis summary

Gate-Level Minimization

Austin Herring Recitation 002 ECE 200 Project December 4, 2013

Gate-Level Minimization

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

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

Starting Boolean Algebra

Code No: 07A3EC03 Set No. 1

B.Tech II Year I Semester (R13) Regular Examinations December 2014 DIGITAL LOGIC DESIGN

Section 001. Read this before starting!

EECS150 Homework 2 Solutions Fall ) CLD2 problem 2.2. Page 1 of 15

CMPE223/CMSE222 Digital Logic

(Refer Slide Time 6:48)

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

ENGIN 112. Intro to Electrical and Computer Engineering

Switching Circuits & Logic Design

Combinational Devices and Boolean Algebra

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

211: Computer Architecture Summer 2016

X Y Z F=X+Y+Z

ECE380 Digital Logic

Digital Techniques. Lecture 1. 1 st Class

EEE130 Digital Electronics I Lecture #4_1

Chapter 6. Logic Design Optimization Chapter 6

Review: Standard forms of expressions

4. Write a sum-of-products representation of the following circuit. Y = (A + B + C) (A + B + C)

Introduction to Microprocessors and Digital Logic (ME262) Boolean Algebra and Logic Equations. Spring 2011

(Refer Slide Time 3:31)

Chapter 3. Boolean Algebra and Digital Logic

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

Boolean Analysis of Logic Circuits

Recitation Session 6

Propositional Calculus: Boolean Algebra and Simplification. CS 270: Mathematical Foundations of Computer Science Jeremy Johnson

Synthesis of combinational logic

Combinational Logic Circuits Part III -Theoretical Foundations

Chapter 3 Simplification of Boolean functions

University of Technology

Chapter 2 Boolean algebra and Logic Gates

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

Gate-Level Minimization. section instructor: Ufuk Çelikcan

Transcription:

Combinational Circuits Digital Logic (Materials taken primarily from: http://www.facstaff.bucknell.edu/mastascu/elessonshtml/eeindex.html http://www.cs.princeton.edu/~cos126 )

Digital Systems What is a digital system? Digital: signals are 0 or I Analog: signals vary continuously Why digital systems? Accuracy and reliability Fast and cheap Basic abstractions. On, off Switch that con turn something on or off Characteristics The signals can and usually will change with time Digital circuits you know Computer microprocessors Cell phones Thermostat Anti-lock brakes All digital systems are binary but not all binary systems are digital!

Signals A digital signal takes on values of 0 (FALSE, OFF) or 1 (TRUE, ON). That signal might be a voltage, a switch closure, etc. We think in terms of zeros and ones, not in terms of the values of the voltage---logic Values Wires propagate these logic values Signals flow from right to left

Operations on Signals Assume 2 signals are input to a circuit that has 1 output signal The output, C, depends upon the inputs, A and B It s a function of A & B A signal can be viewed as the truth value of a logic proposition. A & B could each be either TRUE (a logical 1) or FALSE (a logical 0) C value depends on the values of A and B Example: C is TRUE only when A is TRUE and B is TRUE. We can construct a truth table describing this relationship. All possible combinations of A & B and the corresponding values of C

Truth Tables

Logic Gates

Multi-way Gates One row for each possible input combination N inputs => 2 N rows

Boolean Algebra An algebra in which the variables can take only one of two values. Any Boolean function can be expressed using AND, OR, NOT "Universal" E.g., XOR(x,y) = ~x & y x & ~y Notation: AND: &, xy, OR: +, NOT: ~, x,

Sum Of Products Any Boolean function can be expressed using AND, OR, NOT. Sum-of-products is systematic procedure. form AND term for each 1 in truth table of Boolean function OR terms together

Expressing any Boolean Function Using Ingredients. AND gates. OR gates. NOT gates. Wire. AND, OR and NOT Instructions. Step 1: represent input and output signals with Boolean variables. Step 2: construct truth table to carry out computation. Step 3: derive (simplified) Boolean expression using sumof products. Step 4: transform Boolean expression into circuit.

Translate Boolean Formula to Boolean Circuits Majority: Y = ~ABC + A~BC + AB~C + ABC

Axioms

Translate Boolean Formula to Boolean Circuits

DeMorgan s Theorem A + B = A B and A B = A + B

DeMorgan s Law

Translate Boolean Formula to Boolean Circuits (NAND-NAND form)

Many representations for Each Function Many possible circuits for each Boolean function. Sum-of-products not necessarily optimal in: number of gates (space) depth of circuit (time) Majority Y = A BC + AB C + ABC' + ABC = AB + BC + AC

Simplifying Boolean Expressions A Karnaugh map is a method of grouping together expressions with common factors used to eliminate unwanted variables one square in the map for every row in the truth table any two adjacent cells differ by a change in one variable each single cell with a 1 represents a minterm in the function

Karnaugh Maps Examine the map: The term on the left in the gray area of the map corresponds to: A~BC The term on the right in the gray area of the map corresponds to: ABC These two terms can be combined to give AC When only one variable changes, you can eliminate that variable!

Simplifying Boolean Expressions Using Karnaugh Maps Given a Boolean function described by a truth table or logic function Draw the Karnaugh Map for the function. Use the information in the Karnaugh Map to determine the smallest sum-of-products function crossing a vertical or horizontal cell boundary is a change of only one variable each single cell that contains a 1 represents a minterm in the function to combine variables, use groups of 2, 4, 8, etc. never use a group of 3, a group of 5, etc. f(a,b,c) = A B + B C + A C