You copied the Doc URL to your clipboard.

Running models from the command line

The pre-built models are supplied as Integrated SIMulator (ISIM) binaries.

You can execute these binaries:

  • Directly from the command line.
  • Indirectly using Model Debugger.

Options

To run the model from the command line, type the name of the ISIM binary, for example:

FVP_VE_Cortex-A15x1-A7x1

FVP_VE_Cortex-A15x1-A7x1.exe

Note

The FVP_VE_Cortex-A15×1-A7×1 file corresponds to the ISIM binary for a Cortex-A15×1 Cortex-A7×1 CCI-400 dual cluster platform model.

The FVP_VE_Cortex-A15×4-A7×4 file corresponds to the ISIM binary for a Cortex-A15×4 Cortex-A7×4 CCI-400 dual cluster platform model.

The following table shows the arguments and options that you can specify on the command line.

Table 1. Command line options
Short Long option Description
-a --application target=filename

Loads the application file filename into processor target . For example: coretile.cluster0.cpu0=brot_ve.axf

- --data target=file@[space:]address

Loads raw data from file at the specified address in the specified target .

Optionally, you can also specify a memory space .

- --dump target=file@[space:]address Dumps raw data into file from the specified address in the specified target . Optionally, you can also specify a memory space .
-b --break target=address

Sets a break-point at address for target .

-s --start target=address

Sets initial PC to application start address.

-C --parameter parameter

Sets a single parameter of the model. Parameters are specified as a path that names the instance and the parameter name using dot separators.

For example: foo.bar.inst.parameter=1000

If it is necessary to set multiple parameters at the same time, use the --config-file option instead.

- --timelimit n

Number of seconds to run, excluding startup and shutdown. The default is unlimited.

- --cpulimit n

Number of host processor seconds to run, kernel and user, excluding startup and shutdown. The default is unlimited.

- --cyclelimit n

Number of cycles to run. This is ignored if –S is specified. The default is unlimited.

- --list-instances

Lists target instances.

-l --list-params

Lists target instances and their parameters.

- --list-memory

Lists memory information.

-f --config-file filename

Loads model configuration parameters from file filename .

-o --output filename

Redirects parameter, memory, and instance lists to the output file filename .

-t --cadi-trace

Enables diagnostic output of CADI calls and call-backs.

-L --cadi-log

Log all CADI calls into an XML logfile.

-S --cadi-server

Starts the CADI server and enables debuggers to connect to targets in the simulation.

- --stat

Prints run statistics on exit.

- --trace-plugin filename

Loads trace plugin filename .

-h --help

Shows command line help message and exits.

-P --prefix

Prefixes semi-hosting output with target instance name.

-R --run

Runs simulation immediately after load even with CADI server.

-V --verbose

Specifies more verbosity about the current status.

-v --version

Prints version and copyright information.

-q --quiet

Suppresses all informational output.

- --print-port-number

Prints the port number on which the CADI server is listening.

-k --keep-console

Keeps the console window open after completion. Microsoft Windows only.

Was this page helpful? Yes No