You copied the Doc URL to your clipboard.

InstructionCount protocol

This protocol has the behaviors getValue() and getRunState().

getValue() : uint64_t
Obtain the number of instructions executed by the processor.
getRunState() : uint32_t
Obtain the power/run status of the processor.

Table 1. Run state values
Value State label Description
0 UNKNOWN Run status unknown, that is, simulation has not started
1 RUNNING Processor running, is not idle and is executing instructions
2 HALTED External halt signal asserted
3 STANDBY_WFE Last instruction executed was WFE and standby mode has been entered
4 STANDBY_WFI Last instruction executed was WFI and standby mode has been entered
5 IN_RESET External reset signal asserted
6 DORMANT Partial processor power down
7 SHUTDOWN Complete processor power down

Was this page helpful? Yes No