6.3.4 Declaring a master port

This component requires a master port to forward incoming requests from the slave port to the connected slave port of another component.


  1. Declare the master port in the master port section in SerialCharDoubler.lisa.
    master port<SerialData> out;
  2. Remove or comment out any behavior definitions.


Make the connection in the connection mode in the Block Diagram view.


The master port uses the same protocol as the slave port. This is not a requirement, but is useful here because this example only implements the dataTransmit behavior, and forwards the rest.
Non-ConfidentialPDF file icon PDF versionARM DUI0370S
Copyright © 2007-2014 ARM. All rights reserved.