Signals and Systems Digital Logic System

Similar documents
Lecture 5: NAND, NOR and XOR Gates, Simplification of Algebraic Expressions

Z = F(X) Combinational circuit. A combinational circuit can be specified either by a truth table. Truth Table

Lecture 6: Manipulation of Algebraic Functions, Boolean Algebra, Karnaugh Maps

II. COMBINATIONAL LOGIC DESIGN. - algebra defined on a set of 2 elements, {0, 1}, with binary operators multiply (AND), add (OR), and invert (NOT):

Unit 2 Session - 6 Combinational Logic Circuits

MC9211 Computer Organization

E&CE 223 Digital Circuits & Systems. Lecture Transparencies (Boolean Algebra & Logic Gates) M. Sachdev

CHAPTER 3 BOOLEAN ALGEBRA

Boolean Algebra & Logic Gates. By : Ali Mustafa

Number System conversions

Chapter 2: Princess Sumaya Univ. Computer Engineering Dept.

Chapter 2 Combinational Logic Circuits

Chapter 2: Switching Algebra and Logic Circuits

Lecture 6: Gate Level Minimization Syed M. Mahmud, Ph.D ECE Department Wayne State University

Chapter 2 Combinational Logic Circuits

Chapter 2 Boolean Algebra and Logic Gates

This form sometimes used in logic circuit, example:

CHAPTER 2 BOOLEAN ALGEBRA

EECS150 - Digital Design Lecture 19 - Combinational Logic Circuits : A Deep Dive

Lecture 2 Review on Digital Logic (Part 1)

E&CE 223 Digital Circuits & Systems. Lecture Transparencies (Boolean Algebra & Logic Gates) M. Sachdev. Section 2: Boolean Algebra & Logic Gates

Chap 2. Combinational Logic Circuits

CHAPTER III BOOLEAN ALGEBRA

211: Computer Architecture Summer 2016

Unit 2 Boolean Algebra

BOOLEAN ALGEBRA TRUTH TABLE

ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 2 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering

Karnaugh Map & Boolean Expression Simplification

Chapter 2 : Boolean Algebra and Logic Gates

CHAPTER III BOOLEAN ALGEBRA

Logic Design. Chapter 2: Introduction to Logic Circuits

ENG2410 Digital Design Combinational Logic Circuits

EXPERIMENT #4: SIMPLIFICATION OF BOOLEAN FUNCTIONS

Contents. Chapter 3 Combinational Circuits Page 1 of 36

Chapter 2: Boolean Algebra and Logic Gates

CS 121 Digital Logic Design. Chapter 2. Teacher Assistant. Hanin Abdulrahman

Standard Expression Forms

UNIT 5 KARNAUGH MAPS Spring 2011

ECE 238L Boolean Algebra - Part I

Unit 2 Boolean Algebra

Digital Circuit And Logic Design I. Lecture 3

Combinational Logic. Review of Combinational Logic 1

Functions. Computers take inputs and produce outputs, just like functions in math! Mathematical functions can be expressed in two ways:

Chapter 2 Boolean Algebra and Logic Gates

Circuits & Boolean algebra.

Midterm Examination # 1 Wednesday, February 25, Duration of examination: 75 minutes

Minimization techniques

UNIT 4 MINTERM AND MAXTERM EXPANSIONS

ELC224C. Karnaugh Maps

DIGITAL CIRCUIT LOGIC BOOLEAN ALGEBRA

Gate-Level Minimization

Chapter 2 Combinational Logic Circuits

CS61c: Representations of Combinational Logic Circuits

DIGITAL CIRCUIT LOGIC BOOLEAN ALGEBRA (CONT.)

Combinatorial Logic Design Principles

CHAPTER1: Digital Logic Circuits Combination Circuits

CHAPTER * 2-2.* Pearson Education Limited Problem Solutions, Global Edition Chapter 2. Verification of DeMorgan s Theorem

Combinational Logic Design Principles

