| SPP Tool Chain | ![]() |
| 2.6 Hardware Architecture |
SPML allows the description of the target hardware architecture at a coarse granularity in order to allow partitioning, and resource allocation in a distributed application. The main concepts include compute nodes, communication ports, and communication links.
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.
1. HardwareTypes
|
Stereotype: |
Folder |
|
Description: |
HarwareTypes is the folder to be reserved exclusively for creating hardware types model. In this folder a user can build different simple hardware type, like FPGA, CPU, AD, DA, SIM, MEM, as well as composite hardware type composed of these simple hardwares and the communication links between them. A user is expected to build the system platform by using the instance models of the hardware types created in this HardwareTypes folder. |
|
Stereotype: |
Model |
|
Description: |
Node is an abstract base class for the concrete hardware types to capture their common characteristics. |
3. FPGA
|
Stereotype: |
Model |
|||||||||||||||
|
Description: |
FPGA represents the FPGA type of hardware. |
|||||||||||||||
|
Attribute: |
|
4. CPU
|
Stereotype: |
Model |
|||||||||
|
Description: |
CPU represents the CPU type of hardware. |
|||||||||
|
Attribute: |
|
5. AD
|
Stereotype: |
Model |
||||||
|
Description: |
AD represents the AD type of hardware. |
||||||
|
Attribute: |
|
6. DA
|
Stereotype: |
Model |
||||||
|
Description: |
DA represents the DA type of hardware. |
||||||
|
Attribute: |
|
7. SIM
|
Stereotype: |
Model |
||||||
|
Description: |
SIM represents the SIM type of hardware. |
||||||
|
Attribute: |
|
8. MEM
|
Stereotype: |
Model |
||||||
|
Description: |
MEM represents the MEM type of hardware. |
||||||
|
Attribute: |
|
|
Icon: |
|
|||||||||||||||
|
Stereotype: |
Atom |
|||||||||||||||
|
Description: |
CommPort represents the communication ports in the hardware type. |
|||||||||||||||
|
Attribute: |
|
|
Stereotype: |
Model |
|
Description: |
Architecture is a model for creating composite hardware type model. It can contain other hardware type plus the communication between them. |
11. Link
|
Stereotype: |
Connection |
|
Description: |
Link is the connection between CommPorts of hardware. |
12. System
Described in 2.1. Dataflow
|
Stereotype: |
Model |
|
Description: |
Inherited from the Architecture model, SArchitecture is the model used to define the hardware architecture for the system model. The OCL constraints have been included in the meta-model that will prevent a user from creating a hardware type within a SArchitecture model, it can only contain the instance models of the hardware type created in the HardwareTypes folder. |
14. Component
Described in 2.1. Dataflow
|
Stereotype: |
Reference |
|
Description: |
NodeRef is reference to the computational Node. In SPML, the dataflow needs to be mapped to the hardware and this can be modeled by using reference NodeRef. Each compute node can contain one or more references to dataflow nodes. This indicates the allocation of the dataflow node to a particular compute node. |
The metamodel of the above elements in defining the hardware architecture is shown as below:

Next Up: 3 SPML Tools