CDA 3200 Digital Systems. Instructor: Dr. Janusz Zalewski Developed by: Dr. Dahai Guo Spring 2012



Similar documents
Karnaugh Maps & Combinational Logic Design. ECE 152A Winter 2012

Boolean Algebra Part 1

DESIGN OF GATE NETWORKS

Chapter 2: Boolean Algebra and Logic Gates. Boolean Algebra

BOOLEAN ALGEBRA & LOGIC GATES

United States Naval Academy Electrical and Computer Engineering Department. EC262 Exam 1

CSE140: Midterm 1 Solution and Rubric

CSEE 3827: Fundamentals of Computer Systems. Standard Forms and Simplification with Karnaugh Maps

Two-level logic using NAND gates

CDA 3200 Digital Systems. Instructor: Dr. Janusz Zalewski Developed by: Dr. Dahai Guo Spring 2012

NAND and NOR Implementation

1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1.

CSE140: Components and Design Techniques for Digital Systems

Boolean Algebra (cont d) UNIT 3 BOOLEAN ALGEBRA (CONT D) Guidelines for Multiplying Out and Factoring. Objectives. Iris Hui-Ru Jiang Spring 2010

Karnaugh Maps. Circuit-wise, this leads to a minimal two-level implementation

Introduction. The Quine-McCluskey Method Handout 5 January 21, CSEE E6861y Prof. Steven Nowick

exclusive-or and Binary Adder R eouven Elbaz reouven@uwaterloo.ca Office room: DC3576

Lecture 5: Gate Logic Logic Optimization

Digital Logic Design. Basics Combinational Circuits Sequential Circuits. Pu-Jen Cheng

ENGI 241 Experiment 5 Basic Logic Gates

Elementary Logic Gates

CH3 Boolean Algebra (cont d)

2.0 Chapter Overview. 2.1 Boolean Algebra

Online EFFECTIVE AS OF JANUARY 2013

CHAPTER 3 Boolean Algebra and Digital Logic

Gates, Circuits, and Boolean Algebra

EE360: Digital Design I Course Syllabus

Simplifying Logic Circuits with Karnaugh Maps

SEQUENTIAL CIRCUITS. Block diagram. Flip Flop. S-R Flip Flop. Block Diagram. Circuit Diagram

Logic Reference Guide

Basic Logic Gates Richard E. Haskell

Lecture 8: Synchronous Digital Systems

RUTGERS UNIVERSITY Department of Electrical and Computer Engineering 14:332:233 DIGITAL LOGIC DESIGN LABORATORY

Digital circuits make up all computers and computer systems. The operation of digital circuits is based on

Unit 3 Boolean Algebra (Continued)

Logic in Computer Science: Logic Gates

CSE140 Homework #7 - Solution

Combinational Logic Design

CDA 3200 Digital Systems. Instructor: Dr. Janusz Zalewski Developed by: Dr. Dahai Guo Spring 2012

ELEC EXPERIMENT 1 Basic Digital Logic Circuits

Chapter 7 Memory and Programmable Logic

DIGITAL TECHNICS II. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute

Testing & Verification of Digital Circuits ECE/CS 5745/6745. Hardware Verification using Symbolic Computation

Digital Electronics Part I Combinational and Sequential Logic. Dr. I. J. Wassell

SOLUTIONS MANUAL DIGITAL DESIGN FOURTH EDITION M. MORRIS MANO California State University, Los Angeles MICHAEL D.

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Switching Algebra and Logic Gates

Boolean Algebra. Boolean Algebra. Boolean Algebra. Boolean Algebra

Gates & Boolean Algebra. Boolean Operators. Combinational Logic. Introduction

Digital Electronics Detailed Outline

(1) /30 (2) /30 (3) /40 TOTAL /100

Computer Engineering 290. Digital Design: I. Lecture Notes Summer 2002

NEW adder cells are useful for designing larger circuits despite increase in transistor count by four per cell.

A Course Material on DIGITAL PRINCIPLES AND SYSTEM DESIGN

ANALOG & DIGITAL ELECTRONICS

Counters and Decoders

Understanding Logic Design

Karnaugh Maps (K-map) Alternate representation of a truth table

3.Basic Gate Combinations

Theory of Logic Circuits. Laboratory manual. Exercise 3

Chapter 1. Computation theory

Chapter 5. Rational Expressions

