LISA+ Language for Fast Models Reference Manual

Version 9.5


Table of Contents

Preface
About this book
Using this book
Glossary
Typographic conventions
Feedback
Other information
1 Introduction
1.1 General overview of System Canvas and LISA+
1.2 Design methodology of System Canvas and LISA+
1.3 Terminology of LISA+
2 LISA+ Components
2.1 About LISA+ components
2.2 LISA+ integer types and state variables
2.3 The LISA+ message function and debugging
2.3.1 About the LISA+ message function and debugging
2.3.2 LISA+ message C++ prototype
2.3.3 LISA+ message C prototype
2.4 Component resources section
2.4.1 About the component resources section
2.4.2 Plain C/C++ variable declarations
2.4.3 Annotated resources
2.4.4 Accessing resources
2.4.5 Obsolete resources constructs
2.5 Component includes section
2.6 Component composition section
2.6.1 About the component composition section
2.6.2 Overriding component parameter attributes
2.7 Component behavior sections
2.7.1 About the component behavior sections
2.7.2 Special-purpose behaviors
2.7.3 Hierarchical behavior of special-purpose behaviors
2.7.4 Controlling simulation from behaviors
2.7.5 LISA+ elements in behaviors
2.7.6 Scope of behaviors
2.8 Component port declarations
2.8.1 About component port declarations
2.8.2 Master, slave, and internal ports
2.8.3 Port arrays
2.8.4 Internal ports
2.9 Component connection section
2.9.1 About the component connection section
2.9.2 Hierarchy in port connections
2.9.3 Port array connections
2.10 Component properties section
2.11 Component debug section
2.12 Component parameter export list
3 Communication with C++ Code
3.1 Accessing C++ constructs from LISA+
3.1.1 About accessing C++ constructs from LISA+
3.1.2 Changes required to your source code
3.1.3 Changes required to your Fast Models project
3.1.4 LISA+ example of accessing C++ constructs
3.2 Calls to LISA+ behaviors from C++ code
3.2.1 About calls to LISA+ behaviors from C++ code
3.2.2 Requirements for importing models with callbacks
3.2.3 getAbstractInterface()
3.2.4 Abstract interface header file
3.3 Third party model import
4 LISA+ Protocols
4.1 About LISA+ protocols
4.2 LISA+ protocol includes section
4.3 LISA+ protocol properties section
4.3.1 LISA+ protocol properties section syntax and properties
4.3.2 LISA+ protocol properties for SystemC export
4.4 LISA+ protocol behavior prototypes
4.4.1 About LISA+ protocol behavior prototypes
4.4.2 LISA+ protocol behavior prototype syntax
4.4.3 LISA+ protocol behavior prototype attributes
4.4.4 LISA+ protocol behavior ADDRESS arguments
A LISA+ Preprocessor
A.1 About the LISA+ preprocessor
A.2 LISA+ preprocessor scopes
A.3 LISA+ preprocessing according to scope
A.4 Predefined LISA+ symbols and macros
A.5 LISA+ preprocessor statements

Release Information

Document History
Issue Date Confidentiality Change
A 31 May 2014 Non-Confidential New document for Fast Models v9.0, from DUI0372O for v8.2.
B 30 June 2014 Non-Confidential Replacement of Chapter 2.
C 30 November 2014 Non-Confidential Update for v9.1.
D 28 February 2015 Non-Confidential Update for v9.2.
E 31 May 2015 Non-Confidential Update for v9.3.
F 31 August 2015 Non-Confidential Update for v9.4.
G 30 November 2015 Non-Confidential Update for v9.5.

Non-Confidential Proprietary Notice

This document is protected by copyright and other related rights and the practice or implementation of the information contained in this document may be protected by one or more patents or pending patent applications. No part of this document may be reproduced in any form by any means without the express prior written permission of ARM. No license, express or implied, by estoppel or otherwise to any intellectual property rights is granted by this document unless specifically stated.
Your access to the information in this document is conditional upon your acceptance that you will not use or permit others to use the information for the purposes of determining whether implementations infringe any third party patents.
THIS DOCUMENT IS PROVIDED “AS IS”. ARM PROVIDES NO REPRESENTATIONS AND NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY, SATISFACTORY QUALITY, NON-INFRINGEMENT OR FITNESS FOR A PARTICULAR PURPOSE WITH RESPECT TO THE DOCUMENT. For the avoidance of doubt, ARM makes no representation with respect to, and has undertaken no analysis to identify or understand the scope and content of, third party patents, copyrights, trade secrets, or other rights.
This document may include technical inaccuracies or typographical errors.
TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT WILL ARM BE LIABLE FOR ANY DAMAGES, INCLUDING WITHOUT LIMITATION ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF ANY USE OF THIS DOCUMENT, EVEN IF ARM HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
This document consists solely of commercial items. You shall be responsible for ensuring that any use, duplication or disclosure of this document complies fully with any relevant export laws and regulations to assure that this document or any portion thereof is not exported, directly or indirectly, in violation of such export laws. Use of the word “partner” in reference to ARM’s customers is not intended to create or refer to any partnership relationship with any other company. ARM may make changes to this document at any time and without notice.
If any of the provisions contained in these terms conflict with any of the provisions of any signed written agreement covering this document with ARM, then the signed written agreement prevails over and supersedes the conflicting provisions of these terms. This document may be translated into other languages for convenience, and you agree that if there is any conflict between the English version of this document and any translation, the terms of the English version of the Agreement shall prevail.
Copyright © [2014, 2015], ARM Limited or its affiliates. All rights reserved.
ARM Limited. Company 02557590 registered in England.
110 Fulbourn Road, Cambridge, England CB1 9NJ.
LES-PRE-20349

Confidentiality Status

This document is Non-Confidential. The right to use, copy and disclose this document may be subject to license restrictions in accordance with the terms of the agreement entered into by ARM and the party that ARM delivered this document to.
Unrestricted Access is an ARM internal classification.

Product Status

The information in this document is Final, that is for a developed product.

Web Address

Non-ConfidentialPDF file icon PDF versionARM DUI0839G
Copyright © 2014, 2015 ARM. All rights reserved.