EE2174: Digital Logic and Lab

Slides:



Advertisements
Similar presentations
Selected Design Topics. Integrated Circuits Integrated circuit (informally, a chip) is a semiconductor crystal (most often silicon) containing the electronic.
Advertisements

Logical Design.
Combinational Circuits
CMPT150, Ch 3, Tariq Nuruddin, Fall 06, SFU 1 Ch3. Combinatorial Logic Design Modern digital design involves a number of techniques and tools essential.
Combinational Circuits
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 1 –
Chapter 6 – Selected Design Topics Part 1 – The Design Space Logic and Computer Design Fundamentals.
Design Of Combinational Logic Circuits
Chapter 3 Combinational Logic Design
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
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.
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.
Chap 3. Chap 3. Combinational Logic Design. Chap Combinational Circuits l logic circuits for digital systems: combinational vs sequential l Combinational.
Combinational Logic Design BIL- 223 Logic Circuit Design Ege University Department of Computer Engineering.
1 DIGITAL ELECTRONICS. 2 OVERVIEW –electronic circuits capable of carrying out logical (boolean) and arithmetic operations on information stored as binary.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 6 – Selected Design Topics Part 1 – The.
Slide No. 1 Course: Logic Design Dr. Ali Elkateeb Topic: Introduction Course Number: COMP 1213 Course Title: Logic Design Instructor: Dr. Ali Elkateeb.
1 Combinational Logic Design Digital Computer Logic Kashif Bashir
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 3 – Combinational Logic Design Part 1 –
Chapter 0 deSiGn conCepTs EKT 221 / 4 DIGITAL ELECTRONICS II.
ECE 2110: Introduction to Digital Systems Introduction (Contd.)
CHAPTER-2 Fundamentals of Digital Logic. Digital Logic Digital electronic circuits are used to build computer hardware as well as other products (digital.
Chapter 0 - reVieW Combinational Logic Circuit, Combinational Logic Circuit, Propagation Delay, Propagation Delay, Programmable Logic. Programmable Logic.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 6 – Selected Design Topics Part 1 – The.
EE 5900 Advanced Algorithms for Robust VLSI CAD, Spring 2009 Combinational Circuits.
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.
Combinational Logic Design. 2 Combinational Circuits A combinational logic circuit has: ♦ A set of m Boolean inputs, ♦ A set of n Boolean outputs ♦ n.
Chapter 0 ComBinaTionaL loGic deSign ComBinaTionaL loGic deSign EKT 221 / 4 DIGITAL ELECTRONICS II.
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.
Combinational Logic Design. 2 Combinational Circuits A combinational logic circuit has: ♦ A set of m Boolean inputs, ♦ A set of n Boolean outputs ♦ n.
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.
EECE 320 L8: Combinational Logic design Principles 1Chehab, AUB, 2003 EECE 320 Digital Systems Design Lecture 8: Combinational Logic Design Principles.
ECE 2110: Introduction to Digital Systems Introduction (Contd.)
Overview Part 1 - Implementation Technology and Logic Design
Overview Part 1 – Design Procedure Part 2 – Combinational Logic
Chap 3. Combinational Logic Design
Combinational Logic Design
Combinational Logic Design
Combinational Logic Design&Analysis.
Overview Part 1 – Logic Circuits and Boolean Functions
EEE2135 Digital Logic Design Chapter 1. Introduction
2-6 Exclusive-OR Operator and Gates
PROPAGATION DELAY.
Overview The Design Space Programmable Implementation Technologies
Overview Part 1 – Design Procedure Beginning Hierarchical Design
Overview Part 1 – The Design Space
Fundamentals & Ethics of Information Systems IS 201
Basics Combinational Circuits Sequential Circuits
Combinatorial Logic Design Practices
CSE221- Logic Design, Spring 2003 Logic Technology
Chapter 3 – Combinational Logic Design
Chapter 3 – Combinational Logic Design
Part I Background and Motivation
Overview Part 3 – Additional Gates and Circuits
HIGH LEVEL SYNTHESIS.
Combinational Circuits
Combinational Circuits
Combinational Circuits
Unit IV Adders Subtractors Flip Flops Counters Multiplexes and De multiplexes. Integrated circuits-Op. amp – Characteristics Inverting amplifier - Non-inverting.
Presentation transcript:

EE2174: Digital Logic and Lab CSE221: Logic Desing, Spring 2003 23-Jun-18 EE2174: Digital Logic and Lab Professor Shiyan Hu Department of Electrical and Computer Engineering Michigan Technological University Combinational Circuit Chapter 1: Digtal Computers and Information

Overview Combinatorial Circuits Three Design Methodologies Definition 23-Jun-18 Overview Combinatorial Circuits Definition Divide and Conquer Three Design Methodologies Gate Library Based Design Full Customer Design Programmable Logic Array Based Design 23-Jun-18 Combinational Logic

Combinational Circuits A combinational circuit consists of logic gates whose outputs, at any time, are determined by combining the values of the inputs. For n input variables, there are 2n possible binary input combinations. For each binary combination of the input variables, there is one possible output. 23-Jun-18 Combinational Logic

Combinational Circuits (cont.) Hence, a combinational circuit can be described by: A truth table that lists the output values for each combination of the input variables, or m Boolean functions, one for each output variable. Combinational Circuit n-inputs m-outputs • • • • • • 23-Jun-18 Combinational Logic

Combinational vs. Sequential Circuits Combinational circuits are memory-less. Thus, the output value depends ONLY on the current input values. Sequential circuits consist of combinational logic as well as memory elements (used to store certain circuit states). Outputs depend on BOTH current input values and previous input values (kept in the storage elements). 23-Jun-18 Combinational Logic

Combinational vs. Sequential Circuits n-inputs m-outputs (Depend only on inputs) Combinational Circuit n-inputs m-outputs Combinational Circuit Storage Elements Present state Next state Sequential Circuit 23-Jun-18 Combinational Logic

Important Design Concepts 23-Jun-18 Important Design Concepts Modern digital design deals with various methods and tools that are used to design and verify complex circuits and systems. Important concepts: Design Hierarchy Top-Down and Bottom-Up Design Computer-Aided-Design (CAD) tools Hardware Description Languages (HDLs) Logic Synthesis 23-Jun-18 Combinational Logic

Design Hierarchy “Divide-and-Conquer” approach used to cope with the challenges of designing complex circuits and systems (many times in the order of millions of gates). Circuit is broken into blocks, repetitively. Challenge: Verify that the block-based circuit performs its intended function. 23-Jun-18 Combinational Logic

Design Hierarchy Example: 9-input odd function 23-Jun-18 Combinational Logic

Why is Hierarchy useful? Reduces the complexity required to design and represent the overall schematic of the circuit. Reuse of blocks is possible. Identical blocks can be used in various places in a design, or in different designs. 23-Jun-18 Combinational Logic

Gajski and Kuhn’s Y Chart Top-Down Design Gajski and Kuhn’s Y Chart Architectural Structural Behavioral Algorithmic Processor Top-Down Functional Block Systems Hardware Modules Algorithms Logic ALUs, Registers Register Transfer Circuit Gates, FFs Logic Transfer Functions Transistors Rectangles Cell, Module Plans Floor Plans Bottom-Up Clusters Physical Partitions Physical/Geometry 23-Jun-18 Combinational Logic

Reusable Functions and CAD 23-Jun-18 Reusable Functions and CAD Whenever possible, we try to decompose a complex design into common, reusable function blocks These blocks are verified and well-documented placed in libraries for future use Representative Computer-Aided Design Tools: Schematic Capture Logic Simulators Timing Verifiers Hardware Description Languages Verilog and VHDL Logic Synthesizers Integrated Circuit Layout 23-Jun-18 Combinational Logic

Top-Down versus Bottom-Up 23-Jun-18 Top-Down versus Bottom-Up A top-down design proceeds from an abstract, high-level specification to a more and more detailed design by decomposition and successive refinement A bottom-up design starts with detailed primitive blocks and combines them into larger and more complex functional blocks Designs usually proceed from both directions simultaneously Top-down design answers: What are we building? Bottom-up design answers: How do we build it? Top-down controls complexity while bottom-up focuses on the details 23-Jun-18 Combinational Logic

Integrated Circuits Integrated circuit (informally, a “chip”) is a semiconductor crystal (most often silicon) containing the electronic components for the digital gates and storage elements which are interconnected on the chip. Terminology - Levels of chip integration SSI (small-scale integrated) - fewer than 10 gates MSI (medium-scale integrated) - 10 to 100 gates LSI (large-scale integrated) - 100 to thousands of gates VLSI (very large-scale integrated) - thousands to 100s of millions of gates 23-Jun-18 Combinational Logic

Technology Parameters Specific gate implementation technologies are characterized by the following parameters: Fan-in – the number of inputs available on a gate Fan-out – the number of standard loads driven by a gate output Logic Levels – the signal value ranges for 1 and 0 on the inputs and 1 and 0 on the outputs (see Figure 1-1) Noise Margin – the maximum external noise voltage superimposed on a normal input value that will not cause an undesirable change in the circuit output Cost for a gate - a measure of the contribution by the gate to the cost of the integrated circuit Propagation Delay – The time required for a change in the value of a signal to propagate from an input to an output Power Dissipation – the amount of power drawn from the power supply and consumed by the gate 23-Jun-18 Combinational Logic

Propagation Delay Propagation delay is the time for a change on an input of a gate to propagate to the output. Delay is usually measured at the 50% point with respect to the H and L output voltage levels. High-to-low (tPHL) and low-to-high (tPLH) output signal changes may have different propagation delays. High-to-low (HL) and low-to-high (LH) transitions are defined with respect to the output, not the input. An HL input transition causes: an LH output transition if the gate inverts and an HL output transition if the gate does not invert. 23-Jun-18 Combinational Logic

Propagation Delay Example 23-Jun-18 Propagation Delay Example Find tPHL, tPLH and tpd for the signals given IN (volts) tPHL = 1.4 ns, tPLH = 1.1 ns, tpd = 1.25 ns OUT (volts) t (ns) 1.0 ns per division 23-Jun-18 Combinational Logic

Fan-out Fan-out can be defined in terms of a standard load Example: 1 standard load equals the load contributed by the input of 1 inverter. Transition time -the time required for the gate output to change from H to L, tHL, or from L to H, tLH The maximum fan-out that can be driven by a gate is the number of standard loads the gate can drive without exceeding its specified maximum transition time 23-Jun-18 Combinational Logic

Fan-out and Delay The fan-out loading a gate’s output affects the gate’s propagation delay Example: One realistic equation for tpd for a NAND gate with 4 inputs is: tpd = 0.07 + 0.021 SL ns SL is the number of standard loads the gate is driving, i. e., its fan-out in standard loads For SL = 4.5, tpd = 0.165 ns 23-Jun-18 Combinational Logic

Cost In an integrated circuit: The cost of a gate is proportional to the chip area occupied by the gate The gate area is roughly proportional to the number and size of the transistors and the amount of wiring connecting them Ignoring the wiring area, the gate area is roughly proportional to the gate input count So gate input count is a rough measure of gate cost If the actual chip layout area occupied by the gate is known, it is a far more accurate measure 23-Jun-18 Combinational Logic

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 23-Jun-18 Combinational Logic

Gate Library Based Design Methodology Specification Write a specification for the circuit if one is not already available Formulation Derive a truth table or initial Boolean equations that define the required relationships between the inputs and outputs, if not in the specification Optimization Apply K-map and other optimizations Draw a logic diagram or provide a netlist for the resulting circuit using ANDs, ORs, and inverters 23-Jun-18 Combinational Logic

Design Procedure Technology Mapping Convert to CMOS Map the logic diagram or netlist to the implementation technology selected Convert to CMOS Replace each gate by its CMOS implementations 23-Jun-18 Combinational Logic

Design Example Specification BCD to Excess-3 code converter 23-Jun-18 Design Example 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 Implementation: multiple-level circuit NAND gates (including inverters) 23-Jun-18 Combinational Logic

Design Example (continued) 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 Input BCD Output Excess - 3 A B C D WXYZ 0 0 0 0 0 0 1 1 0 0 0 1 0 1 0 0 0 0 1 0 0 1 0 1 0 0 1 1 0 1 1 0 0 1 0 0 0 1 1 1 0 1 0 1 1 0 0 0 0 1 1 0 1 0 0 1 0 1 1 1 1 0 1 0 1 0 0 0 1 0 1 1 1 0 0 1 1 1 0 0 23-Jun-18 Combinational Logic

Design Example (continued) B C D A 1 3 2 4 5 7 6 12 13 15 14 8 9 11 10 X w z y x Optimization 2-level using K-maps W = A + BC + BD X = C + D + B Y = CD + Z = B C D B C D D 23-Jun-18 Combinational Logic

Design Example (continued) Optimization (continued) Multiple-level using transformations W = A + BC + BD X = C + D + B Y = CD + Z = Perform extraction, finding factor: T1 = C + D W = A + BT1 X = T1 + B Y = CD + Z = B C D B C D C D D 23-Jun-18 Combinational Logic

Design Example (continued) Optimization (continued) Multiple-level using transformations T1 = C + D W = A + BT1 X = T1 + B Y = CD + Z = An additional extraction not shown in the text since it uses a Boolean transformation: ( = C + D = ): W = A + BT1 X = T1 + B Y = CD + Z = B C D C D T1 B T1 D 23-Jun-18 Combinational Logic

Design Example (continued) 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 A W B X C D Y 23-Jun-18 Combinational Logic Z

Design Example (continued) 5. Convert to CMOS through replacing each gate to its CMOS implementation 23-Jun-18 Chapter 2-i: Combinational Logic Circuits (2.1-- 2.5)

Technology Mapping Mapping Techniques NAND gates NOR gates MUX gates Multiple gate types 23-Jun-18 Combinational Logic

Mapping to NAND gates Assumptions: The mapping is accomplished by: 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 23-Jun-18 Combinational Logic

NAND Mapping Algorithm Replace ANDs and ORs: Repeat the following pair of actions until there is at most one inverter between : A circuit input or driving NAND gate output, and The attached NAND gate inputs. 23-Jun-18 Combinational Logic

NAND Mapping Example 23-Jun-18 Combinational Logic

Full Custom Design Methodology 23-Jun-18 Full Custom Design Methodology Similar to the CMOS implementation for Combinational Gate 23-Jun-18 Combinational Logic

Programmable Logic Array 23-Jun-18 Programmable Logic Array The set of functions to be implemented is first transformed to product terms Since output inversion is available, terms can implement either a function or its complement 23-Jun-18 Combinational Logic

Programmable Logic Array Example 23-Jun-18 To implement F1= A’B’C+A’BC’+AB’C’=(AB+AC+BC+A’B’C’)’ F2=AB+AC+BC 23-Jun-18 Combinational Logic

Programmable Logic Array Example 23-Jun-18 X Fuse intact Fuse blown 1 F 2 A B C 4 3 23-Jun-18 Combinational Logic

Summary Three design styles Full custom design Gate library based design PLA based design 2018/6/23 Combinational Logic