4.1. About protocols

A protocol is defined by using the LISA+ keyword protocol:

protocol MyProtocol
    // protocol declaration

Protocols are always defined on the top-level in the LISA+ code.

By convention each protocol MyProtocol is defined in its own LISA+ file MyProtocol.lisa.

MyProtocol can be any valid C identifier. A protocol is used to define ports in components that use this protocol to communicate with other components, including parent-, sibling- and sub-components. Protocols can be also seen as port types as only ports that are using the same protocol can be connected.

A protocol definition can contain:

Copyright © 2007-2009 ARM Limited. All rights reserved.ARM DUI 0372G