The design and application of structured types in Ptolemy II

Yuhong Xiong, E. Leet, Xiaojun Liu, Yang Zhao, L.C. Zhong
2005 2005 IEEE International Conference on Granular Computing  
Ptolemy II is a component-based design and modeling environment. It has a polymorphic type system that supports both the base types and structured types, such as arrays and records. The base type support was reported in [12] . This paper presents the extensions that support structured types. In the base type system, all the types are organized into a type lattice, and type constraints in the form of inequalities can be solved efficiently over the lattice. We take a hierarchical and granular
more » ... oach to add structured types to the lattice, and extend the format of inequality constraints to allow arbitrary nesting of structured types. We also analyze the convergence of the constraint solving algorithm on an infinite lattice after structured types are added. To show the application of structured types, we present a Ptolemy II model that implements part of the IEEE 802.11 specifications. This model makes extensive use of record types to represent the protocol messages in the system.
doi:10.1109/grc.2005.1547378 dblp:conf/grc/XiongLLZZ05 fatcat:fzcvuz5gh5bcrgijcwauptpqcm