Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use Lecture 12 – Design Procedure.

Slides:



Advertisements
Similar presentations
CT455: Computer Organization Logic gate
Advertisements

Overview Part 2 – Combinational Logic Functions and functional blocks
Documentation Standards
Combinational Circuits
COE 202: Digital Logic Design Combinational Circuits Part 1
1 Combinational Logic Design&Analysis. 2 Introduction We have learned all the prerequisite material: – Truth tables and Boolean expressions describe functions.
Combinational Logic Design
Combinational Circuits
08/07/041 CSE-221 Digital Logic Design (DLD) Lecture-8:
Combinatorial Logic Circuit Diagrams - Programmable Implementation Devices Design Hierarchy reduces the complexity required to represent the schematic.
CPEN Digital System Design
Henry Hexmoor1 Chapter 3 Henry Hexmoor Types of Logic Circuits Combinational logic circuits: –Outputs depend only on its current inputs. –A combinational.
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use Chapter 3 – Combinational.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 3 – Combinational Logic Design Part 2 –
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 3 – Combinational Logic Design Part 1 –
COE 202: Digital Logic Design Combinational Circuits Part 1
Design Of Combinational Logic Circuits
Chapter 3 Combinational Logic Design
Overview Part 1 - Storage Elements and Sequential Circuit Analysis
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 3 – Combinational Logic Design Part 1 –
Combinational Logic Design
Overview Part 1 – Design Procedure 3-1 Design Procedure
Overview Part 2 – Circuit Optimization 2-4 Two-Level Optimization
Digital Logic Lecture 08 By Amr Al-Awamry. Combinational Logic 1 A combinational circuit consists of an interconnection of logic gates. Combinational.
Combinational Circuit
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use Lecture 11 – Design Concepts.
Based on slides by: Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. ECE/CS 352: Digital System Fundamentals Lecture 9 – Multilevel Optimization.
Combinational Logic Design BIL- 223 Logic Circuit Design Ege University Department of Computer Engineering.
1 Combinational Logic Design Digital Computer Logic Kashif Bashir
CHAPTER 4 Combinational Logic
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 5 – Sequential Circuits Part 2 – Sequential.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 3 – Combinational Logic Design Part 1 –
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use Logic and Computer Design.
Chapter 0 - reVieW Combinational Logic Circuit, Combinational Logic Circuit, Propagation Delay, Propagation Delay, Programmable Logic. Programmable Logic.
Lecture 11 Combinational Design Procedure
EE 5900 Advanced Algorithms for Robust VLSI CAD, Spring 2009 Combinational Circuits.
Floyd Digital Fundamentals, 9/e Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved. Slide 1 Digital Fundamentals.
1 Lecture 12 More about Combinational Analysis and Design Procedures.
1 CS 151: Digital Design Chapter 3: Combinational Logic Design 3-1Design Procedure CS 151: Digital Design.
CS151 Introduction to Digital Design Chapter 3: Combinational Logic Design 3-1 Design Procedure 1Created by: Ms.Amany AlSaleh.
Logic Design CS221 1 st Term combinational circuits Cairo University Faculty of Computers and Information.
Combinational Circuits
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Binary Numbers For digital systems, the.
1 Gate Level Minimization EE 208 – Logic Design Chapter 3 Sohaib Majzoub.
Combinational Logic Design. 2 Combinational Circuits A combinational logic circuit has: ♦ A set of m Boolean inputs, ♦ A set of n Boolean outputs ♦ n.
1 CS151: Digital Design Chapter 3: Combinational Logic Design 3-2 Beginning Hierarchical Design 3-3 Technology Mapping.
C OMBINATIONAL L OGIC D ESIGN 1 Eng.Maha AlGubali.
FIGURES FOR CHAPTER 16 SEQUENTIAL CIRCUIT DESIGN
1 Combinational Logic Design.  A process with 5 steps Specification Formulation Optimization Technology mapping Verification  1 st three steps and last.
Combinational Logic Design. 2 Combinational Circuits A combinational logic circuit has: ♦ A set of m Boolean inputs, ♦ A set of n Boolean outputs ♦ n.
Combinational Design, Part 2: Procedure. 2 Topics Positive vs. negative logic Design procedure.
Lecture 1 Gunjeet kaur Dronacharya group of institutions.
2016/7/21 Haifeng Liu 2014 Fall College of Computer Science and Technology, Zhejiang University Chapter 3 Combinational Logic Design.
CS151 Introduction to Digital Design Chapter 3: Combinational Logic Design 3-4 Verification 1Created by: Ms.Amany AlSaleh.
Overview Part 1 - Implementation Technology and Logic Design
Overview Part 1 – Design Procedure Part 2 – Combinational Logic
Combinational Logic Design
Combinational Logic Design
Combinational Logic Design&Analysis.
EEE2135 Digital Logic Design Chapter 4. Combinational Logic Design
EE2174: Digital Logic and Lab
Combinational Logic Logic circuits for digital systems may be combinational or sequential. A combinational circuit consists of input variables, logic gates,
Overview Part 1 – Design Procedure Beginning Hierarchical Design
BASIC & COMBINATIONAL LOGIC CIRCUIT
Chapter 3 – Combinational Logic Design
Chapter 3 – Combinational Logic Design
CS Chapter 3 (3A and ) – Part 2 of 5
Combinational Circuits
Combinational Circuits
Presentation transcript:

Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use Lecture 12 – Design Procedure Logic and Computer Design Fundamentals

