2.1 About LISA+ components

A component is the fundamental LISA+ construct that describes components and systems.

Components can have subcomponents and form a hierarchy. The top level component of a system, the component that does not have any parent component, is sometimes also referred to as a system. There is, however, nothing special about it, and you declare it in the same way as any other component.

Systems that have external ports can be used as components in a higher-level system. The term system can mean a collection of connected components with no external ports.

Component definitions can contain these sections:

Except for the behavior and port sections, there can be only one of each section type in a component.

Note:

Component names and keywords are case sensitive.

A component declaration uses the component keyword and can contain any of the sections listed in any order.

Component declaration
component MyComponent
{
     includes
     {      
          // ...
     }

     resources
     {
          // ...
     }

     internal port<MyProtocol> port0
     {
          // ...
     }

     behavior init
     {
          // ...
     }
}
Non-ConfidentialPDF file icon PDF version101092_0100_03_en
Copyright © 2014–2018 Arm Limited or its affiliates. All rights reserved.