| SPP Tool Chain | ![]() |
| 2.2 Computational Cores |
SPML supports explicit representation of the computational cores that implement Primitive components. The following elements are described how to modeling the computational cores.
The modeling elements that are used in representing a dataflow graph are described below. The description consists of a name of the modeling element, the stereotype of the modeling element which indicates the concrete syntactic realization of the element in GME (i.e. Folder, Model, Atom, Connection, Set, etc.), an explanation of the role and purpose of modeling element, and a description of the attributes of the modeling element. For additional details on understanding the concrete syntactic constructs of GME, please refer to the GME documentation.
|
Stereotype: |
Model |
|||||||||||||||
|
Description: |
Core model is contained in ImplAspect of Primitive model to represent a computational module. |
|||||||||||||||
|
Attribute: |
|
|
Stereotype: |
Atom |
|
Description: |
Abstract base classes that help capture common characteristics of the concrete argument atom classes. |
|
Icon: |
|
|||||||||||||||
|
Stereotype: |
Atom |
|||||||||||||||
|
Description: |
InArg captures the characteristics of the input argument. |
|||||||||||||||
|
Attribute: |
|
|
Icon: |
|
|||||||||||||||
|
Stereotype: |
Atom |
|||||||||||||||
|
Description: |
OutArg captures the characteristics of the output argument. |
|||||||||||||||
|
Attribute: |
|
|
Icon: |
|
|||||||||||||||
|
Stereotype: |
Atom |
|||||||||||||||
|
Description: |
InOutArg captures the characteristics of the input/output argument. |
|||||||||||||||
|
Attribute: |
|
|
Icon: |
|
|||||||||
|
Stereotype: |
Atom |
|||||||||
|
Description: |
ReturnArg captures the characteristics of the return argument. |
|||||||||
|
Attribute: |
|
|
Icon: |
|
|
Stereotype: |
Reference |
|
Description: |
DataTypeRef is the reference referred to a data type. |
8. ArgType
|
Stereotype: |
Connection |
|
Description: |
ArgType is the association between Arg and TVDTR which is base abstract class of DataTypeRef and TypeVar(please see 2.4 DataTypes). All the argument elements (InArg, OutArg, InOutArg, ReturnArg) can be typed by setting an ArgType association with a DataTypeRef referred to a datatype or a type variable. |
9. ArgMap
|
Stereotype: |
Connection |
||||||
| Description: |
ArgMap connection can be used to capture the mapping between the ports of the Primitive to the arguments of the Core. This mapping represents the integration of computational cores into the component and it is used to synthesize the platform integration (wrapper) code that invokes the core, when the component is executed in the context of the platform. |
||||||
|
Attribute: |
|
|
Icon: |
|
|||||||||
|
Stereotype: |
Set |
|||||||||
|
Description: |
TypeVar specifies the type variables which are used to capture type-polymorphism by a set which can contain multiple DataTypeRef-s as set members representing the valid types that can be assigned to the type variable. |
|||||||||
|
Attribute: |
|
11. TypeMap
|
Stereotype: |
Connection |
|
Description: |
|
12. TVDTR
Described in 2.4. DataTypes
The metamodel of the above elements is shown as below:
Build Primitive Software ComponentType
Build Primitive Hardware ComponentType
Next Up: 2.3 Conditional Classifier