BS IEC 61691-1-1-2011 Behavioural languages VHDL Language reference manual《行为语言 VHDL语言参考手册》.pdf

上传人:syndromehi216 文档编号:583031 上传时间:2018-12-15 格式:PDF 页数:648 大小:8.21MB
下载 相关 举报
BS IEC 61691-1-1-2011 Behavioural languages VHDL Language reference manual《行为语言 VHDL语言参考手册》.pdf_第1页
第1页 / 共648页
BS IEC 61691-1-1-2011 Behavioural languages VHDL Language reference manual《行为语言 VHDL语言参考手册》.pdf_第2页
第2页 / 共648页
BS IEC 61691-1-1-2011 Behavioural languages VHDL Language reference manual《行为语言 VHDL语言参考手册》.pdf_第3页
第3页 / 共648页
BS IEC 61691-1-1-2011 Behavioural languages VHDL Language reference manual《行为语言 VHDL语言参考手册》.pdf_第4页
第4页 / 共648页
BS IEC 61691-1-1-2011 Behavioural languages VHDL Language reference manual《行为语言 VHDL语言参考手册》.pdf_第5页
第5页 / 共648页
亲,该文档总共648页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述

1、raising standards worldwideNO COPYING WITHOUT BSI PERMISSION EXCEPT AS PERMITTED BY COPYRIGHT LAWBSI Standards PublicationBehavioural languagesPart 1-1: VHDL Language reference manualBS IEC 61691-1-1:2011National forewordThis British Standard is the UK implementation of IEC 61691-1-1:2011. Itsuperse

2、des BS IEC 61691-1-1:2004 which is withdrawn.The UK participation in its preparation was entrusted to Technical CommitteeGEL/93, Design automation.A list of organizations represented on this committee can be obtained onrequest to its secretary.This publication does not purport to include all the nec

3、essary provisions of acontract. Users are responsible for its correct application. BSI 2011ISBN 978 0 580 75662 7ICS 35.060Compliance with a British Standard cannot confer immunity fromlegal obligations.This British Standard was published under the authority of the StandardsPolicy and Strategy Commi

4、ttee on 31 July 2011.Amendments issued since publicationAmd. No. Date Text affectedBRITISH STANDARDBS IEC 61691-1-1:2011IEC 61691-1-1Edition 2.0 2011-05INTERNATIONAL STANDARD Behavioural languages Part 1-1: VHDL Language Reference Manual INTERNATIONAL ELECTROTECHNICAL COMMISSION XSICS 25.040 / 35.06

5、0 PRICE CODEISBN 978-2-88912-440-4IEEE Std 1076BS IEC 61691-1-1:2011- i - IEC 61691-1-1:2011(E)IEEE Std 1076-2008Published by IEC under license from IEEE. 2008 IEEE. All rights reserved.Contents1. Overview of this standard 11.1 Scope 11.2 Purpose. 11.3 Structure and terminology of this standard 22.

6、Normative references. 53. Design entities and configurations. 73.1 General. 73.2 Entity declarations . 73.3 Architecture bodies 103.4 Configuration declarations. 134. Subprograms and packages 194.1 General. 194.2 Subprogram declarations . 194.3 Subprogram bodies 234.4 Subprogram instantiation declar

7、ations. 264.5 Subprogram overloading 264.6 Resolution functions 294.7 Package declarations 304.8 Package bodies. 314.9 Package instantiation declarations . 334.10 Conformance rules. 345. Types 355.1 General. 355.2 Scalar types 365.3 Composite types. 445.4 Access types. 535.5 File types 555.6 Protect

8、ed types. 585.7 String representations 616. Declarations . 636.1 General. 636.2 Type declarations. 646.3 Subtype declarations 646.4 Objects . 666.5 Interface declarations. 736.6 Alias declarations. 896.7 Attribute declarations. 926.8 Component declarations 936.9 Group template declarations 936.10 Gr

