save-component-template save-image-contents
Simics Reference Manual  /  3 Commands  /  3.2 Command List  / 

save-file

Synopsis

save-file [object] filename start length [-overwrite]
<memory_space>.save-file filename start length [-overwrite]
<image>.save-file filename start length [-overwrite]

Description

Saves the contents of a memory region, defined by start address and length to the file filename in binary format.

The command will fail if the destination file already exists, unless -overwrite is specified.

The non-namespace version of the command uses the specified object, with the default being the current frontend processor's physical memory space. The save-file command exists for symmetry with the other save-file commands. It is more efficient to use save.

Provided By

Simics Core

See Also

load-file
save-component-template save-image-contents