load-coverage load-intel-hex
Simics Reference Manual  /  3 Commands  /  3.2 Command List  / 

load-file

Synopsis

load-file [object] filename [offset]
<image>.load-file filename [offset]
<memory_space>.load-file filename [offset]

Description

Loads the contents of the file named filename into the memory specified by object (defaulting to the current frontend processor's physical memory space), starting at physical address offset. Default offset is 0.

The file specified by filename can be either a raw binary file or a file in the craff format.

The name space versions of the load-file command can be used to load a file directly into a memory space or into an image object.

load-file uses Simics's Search Path and path markers (%simics%, %script%) to find the file to load. Refer to The Command Line Interface chapter of the Simics User's Guide manual for more information on how Simics's Search Path is used to locate files.

Provided By

Simics Core

See Also

load-binary, add-directory
load-coverage load-intel-hex