Chapter 3 - Part 1 2 Outline  Design Procedure Specification Formulation Optimization Technology Mapping  NAND gates  NOR gates Verification

Chapter 3 - Part 1 3 Design Procedure 1.Specification Write a specification for the circuit if one is not already available 2.Formulation Derive a truth table or initial Boolean equations that define the required relationships between the inputs and outputs, if not in the specification 3.Optimization Apply 2-level and multiple-level optimization Draw a logic diagram or provide a netlist for the resulting circuit using ANDs, ORs, and inverters

Chapter 3 - Part 1 4 Design Procedure 4.Technology Mapping Map the logic diagram or netlist to the implementation technology selected 5.Verification Verify the correctness of the final design

Chapter 3 - Part 1 5 Design Example 1.Specification BCD to Excess-3 code converter Transforms BCD code for the decimal digits to Excess-3 code for the decimal digits BCD code words for digits 0 through 9: 4-bit patterns 0000 to 1001, respectively Excess-3 code words for digits 0 through 9: 4- bit patterns consisting of 3 (binary 0011) added to each BCD code word; 0011 to 1100 Implementation:  multiple-level circuit  NAND gates (including inverters)

Chapter 3 - Part 1 6 Design Example (continued) 2. Formulation Conversion of 4-bit codes can be most easily formulated by a truth table Variables - BCD: A,B,C,D Variables - Excess-3 W,X,Y,Z Don’t Cares - BCD 1010 to 1111

Chapter 3 - Part 1 7 Design Example (continued) 3.Optimization a.2-level using K-maps W = A + BC + BD X = C + D + B Y = CD + Z = B C DB C D B C D A XXX XX X 1 1 w B C D A XXX XX X 1 z B C D A XXX XX X 1 x B C D A XXX XX X 1 y D

Chapter 3 - Part 1 8 Design Example (continued) 3.Optimization (continued) b.Multiple-level using transformations W = A + BC + BD X = C + D + B Y = CD + Z = G = = 23 Perform extraction, finding factor: T 1 = C + D W = A + BT 1 X = T 1 + B Y = CD + Z = G = = 19 B C DB C D D B C D C D D

Chapter 3 - Part 1 9 Design Example (continued) 3.Optimization (continued) b.Multiple-level using transformations T 1 = C + D W = A + BT 1 X = T 1 + B Y = CD + Z =G = 19 An additional extraction not shown in the text since it uses a Boolean transformation: ( = C + D = ): W = A + BT 1 X = T 1 + B Y = CD + Z =G = = 16! B C D C D D B T1T1 D T1T1 C D T1T1

Chapter 3 - Part 1 10 Design Example (continued) 4.Technology Mapping Mapping with a library containing inverters and 2-input NAND, 2-input NOR, and 2-2 AOI gates A B C D W X Y Z

Chapter 3 - Part 1 11 Technology Mapping  Chip design styles  Cells and cell libraries  Mapping Techniques NAND gates NOR gates Multiple gate types (not discussed) Programmable logic devices (covered later)

Chapter 3 - Part 1 12 Chip Design Styles  Full custom - the entire design of the chip down to the smallest detail of the layout is performed Expensive Justifiable only for dense, fast chips with high sales volume  Standard cell - blocks have been design ahead of time or as part of previous designs Intermediate cost Less density and speed compared to full custom  Gate array - regular patterns of gate transistors that can be used in many designs built into chip - only the interconnections between gates are specific to a design Lowest cost Less density compared to full custom and standard cell

