IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS IEEE standard VHDL packages for MEDS
Trang 1IEEE Std 1076.1.1™-2004
IEEE Standard VHDL Analog and
Mixed-Signal Extensions—Packages for Multiple Energy Domain Support
3 Park Avenue, New York, NY10016-5997, USA
IEEE Computer Society
Sponsored by the
Design Automation Standards Committee
17 June 2005Print: SH95310PDF: SS95310
Trang 3Recognized as an
American National Standard (ANSI)
The Institute of Electrical and Electronics Engineers, Inc.
3 Park Avenue, New York, NY 10016-5997, USA
Copyright © 2005 by the Institute of Electrical and Electronics Engineers, Inc.
All rights reserved Published 17 June 2005 Printed in the United States of America.
IEEE is a registered trademark in the U.S Patent & Trademark Office, owned by the Institute of Electrical and Electronics Engineers, Incorporated.
IEEE-SA Standards Board
Abstract: This standard defines a collection of VHDL 1076.1 packages, compatible with
IEEE Std 1076.1TM-1999, along with recommendations for conforming use, in order to facilitate theinterchange of simulation models of physical components and subsystems The packages includethe definition of standard types, subtypes, natures, and constants for modeling in multiple energydomains (electrical, fluidic, mechanical, etc.)
Keywords: interchange, modeling, model interchange, model portability, multidisciplinary,
multidisciplinary modeling, packages, portability, standard packages, standard VHDL packages,VHDL, VHDL-AMS
Trang 4IEEE Standards documents are developed within the IEEE Societies and the Standards Coordinating Committees of the
IEEE Standards Association (IEEE-SA) Standards Board The IEEE develops its standards through a consensusdevelopment process, approved by the American National Standards Institute, which brings together volunteersrepresenting varied viewpoints and interests to achieve the final product Volunteers are not necessarily members of theInstitute and serve without compensation While the IEEE administers the process and establishes rules to promote fairness
in the consensus development process, the IEEE does not independently evaluate, test, or verify the accuracy of any of theinformation contained in its standards
Use of an IEEE Standard is wholly voluntary The IEEE disclaims liability for any personal injury, property or otherdamage, of any nature whatsoever, whether special, indirect, consequential, or compensatory, directly or indirectly resultingfrom the publication, use of, or reliance upon this, or any other IEEE Standard document
The IEEE does not warrant or represent the accuracy or content of the material contained herein, and expressly disclaimsany express or implied warranty, including any implied warranty of merchantability or fitness for a specific purpose, or that
the use of the material contained herein is free from patent infringement IEEE Standards documents are supplied “AS IS.”
The existence of an IEEE Standard does not imply that there are no other ways to produce, test, measure, purchase, market,
or provide other goods and services related to the scope of the IEEE Standard Furthermore, the viewpoint expressed at thetime a standard is approved and issued is subject to change brought about through developments in the state of the art andcomments received from users of the standard Every IEEE Standard is subjected to review at least every five years forrevision or reaffirmation When a document is more than five years old and has not been reaffirmed, it is reasonable toconclude that its contents, although still of some value, do not wholly reflect the present state of the art Users are cautioned
to check to determine that they have the latest edition of any IEEE Standard
In publishing and making this document available, the IEEE is not suggesting or rendering professional or other servicesfor, or on behalf of, any person or entity Nor is the IEEE undertaking to perform any duty owed by any other person orentity to another Any person utilizing this, and any other IEEE Standards document, should rely upon the advice of acompetent professional in determining the exercise of reasonable care in any given circumstances
Interpretations: Occasionally questions may arise regarding the meaning of portions of standards as they relate to specificapplications When the need for interpretations is brought to the attention of IEEE, the Institute will initiate action to prepareappropriate responses Since IEEE Standards represent a consensus of concerned interests, it is important to ensure that anyinterpretation has also received the concurrence of a balance of interests For this reason, IEEE and the members of itssocieties and Standards Coordinating Committees are not able to provide an instant response to interpretation requests except
in those cases where the matter has previously received formal consideration At lectures, symposia, seminars, or educationalcourses, an individual presenting information on IEEE standards shall make it clear that his or her views should be consideredthe personal views of that individual rather than the formal position, explanation, or interpretation of the IEEE
Comments for revision of IEEE Standards are welcome from any interested party, regardless of membership affiliation withIEEE Suggestions for changes in documents should be in the form of a proposed change of text, together with appropriatesupporting comments Comments on standards and requests for interpretations should be addressed to:
Secretary, IEEE-SA Standards Board
445 Hoes LanePiscataway, NJ 08854USA
Authorization to photocopy portions of any individual standard for internal or personal use is granted by the Institute ofElectrical and Electronics Engineers, Inc., provided that the appropriate fee is paid to Copyright Clearance Center Toarrange for payment of licensing fee, please contact Copyright Clearance Center, Customer Service, 222 Rosewood Drive,Danvers, MA 01923 USA; +1 978 750 8400 Permission to photocopy portions of any individual standard for educationalclassroom use can also be obtained through the Copyright Clearance Center
NOTE−Attention is called to the possibility that implementation of this standard may require use of subjectmatter covered by patent rights By publication of this standard, no position is taken with respect to the exist-ence or validity of any patent rights in connection therewith The IEEE shall not be responsible for identifyingpatents for which a license may be required by an IEEE standard or for conducting inquiries into the legal valid-ity or scope of those patents that are brought to its attention
Trang 5This set of packages provides a standard for the declaration of the most frequently used constants and typesrequired for multiple energy domain modeling Use of these packages with their defined types, constants andattributes is intended to provide a mechanism for writing VHDL models (compliant with IEEE Std 1076.1-1999) that are portable and interoperable with other VHDL models adhering to this standard The standardserves a broad class of applications
Notice to users
Errata
Errata, if any, for this and all other standards can be accessed at the following URL: http://standards.ieee.org/reading/ieee/updates/errata/index.html Users are encouraged to check this URL forerrata periodically
This introduction in not part of IEEE Std 1076.1.1-2004, IEEE Standard VHDL Analog and Mixed-SignalExtenstions—Packages for Multiple Energy Domain Support
Copyright © 2005 IEEE All rights reserved iii
Trang 6*Member Emeritus
Also included are the following nonvoting IEEE-SA Standards Board liaisons:
Satish K Aggarwal, NRC Representative Richard DeBlasio, DOE Representative Alan Cookson, NIST Representative
Peter SchwarzMichael SeibtRichard ShiJohn ShieldsMarius SidaDarrell TeegardenAlain VachouxJohn WillisMark Zwolinski
H Alan MantoothTimothy McBrayer
Egbert MolenkampCharles NgetheSerafin A Perez-LopezFrancesco SforzaJohn ShieldsGil ShultzAlain VachouxSrinivasa VemuruPeter R WilsonMark Zwolinski
Hermann KochThomas J McGean
Daleep C MohlaPaul Nikolich
T W OlsenRonald C PetersenGary S RobinsonFrank StoneMalcolm V ThadenDoug ToppingJoe D Watson
Copyright © 2005 IEEE All rights reserved iv
Trang 7
Contents
1 Overview 1
1.1 Scope 1
1.2 Purpose 2
1.3 System of units 2
1.4 IEEE math package 2
2 Definitions 2
3 Constants 2
3.1 Usage 3
3.2 FUNDAMENTAL_CONSTANTS 3
3.3 MATERIAL_CONSTANTS 5
4 Energy domain packages 6
4.1 ENERGY_SYSTEMS 6
4.2 ELECTRICAL_SYSTEMS 8
4.3 MECHANICAL_SYSTEMS 10
4.4 RADIANT_SYSTEMS 13
4.5 THERMAL_SYSTEMS 14
4.6 FLUIDIC_SYSTEMS 15
v
Copyright © 2005 IEEE All rights reserved
Trang 9IEEE Standard VHDL Analog and
Mixed-Signal Extensions—Packages for Multiple Energy Domain Support
This standard defines a collection of VHDL 1076.1 packages, compatible with IEEE Std 1076.1™-1999,1, 2
along with recommendations for conforming use, in order to facilitate the interchange of simulation models
of physical components and subsystems The packages include the definition of standard types, subtypes, natures, and constants for modeling in multiple energy domains (electrical, fluidic, mechanical, etc.)
The packages are intended for use primarily in the modeling of multiple energy domain systems The range
of operation of the packages is not defined in this standard, but is intended to be valid across a wide range
of disciplines and applications
This standard is embodied in the package declarations for the following packages:
Copyright © 2005 IEEE All rights reserved.
2 IEEE publications are available from the Institute of Electrical and Electronics Engineers, Inc., 445 Hoes Lane, Piscataway, NJ
08854, USA (http://standards.ieee.org/).
Trang 10IEEE Std 1076.1.1-2004 IEEE Standard VHDL Analog and Mixed-Signal Extensions—Packages for Multiple Energy Domain Support
The packages were chosen for two purposes The first purpose was to define a set of basic physical constants (either with or without default values) so that models written using these packages could have a common basis for modeling physical systems The second purpose was to define a set of types and natures that would provide a common framework for modeling physical systems across a range of commonly used energy domains These purposes enable models written using this standard to contain the same physical constants, but also ensure that the interfaces are consistent, correct, and maintain interoperability
System of units
The International System of Units, universally abbreviated SI (from the French Le Système International d'Unités), is the modern metric system of measurement, and is internationally recognized The SI system of units is used in this standard to ensure that the packages are consistent, correct, and internationally
interoperable In practice this means compliance with IEEE/ASTM SI 10™-2002 Due to the inclusion of
machine readable text in this standard, it has been necessary to use mathematical notation using the syntax adopted by IEEE Std 1076.1-1999 This is a specific exception to the general SI usage in this standard
IEEE math package
This standard uses the VHDL mathematical packages in IEEE Std 1076.2™-1996 for the definition of basic mathematical types and operators
Definitions
For the purposes of this standard, the following terms and definitions apply The Authoritative Dictionary
of IEEE Standards, Seventh Edition, should be referenced for terms not defined in this clause
2.1 unit: Attribute defined as a string that is used to define the name of the fundamental unit of the declared
type For example, for the quantity voltage in electrical systems, the UNIT is defined as "volt."
2.2 symbol: Attribute defined as a string that is used to define the symbol of the fundamental unit of the
declared type For example, for the quantity voltage in electrical systems the symbol is defined as "V."
Constants
The constants shall be divided into two classes: fixed and user-definable The fixed constants shall be fundamental physical constants that have accepted values The user-definable constants shall be defined as deferred constants, allowing them to be defined in a package body by the user This allows the package to contain names of commonly used constants, without restricting the value to specific cases The constants package shall use the MATH_REAL package from the IEEE library
2
Copyright © 2005 IEEE All rights reserved.
Trang 11IEEE Std 1076.1.1-2004 IEEE Standard VHDL Analog and Mixed-Signal Extensions—Packages for Multiple Energy Domain Support
Copyright 2005 by IEEE All rights reserved
This source file is an essential part of IEEE Std 1076.1.1-2004
IEEE Standard Packages for Multiple Energy Domain Support
This source file may not be copied, sold, or included with software
that is sold without written permission from the IEEE Standards
Department This source file may be used to implement this standard
and may be distributed in compiled form in any manner so long as the
compiled form does not allow direct decompilation of the original
source file
This source file may be copied for individual use between licensed users This source file is provided on an AS IS basis The IEEE disclaims ANY
WARRANTY EXPRESS OR IMPLIED INCLUDING ANY WARRANTY OF MERCHANTABILITY
AND FITNESS FOR USE FOR A PARTICULAR PURPOSE The user of the source
file shall indemnify and hold IEEE harmless from any damages or liability arising out of the use thereof
Title: Standard VHDL Packages for Multiple Energy Domain Support
(IEEE 1076.1.1–2004, FUNDAMENTAL_CONSTANTS)
Library: This package shall be compiled into a library
symbolically named IEEE
Constant Description Default value Uncertainty
- - - -
PHYS_Q Electronic charge 1.602_176_462e-19 0.000_000_063e-19
PHYS_EPS0 Permittivity of vacuum 8.854_187_817e-12 exact
PHYS_MU0 Permeability of vacuum 4.0e-7*pi exact
PHYS_K Boltzmann’s constant 1.380_650_3e-23 0.000_002_4e-23
PHYS_GRAVITY Accel due to gravity 9.806_65 exact
PHYS_CTOK Convert degrees C->K 273.15 exact
PHYS_C Velocity of light 299_792_458.0 exact
PHYS_H Planck’s constant 6.626_068_76e-34 0.000_000_52e-34
PHYS_H_OVER_2_PI Planck’s constant/2*Pi PHYS_H/MATH_2_PI 0.000_000_82e-34
- Version : 1.0
Trang 12IEEE Std 1076.1.1-2004 IEEE Standard VHDL Analog and Mixed-Signal Extensions—Packages for Multiple Energy Domain Support
library IEEE;
use IEEE.MATH_REAL.all;
package FUNDAMENTAL_CONSTANTS is
Declaration
attribute SYMBOL : STRING;
attribute UNIT : STRING;
Physical Constant Definitions
Electronic charge <COULOMB>
constant PHYS_Q : REAL := 1.602_176_462e-19;
Permittivity of vacuum <FARADS/METER>
constant PHYS_EPS0 : REAL := 8.854_187_817e-12;
Permeability of vacuum <HENRIES/METER>
constant PHYS_MU0 : REAL := 4.0e-7 * MATH_PI;
Boltzmann's constant <JOULES/KELVIN>
constant PHYS_K : REAL := 1.380_650_3e-23;
Acceleration due to gravity <METERS/SECOND_SQUARED>
constant PHYS_GRAVITY : REAL := 9.806_65;
Conversion between degrees Celsius and Kelvin
constant PHYS_CTOK : REAL := 273.15;
Velocity of light in a vacuum <METERS/SECOND>
constant PHYS_C : REAL := 299_792_458.0;
Planck’s constant
constant PHYS_H : REAL := 6.626_068_76e-34;
Planck’s constant divided by 2 pi
constant PHYS_H_OVER_2_PI : REAL := PHYS_H/MATH_2_PI;
common scaling factors
constant YOCTO : REAL := 1.0e-24;
constant ZEPTO : REAL := 1.0e-21;
constant ATTO : REAL := 1.0e-18;
constant FEMTO : REAL := 1.0e-15;
constant PICO : REAL := 1.0e-12;
constant NANO : REAL := 1.0e-9;
constant MICRO : REAL := 1.0e-6;
constant MILLI : REAL := 1.0e-3;
constant CENTI : REAL := 1.0e-2;
constant DECI : REAL := 1.0e-1;
constant DEKA : REAL := 1.0e+1;
constant HECTO : REAL := 1.0e+2;
constant KILO : REAL := 1.0e+3;
constant MEGA : REAL := 1.0e+6;
constant GIGA : REAL := 1.0e+9;
constant TERA : REAL := 1.0e+12;
constant PETA : REAL := 1.0e+15;
constant EXA : REAL := 1.0e+18;
constant ZETTA : REAL := 1.0e+21;
constant YOTTA : REAL := 1.0e+24;
alias DECA is DEKA;
end package FUNDAMENTAL_CONSTANTS;
4
Copyright © 2005 IEEE All rights reserved.