Skip to content

Modelling hardware platform configuration and platform model reuse #32

@Gaudeval

Description

@Gaudeval

Issue #31 raises a higher level discussion as to how we capture platform configuration in a PML model especially to promote model reuse. As an example let us consider the case of a platform which main memory can be optionally partitioned, we could:

  • define distinct models per configuration: one where the memory is partitioned with separate targets, one where the memory is a single target;
  • define a parametrised model: expose the partitions as a configuration point, and generate the configured model. This would promote reuse as other components would not be impacted. If the configuration changes, so does the platform model and additional layers, such as the software allocation, may be invalidated.
  • define platform configuration as an additional layer: we could express the configurations as transformations of a base model, e.g. non-partitioned memory merges existing targets on a model (the partitioned memory). Said transformations may preserve the semantic of upper layers, e.g. the software allocation;
  • define the platform as a configurable object: similar to the parametrised solution, but interactions with the platform would go through an object/interface that abstracts and is independent from the configuration. The object would need to redefine some of the syntactic sugar offered by PML, e.g. how to map a piece data to the memory target(s).

Those are just proposals off the top of my head. Comments and suggestions are more than welcome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions