<memory_space>.save-vmem <micron_mtfc128gap_emmc_card>.info
Simics Reference Manual  /  3 Commands  /  3.2 Command List  / 

<memory_space>.set-string

Synopsis

<memory_space>.set-string "string" address [max-size] [term]
<memory_space>.write-string "string" address [max-size] [term]
<port_space>.write-string "string" address [max-size] [term]

Description

Write up to max-size characters from the string string to physical memory at location address. The term argument determines how the string is terminated in memory. If term is "none", no string terminator is written. If it is "null" (default), a null-terminator is written at the end of the string (meaning that at most max-size - 1 bytes from the string will be written) and for "optional-null", a null-terminator is only added it fits within the max-size character count. Any null characters embedded in the CLI string will be written to memory and not treated as string terminators.

The set-string command performs the access in inquiry mode without triggering any side-effects while write-string may trigger side-effects.

Provided By

Simics Core

See Also

<memory_space>.get-string, <memory_space>.write-string, <memory_space>.set, <memory_space>.write
<memory_space>.save-vmem <micron_mtfc128gap_emmc_card>.info