|Home > Iris APIs > Debuggable state API > Debuggable state flags|
Instances that support debuggable state maintain the following flags:
debuggableState_setRequest()can change this flag. The flag is per-instance and not per-client. Setting the flag changes how the instance behaves as simulation time passes in the following ways:
The instance automatically sets or clears this flag when it reaches or leaves a debuggable state. Typically, the instance reaches a debuggable state after setting the
debuggable-state-request flag and executing some simulation time, usually by calling
Typically, the instance leaves a debuggable state when simulation time progresses after the
debuggable-state-request flag has been cleared.
debuggableState_getAcknowledge() function queries this flag. This function has no side effects on the instance.
These flags have similar semantics to a debug request pin and a debug acknowledge pin found on some CPUs.