Introduction to Digital Logic with Laboratory Exercises

Switching and Finite Automata Theory

C H A P T E R. Logic Circuits

EE 42/100 Lecture 24: Latches and Flip Flops. Rev B 4/21/2010 (2:04 PM) Prof. Ali M. Niknejad

CSE140: Components and Design Techniques for Digital Systems

DEPARTMENT OF INFORMATION TECHNLOGY

1.4. Arithmetic of Algebraic Fractions. Introduction. Prerequisites. Learning Outcomes

Chapter 4 Register Transfer and Microoperations. Section 4.1 Register Transfer Language

Scilab Textbook Companion for Digital Electronics: An Introduction To Theory And Practice by W. H. Gothmann 1

Read-only memory Implementing logic with ROM Programmable logic devices Implementing logic with PLDs Static hazards

Sum-of-Products and Product-of-Sums expressions

Lecture 12: More on Registers, Multiplexers, Decoders, Comparators and Wot- Nots

Cooperative Learning in a Digital Logic Course

NAME AND SURNAME. TIME: 1 hour 30 minutes 1/6

Digital Systems. Syllabus 8/18/2010 1

Digital Controller for Pedestrian Crossing and Traffic Lights

LOGICOS SERIE Precios sujetos a variación. Ref. Part # Descripción Precio Foto Ref. Quad 2-Input NOR Buffered B Series Gate / PDIP-14

Digital Fundamentals. Lab 8 Asynchronous Counter Applications

DIGITAL ELECTRONICS. Counters. By: Electrical Engineering Department

BEGINNING ALGEBRA ACKNOWLEDMENTS

Using Logic to Design Computer Components

Adder.PPT(10/1/2009) 5.1. Lecture 13. Adder Circuits

6 Commutators and the derived series. [x,y] = xyx 1 y 1.

CSE140: Components and Design Techniques for Digital Systems. Introduction. Prof. Tajana Simunic Rosing

Philadelphia University Faculty of Information Technology Department of Computer Science Semester, 2007/2008.

Mathematics Spring 2015 Dr. Alexandra Shlapentokh Guide #3

Intermediate Math Circles October 10, 2012 Geometry I: Angles

Gate Delay Model. Estimating Delays. Effort Delay. Gate Delay. Computing Logical Effort. Logical Effort

Decomposition of Finite State Machines for Area, Delay Minimization

Set-Reset (SR) Latch

Take-Home Exercise. z y x. Erik Jonsson School of Engineering and Computer Science. The University of Texas at Dallas

Combinational Logic Design Process

A single register, called the accumulator, stores the. operand before the operation, and stores the result. Add y # add y from memory to the acc

Automata Designs for Data Encryption with AES using the Micron Automata Processor

Binary full adder. 2-bit ripple-carry adder. CSE 370 Spring 2006 Introduction to Digital Design Lecture 12: Adders

Multilevel Sequential Logic Circuit Design

2 : two cube. 5 : five cube. 10 : ten cube.

Transcription:

CDA 3200 Digital Systems Instructor: Dr. Janusz Zalewski Developed by: Dr. Dahai Guo Spring 2012

Outline Multi-Level Gate Circuits NAND and NOR Gates Design of Two-Level Circuits Using NAND and NOR Gates

Multi-Level Gate Circuits (1/3) The maximum number of gates cascaded in series between a circuit input and the output is referred to as the number of levels of gates. sum-of-products: two levels product-of-sums: two levels Inverters are not counted.

Multi-Level Gate Circuits (2/3)

Multi-Level Gate Circuits (3/3) When the input of a gate is changed, there is a finite time before the output changes. The number of gates which can be cascaded is limited by gate delays. When several gates are cascaded, the gate delay may become excessive and slow down the operation of the digital system.

NAND and NOR Gates (1/5) NAND gate F(ABC)=(ABC) =A +B +C NOR gate F(ABC)=(A+B+C) =A B C Any logic function can be implemented using only NAND or NOR gates.

NAND and NOR Gates (2/5) If we can use NAND or NOR gates to implement AND, OR, and inverter, then we can prove that any logic function can be expressed using only NAND or NOR gates. A set of logic operations is said to be functionally complete if any Boolean function can be expressed in terms of this set of operations. The set AND, OR, and NOT is obviously functionally complete.

