5.6.4. Application loading functions

This section describes the function used for loading an application file.

load_application_file()

Use this function to specify the application files to be loaded by Fast Models system components. This method must be called before starting the simulation. The specified application files are loaded into the respective components. If this method is called before the system components are initialized, the calls are deferred until simulation starts. The format is:

void load_application_file(const std::string & instance_name, 
                           const std::string & file)

where:

instance_name

is the instance name of the component

Note

If the component has subcomponents, such as the Cortex-A9MP and Cortex-A5MP, the subcomponent must be specified. Use a period (.) to separate the components. For example, if Core is the instance name, specify the first CPU as Core.cpu0.

file

specifies the application file to be loaded by the component.

Copyright © 2007-2010 ARM Limited. All rights reserved.ARM DUI 0370K
Non-ConfidentialID110210