|Non-Confidential||PDF version||ARM 100963_0200_00_en|
|Home > Target Connection Mechanism > Requirements for the target connection mechanism > CADISimulationFactory|
CADISimulationFactory creates a new CADI simulation.
The simulation factory:
Exposes information on the available instantiation time parameters.
All of the instantiation-time parameters for the entire platform.
A typical platform is hierarchical in design and contains multiple components. The name of a parameter indicates its ownership of a dedicated subcomponent. A dedicated specifier represents each hierarchical level and its corresponding component:
For example, the
size parameter for a memory
mem in the processor component
of a system named
During instantiation of a CADI simulation, the corresponding interface method receives the parameters:
The caller must signal the end of a list by adding
an additional terminating item with the parameter ID
is the same as
can receive pointers to
The pointers are registered to the CADI simulation returned to the
caller. These callbacks are used, for example, to send messages
from the factory to the caller during instantiation.
A CADI simulation factory is intended to exist only temporarily.
As soon as the required CADI simulation is created, the
must be called to release the factory.
Because of the temporary existence of the factory,
the owner of the simulation.