Chapter 3 - Part 1 13 Cell Libraries  Cell - a pre-designed primitive block  Cell library - a collection of cells available for design using a particular implementation technology  Cell characterization - a detailed specification of a cell for use by a designer - often based on actual cell design and fabrication and measured values  Cells are used for gate array, standard cell, and in some cases, full custom chip design

Chapter 3 - Part 1 14  Schematic or logic diagram  Area of cell Often normalized to the area of a common, small cell such as an inverter  Input loading (in standard loads) presented to outputs driving each of the inputs  Delays from each input to each output  One or more cell templates for technology mapping  One or more hardware description language models  If automatic layout is to be used: Physical layout of the cell circuit A floorplan layout providing the location of inputs, outputs, power and ground connections on the cell Typical Cell Characterization Components

Chapter 3 - Part 1 15 Example Cell Library

Chapter 3 - Part 1 16 Mapping to NAND gates  Assumptions: Gate loading and delay are ignored Cell library contains an inverter and n-input NAND gates, n = 2, 3, … An AND, OR, inverter schematic for the circuit is available  The mapping is accomplished by: Replacing AND and OR symbols, Pushing inverters through circuit fan-out points, and Canceling inverter pairs

Chapter 3 - Part 1 17 NAND Mapping Algorithm 1.Replace ANDs and ORs: 2.Repeat the following pair of actions until there is at most one inverter between : a.A circuit input or driving NAND gate output, and b.The attached NAND gate inputs

Chapter 3 - Part 1 18 NAND Mapping Example

Chapter 3 - Part 1 19 Mapping to NOR gates  Assumptions: Gate loading and delay are ignored Cell library contains an inverter and n-input NOR gates, n = 2, 3, … An AND, OR, inverter schematic for the circuit is available  The mapping is accomplished by: Replacing AND and OR symbols, Pushing inverters through circuit fan-out points, and Canceling inverter pairs

Chapter 3 - Part 1 20 NOR Mapping Algorithm 1.Replace ANDs and ORs: 2.Repeat the following pair of actions until there is at most one inverter between : a.A circuit input or driving NAND gate output, and b.The attached NAND gate inputs.

Chapter 3 - Part 1 21 NOR Mapping Example

Chapter 3 - Part 1 22  Verification - show that the final circuit designed implements the original specification  Simple specifications are: truth tables Boolean equations HDL code  If the above result from formulation and are not the original specification, it is critical that the formulation process be flawless for the verification to be valid! Verification

Chapter 3 - Part 1 23 Basic Verification Methods  Manual Logic Analysis Find the truth table or Boolean equations for the final circuit Compare the final circuit truth table with the specified truth table, or Show that the Boolean equations for the final circuit are equal to the specified Boolean equations  Simulation Simulate the final circuit (or its netlist, possibly written as an HDL) and the specified truth table, equations, or HDL description using test input values that fully validate correctness. The obvious test for a combinational circuit is application of all possible “care” input combinations from the specification

Chapter 3 - Part 1 24 Verification Example: Manual Analysis  BCD-to-Excess 3 Code Converter Find the SOP Boolean equations from the final circuit. Find the truth table from these equations Compare to the formulation truth table  Finding the Boolean Equations: T 1 = C + D = C + D W = A (T 1 B) = A + B T 1 X = (T 1 B) (B ) = T 1 + B Y = C + D = CD + D C D C B C D C D

Chapter 3 - Part 1 25 Verification Example: Manual Analysis  Find the circuit truth table from the equations and compare to specification truth table: The tables match!

Chapter 3 - Part 1 26 Verification Example: Simulation  Simulation procedure: Use a schematic editor or text editor to enter a gate level representation of the final circuit Use a waveform editor or text editor to enter a test consisting of a sequence of input combinations to be applied to the circuit  This test should guarantee the correctness of the circuit if the simulated responses to it are correct  Short of applying all possible “care” input combinations, generation of such a test can be difficult

Chapter 3 - Part 1 27 Verification Example: Simulation  Enter BCD-to-Excess-3 Code Converter Circuit Schematic AOI symbol not available

Chapter 3 - Part 1 28 Verification Example: Simulation  Enter waveform that applies all possible input combinations:

Chapter 3 - Part 1 29 Verification Example: Simulation  Run the simulation of the circuit for 120 ns  Do the simulation output combinations match the original truth table?

Chapter 3 - Part 1 30 Summary  Design Procedure Specification Formulation Optimization Technology Mapping  NAND gates  NOR gates Verification