2.2 DummyModel example

DummyModel is an example of a complete Iris system, including the main server-side components that are required by Iris. Its purpose is only to demonstrate Iris, all other functionality in the example can be ignored.

DummyModel is aimed at:

  • Simulator developers. It shows how to integrate Iris support into a simulation framework.
  • Component developers. It shows how to use Iris to expose aspects of a component, for example registers, parameters, memory, and event sources.

It provides a simple Iris framework, so can also be used to test new Iris-related features and reproduce problems outside of a full simulation framework.

It consists of the following:

Simulation engine
Its main purpose is to maintain an event queue for Iris calls.
Main executable

Its main purpose is to instantiate components and load plug-in libraries.

Component
Uses Iris to expose aspects of a component.

This example takes the following command-line options:

-p <port_number> Set the TCP server port. The default is the first free port in the range 7100-7109.
-PPrint the port number that the Iris server is listening to.
-GPrint a log of all Iris messages. This option can be specified multiple times, for example -G -G for log level 2.
-SEnable verbose logging in the IrisTcpServer. This option can be specified multiple times, for example -S -S for log level 2.
-AAllow remote connections from another machine to the Iris server. Defaults to not allowed.
--list-paramsPrint parameters and exit.
--instantiate=[0,1]If 0, do not automatically instantiate the simulation. This allows a remote client to connect to and instantiate it. Defaults to 1.
--plugin <plugin_name> Load a plug-in library.
-C <param>=<value>Set a parameter.
Non-ConfidentialPDF file icon PDF version101196_0100_03_en
Copyright © 2018, 2019 Arm Limited or its affiliates. All rights reserved.