MicroC Code Generator : Rational Statemate Block in a Rational Rhapsody Model : Synchronizing Rational Statemate and Rational Rhapsody

Synchronizing Rational Statemate and Rational Rhapsody

In the Rhapsody system, you must use the StatemateBlock profile as the container for the Statemate model. See the Rational Rhapsody documentation for instructions to create the Rational Rhapsody StatemateBlock and connect the Rational Rhapsody and Rational Statemate models.

The StatemateBlock operates as a black-box for Rational Statemate code within the Rational Rhapsody architecture once it has been connected and synchronized. The StatemateBlock interface of the top-level flowing data within the Rational Statemate model is specified in Rhapsody using flow ports.

The Rational StatemateBlock in Rational Rhapsody automatically synchronizes with the Rational Statemate model and adds or removes flow ports from the Rational StatemateBlock to reflect any changes made in the Rational Statemate top-level flowing data. The synchronization operation uses a Rational Rhapsody Block Configuration containing the following Rational Statemate data: