4.1 About LISA+ protocols

The LISA+ keyword protocol declares a protocol.

protocol MyProtocol
    // protocol definition

Define protocols on the top level in the LISA+ code. By convention, each protocol MyProtocol has a separate LISA+ file MyProtocol.lisa to define it.

MyProtocol can be any valid C identifier. A protocol defines ports in components that use this protocol to communicate with other components, including parent-, sibling- and sub-components. You can think of protocols as port types because only ports that use the same protocol can connect.

A protocol definition can contain:

Non-ConfidentialPDF file icon PDF version101092_0100_04_en
Copyright © 2014–2018 Arm Limited or its affiliates. All rights reserved.