print-device-reg-info print-event-queue
Simics Reference Manual  /  3 Commands  /  3.2 Command List  / 

print-device-regs

Synopsis

print-device-regs "bank" ["pattern"] ["substr"] [-s] [-description]

Description

Print information about the registers in bank. The bank argument can either be a device or a bank object, i.e. device.bank.<bank-name>. For a device object, all banks of the device will be listed. The old way to specify register banks (device.<bank-name>) is supported but deprecated.

The optional argument pattern is a glob pattern that will be used to match against register names. By default, all registers in the bank will be matched.

The optional argument substr is a convenience for using the pattern argument. For example, substr=foo is equivalent to using pattern="*foo*".

-s, if provided, will sort the output by the name of the registers instead of their offsets, which is the default.

-description, if provided, the register description will be output for each register that has description.

If used in an expression, the return value is a list of lists in the format [[<offset>, <bank>, <name>, <size>, <value>]*]. The returned list is always sorted by offsets and not affected by the -s flag.

Provided By

Simics Core

See Also

print-device-reg-info, get-device-reg, get-device-offset
print-device-reg-info print-event-queue