Boolean Algebra. Boolean Variables, Functions. NOT operation. AND operation. AND operation (cont). OR operation

Combinational Logic Fundamentals

Karnaugh Maps Objectives

Ex: Boolean expression for majority function F = A'BC + AB'C + ABC ' + ABC.

EECS150 - Digital Design Lecture 4 - Boolean Algebra I (Representations of Combinational Logic Circuits)

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

Experiment 7: Magnitude comparators

Boolean algebra. Examples of these individual laws of Boolean, rules and theorems for Boolean algebra are given in the following table.

Chapter 4: Combinational Logic Solutions to Problems: [1, 5, 9, 12, 19, 23, 30, 33]

Outline. EECS150 - Digital Design Lecture 4 - Boolean Algebra I (Representations of Combinational Logic Circuits) Combinational Logic (CL) Defined

Lecture 7: Karnaugh Map, Don t Cares

control in out in out Figure 1. Binary switch: (a) opened or off; (b) closed or on.

Digital Logic Design. Combinational Logic

Computer Organization I. Lecture 13: Design of Combinational Logic Circuits

LOGIC GATES. Basic Experiment and Design of Electronics. Ho Kyung Kim, Ph.D.

Chapter 2 Boolean Algebra and Logic Gates

Chapter 7 Logic Circuits

CSE 140L Spring 2010 Lab 1 Assignment Due beginning of the class on 14 th April

Chapter 2. Boolean Algebra and Logic Gates

Part 1: Digital Logic and Gates. Analog vs. Digital waveforms. The digital advantage. In real life...

CHAPTER 7. Exercises 17/ / /2 2 0

Binary Logic and Gates. Our objective is to learn how to design digital circuits.

1. Expand each of the following functions into a canonical sum-of-products expression.

Why digital? Overview. Number Systems. Binary to Decimal conversion

UNIT 3 BOOLEAN ALGEBRA (CONT D)

CPE100: Digital Logic Design I

EE 110 Practice Problems for Exam 1: Solutions, Fall 2008

Optimizations and Tradeoffs. Combinational Logic Optimization

Boolean Algebra and Logic Gates

Digital Logic (2) Boolean Algebra

Number System. Decimal to binary Binary to Decimal Binary to octal Binary to hexadecimal Hexadecimal to binary Octal to binary

EEE130 Digital Electronics I Lecture #4

UNIVERSITI TENAGA NASIONAL. College of Information Technology

EC-121 Digital Logic Design

ELCT201: DIGITAL LOGIC DESIGN

Every time has a value associated with it, not just some times. A variable can take on any value within a range

Chapter 2 Boolean Algebra and Logic Gates

XOR - XNOR Gates. The graphic symbol and truth table of XOR gate is shown in the figure.

Boolean Algebra and Logic Simplification

2009 Spring CS211 Digital Systems & Lab CHAPTER 2: INTRODUCTION TO LOGIC CIRCUITS

DIGITAL ELECTRONICS & it0203 Semester 3

Transcription:

Signals and Systems Digital Logic System Prof. Wonhee Kim Chapter 2

Design Process for Combinational Systems Step 1: Represent each of the inputs and outputs in binary Step 1.5: If necessary, break the problem into smaller subproblems Step 2: Formalize the design specification either in the form of a truth table or of an algebraic expression Step 3: Simplify the description Step 4: Implement the system with the available components Digital input System Digital output 2

Design Process for Combinational Systems 1: High, High voltage, True 0: Low, Low voltage, False X: Don t care It does not matter what output is when a and b are inputted ex) It does not matter what output is when a =1 and b = 1 3

Design Process for Combinational Systems CE1) A system with four inputs, A, B, C, and D, and one output, Z, such that Z=1 iff three of the input are 1. Input A Input B Input C Input D System Output Z 4

Design Process for Combinational Systems CE1) A system with four inputs, A, B, C, and D, and one output, Z, such that Z=1 iff three of the input are 1. Concern: Only three ones? 5

