Hardware/Software Co-Design: VHDL and Ada 95 Code Migration And

Total Page:16

File Type:pdf, Size:1020Kb

Hardware/Software Co-Design: VHDL and Ada 95 Code Migration And Hardware/Software Co-design: VHDL and Ada 95 Code Migration and Integrated Analysis Mike Mills and Greg Peterson Air Force Research Lab Information Technology Division Wright-Patterson AFB OH (937)-255-6653 x3591 1. ABSTRACT 2. INTRODUCTION Optimizing the design of complex The electronics design industry enjoys dramatic weapons systems constitutes an improvements in circuit capabilities, with the important task in efficiently number of transistors on a chip doubling every eighteen months as noted by Moore's Law [1]. developing and deploying effective This explosive growth represents tremendous complex weapons systems. Often potential for military and commercial electronics architectural tradeoffs between systems and components, while at the same time presenting designers with the seemingly hardware and software insurmountable task of exploiting this growth implementation must be performed effectively and economically. As a corollary to early in the design cycle, resulting in Moore's Law, the electronic systems design process demands an exponential increase in potentially inefficient systems or design productivity to keep pace with subsystems. As technologies and improvements in device density and speed. costs in hardware and software When developing electronic systems, the implementation change over time, designer typically develops models of the the best partitioning of system hardware components by starting with abstract behavioral VHSIC Hardware Description functionality into hardware and Language (VHDL) models of functionality and software components will also refining these models into register transfer level change. Currently, recasting a and eventually gate level models. Software design using high level languages such as Ada component from hardware to software often follows a similar development path in (or vice-versa) is a difficult and error- parallel to the hardware development. This top- prone activity. This paper explores a down design methodology is appealing due to its effectiveness in handling complexity, but new approach to ease the hardware often results in sub-optimal implementations due software co-design and repartitioning to the need to partition functionality into hardware and software too early in the design activities by providing a mechanism cycle. In addition, the hardware and software to exchange software written in Ada domains use different representations (languages) 95 with behavioral VHDL. which are challenging to make inter-operate. Bringing the hardware and software components into a consistent framework could help provide an effective means of co-executing hardware models with software code. Design methodologies and tools must account for these issues to ensure correct, efficient implementations of designs. Simply exploiting these improvements in designing and manufacturing electronics hardware solves only 1 half the problem: we need efficient and reliable By exploiting state of the art software methods to develop and maintain both the engineering tools and formats, a bridge between hardware and software. With advances in hardware models and software code can be reconfigurable computing, the delineation constructed. This bridge has great potential for between these two domains continues to blur. enhancing the systems design effort by Effective language support, tools, and supporting relatively effortless migration between methodologies addressing these issues will help the hardware and software domains in addition to enable the future deployment of sophisticated enabling an integrated analysis tool suite. systems and the affordable, effective maintenance of existing weapons systems. In response to a perceived need for additional support of abstract system design and As a result of research projects funded by the Air specification, a system-level design language Force Research Lab and DARPA and commercial development effort sponsored by the Industry tool development projects, an emerging, Council continues to investigate needs in this extensible intermediate format for VHDL area in preparation for extensions to VHDL or the promises high performance and space efficiency possible development a new system description for analyzed (compiled) VHDL models. The language [3]. Advanced Intermediate Representation with Extensibility (AIRE) structures VHDL models in Significant related research is in progress which abstract syntax trees with additional information could be exploited in developing the system provided as the models are analyzed, elaborated, level design language. There is a wealth of work and simulated. Standardization of AIRE for going on with VHDL and hardware design, VHDL, VHDL-AMS, and Verilog support synthesis, and test. The same can be said of continues, and a number of AIRE-compliant work for software engineering with Ada and with implementations near completion. process improvements. Complex systems include both hardware and software components. Abstract syntax trees serve a common role as a Significant recent attention focuses on how to standard representation of software code during specify, design, and verify the hardware and compilation. In order to develop a common software together. Current standardization efforts AST representation for multiple software related to codesign focus on co-simulation languages such as Ada, JOVIAL, and C++, the approaches in the short term [4] and general Arcadia group developed IRIS. By using IRIS codesign/systems design support in the long as a common foundation, a number of software term. The goal of this effort is to bring together engineering projects have been able to exploit a research results from both communities to common front end and support multiple improve systems design capabilities. languages. One Air Force Research Lab software maintenance project exploits this approach to Long-term software engineering experience port older JOVIAL code into Ada 95 [2]. proves Ada to be effective for cost-effectively managing large program development and This paper addresses efforts to provide an maintenance efforts, particularly when compared interface between VHDL models and Ada to languages such as C [5,6]. Ada is software via a common abstract syntax tree by syntactically similar to VHDL, which makes it exploiting AIRE and IRIS. We discuss this attractive as a basis for the software domain. interface, language construct limitations, and the Despite the end of the DoD Ada mandate, Ada potential for solidifying the hardware/software remains a powerful language often chosen for interface. A number of very interesting weapons systems development [7]. Ada applications exist for such an interface between provides strong typing, encapsulation via the VHDL hardware models and software written in package mechanism, and supports generics languages such as Ada. Models in hardware can among other features. Ada 95’s object oriented be ported to software for implementation, and programming, real time, and programming in the vice-versa. In addition, some of the Arcadia large features makes Ada highly competitive. software engineering tools built upon IRIS Yet, opposition to Ada has hindered general provide analysis capabilities that could prove adoption by industry. VHDL enjoys significant quite useful for VHDL. The potential for greatly use in the design automation industry. improving the state of the art in hardware modeling via these tools is discussed. 3. OVERVIEW OF VHDL 2 VHDL provides the best current capability for supporting the development and ongoing The VHDL-AMS (Analog Mixed Signal) maintenance of large, complex digital systems. extensions to VHDL provide a capability for Developed by the DoD in the 1980s to support modeling analog and mixed signal designs. The the documentation of electronic systems, VHDL VHDL-AMS standard provides a single language derives much of its syntax and semantics from in which both digital and analog circuitry effects Ada. A major difference in the languages comes can be modeled, thus giving us an integrated from the notion of concurrent processes that tool for considering analog effects for advanced permeates VHDL. Because the language is digital design. intended to model hardware components which are "always executing," VHDL is a highly 4. OVERVIEW OF AIRE concurrent language built upon a simulation cycle-based timing model. Interactions between The Advanced Intermediate Representation with VHDL processes occur over signals and include Extensibility/Common Environment (AIRE/CE) data and temporal aspects. VHDL is a Turing is currently being developed by a number of complete language and capable of representing electronic design automation tool vendors and very low level device models on up to system users and is being standardized through the models by employing appropriate abstraction. Electronic Industries Association and the IEC. Data encapsulation is part of VHDL. Although Before the design and implementation of developed initially for documentation and AIRE/CE, integration of tool components from simulation, synthesis tools now transform more distinct applications to form an entire system abstract VHDL models into detailed gate-level was severely limited by proprietary, inflexible, implementations, resulting in a dramatic low-functionality and low-performance interfaces. productivity improvement. The cost and time required to integrate best-of- breed tool components generally lead to Several past and current research and pragmatic compromises intended to reduce cost standardization efforts focus on ways
Recommended publications
  • Systemverilog
    SystemVerilog ● Industry's first unified HDVL (Hw Description and Verification language (IEEE 1800) ● Major extension of Verilog language (IEEE 1364) ● Targeted primarily at the chip implementation and verification flow ● Improve productivity in the design of large gate-count, IP- based, bus-intensive chips Sources and references 1. Accellera IEEE SystemVerilog page http://www.systemverilog.com/home.html 2. “Using SystemVerilog for FPGA design. A tutorial based on a simple bus system”, Doulos http://www.doulos.com/knowhow/sysverilog/FPGA/ 3. “SystemVerilog for Design groups”, Slides from Doulos training course 4. Various tutorials on SystemVerilog on Doulos website 5. “SystemVerilog for VHDL Users”, Tom Fitzpatrick, Synopsys Principal Technical Specialist, Date04 http://www.systemverilog.com/techpapers/date04_systemverilog.pdf 6. “SystemVerilog, a design and synthesis perspective”, K. Pieper, Synopsys R&D Manager, HDL Compilers 7. Wikipedia Extensions to Verilog ● Improvements for advanced design requirements – Data types – Higher abstraction (user defined types, struct, unions) – Interfaces ● Properties and assertions built in the language – Assertion Based Verification, Design for Verification ● New features for verification – Models and testbenches using object-oriented techniques (class) – Constrained random test generation – Transaction level modeling ● Direct Programming Interface with C/C++/SystemC – Link to system level simulations Data types: logic module counter (input logic clk, ● Nets and Variables reset, ● enable, Net type,
    [Show full text]
  • Development of Systemc Modules from HDL for System-On-Chip Applications
    University of Tennessee, Knoxville TRACE: Tennessee Research and Creative Exchange Masters Theses Graduate School 8-2004 Development of SystemC Modules from HDL for System-on-Chip Applications Siddhartha Devalapalli University of Tennessee - Knoxville Follow this and additional works at: https://trace.tennessee.edu/utk_gradthes Part of the Electrical and Computer Engineering Commons Recommended Citation Devalapalli, Siddhartha, "Development of SystemC Modules from HDL for System-on-Chip Applications. " Master's Thesis, University of Tennessee, 2004. https://trace.tennessee.edu/utk_gradthes/2119 This Thesis is brought to you for free and open access by the Graduate School at TRACE: Tennessee Research and Creative Exchange. It has been accepted for inclusion in Masters Theses by an authorized administrator of TRACE: Tennessee Research and Creative Exchange. For more information, please contact [email protected]. To the Graduate Council: I am submitting herewith a thesis written by Siddhartha Devalapalli entitled "Development of SystemC Modules from HDL for System-on-Chip Applications." I have examined the final electronic copy of this thesis for form and content and recommend that it be accepted in partial fulfillment of the equirr ements for the degree of Master of Science, with a major in Electrical Engineering. Dr. Donald W. Bouldin, Major Professor We have read this thesis and recommend its acceptance: Dr. Gregory D. Peterson, Dr. Chandra Tan Accepted for the Council: Carolyn R. Hodges Vice Provost and Dean of the Graduate School (Original signatures are on file with official studentecor r ds.) To the Graduate Council: I am submitting herewith a thesis written by Siddhartha Devalapalli entitled "Development of SystemC Modules from HDL for System-on-Chip Applications".
    [Show full text]
  • Powerplay Power Analysis 8 2013.11.04
    PowerPlay Power Analysis 8 2013.11.04 QII53013 Subscribe Send Feedback The PowerPlay Power Analysis tools allow you to estimate device power consumption accurately. As designs grow larger and process technology continues to shrink, power becomes an increasingly important design consideration. When designing a PCB, you must estimate the power consumption of a device accurately to develop an appropriate power budget, and to design the power supplies, voltage regulators, heat sink, and cooling system. The following figure shows the PowerPlay Power Analysis tools ability to estimate power consumption from early design concept through design implementation. Figure 8-1: PowerPlay Power Analysis From Design Concept Through Design Implementation PowerPlay Early Power Estimator Quartus II PowerPlay Power Analyzer Higher Placement and Simulation Routing Results Results Accuracy Quartus II Design Profile User Input Estimation Design Concept Design Implementation Lower PowerPlay Power Analysis Input For the majority of the designs, the PowerPlay Power Analyzer and the PowerPlay EPE spreadsheet have the following accuracy after the power models are final: • PowerPlay Power Analyzer—±20% from silicon, assuming that the PowerPlay Power Analyzer uses the Value Change Dump File (.vcd) generated toggle rates. • PowerPlay EPE spreadsheet— ±20% from the PowerPlay Power Analyzer results using .vcd generated toggle rates. 90% of EPE designs (using .vcd generated toggle rates exported from PPPA) are within ±30% silicon. The toggle rates are derived using the PowerPlay Power Analyzer with a .vcd file generated from a gate level simulation representative of the system operation. © 2013 Altera Corporation. All rights reserved. ALTERA, ARRIA, CYCLONE, HARDCOPY, MAX, MEGACORE, NIOS, QUARTUS and STRATIX words and logos are trademarks of Altera Corporation and registered in the U.S.
    [Show full text]
  • VHDL Modelling Guidelines Simulation and Documentation Aspects
    Second draft, 23 February 1997 CENELEC TC217/WG2 report 2.14 English version VHDL Modelling Guidelines Simulation and Documentation Aspects This CENELEC Report is under preparation and review by the Technical Committee CENELEC TC 217 Working Group 2. CENELEC members are the national electrotechnical committees of Austria, Belgium, Denmark, Finland, France, Germany, Greece, Iceland, Ireland, Italy, Luxembourg, Netherlands, Norway, Portugal, Spain, Sweden, Switzerland and United Kingdom. CENELEC European Committee for Electrotechnical Standardisation Comité Européen de Normalisation Electrotechnique Europäisches Komitee für Elektrotechnische Normung Central Secretariat: rue de Stassart 35, B-1050 Brussels CENELEC TC217/WG2 report 2.142 Second draft, 23 February 1997 3DJH LQWHQWLRQDOO\ OHIW EODQN Second draft, 23 February 19973 CENELEC TC217/WG2 report 2.14 )25(:25' 7KLV 7HFKQLFDO 5HSRUW LV WKH ILUVW GUDIW RI WKH &(1(/(& 7&:* UHSRUW 7KH UHSRUW LV GHULYHG IURP WKH (XURSHDQ 6SDFH $JHQF\ V (6$©V 9+'/ 0RGHOOLQJ *XLGHOLQHV UHIHUHQFH $6,& LVVXH GDWHG 6HSWHPEHU 7KLV GUDIW KDV EHHQ SUHSDUHG WDNLQJ LQWR DFFRXQW FRPPHQWV IURP &(1(/(& :* PHPEHUV SUHVHQWHG RQ WKH GHGLFDWHG HPDLO UHIOHFWRU 7KH DXWKRU ZRXOG OLNH WR WKDQN DOO FRQWULEXWRUV IRU WKHLU YDOXDEOH LQSXW 7KH (6$ 9+'/ 0RGHOOLQJ *XLGHOLQHV KDYH EHHQ XVHG LQ (6$ GHYHORSPHQW DQG VWXG\ FRQWUDFWV WR HQVXUH KLJKTXDOLW\ PDLQWDLQDEOH 9+'/ PRGHOV 7KH\ KDYH EHHQ SUHSDUHG E\ 3HWHU 6LQDQGHU ZLWK VXSSRUW IURP 6DQGL +DELQF ERWK DW WKH (6$(67(& 0LFURHOHFWURQLFV DQG 7HFKQRORJ\ 6HFWLRQ :60 32 %R[ $* 1RRUGZLMN
    [Show full text]
  • Waveform Editor
    1. Quartus II Simulator QII53017-9.1.0 This chapter describes how to perform different types of simulations with the Quartus II simulator. Introduction With today’s FPGAs becoming faster and more complex, designers face challenges in validating their designs. Simulation verifies the correctness of the design, reducing board testing and debugging time. The Altera® Quartus® II simulator is included in the Quartus II software to assist designers with design verification. The Quartus II simulator has a comprehensive set of features that are covered in the following sections: ■ “Simulation Flow” on page 1–2 ■ “Waveform Editor” on page 1–5 ■ “Simulator Settings” on page 1–13 ■ “Simulation Report” on page 1–16 ■ “Debugging with the Quartus II Simulator” on page 1–19 ■ “Scripting Support” on page 1–21 The Quartus II simulator supports the following device families: ■ ACEX® 1K ■ APEX™ 20KC, APEX 20KE, APEX II ■ Arria® GX ■ Cyclone® III, Cyclone II, Cyclone ■ FLEX® 10K, FLEX 10KA, FLEX 10KE, FLEX 6000 ■ HardCopy® II, HardCopy ■ MAX® II, MAX 3000A, MAX 7000AE, MAX 7000B, MAX 7000S ■ Stratix® III, Stratix II, Stratix, Stratix GX, Stratix II GX 1 The Quartus II simulator does not support newer devices introduced after Stratix III and Quartus II software version 8.1 and onwards. Use the ModelSim-Altera Edition to run simulations on designs targeting device introductions after Stratix III. For more information about the ModelSim-Altera Edition simulator, refer to the Mentor Graphics ModelSim Support chapter in volume 3 of the Quartus II Handbook. In the Quartus II software version 10.0 and onwards, the Quartus II simulator and Waveform Editor is removed.
    [Show full text]
  • VHDL Verification of FPGA Based ESF-CCS for Nuclear Power Plant I&C
    VHDL Verification of FPGA based ESF-CCS for Nuclear Power Plant I&C System Restu MAERANI1, and Jae Cheon JUNG2 1. Department of NPP Engineering, KINGS, Ulsan, 45014, Indonesia ([email protected]) 2. Department of NPP Engineering, KINGS, Ulsan, 45014, Republic of Korea ([email protected]) Abstract: Verification becomes the focus of activities during the integration phase of design life cycle in the development of the system. Verification methods that will not take much cost and time should be properly selected, accordance with the Measurement of Effectiveness (MOEs) need. Verification is one phase that must be done after completing the implementation process. Since Instrumentation & Control (I&C) system has a role as a very crucial to the control protection system in Nuclear Power Plant (NPP), then software verification is very essential and shall to be achieved for safety critical issue in system level. According to IEEE 1076-2008 standard, VHDL is a language that is easy to read by machines and humans; and make it easier for process development, verification, synthesis and testing for hardware reliability in the design. Because this design uses VHDL code for Field Programmable Gate Array (FPGA) based Engineered Safety features – Component Control System (ESF-CCS) and by referring to the NUREG/CR-7006 during VHDL verification on behavioral simulation process, it should be equivalent with the post layout simulation. Furthermore, Vivado will be used as the VHDL verifier, where the VHDL code itself is created, in order to simplify the process of verification with this design life cycle phase on re-engineering process.
    [Show full text]
  • Xilinx Development Systems: Product Descriptions, Data Book
    1 Development Systems: Product Descriptions November 25, 1997 (Version 2.0) 12* Development Systems Descriptions It’s simple to order a Xilinx Development System. Just choose a Foundation or Alliance Series and a few options. Give your local Xilinx Sales Office a call for information about our evaluation kits. Foundation Series • Foundation Base System (PC) • Foundation Base-Express System (PC) • Foundation Standard System (PC) • Foundation Express System (PC) Alliance Series • Alliance Base (PC or Workstation) • Alliance Standard (PC or Workstation) Alliance Series Options • VIEWlogic Workview Office Standard Development System Options (PC) November 25, 1997 (Version 2.0) 2-3 Development Systems: Product Descriptions Foundation Series: Foundation Base System (PC) Overview Package Features - Foundation Base The Foundation Series provides a complete, ready-to-use System design system for the design of Xilinx programmable logic FND FND FND FND devices. The Foundation Base System provides design Feature BAS STD BSX EXP entry (schematic and Abel HDL), simulation, and device √√√√ implementation tools for a broad array of FPGA and CPLD CPLD Devices √1 √√1 √ devices targeted for low density and high volume applica- FPGA Devices tions. Libraries and Interface √√√√ Schematic Editor √√√√ System Features HDL Editor √√√√ • Project manager Graphical State Editor √√√√ • Schematic editor ABEL 6 Entry / Synthesis √√√√ • Integrated HDL editor with support for the Abel 6 HDL VHDL Entry / Synthesis √√ • Functional and timing simulator √√ • EDIF, VHDL (VITAL compliant), and Verilog / SDF Verilog Entry / Synthesis √√√√ design interfaces Schematic-centric Synthesis • Device implementation software for Xilinx CPLDs and HDL-centric Synthesis √ FPGAs Simulator √√√√ • Comprehensive on-line help, on-line documentation, Device Implementation √√√√ and software tutorials Maintenance2 √√√√ • Software maintenance, including hotline support and 11/12/97 software updates Notes: 1.
    [Show full text]
  • Documentation for JTAG Switcher
    Documentation for JTAG Switcher 18 October 2019 License The MIT License Copyright (c) 2018-2019 Lauterbach GmbH, Ingo Rohloff Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUD- ING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. i Table of Contents 1 Introduction 2 1.1 IEEE 1149.1 aka JTAG . .2 1.2 JTAG overview . .3 1.3 JTAG chaining . .5 2 JTAG Switcher overview 6 2.1 Motivation . .6 2.2 Basic circuitry . .8 2.3 Design decisions . .9 2.3.1 JTAG Switcher should conform to IEEE 1149.1 . .9 2.3.2 Transparency . .9 2.3.3 First in JTAG chain . .9 2.3.4 JTAG slave TCK clock gating .
    [Show full text]
  • Hardware Description Languages Compared: Verilog and Systemc
    Hardware Description Languages Compared: Verilog and SystemC Gianfranco Bonanome Columbia University Department of Computer Science New York, NY Abstract This library encompasses all of the necessary components required to transform C++ into a As the complexity of modern digital systems hardware description language. Such additions increases, engineers are now more than ever include constructs for concurrency, time notion, integrating component modeling by means of communication, reactivity and hardware data hardware description languages (HDLs) in the types. design process. The recent addition of SystemC to As described by Edwards [1], VLSI an already competitive arena of HDLs dominated verification involves an initial simulation done in by Verilog and VHDL, calls for a direct C or C++, usually for proof of concept purposes, comparison to expose potential advantages and followed by translation into an HDL, simulation of flaws of this newcomer. This paper presents such the model, applying appropriate corrections, differences and similarities, specifically between hardware synthesization and further iterative Verilog and SystemC, in effort to better categorize refinement. SystemC is able to shorten this the scopes of the two languages. Results are based process by combining the first two steps. on simulation conducted in both languages, for a Consequently, this also decreases time to market model with equal specifications. for a manufacturer. Generally a comparison between two computer languages is based on the number of Introduction lines of code and execution time required to achieve a specific task, using the two languages. A Continuous advances in circuit fabrication number of additional parameters can be observed, technology have augmented chip density, such as features, existence or absence of constructs consequently increasing device complexity.
    [Show full text]
  • Systemverilog for VHDL Users
    SystemVerilog for VHDL Users Tom Fitzpatrick Principal Technical Specialist Synopsys, Inc. Agenda • Introduction • SystemVerilog Design Features • SystemVerilog Assertions • SystemVerilog Verification Features • Using SystemVerilog and VHDL Together 2 SystemVerilog Charter • Charter: Extend Verilog IEEE 2001 to higher abstraction levels for Architectural and Algorithmic Design , and Advanced Verification. Advanced Transaction-Level V g e verification capability Full Testbench lo h A r ri c sse ilo for semiformal and Language with e en g b rt formal methods. Coverage V t io es n The Assertion T IEEE Verilog Language Standard For Verilog A I r V 2001 P c e A Design h r e i il & c Abstraction: te o fa c g I r Direct C interface, tu e Interface r DP t a n Assertion API and l I semantics, abstract Coverage API data types, abstract operators and expressions 3 SystemVerilog: Verilog 1995 Event handling Basic datatypes (bit, int, reg, wire…) Verilog-95: 4 state logic Basic programming (for, if, while,..) Single language Hardware concurrency Gate level modelling for design & design entity modularization and timing testbench Switch level modeling and timing ASIC timing 4 SystemVerilog: VHDL Operator VHDL adds Packages Overloading higher level Dynamic Simple assertions pointers data types and Architecture memory configuration management User-defined types allocation records/ functionality enums Dynamic multi-D arrays structs hardware generation Automatic variables Signed numbers Strings Event handling Basic datatypes (bit, int, reg, wire…) 4 state logic Basic programming (for, if, while,..) Hardware concurrency Gate level modelling design entity modularization and timing Switch level modeling and timing ASIC timing 5 Semantic Concepts: C Associative Operator Overloading & Sparse arrays Packages pointers Further programming Dynamic Void type (do while, memory break, continue, allocation Unions records/ ++, --, +=.
    [Show full text]
  • Development of VITAL - Compliant VHDL Models for Functionally Complex Devices
    Development of VITAL - compliant VHDL models for functionally complex devices A.Poliakov, A.Sokhatski, SEVA Technologies, Inc. The paper is based on the development experience of VITAL level 0 compliant VHDL models of IDT FIFO memory family IC for the Free Model Foundation (FMF) [http://vhdl.org/fmf/]. The source data for the development was Integrated Device Technology (IDT) datasheets including timing parameters, VITAL specification, the FMF Guide Lines for VHDL VITAL models. Timing data was prepared in the SDF files. The paper dwells upon approaches and examples of describing functionally complex devices in VITAL standard. Introduction Let us try to imagine a bright future: a certain chip manufacturer, for example, IDT, manufacturer of memory chips, provides every new developed chip with documentation containing behavioral VHDL and Verilog models which precisely reflect both functionality and timing characteristics of a chip. This models will use the standard format of timing data presentation (the SDF) and corresponding HDL standards as VITAL VHDL. It would give the following advantages to engineers who apply the chips: 1) Behavioral level of the model ensures speedy board simulation. 2) Precise timing data ensures quality verification. 3) The standard timing data format ensures simplicity of uniting timing data and exchange with various tools. 4) The models can be used for research of chip behavior which have been incompletely reflected in the informal documentation (as datasheets). VITAL consists of the following standardized parts: 1) SDF to VHDL mapping specification 2) Model style constraints and development methodology 3) Timing routines 4) Primitive (AND, OR,…) timing models Until now VITAL standard was mostly used for functionally simple IC.
    [Show full text]
  • A Short Introduction to Verilog for Those Who Know VHDL
    A short introduction to SystemVerilog For those who know VHDL We aim for synthesis 1 Verilog & SystemVerilog 1984 – Verilog invented, C-like syntax VHDL First standard – Verilog 95 Extra features – Verilog 2001 A super set - SystemVerilog www.vhdl.org/sv/SystemVerilog_3.1a. pdf 2 Verilog vs VHDL VHDL 2001 95 3 SystemVerilog 4 SystemVerilog constructs ● Flip-flop ● Register ● Adder ● Multiplier (signed, unsigned) ● Concatenation ● Priority decoder ● Memory (sync and async) Synch and Single Pulse reg x,y; // variable type (0,1,Z,X) wire button; // net type (0,1,Z,X) // SSP always @(posedge clk) // procedural block begin x <= stb; y <= x; end assign button = x & ~y; //continuous assignment stb x y button & 6 Is this the same thing? reg x,y; // variable type (0,1,Z,X) wire button; // net type (0,1,Z,X) // SSP always @(posedge clk) // procedural block begin x <= stb; end always @(posedge clk) // procedural block begin y <= x; end stb x y assign button = x & ~y; button & 7 One more thing // This is OK // This is not OK (synth) always @(posedge clk) // multiple assignment always @(posedge clk) begin x <= stb; begin if (rst) x <= stb; x <= 0; end end always @(posedge clk) // same as begin always @(posedge clk) if (rst) x <= 0; end begin if (rst) x <= 0; else x <= stb; end 8 SV: always_{comb, ff, latch} b // forgot else branch // a synthesis warning a 1 c always @(a or b) 0 if (b) c = a; // compilation warning always_comb if (b) c = a; // yes always_comb if (b) c = a; else c = d; 9 reg or wire in Verilog 1) always … a <= b & c; reg both wire both 2) assign a = b & c; both wire 3) wire both module 10 SV relaxes variable use A variable can receive a value from one of these : • any number of always/initial-blocks • one always_ff/always_comb-block • one continuous assignment • one module instance We can skip wire If you don’t like reg, use logic instead 11 Signed/unsigned Numbers in verilog (95) are unsigned.
    [Show full text]