4.1 Object model overview

Iris uses a very simple object model:

  • A system consists of a set of instances.
  • Each instance has a unique numeric instance id, instId.
  • Each instance has a unique instance name. This also implies a hierarchy.
  • Each instance registers itself in a global instance registry, which assigns it an instance id.
  • Each instance can query the list of instances and can also be notified when new instances are registered or unregistered.
  • Instances communicate with each other by specifying the instance id.
  • There are two special instances, the GlobalInstance, which has instance id 0, and the SimulationEngine, which has instance id 1. The GlobalInstance contains the global instance registry.

The object model does not have a hierarchy, but the instance names imply a hierarchy. The hierarchical instance names assign each instance to a specific class by specifying the class as the top-level hierarchy level. For example: component.mainboard.cluster0.cpu3 is of class component. The following classes are defined:

  • component
  • client
  • framework

For more information, see 5.20.1 Hierarchical instance names and instance classes.

Non-ConfidentialPDF file icon PDF version101196_0100_03_en
Copyright © 2018, 2019 Arm Limited or its affiliates. All rights reserved.