|
IEC 61691-8
Edition 1.0 2021-07
™
IEEE Std 1666.1
INTERNATIONAL
STANDARD
Behavioural languages –
Part 8: Standard SystemC Analog/Mixed-Signal Extensions Language
Reference Manual
All rights reserved. IEEE is a registered trademark in the U.S. 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 writing from the IEC Central Office. Any questions about IEEE copyright should be addressed to the
IEEE. Enquiri es 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 Institute of Electrical and Electronics Engineers, Inc.
3, rue de Varembé 3 Park Avenue
CH-1211 Geneva 20 New York, NY 10016-5997
Switzerland United States of America
Tel.: +41 22 919 02 11 [email protected]
[email protected] www.ieee.org
About the IEC
The International Electrotechnical Commission (IEC) is the leading global 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 corrigendum or an amendment might have been published.
IEC publications search - webstore.iec.ch/advsearchform IEC online collection - oc.iec.ch
The advanced search enables to find IEC publications by a
Discover our powerful search engine and read freely all the
variety of criteria (reference number, text, technical publications previews. With a subscription you will always
committee, …). It also gives information on projects, replaced have access to up to date content tailored to your needs.
and withdrawn publications.
Electropedia - www.electropedia.org
IEC Just Published - webstore.iec.ch/justpublished
The world's leading online dictionary on electrotechnology,
Stay up to date on all new IEC publications. Just Published
containing more than 22 000 terminological entries in English
details all new publications released. Available online and
and French, with equivalent terms in 18 additional languages.
once a month by email.
Also known as the International Electrotechnical Vocabulary
(IEV) online.
IEC Customer Service Centre - webstore.iec.ch/csc
If you wish to give us your feedback on this publication or
need further assistance, please contact the Customer Service
.
IEC 61691-8
Edition 1.0 2021-07
IEEE Std 1666.1™
INTERNATIONAL
STANDARD
Behavioural languages –
Part 8: Standard SystemC Analog/Mixed-Signal Extensions Language
Reference Manual
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
ICS 25.040.01; 35.060 ISBN 978-2-8322-9951-7
IEEE Std 1666.1™-2016
Contents
1. Overview. 1
1.1 Scope.1
1.2 Purpose.1
1.3 Subsets. 2
1.4 Relationship with C++. 2
1.5 Relationship with SystemC. 2
1.6 Guidance for readers. 2
2. Normative references.4
3. Terminology and conventions used in this standard.5
3.1 Terminology.5
3.1.1 Shall, should, may, can.5
3.1.2 Implementation, application. 5
3.1.3 Call, called from, derived from. 5
3.1.4 Specific technical terms. 5
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 Prefixes. 7
3.3 Typographical conventions.7
3.4 Semantic conventions. 7
3.4.1 Class definitions and the inheritance hierarchy. 7
3.4.2 Function definitions and side-effects. 7
3.4.3 Functions whose return type is a reference or a pointer.8
3.4.4 Namespaces and internal naming.8
3.4.5 Non-compliant applications and errors.9
3.5 Notes and examples.9
4. Core language definitions.10
4.1 Class header files.10
4.1.1 #include “systemc-ams”. 10
4.1.2 #include “systemc-ams.h”. 10
4.2 Base class definitions. 11
4.2.1 sca_core::sca_module. 11
4.2.2 sca_core::sca_interface. 13
4.2.3 sca_core::sca_prim_channel. 14
viii
Published by IEC under licence from IEEE. © 2016 IEEE. All rights reserved.
IEEE Std 1666.1™-2016
4.2.4 sca_core::sca_port.15
4.2.5 sca_core::sca_time. 16
4.2.6 sca_core::sca_max_time. 16
4.2.7 sca_core::sca_parameter_base. 16
4.2.8 sca_core::sca_parameter. 18
†
4.2.9 sca_core::sca_assign_from_proxy .20
†
4.2.10 sca_core::sca_assign_to_proxy .21
5. Timed data flow model of computation.22
5.1 Class definitions. 22
5.1.1 sca_tdf::sca_module.22
5.1.2 sca_tdf::sca_signal_if.29
5.1.3 sca_tdf::sca_signal. 30
5.1.4 sca_tdf::sca_default_interpolator.31
5.1.5 sca_tdf::sca_in. 32
5.1.6 sca_tdf::sca_out. 37
5.1.7 sca_tdf::sca_out. 39
5.1.8 sca_tdf::sca_out.44
5.1.9 sca_tdf::sca_out. 50
5.1.10 sca_tdf::sca_de::sca_in, sca_tdf::sc_in.55
5.1.11 sca_tdf::sca_de::sca_in, sca_tdf::sc_in.62
5.1.12 sca_tdf::sca_de::sca_in, sca_tdf::sc_in. 69
5.1.13 sca_tdf::sca_de::sca_out, sca_tdf::sc_out.75
5.1.14 sca_tdf::sca_trace_variable.82
5.2 Hierarchical composition and port binding.83
5.3 Elaboration and simulation.83
5.3.1 Elaboration.84
5.3.2 Simulation.85
5.4 Embedded linear dynamic equations. 87
†
5.4.1 sca_tdf::sca_ct_proxy .88
†
5.4.2 sca_tdf::sca_ct_vector_proxy .89
5.4.3 sca_tdf::sca_ltf_nd.91
5.4.4 sca_tdf::sca_ltf_zp. 96
5.4.5 sca_tdf::sca_ss. 102
6. Linear signal flow model of computation.110
6.1 Class definitions. 110
6.1.1 sca_lsf::sca_module. 110
6.1.2 sca_lsf::sca_signal_if. 110
6.1.3 sca_lsf::sca_signal. 111
6.1.4 sca_lsf::sca_in.111
6.1.5 sca_lsf::sca_out.112
ix
Published by IEC under licence from IEEE. © 2016 IEEE. All rights reserved.
IEEE Std 1666.1™-2016
6.1.6 sca_lsf::sca_add. 113
6.1.7 sca_lsf::sca_sub. 114
6.1.8 sca_lsf::sca_gain. 115
6.1.9 sca_lsf::sca_dot.115
6.1.10 sca_lsf::sca_integ.116
6.1.11 sca_lsf::sca_delay.
...