This is the simplest of the TapAction
subclasses, implementing a JTAG reset cycle. It has a sole private
instance variable.
bool firstTime
This is used to track the first call of the
process
method.
On the first cycle through, the TAP state machine's
resetDone
flag is cleared.
This allows the base class checkResetDone
method to be used to drive the reset.
In this case completion is when the TAP state machine records
the reset is done, not when the
checkResetDone
function returns
true
. This means completion is signaled on
the final reset cycle, rather than after the final reset
cycle. See Section 3.4.2 for the
explanation of this behavior.