9、oup declarations. 936.11 PSL clock declarations. 94BS IEC 61691-1-1:2011IEC 61691-1-1:2011(E) - ii - IEEE Std 1076-2008Published by IEC under license from IEEE. 2008 IEEE. All rights reserved.7. Specifications. 957.1 General. 957.2 Attribute specification 957.3 Configuration specification 987.4 Disc

10、onnection specification. 1038. Names 1078.1 General. 1078.2 Simple names. 1088.3 Selected names. 1088.4 Indexed names . 1118.5 Slice names 1128.6 Attribute names 1128.7 External names. 1139. Expressions 1179.1 General. 1179.2 Operators 1189.3 Operands 1319.4 Static expressions. 1399.5 Universal expr

11、essions 14210. Sequential statements. 14510.1 General. 14510.2 Wait statement . 14510.3 Assertion statement 14710.4 Report statement 14810.5 Signal assignment statement 14910.6 Variable assignment statement 16010.7 Procedure call statement 16310.8 If statement 16410.9 Case statement . 16410.10Loop s

12、tatement 16610.11Next statement 16710.12Exit statement . 16710.13Return statement . 16810.14Null statement . 16811. Concurrent statements 16911.1 General. 16911.2 Block statement 16911.3 Process statement. 17011.4 Concurrent procedure call statements 17211.5 Concurrent assertion statements 17311.6 C

13、oncurrent signal assignment statements 17411.7 Component instantiation statements 17611.8 Generate statements . 182BS IEC 61691-1-1:2011- iii - IEC 61691-1-1:2011(E)IEEE Std 1076-2008Published by IEC under license from IEEE. 2008 IEEE. All rights reserved.12. Scope and visibility 18512.1 Declarative

14、 region 18512.2 Scope of declarations . 18512.3 Visibility 18712.4 Use clauses. 19112.5 The context of overload resolution 19213. Design units and their analysis 19513.1 Design units . 19513.2 Design libraries 19513.3 Context declarations 19713.4 Context clauses 19713.5 Order of analysis 19814. Elab

15、oration and execution . 19914.1 General. 19914.2 Elaboration of a design hierarchy 19914.3 Elaboration of a block, package, or subprogram header 20214.4 Elaboration of a declarative part 20514.5 Elaboration of a statement part 21014.6 Dynamic elaboration 21314.7 Execution of a model . 21415. Lexical

16、 elements . 22515.1 General. 22515.2 Character set 22515.3 Lexical elements, separators, and delimiters . 22715.4 Identifiers . 22915.5 Abstract literals 23015.6 Character literals 23115.7 String literals 23115.8 Bit string literals. 23215.9 Comments 23415.10Reserved words. 23515.11Tool directives 2

17、3716. Predefined language environment . 23916.1 General. 23916.2 Predefined attributes 23916.3 Package STANDARD . 25416.4 Package TEXTIO. 26816.5 Standard environment package27416.6 Standard mathematical packages . 27516.7 Standard multivalue logic package 27616.8 Standard synthesis packages 27716.9

18、 Standard synthesis context declarations 28316.10Fixed-point package 28316.11Floating-point package . 284BS IEC 61691-1-1:2011IEC 61691-1-1:2011(E) - iv - IEEE Std 1076-2008Published by IEC under license from IEEE. 2008 IEEE. All rights reserved.17. VHDL Procedural Interface overview. 28517.1 Genera

19、l. 28517.2 Organization of the interface . 28517.3 Capability sets 28617.4 Handles 28818. VHPI access functions . 29118.1 General. 29118.2 Information access functions . 29118.3 Property access functions. 29318.4 Access by name function . 29419. VHPI information model . 29519.1 General. 29519.2 Form

20、al notation 29519.3 Class inheritance hierarchy 29619.4 Name properties. 29719.5 The stdUninstantiated package 31019.6 The stdHierarchy package . 31319.7 The stdTypes package 32019.8 The stdExpr package 32219.9 The stdSpec package 32519.10The stdSubprograms package .32719.11The stdStmts package . 32