NAND and NOR Gates (3/5) X =X nand X AB=(A nand B) nand (A nand B) A+B=(A nand A) nand (B nand B)

NAND and NOR Gates (4/5) Actually, as long as we could show NAND can express OR and NOT (AND and NOT), we can show NAND is functionally complete. XY=(X +Y ) X+Y=(X Y )

NAND and NOR Gates (5/5) Can you prove that NOR is functionally complete?

Design of Two-Level Circuits Using NAND and NOR Gates (1/7) The conversion from circuits composed of AND and OR gates to circuits composed of NAND or NOR gates is carried out by using F=(F ) and then applying DeMorgan s laws: (X 1 +X 2 + +X n ) =X 1 X 2 X n (X 1 X 2 X n ) = X 1 +X 2 + +X n

Design of Two-Level Circuits Using NAND and NOR Gates (2/7) F=A+BC +B CD =[(A+BC +B CD) ] (F ) =[A (BC ) (B CD) ] NAND-NAND =[A (B +C)(B+C +D )] OR-NAND =A+(B +C) +(B+C +D ) NOR-OR We started with the minimum sum-of-products expression.

Design of Two-Level Circuits Using NAND and NOR Gates (3/7) Procedure for designing a minimum two-level NAND-NAND circuit Find a minimum sum-of-products expression for F: Karnaugh maps, Quinne-McCluskey and Petrick methods Draw the corresponding two-level AND-OR circuit Replace all gates with NAND gates leaving the gate interconnections unchanged. If the output gate has any single literals as inputs, complement these literals.

Design of Two-Level Circuits Using NAND and NOR Gates (4/7)

Design of Two-Level Circuits Using NAND and NOR Gates (5/7) F=(A+B+C)(A+B +C )(A+C +D) ={[(A+B+C)(A+B +C )(A+C +D)] } (F ) =[(A+B+C) +(A+B +C ) +(A+C +D) ] NOR-NOR =(A B C +A BC+A CD) AND-NOR =(A B C ) (A BC) (A CD) NAND-AND We started with the minimum product-of-sums expression.

Design of Two-Level Circuits Using NAND and NOR Gates (6/7) Procedure for designing a minimum twolevel NOR-NOR circuit Find a minimum product-of-sums expression for F Draw the corresponding two-level OR-AND for F Replace all gates with NOR gates leaving the gate interconnections unchanged. If the output gate has any single literals as inputs, complement these literals.

Design of Two-Level Circuits Using NAND and NOR Gates (7/7)

Design of Two-Level, Multiple- Output Circuits (1/10) Given a logic function, we can simplify it using some methods. But if we need to design a circuit to implement several functions, it may not be enough to simplify each function separately. Example: F1(A,B,C,D)=sum[m(11,12,13,14,15)] F2(A,B,C,D)=sum[m(3,7,11,12,13,15)] F3(A,B,C,D)=sum[m(3,7,12,13,14,15)]

Design of Two-Level, Multiple- Output Circuits (2/10) F1=AB+ACD F2=ABC +CD F3=A CD+AB

Design of Two-Level, Multiple-Output Circuits (3/10)

Design of Two-Level, Multiple- Output Circuits (4/10)

Design of Two-Level, Multiple- Output Circuits (5/10) Determination of Essential Prime Implicants for Multiple-Output Realization Some of the prime implicants essential to an individual function may not be essential to the multiple-output realization.

Design of Two-Level, Multiple- Output Circuits (6/10) bd ab' F1 F2 F3 ab and bd are essential to F1, but not to the multipleoutput system.

Design of Two-Level, Multiple- Output Circuits (7/10) Determination of Essential Prime Implicants for Multiple-Output Realization Some of the prime implicants essential to an individual function may not be essential to the multiple-output realization. When checking 1 s for essential prime implicants, we only check those 1 s which do not appear on the other function maps.

Design of Two-Level, Multiple- Output Circuits (8/10)

Design of Two-Level, Multiple- Output Circuits (9/10) 1 1 1 1 1 1 1 1 1 1 1 1 This 1 appears on both maps. When checking 1 s for essential prime implicants, we only check those 1 s which do not appear on the other function maps.

Design of Two-Level, Multiple- Output Circuits (10/10) In this picture, no minterm only appears in one Karnaugh map. How to find essential prime implicants for a multi-output system is not discussed in the textbook.