<transaction>.wait-for-read <transaction>.wait-for-write
Simics Reference Manual  /  3 Commands  /  3.2 Command List  / 

<transaction>.wait-for-set

Synopsis

<transaction>.wait-for-set address value [size] [-l|-b] [initiator]

Description

The command issues an inquiry write transaction (via the 'transaction' interface) to address with the value value and the length of size bytes. The default size is 4 bytes, but it can have any positive value. If the transaction is not completed immediately the command postpones the execution of a script branch until the transaction is completed.

If a positive value doesn't fit in the specified size, an error is reported.

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

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.

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.

If a request fails an error is reported.

Provided By

Simics Core

See Also

wait-for-read, wait-for-write, wait-for-get, wait-for-set
<transaction>.wait-for-read <transaction>.wait-for-write