21、919.12The stdConnectivity package 33519.13The stdCallbacks package. 34019.14The stdEngine package . 34019.15The stdForeign package 34119.16The stdMeta package 34119.17The stdTool package. 34319.18Application contexts . 34420. VHPI tool execution 34520.1 General. 34520.2 Registration phase 34520.3 An

22、alysis phase . 35120.4 Elaboration phase. 35120.5 Initialization phase. 35320.6 Simulation phase 35320.7 Save phase 35320.8 Restart phase 35420.9 Reset phase 35420.10Termination phase. 35521. VHPI callbacks 35721.1 General. 35721.2 Callback functions . 35721.3 Callback reasons 359BS IEC 61691-1-1:20

23、11- v - IEC 61691-1-1:2011(E)IEEE Std 1076-2008Published by IEC under license from IEEE. 2008 IEEE. All rights reserved.22. VHPI value access and update. 37122.1 General. 37122.2 Value structures and types . 37122.3 Reading object values 37422.4 Formatting values 37522.5 Updating object values. 3772

24、2.6 Scheduling transactions on drivers 38123. VHPI function reference 38523.1 General. 38523.2 vhpi_assert . 38523.3 vhpi_check_error . 38623.4 vhpi_compare_handles 38823.5 vhpi_control . 38923.6 vhpi_create. 39023.7 vhpi_disable_cb . 39223.8 vhpi_enable_cb 39323.9 vhpi_format_value . 39423.10vhpi_g

25、et 39623.11vhpi_get_cb_info 39623.12vhpi_get_data 39723.13vhpi_get_foreignf_info . 39923.14vhpi_get_next_time 40023.15vhpi_get_phys. 40123.16vhpi_get_real 40223.17vhpi_get_str 40223.18vhpi_get_time . 40323.19vhpi_get_value 40423.20vhpi_handle. 40523.21vhpi_handle_by_index 40623.22vhpi_handle_by_name

26、 40823.23vhpi_is_printable 41023.24vhpi_iterator 41123.25vhpi_printf 41223.26vhpi_protected_call. 41323.27vhpi_put_data 41523.28vhpi_put_value 41723.29vhpi_register_cb 41823.30vhpi_register_foreignf 41923.31vhpi_release_handle 42123.32vhpi_remove_cb 42223.33vhpi_scan 42223.34vhpi_schedule_transactio

27、n 42323.35vhpi_vprintf 42624. Standard tool directives . 42924.1 Protect tool directives 429Annex A (informative) Description of accompanying files 447Annex B (normative) VHPI header file. 451BS IEC 61691-1-1:2011IEC 61691-1-1:2011(E) - vi - IEEE Std 1076-2008Published by IEC under license from IEEE

28、. 2008 IEEE. All rights reserved.Annex C (informative) Syntax summary. 477Annex D (informative) Potentially nonportable constructs. 501Annex E (informative) Changes from IEEE Std 1076-2002 . 503Annex F (informative) Features under consideration for removal 511Annex G (informative) Guide to use of st

29、andard packages.513Annex H (informative) Guide to use of protect directives 551Annex I (informative) Glossary. 557Annex J (informative) Bibliography 585Annex K (informative) IEEE List of participants. 587Index 589BS IEC 61691-1-1:2011- vii - IEC 61691-1-1:2011(E)IEEE Std 1076-2008Published by IEC un

30、der license from IEEE. 2008 IEEE. All rights reserved.INTERNATIONAL ELECTROTECHNICAL COMMISSION_BEHAVIOURAL LANGUAGES Part 1-1: VHDL Language Reference ManualFOREWORD1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising all national electro

31、technical committees (IEC National Committees). The object of IEC is to promote international co-operation on all questions concerning standardization in the electrical and electronic fields. To this end and in addition to other activities, IEC publishes International Standards, Technical Specificat

32、ions, Technical Reports, Publicly Available Specifications (PAS) and Guides (hereafter referred to as “IEC Publication(s)”). Their preparation is entrusted to technical committees; any IEC National Committee interested in the subject dealt with may participate in this preparatory work. International

33、, governmental and non-governmental organizations liaising with the IEC also participate in this preparation. IEC collaborates closely with the International Organization for Standardization (ISO) in accordance with conditions determined by agreement between the two organizations.2) The formal decis

34、ions or agreements of IEC on technical matters express, as nearly as possible, an international consensus of opinion on the relevant subjects since each technical committee has representation from all interested IEC National Committees. 3) IEC Publications have the form of recommendations for intern

35、ational use and are accepted by IEC National Committees in that sense. While all reasonable efforts are made to ensure that the technical content of IEC Publications is accurate, IEC cannot be held responsible for the way in which they are used or for any misinterpretation by any end user.4) In orde

36、r to promote international uniformity, IEC National Committees undertake to apply IEC Publications transparently to the maximum extent possible in their national and regional publications. Any divergence between any IEC Publication and the corresponding national or regional publication shall be clea

37、rly indicated in the latter.5) IEC itself does not provide any attestation of conformity. Independent certification bodies provide conformity assessment services and, in some areas, access to IEC marks of conformity. IEC is not responsible for any services carried out by independent certification bo

38、dies.6) Attention is drawn to the possibility that some of the elements of this IEC Publication may be the subject of patent rights. IEC shall not be held responsible for identifying any or all such patent rights.International Standard IEC 61691-1-1/IEEE Std 1076 has been processed through IEC techn

39、ical committee 93: Design automation.This second edition cancels and replaces the first edition published in 2004. This edition constitutes a technical revision.The text of this standard is based on the following documents:Full information on the voting for the approval of this standard can be found

40、 in the report on voting indicated in the above table.IEEE Std FDIS Report on voting1076 (2008) 93/302/FDIS 93/304/RVDBS IEC 61691-1-1:2011IEC 61691-1-1:2011(E) - viii - IEEE Std 1076-2008Published by IEC under license from IEEE. 2008 IEEE. All rights reserved.A list of parts of the IEC 61691 series

41、 can be found on the IEC website.The committee has decided that the contents of this publication will remain unchanged until the stability date indicated on the IEC web site under “http:/webstore.iec.ch“ in the data related to the specific publication. At this date, the publication will be reconfirm

42、ed, withdrawn, replaced by a revised edition, or amended.BS IEC 61691-1-1:2011- ix - IEC 61691-1-1:2011(E)IEEE Std 1076-2008Published by IEC under license from IEEE. 2008 IEEE. All rights reserved.IEC/IEEE Dual Logo International StandardsThis Dual Logo International Standard is the result of an agr

43、eement between the IEC and the Institute of Electrical and Electronics Engineers, Inc. (IEEE). The original IEEE Standard was submitted to the IEC for consideration under the agreement, and the resulting IEC/IEEE Dual Logo International Standard has been published in accordance with the ISO/IEC Dire

44、ctives.IEEE 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 consensus development process, approved by the American National Standards Institut

45、e, which brings together volunteers representing varied viewpoints and interests to achieve the final product. Volunteers are not necessarily members of the Institute and serve without compensation. While the IEEE administers the process and establishes rules to promote fairness in the consensus dev

46、elopment process, the IEEE does not independently evaluate, test, or verify the accuracy of any of the information contained in its standards.Use of an IEC/IEEE Dual Logo International Standard is wholly voluntary. The IEC and IEEE disclaim liability for any personal injury, property or other damage

47、, of any nature whatsoever, whether special, indirect, consequential, or compensatory, directly or indirectly resulting from the publication, use of, or reliance upon this, or any other IEC or IEEE Standard document. The IEC and IEEE do not warrant or represent the accuracy or content of the materia

48、l contained herein, and expressly disclaim any 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. IEC/IEEE Dual Logo International Standards documents are

49、 supplied “AS IS”. The existence of an IEC/IEEE Dual Logo International 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 IEC/IEEE Dual Logo International Standard. Furthermore, the viewpoint expressed at the time a standard is approved and issued is subject to change brought about through developments in the state of the art and comments received from users of the standard. Every IEEE Standard is subjected to revie

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 标准规范 > 国际标准 > BS

copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1