Design Process for Combinational Systems CE2) A single light (that can be on or off) that can be controlled by any one of three switches. One switch is the master on/off switch. If it is down, the light is off. When the master switch is up, a change in the position of one of the other switches (from up to down or from down to up) will cause the light to change state. Input A (Master) Input B Input C System Output Z 6

Design Process for Combinational Systems CE2) A single light (that can be on or off) that can be controlled by any one of three switches. One switch is the master on/off switch. If it is down, the light is off. When the master switch is up, a change in the position of one of the other switches (from up to down or from down to up) will cause the light to change state. 7

Design Process for Combinational Systems CE3) A system to do 1 bit of binary addition. It has three inputs (the 2 bits to be added plus the carry from the next lower order bit) and produces two outputs: a sum bit and a carry to the next higher order position. a b c in System c out s 8

Design Process for Combinational Systems CE3) A system to do 1 bit of binary addition. It has three inputs (the 2 bits to be added plus the carry from the next lower order bit) and produces two outputs: a sum bit and a carry to the next higher order position. 9

Design Process for Combinational Systems CE4) A display driver; a system that has as its input the code for a decimal digit and produces as its output the signals to drive a seven-segment display, such as those on most digital watches and numeric displays. 10

Design Process for Combinational Systems CE4) A display driver; a system that has as its input the code for a decimal digit and produces as its output the signals to drive a seven-segment display, such as those on most digital watches and numeric displays. 11

Design Process for Combinational Systems CE5) A system with nine inputs, representing two 4-bit binary numbers and a carry input, and one 5-bit output, representing the sum. (Each input number can range from 0 to 15; the output can range from 0 to 31.) 12

Switching Algebra Boolean Algebra: Use 0 (false) or 1 (true). Switching circuit: Use 0 (false) or 1 (true). High or low voltage Digital input Two valued switching circuits Digital output 1) OR (written as +) a + b (read a OR b) is 1 if and only if a = 1 or b = 1 or both 2) AND (written as or simply two variables catenated) a b = ab (read a AND b) is 1 if and only if a = 1 and b = 1 3) NOT (written ') a' (read NOT a) is 1 if and only if a = 0 13

Switching Algebra 14

Switching Algebra Example if A=B=C=1 and D=E=0, then 15

Switching Algebra True table example 16

Switching Algebra AND gate used in industries AND gate 17

Basic Properties of Switching Algebra 18

Basic Properties of Switching Algebra 19

Basic Properties of Switching Algebra 20

Manipulation of Algebraic Functions Literal Appearance of a variable or its complement Determining the complexity of an expression Ex) a, b' Ex) ab' + bc'd + a'd + e': 8 literals Product term One or more literals connected by AND operators Single literal is a product term Ex) ab', bc'd, a'd, e' Ex) ab' + bc'd + a'd + e': 4 product terms Standard product term (Miniterm) Product term that includes each variable of the problem Ex) For w,x,y, and z, w'xyz'and wxyz are standard product terms, but wy'z is not. 21

Manipulation of Algebraic Functions Sum of products expression (SOP) One or more product terms connected by OR operators Ex) ab' + bc'd + a'd + e' Canonical sum (Sum of standard product terms) Just a sum of products expression where all of the terms are standard product terms Ex) w'xyz' + wx'y'z' + wx'yz + wxyz (O) x + w'y + wxy'z (X) x' + y + z (X) Minimum sum of products expression One of those SOP expressions for a function that has the fewest number of product terms. 22

Manipulation of Algebraic Functions Minima 23

Manipulation of Algebraic Functions Not minima! 24

Manipulation of Algebraic Functions Sum term One or more literals connected by OR operators Ex) a + b, a' + b Standard sum term (Maxterm) Sum term that includes each variable of the problem Ex) For w,x,y, and z, w' + x + y + z' Product of sums expression (POS) One or more sum terms connected by AND operators Ex) (w + x)(w + y) 2 terms w(x + y) 2 terms w 1 term Canonical product, or product of standard sum terms Just a POS expression in which all of the terms are standard sum terms Minimum product of sums expression 25

