script-pipe-has-data set-bookmark
Simics Reference Manual  /  3 Commands  /  3.2 Command List  / 

set

Synopsis

set address value [size] [-l] [-b] [-t]
<port_space>.set address value [size] [-l] [-b] [-t] [initiator]
<port_space>.write address value [size] [-l] [-b] [-t] [initiator]
<memory_space>.write address value [size] [-l] [-b] [-t] [initiator]
<memory_space>.set address value [size] [-l] [-b] [-t] [initiator]

Description

Set the size bytes of physical memory at location address to value.

If value is larger than the specified size, an error is given. This can be ignored with the -t flag, which will truncate the value to size bytes.

If initiator is the object that will be used as the source of the memory access. Supplying an initiator is rarely needed, but some devices may only accept accesses from certain initiating objects.

The -l and -b flags are used to select little-endian and big-endian byte order, respectively. If neither is given, the byte order of the initiator is used if specified and a processor, or else the order of the currently selected processor.

The set command variants perform the access in inquiry mode without triggering any side-effects while write and write may trigger side-effects.

If the value argument is a list, then each item is written to memory as a value of size bytes, starting at address. The byte order flags operate on each item in the list.

The non-namespace version of this command operates on the physical memory associated with the current processor.

Provided By

Simics Core

See Also

get, x, pselect
script-pipe-has-data set-bookmark