<memory_space>.load-vmem <memory_space>.set-string
Simics Reference Manual  /  3 Commands  /  3.2 Command List  / 

<memory_space>.save-vmem

Synopsis

<memory_space>.save-vmem filename [offset] [length] [bytes-per-line] [-skip-offsets] [-skip-zeros] [-b] [-overwrite]

Description

Saves length bytes of the memory at offset offset to the file named filename, in the Verilog VMEM format.

If length is 0, the whole memory content from offset is stored.

The bytes-per-line argument specifies how many bytes to write on each line, defaulting to 16. Each line is written in little endian format, unless -b is specified, in which big endian format is used. An explicit offset is written on each line, unless -skip-offsets is specified, in which case only necessary offsets are written. If -skip-zeros is specified, lines with only zero data will not be written.

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

Provided By

Simics Core

See Also

<memory_space>.load-vmem, <memory_space>.save-intel-hex
<memory_space>.load-vmem <memory_space>.set-string