Manipulation of Algebraic Functions Example) SOP POS Both x ' y + xy ' + xyz (x + y ')(x ' + y)(x + z ) x ' + y + z or xyz' Neither x(w' + yz) or z' + wx'y + v (xz + w ) 26

Implementation of Functions with AND, OR, AND NOT Gates f = xyz + xyz + xyz+ xyz+ xyz 27 two-level circuit

Implementation of Functions with AND, OR, AND NOT Gates Minima (SOP): f = xy+ xy + x z three-level circuit 28

Implementation of Functions with AND, OR, AND NOT Gates POS: f = (x + y)(x + y+ z) 29

Implementation of Functions with AND, OR, AND NOT Gates h = z+ wxy + v(xz + w) 30

Implementation of Functions with AND, OR, AND NOT Gates f = xy + xy + x z f = xy + x(y + z) 31

Implementation of Functions with AND, OR, AND NOT Gates IC used in industries 7404: 6(hex) NOT gates 7408: 4(quadruple) 2-input AND 게이트 7411: 3(triple) 3-input AND 게이트 7421: 2(dual) 4-input AND 게이트 7432: 4(quadruple) 2-input OR 게이트 32

Implementation of Functions with AND, OR, AND NOT Gates 33

Implementation of Functions with AND, OR, AND NOT Gates 34

Implementation of Functions with AND, OR, AND NOT Gates 35

From the Truth Table to Algebraic Expression f = ab + ab + ab = a+ab = a+b 36

From the Truth Table to Algebraic Expression 37

From the Truth Table to Algebraic Expression 38

From the Truth Table to Algebraic Expression 39

From the Truth Table to Algebraic Expression 40

From the Truth Table to Algebraic Expression CE1) A system with four inputs, A, B, C, and D, and one output, Z, such that Z=1 iff three of the input are 1. 41

From the Truth Table to Algebraic Expression CE2) A single light (that can be on or off) that can be controlled by any one of three switches. One switch is the master on/off switch. If it is down, the light is off. When the master switch is up, a change in the position of one of the other switches (from up to down or from down to up) will cause the light to change state. 42

From the Truth Table to Algebraic Expression CE3) A system to do 1 bit of binary addition. It has three inputs (the 2 bits to be added plus the carry from the next lower order bit) and produces two outputs: a sum bit and a carry to the next higher order position. 43

From the Truth Table to Algebraic Expression 44

From the Truth Table to Algebraic Expression 45

NAND, NOR, AND Exclusive-OR Gates 46

NAND, NOR, AND Exclusive-OR Gates 47

NAND, NOR, AND Exclusive-OR Gates The most important reason is that with either NAND or NOR, only one type of gate is required. These operators are said to be functionally complete. 48

NAND, NOR, AND Exclusive-OR Gates 49

NAND, NOR, AND Exclusive-OR Gates 50

NAND, NOR, AND Exclusive-OR Gates 51

NAND, NOR, AND Exclusive-OR Gates 52

NAND, NOR, AND Exclusive-OR Gates 53

NAND, NOR, AND Exclusive-OR Gates 54

Simplification of Algebraic Expression 55

Simplification of Algebraic Expression 56

Simplification of Algebraic Expression 57

Simplification of Algebraic Expression 58

Simplification of Algebraic Expression 59

Simplification of Algebraic Expression 60

Simplification of Algebraic Expression 61

Simplification of Algebraic Expression 62

Manipulation of Algebraic Functions and NAND Gate implementation 63

Manipulation of Algebraic Functions and NAND Gate implementation 64

Manipulation of Algebraic Functions and NAND Gate implementation POS SOP 65

Manipulation of Algebraic Functions and NAND Gate implementation POS SOP 66

Manipulation of Algebraic Functions and NAND Gate implementation 67

Manipulation of Algebraic Functions and NAND Gate implementation 68

Manipulation of Algebraic Functions and NAND Gate implementation 69