Automatic Specialization of Actor-Oriented Models in Ptolemy II

Stephen Neuendorffer

Memorandum UCB/ERL M02/41,
EECS, University of California, Berkeley, CA 94720, USA
December 25, 2002



Automatic code generation is a powerful technique for creating implementations of actor-oriented models. For embedded systems that are extremely resource constrained, optimization of this implementation is critical. This paper presents a set of optimization techniques for actor specifications. These techniques reduce the generality of an actor, specializing it to the context of the model in which the actor is used. These techniques are implemented in a code generator for Ptolemy II models.

Performance data is reported for several models. These models, built using Ptolemy-2.1, are archived here. orthoCom rijndael rijndaelKeyGen