IEC 61691-7-2009 Behavioral languages - Part 7 SystemC language reference manual《行为语言.第7部分 模语言参考手册》.pdf
《IEC 61691-7-2009 Behavioral languages - Part 7 SystemC language reference manual《行为语言.第7部分 模语言参考手册》.pdf》由会员分享,可在线阅读,更多相关《IEC 61691-7-2009 Behavioral languages - Part 7 SystemC language reference manual《行为语言.第7部分 模语言参考手册》.pdf(447页珍藏版)》请在麦多课文档分享上搜索。
1、 IEC 61691-7 Edition 1.0 2009-12 INTERNATIONAL STANDARD Behavioural languages Part 7: SystemC Language Reference Manual IEC 61691-7:2009(E) IEEE Std 1666-2005(E) IEEE Std 1666 THIS PUBLICATION IS COPYRIGHT PROTECTED Copyright 2009 IEEE All rights reserved. IEEE is a registered trademark in the U.S.
2、Patent & Trademark Office, owned by the Institute of Electrical and Electronics Engineers, Inc. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in wri
3、ting from the IEC Central Office. Any questions about IEEE copyright should be addressed to the IEEE. Enquiries about obtaining additional rights to this publication and other information requests should be addressed to the IEC or your local IEC member National Committee. IEC Central Office Institut
4、e of Electrical and Electronics Engineers, Inc 3, rue de Varemb 3 Park Avenue CH-1211 Geneva 20 New York, NY10016-5997 Switzerland USA Email: inmailiec.ch Email: stds.iprieee.org Web: www.iec.ch Web: www.ieee.org About the IEC The International Electrotechnical Commission (IEC) is the leading global
5、 organization that prepares and publishes International Standards for all electrical, electronic and related technologies. About IEC publications The technical content of IEC publications is kept under constant review by the IEC. Please make sure that you have the latest edition, a corrigenda or an
6、amendment might have been published. Catalogue of IEC publications: www.iec.ch/searchpub The IEC on-line Catalogue enables you to search by a variety of criteria (reference number, text, technical committee,). It also gives information on projects, withdrawn and replaced publications. IEC Just Publi
7、shed: www.iec.ch/online_news/justpub Stay up to date on all new IEC publications. Just Published details twice a month all new publications released. Available on-line and also by email. Electropedia: www.electropedia.org The worlds leading online dictionary of electronic and electrical terms contai
8、ning more than 20 000 terms and definitions in English and French, with equivalent terms in additional languages. Also known as the International Electrotechnical Vocabulary online. Customer Service Centre: www.iec.ch/webstore/custserv If you wish to give us your feedback on this publication or need
9、 further assistance, please visit the Customer Service Centre FAQ or contact us: Email: csciec.ch Tel.: +41 22 919 02 11 IEC 61691-7 Edition 1.0 2009-12 INTERNATIONAL STANDARD Behavioural languages Part 7: SystemC Language Reference Manual INTERNATIONAL ELECTROTECHNICAL COMMISSION XP ICS 25.040, 35.
10、060 PRICE CODE ISBN 2-8318-1069-4IEEE Std 1666 Foreword.xi IEEE Introduction .xvi 1. Overview 1 1.1 Scope 1 1.2 Purpose. 1 1.3 Subsets . 1 1.4 Relationship with C+. 1 1.5 Guidance for readers 2 2. References 3 3. Terminology and conventions used in this standard 4 3.1 Terminology. 4 3.1.1 Shall, sho
11、uld, may, can. 4 3.1.2 Implementation, application. 4 3.1.3 Call, called from, derived from 4 3.1.4 Specific technical terms . 4 3.2 Syntactical conventions . 6 3.2.1 Implementation-defined. 6 3.2.2 Disabled . 6 3.2.3 Ellipsis (.). 6 3.2.4 Class names 6 3.2.5 Embolded text7 3.3 Semantic conventions
12、7 3.3.1 Class definitions and the inheritance hierarchy . 7 3.3.2 Function definitions and side-effects . 7 3.3.3 Functions whose return type is a reference or a pointer. 7 3.3.4 Namespaces and internal naming. 9 3.3.5 Non-compliant applications and errors 9 3.4 Notes and examples . 10 4. Elaboratio
13、n and simulation semantics . 11 4.1 Elaboration. 11 4.1.1 Instantiation . 11 4.1.2 Process macros. 13 4.1.3 Port binding and export binding 13 4.1.4 Setting the time resolution . 14 4.2 Simulation 14 4.2.1 The scheduling algorithm 15 4.2.2 Cycles in the scheduling algorithm 17 4.3 Running elaboratio
14、n and simulation 18 4.3.1 Function declarations. 18 4.3.2 Function sc_elab_and_sim. 18 4.3.3 Functions sc_argc and sc_argv 19 4.3.4 Running under application control using functions sc_main and sc_start. 19 4.3.5 Running under control of the kernel 20 4.4 Elaboration and simulation callbacks 20 4.4.
15、1 before_end_of_elaboration 21 4.4.2 end_of_elaboration 22 4.4.3 start_of_simulation 23 CONTENTSPublished by IEC under licence from IEEE. 2005 IEEE. All rights reserved. IEC 61691-7:2009(E) IEEE Std 1666-2005(E) i 4.4.4 end_of_simulation . 23 4.5 Other functions related to the scheduler 24 4.5.1 Fun
16、ction declarations . 24 4.5.2 Function sc_stop, sc_set_stop_mode, and sc_get_stop_mode. 24 4.5.3 Function sc_time_stamp. 25 4.5.4 Function sc_delta_count. 26 4.5.5 Function sc_is_running 26 5. Core language class definitions . 27 5.1 Class header files . 27 5.1.1 #include “systemc“. 27 5.1.2 #includ
17、e “systemc.h“ 27 5.2 sc_module 29 5.2.1 Description . 29 5.2.2 Class definition.29 5.2.3 Constraints on usage. 31 5.2.4 kind. 31 5.2.5 SC_MODULE 31 5.2.6 Constructors .32 5.2.7 SC_CTOR 32 5.2.8 SC_HAS_PROCESS 33 5.2.9 SC_METHOD, SC_THREAD, SC_CTHREAD. 33 5.2.10 Method process 34 5.2.11 Thread and cl
18、ocked thread processes. 35 5.2.12 Clocked thread processes and reset_signal_is 36 5.2.13 sensitive 37 5.2.14 dont_initialize. 38 5.2.15 set_stack_size. 39 5.2.16 next_trigger 39 5.2.17 wait. 41 5.2.18 Positional port binding . 43 5.2.19 before_end_of_elaboration, end_of_elaboration, start_of_simulat
19、ion, end_of_simulation 44 5.2.20 get_child_objects 45 5.2.21 sc_gen_unique_name . 45 5.2.22 sc_behavior and sc_channel. 46 5.3 sc_module_name . 47 5.3.1 Description. 47 5.3.2 Class definition 47 5.3.3 Constraints on usage 47 5.3.4 Module hierarchy . 48 5.3.5 Member functions 48 5.4 sc_sensitive 50 5
20、.4.1 Description. 50 5.4.2 Class definition 50 5.4.3 Constraints on usage 50 5.4.4 operator 50 5.5 sc_spawn_options and sc_spawn. 52 5.5.1 Description. 52 5.5.2 Class definition 52 5.5.3 Constraints on usage 53 5.5.4 Constructors .53 5.5.5 Member functions 53Published by IEC under licence from IEEE.
21、 2005 IEEE. All rights reserved. IEC 61691-7:2009(E) IEEE Std 1666-2005(E) ii5.5.6 sc_spawn 54 5.5.7 SC_FORK and SC_JOIN. 56 5.6 sc_process_handle . 58 5.6.1 Description . 58 5.6.2 Class definition.58 5.6.3 Constraints on usage 59 5.6.4 Constructors .59 5.6.5 Member functions 59 5.6.6 sc_get_current
22、_process_handle 61 5.7 sc_event_finder and sc_event_finder_t . 62 5.7.1 Description . 62 5.7.2 Class definition.62 5.7.3 Constraints on usage. 62 5.8 sc_event_and_listand sc_event_or_list. 65 5.8.1 Description . 65 5.8.2 Class definition.65 5.8.3 Constraints on usage. 65 5.8.4 Event lists . 65 5.9 s
23、c_event . 66 5.9.1 Description . 66 5.9.2 Class definition.66 5.9.3 Constraints on usage. 66 5.9.4 notify and cancel 66 5.9.5 Event lists . 67 5.9.6 Multiple event notifications . 67 5.10 sc_time . 68 5.10.1 Description . 68 5.10.2 Class definition. 68 5.10.3 Time resolution 69 5.10.4 Functions and
24、operators . 69 5.10.5 SC_ZERO_TIME. 69 5.11 sc_port 71 5.11.1 Description. 71 5.11.2 Class definition 71 5.11.3 Template parameters 72 5.11.4 Constraints on usage 73 5.11.5 Constructors . 74 5.11.6 kind 74 5.11.7 Named port binding . 74 5.11.8 Member functions for bound ports and port-to-port bindin
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- IEC6169172009BEHAVIORALLANGUAGESPART7SYSTEMCLANGUAGEREFERENCEMANUAL 行为 语言 部分 参考手册 PDF

链接地址:http://www.mydoc123.com/p-1236683.html