EECE 320 L8: Combinational Logic design Principles 1Chehab, AUB, 2003 EECE 320 Digital Systems Design Lecture 8: Combinational Logic Design Principles.

Slides:



Advertisements
Similar presentations
TOPIC : SYNTHESIS DESIGN FLOW Module 4.3 Verilog Synthesis.
Advertisements

ENEL111 Digital Electronics
OBJECTIVES Learn the history of HDL Development. Learn how the HDL module is structured. Learn the use of operators in HDL module. Learn the different.
Introduction To VHDL for Combinational Logic
ECE Synthesis & Verification - Lecture 2 1 ECE 667 Spring 2011 ECE 667 Spring 2011 Synthesis and Verification of Digital Circuits High-Level (Architectural)
ECE 3110: Introduction to Digital Systems
Digital Design with VHDL Presented by: Amir Masoud Gharehbaghi
CMPT150, Ch 3, Tariq Nuruddin, Fall 06, SFU 1 Ch3. Combinatorial Logic Design Modern digital design involves a number of techniques and tools essential.
Introduction to VHDL (Lecture #5) ECE 331 – Digital System Design The slides included herein were taken from the materials accompanying Fundamentals of.
02/02/20091 Logic devices can be classified into two broad categories Fixed Programmable Programmable Logic Device Introduction Lecture Notes – Lab 2.
Combinational Logic Design Sections 3-1, 3-2 Mano/Kime.
1 Hardware description languages: introduction intellectual property (IP) introduction to VHDL and Verilog entities and architectural bodies behavioral,
1/31/20081 Logic devices can be classified into two broad categories Fixed Programmable Programmable Logic Device Introduction Lecture Notes – Lab 2.
ECE 331 – Digital System Design Course Introduction and VHDL Fundamentals (Lecture #1)
A hazard is said to exist when a circuit has the possibility of producing such a glitch. 4.4 Timing Hazards ReturnNext Because of circuit delays, the transient.
1 Chapter 7 Design Implementation. 2 Overview 3 Main Steps of an FPGA Design ’ s Implementation Design architecture Defining the structure, interface.
Spring 2002EECS150 - Lec0-intro Page 1 EECS150 - Digital Design Lecture 8 - Hardware Description Languages February 14, 2002 John Wawrzynek.
Overview Part 1 – Design Procedure 3-1 Design Procedure
O VERVIEW OF DIGITAL SYSTEMS Hardware Description Language 1.
(1) Introduction © Sudhakar Yalamanchili, Georgia Institute of Technology, 2006.
Fall 08, Oct 29ELEC Lecture 7 (updated) 1 Lecture 7: VHDL - Introduction ELEC 2200: Digital Logic Circuits Nitin Yogi
VHDL Structured Logic Design School of Electrical Engineering University of Belgrade Department of Computer Engineering Ivan Dugic Veljko.
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. 1 Overview of Digital Design with Verilog. 2 Overview of Digital Design with Verilog HDL Evolution of computer aided digital circuit design Emergence.
Combinational Logic Design BIL- 223 Logic Circuit Design Ege University Department of Computer Engineering.
CS/EE 3700 : Fundamentals of Digital System Design Chris J. Myers Lecture 2: Intro. to Logic Circuits Chapter 2.
COE 405 Design and Modeling of Digital Systems
Chapter 0 deSiGn conCepTs EKT 221 / 4 DIGITAL ELECTRONICS II.
Introduction to VHDL Spring EENG 2920 Digital Systems Design Introduction VHDL – VHSIC (Very high speed integrated circuit) Hardware Description.
Fall 2004EE 3563 Digital Systems Design EE 3563 VHSIC Hardware Description Language  Required Reading: –These Slides –VHDL Tutorial  Very High Speed.
Fall 08, Oct 29ELEC Lecture 7 (updated) 1 Lecture 7: VHDL - Introduction ELEC 2200: Digital Logic Circuits Nitin Yogi
Electrical and Computer Engineering University of Cyprus LAB 1: VHDL.
Introduction to VLSI Design – Lec01. Chapter 1 Introduction to VLSI Design Lecture # 11 High Desecration Language- Based Design.
 Seattle Pacific University EE Logic System DesignCAD-VHDL-1 The Grunt Work of Design Many design tasks require a lot of time and effort Forming.
Introduction to VHDL Simulation … Synthesis …. The digital design process… Initial specification Block diagram Final product Circuit equations Logic design.
IMPLEMENTATION OF MIPS 64 WITH VERILOG HARDWARE DESIGN LANGUAGE BY PRAMOD MENON CET520 S’03.
Floyd Digital Fundamentals, 9/e Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved. Slide 1 Digital Fundamentals.
ELEE 4303 Digital II Introduction to Verilog. ELEE 4303 Digital II Learning Objectives Get familiar with background of HDLs Basic concepts of Verilog.
04/26/20031 ECE 551: Digital System Design & Synthesis Lecture Set : Introduction to VHDL 12.2: VHDL versus Verilog (Separate File)
5-1 Logic System Design I VHDL Design Principles ECGR2181 Reading: Chapter 5.0, 5.1, 5.3 port ( I: in STD_LOGIC_VECTOR (1 to 9); EVEN, ODD: out STD_LOGIC.
EE121 John Wakerly Lecture #17
Apr. 3, 2000Systems Architecture I1 Introduction to VHDL (CS 570) Jeremy R. Johnson Wed. Nov. 8, 2000.
VHDL ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning.
May 9, 2001Systems Architecture I1 Systems Architecture I (CS ) Lab 5: Introduction to VHDL Jeremy R. Johnson May 9, 2001.
IAY 0600 Digital Systems Design Timing and Post-Synthesis Verifications Hazards in Combinational Circuits Alexander Sudnitson Tallinn University of Technology.
ASIC/FPGA design flow. Design Flow Detailed Design Detailed Design Ideas Design Ideas Device Programming Device Programming Timing Simulation Timing Simulation.
1 A hardware description language is a computer language that is used to describe hardware. Two HDLs are widely used Verilog HDL VHDL (Very High Speed.
SUBJECT : DIGITAL ELECTRONICS CLASS : SEM 3(B) TOPIC : INTRODUCTION OF VHDL.
Copyright 2001, Agrawal & BushnellVLSI Test: Lecture 61 Lecture 6 Logic Simulation n What is simulation? n Design verification n Circuit modeling n True-value.
IAY 0600 Digital Systems Design
ASIC Design Methodology
Combinational Logic Design
Systems Architecture Lab: Introduction to VHDL
Design Entry: Schematic Capture and VHDL
ECE 4110 – Digital Logic Design
Verilog-HDL-1 by Dr. Amin Danial Asham.
VLSI Testing Lecture 5: Logic Simulation
Vishwani D. Agrawal Department of ECE, Auburn University
Overview Part 1 – Design Procedure Beginning Hierarchical Design
Hazard.
IAY 0800 Digitaalsüsteemide disain
ECE-C662 Introduction to Behavioral Synthesis Knapp Text Ch
Chapter 3 – Combinational Logic Design
Introduction to Digital Systems
HDL Hardware Description Language
VHDL Introduction.
H a r d w a r e M o d e l i n g O v e r v i e w
Combinational Circuits
Digital Designs – What does it take
VHDL - Introduction.
Presentation transcript:

EECE 320 L8: Combinational Logic design Principles 1Chehab, AUB, 2003 EECE 320 Digital Systems Design Lecture 8: Combinational Logic Design Principles Ali Chehab

EECE 320 L8: Combinational Logic design Principles 2Chehab, AUB, 2003 Timing Hazards  So far we have ignored circuit delays in our steady-state analysis.  Because of circuit delays, the transient behavior of a circuit may be different than its steady-state behavior.  A hazard exists when it is possible for the circuit to produce a glitch (short pulse) that is un-accounted for in steady-state analysis causing a temporary false output l Static hazards: Static-1 and Static-0 hazards l Dynamic hazards  A static hazard is a condition where a single variable change produces a momentary output change when no output change should occur. 1 0 Static-1 hazard 1 0 Static-0 hazard  A dynamic hazard is a condition where the output changes three or more times when it should change from 1 to 0 or 0 to 1 only, due to the presence multiple paths from input to output with different delays. 1 0 Dynamic hazard

EECE 320 L8: Combinational Logic design Principles 3Chehab, AUB, 2003 Timing Hazards  Consider the following AND-OR circuit:  Pair of XYZ inputs with one variable changing: XYZ: > 110 l Output changes to 0 momentarily because of the delay through the inverter when it is supposed to remain 1 1 1010 1 101101

EECE 320 L8: Combinational Logic design Principles 4Chehab, AUB, 2003 Timing Hazards  Consider the following OR-AND circuit:  Pair of WXYZ inputs with one variable changing: WXYZ: > 0001 l Output changes to 1 momentarily because of the delay through the inverter when it is supposed to remain 0.

EECE 320 L8: Combinational Logic design Principles 5Chehab, AUB, 2003 Timing Hazards  In general, in 2-level implementations, we must add consensus terms (redundant gates) to eliminate hazards.

EECE 320 L8: Combinational Logic design Principles 6Chehab, AUB, 2003 Timing Hazards  Example of eliminating static-1 hazards

EECE 320 L8: Combinational Logic design Principles 7Chehab, AUB, 2003 Hardware Description Language (HDL)  An HDL is a language that describes the hardware of digital systems in a textual form. l Similar to a programming language, but more oriented towards hardware  We can use an HDL to represent/describe logic diagrams, Boolean expressions, combinational circuits, sequential circuits, even a complete microprocessor.  Applications of HDLs: l Logic design: Describe/model the design of a digital system l Logic simulation: Simulate the behavior of a digital system l Logic synthesis: Derive a list of components (gates) and their interconnections (netlist) from the model of a digital system described in HDL, ready for hardware implementation.  The computer-aided design process using an HDL is called design flow  Two standard HDLs: l VHDL (mid 80’s): We will use in EECE 320 l Verilog HDL (1984): Once you learn VHDL, it is easy to learn Verilog

EECE 320 L8: Combinational Logic design Principles 8Chehab, AUB, 2003 The VHDL Language  Launched by U.S. DoD and IEEE in mid 80’s as part of the VHSIC program  Original intention for documentation & modeling  Became popular after the introduction of synthesis tools l Create logic circuits from behavioral description ready for fabrication  Standardized by IEEE in 1987 and extended in 1993 l VHDL-87, VHDL-93  Features: l Designs may be decomposed hierarchically each consisting of design elements l A design element has an interface and a behavioral specification (simulation) l A behavioral spec uses an algorithm or a hardware structure to define an element’s operation. l The logical operation and timing behavior of a design can be simulated. V HDL VHSIC Very High Speed Integrated Circuit

EECE 320 L8: Combinational Logic design Principles 9Chehab, AUB, 2003 HDL-Based Design Flow Design Entry High-level Analysis Technology Mapping Low-level Analysis Library EECE 320

EECE 320 L8: Combinational Logic design Principles 10Chehab, AUB, 2003 HDL-Based Design Flow: Design Entry Design Entry  A design can be described and represented: l Textually using an HDL (e.g. VHDL text editor), or l Graphically using schematics (schematic editor)  Compilation: The design is then compiled and checked for syntax errors (VHDL compiler).  Result of design specification and compilation is called a Netlist (Network List) consisting of: l Generic primitives - Logic gates, flip-flops, … l Technology specific primitives - Transistors l Higher level library elements - adders, ALUs, decoders, …  Example: Netlist of a schematic design g1 g2 g3 n1 n2 n3 n4 n5 n6 n7 g1 “and” n1 n2 n5 g2 “and” n3 n4 n6 g3 “nand” n5 n6 n7 High-level Analysis Technology Mapping Low-level Analysis

EECE 320 L8: Combinational Logic design Principles 11Chehab, AUB, 2003 Example of a Schematic Capture Design Entry

EECE 320 L8: Combinational Logic design Principles 12Chehab, AUB, 2003 Example of a VHDL Design Entry

EECE 320 L8: Combinational Logic design Principles 13Chehab, AUB, 2003 HDL-Based Design Flow: High Level Analysis High-level Analysis  High-level analysis is used to: l Optimize the design l Verify functionality (functional verification) l Obtain rough estimates of timing, power, and cost  Commonly used tools: l Logic simulator: To check functional correctness l Static timing analyzer: To estimate circuit delays based on timing models and delay parameters for library elements. Design Entry Technology Mapping Low-level Analysis

EECE 320 L8: Combinational Logic design Principles 14Chehab, AUB, 2003 Technology Mapping & Low-Level Analysis Technology Mapping Low-level Analysis Design Entry High-level Analysis  Mapping the analyzed design into a specific technology (technology library)  Converts the netlist into elements supported by the technology l EX: Maps design elements into library elements  Performs l Partitioning of the design l Placement of design elements l Routing wires between design elements … so as to meet certain performance specs.  Low-Level Analysis l Simulation and analysis tools perform level checks with accurate timing models, accurate wire delays, accurate power models, …  Obtain more accurate estimates about the performance of the design before fabrication

EECE 320 L8: Combinational Logic design Principles 15Chehab, AUB, 2003 Example: Design Obtained After Technology Mapping

EECE 320 L8: Combinational Logic design Principles 16Chehab, AUB, 2003 VHDL Program Structure

EECE 320 L8: Combinational Logic design Principles 17Chehab, AUB, 2003 VHDL Program File Structure -- First VHDL Program entity Inhibit is -- aka ‘BUT-NOT port (X, Y: IN BIT; Z : OUT BIT); End Inhibit; architecture behave of Inhibit is begin Z <= ‘1’ when X = ‘1’ and Y = ‘0’ else ‘0’; end behave;

EECE 320 L8: Combinational Logic design Principles 18Chehab, AUB, 2003 Next Lecture and Reminders  Next lecture  Reminders