rwr - 2022.2 English

Vitis Unified Software Platform Documentation: Embedded Software Development (UG1400)

Document ID
UG1400
Release Date
2023-01-02
Version
2022.2 English

Write to register.

Syntax

rwr <reg> <value>

Write the <value> to active target register specified by <reg>. For a processor core target, the processor core register can be written to. For a target representing a group of processor cores, system registers or IOU registers can be written to.

Returns

Nothing, if successful. Error string, if an invalid register is specified or the register cannot be written to.

Examples

rwr r8 0x0

Write 0x0 to register r8.

rwr usr r8 0x0

Write 0x0 to register r8 in group usr.