Transcription of Using the New Verilog-2001 Standard, Part 1 - …
1 Using the New Verilog-2001 StandardPart 1: Modeling Hardwareby Sutherland HDL, Inc., Portland, Oregon, 2001 Part 1-1 Using the New Verilog-2001 StandardPart One: Modeling DesignsbyStuart SutherlandSutherland HDL, , OregonPart 1-2 LHDS utherlandAll material in this presentation is copyrighted by Sutherland HDL, Inc., Portland, Oregon. All rights reserved. No material from this presentation may be duplicated or transmitted by any means or in any form without the express written permission of Sutherland HDL, noticeSutherland HDL Incorporated22805 SW 92ndPlaceTualatin, OR 97062 USAphone: (503) 692-0898fax: (503) 692-1512e-mail: 2001 verilog is a registered trademark of Cadence Design Systems, San Jose, CAUsing the New Verilog-2001 StandardPart 1: Modeling Hardwareby Sutherland HDL, Inc.
2 , Portland, Oregon, 2001 Part 1-2 Part 1-3 LHDS utherlandAbout Stuart Sutherlandand Sutherland HDL, Inc. Sutherland HDL, Inc.(founded 1992) Provides expert verilog HDL and PLI design services Provides verilog HDL and PLI Training Located near Portland Oregon, World-wide services Mr. Stuart Sutherland Over 13 years experience with verilog Worked as a design engineer on military flight simulators Senior Applications Engineer for Gateway Design Automation, the founding company of verilog Author of the popular verilog HDL Quick Reference Guide and The verilog PLI Handbook Involved in the IEEE 1364 verilog standardizationPart 1-4 LHDS utherlandSeminar Objectives The focus of this seminar is on understanding what is new in the Verilog-2001 standard An overview of the verilog HDL Details on the major enhancements in Verilog-2001 Ideas on how you can use these enhancements, today Assumptions.
3 You have a background in hardware engineering You are at least familiar with Using verilog -1995 Using the New Verilog-2001 StandardPart 1: Modeling Hardwareby Sutherland HDL, Inc., Portland, Oregon, 2001 Part 1-3 Part 1-5 LHDS utherlandSeminar Flow Part 1 covers Verilog-2001 enhancements that primarily affect modeling hardware ANSI C style port lists Sensitivity list enhancements Model attributes Signed data types and signed arithmetic Multidimensional arrays Part 2 covers Verilog-2001 enhancements that primarily affect verifying hardware New compiler directives Enhanced File I/O Re-entrant tasks and recursive functions Generate blocks Configuration blocks Deep submicron timing accuracy enhancementsPart 1-6 LHDS utherlandVerilog-2001 Update The IEEE Std.
4 1364-2001 verilog standard is official Work on the standard was finished in March, 2000 IEEE balloting on the standard was completed in July, 2000 Clarifications to the standard as a result of ballot comments were approved in December, 2000 The IEEE officially ratified the standard in March, 2001 Using the New Verilog-2001 StandardPart 1: Modeling Hardwareby Sutherland HDL, Inc., Portland, Oregon, 2001 Part 1-4 Part 1-7 LHDS utherlandWhy a New Standard? Add enhancements to verilog Design methodologies are evolving System level design, intellectual property models, design re-use, very deep submicron, etc.
5 Cliff Cummings Top Five Enhancement Requests from a survey at the HDLCon 1996 conference Clarify ambiguities in verilog 1364-1995 The 1364-1995 reference manual came the Gateway Design Automation verilog -XL User s Manual Verilog-2001 more clearly defines verilog syntax and semanticsPart 1-8 LHDS utherlandGoals for Verilog-2001 Enhance verilog for Higher level, abstract system level modeling Intellectual Property (IP) modeling Greater timing accuracy for very deep submicron Make verilog even easier to use Eliminate redundancies in declarations Simplify syntax of some verbose constructs Correct errata and ambiguities Maintain backward compatibility Ensure that EDA vendors will implement all enhancements!
6 Using the New Verilog-2001 StandardPart 1: Modeling Hardwareby Sutherland HDL, Inc., Portland, Oregon, 2001 Part 1-5 Part 1-9 LHDS utherlandOverview of HDL Enhancements 30+ major enhancements were added to the verilog HDL Brief description and examples New reserved words Errata and clarifications Dozens of corrections were made to the 1364-1995 standard Do not affect verilog users Very important to verilog tool implementors Not listed in this paper refer to the 1364-2001 verilog Language Reference Manual (LRM)Part 1-10 LHDS utherlandSupport For Verilog-2001 Several simulator and synthesis companies are working on adding support for the Verilog-2001 enhancements Simulators: Model Technology ModelSim currently supports most new features Co-Design SystemSim currently supports most new features Synopsys VCS planned Q3-2001 support for several new features Cadence NC- verilog and verilog -XL no announced release date Synthesis.
7 Synopsys Presto (replaces DC compiler) currently supports a synthesizable subset of Verilog-2001 enhancements Cadence BuildGates no announced release date Exemplar Leonardo Spectrum no announced release dateInformation last updated July, 2001 Using the New Verilog-2001 StandardPart 1: Modeling Hardwareby Sutherland HDL, Inc., Portland, Oregon, 2001 Part 1-6 Part 1-11 LHDS utherlandHistory of the verilog HDL 1984: Gateway Design Automation introduced the verilog -XL digital logic simulator The verilog language was part of the verilog -XL simulator The language was mostly created by 1 person, Phil Moorby The language was intended to be used with only 1 product 1989: Gateway merged into Cadence Design Systems 1990: Cadence made the verilog HDL public domain Open verilog International (OVI) controlled the language 1995: The IEEE standardized the verilog HDL (IEEE 1364) 2001.
8 The IEEE enhanced the verilog HDL for modeling scalable designs, deep sub-micron accuracy, 1-12 LHDS utherlandmodulename( ports) ;endmoduleQuick Review:Contents of a verilog Model verilog modulesare the building blocks for verilog designs Modules may represent: An entire design Major hierarchical blockswithin a design Individual componentswithin a designmodulename( ports) ;endmoduledata type declarationsport declarationsfunctionalitytimingModules are completely self contained The only things global in verilog are the names of modules and primitives verilog does not have global variables or functionsUsing the New Verilog-2001 StandardPart 1: Modeling Hardwareby Sutherland HDL, Inc.
9 , Portland, Oregon, 2001 Part 1-7 Part 1-13 LHDS utherlandmodule addbit (a, b, ci, sum, co);input a, b, ci;output sum, co;wire a, b, ci;reg sum, co;endmodulefunctionality& timingabcisumco1-bit Addermodule nameport declarations Port declarations define the direction and size of each portQuick Review:Module Declarations Module name is a user-defined name for the model Module ports are signals that pass in and outmodule portsIn verilog -1995, The names of the ports are repeated in three places Data type declarations define signals used inside the moduledata typedeclarationsPart 1-14 LHDS utherlandVerilog-2001 CombinesPort and Data Type Declarations The port direction and the data type of the signal can be combined into one statement Reduces the number of times the port name is typed Does not change functionalitymodule addbit (a, b, ci, sum, co).
10 Input wire a, b, ci;output reg sum, co;endmodulefunctionality& timingabcisumco1-bit AdderCombined declarationsUsing the New Verilog-2001 StandardPart 1: Modeling Hardwareby Sutherland HDL, Inc., Portland, Oregon, 2001 Part 1-8 Part 1-15 LHDS utherlandVerilog-2001 AddsANSI C Style Port Declarations The port direction and data type of the signal can be included in the port list Further reduces the number of times the port name is typed Makes verilog more consistent with C Does not change functionalitymodule addbit (input wire a,input wire binput wire ci,output reg sum, co).