An integrated circuit chip having testing logic for testing circuitry of
the integrated circuit chip is provided. The integrated circuit chip
includes at least a scan-in pin, a scan clock pin, and a test controller.
The test controller has test mode registers for storing a type of test
mode to be executed, and the test controller accepting signals from the
scan-in pin and the scan clock pin. The scan-in pin and the scan clock
pin receiving a test program for the type of test mode and a soft-reset
pattern. Also included is a state machine logic that is part of the
integrated circuit chip. The state machine logic, during execution of the
test program, being configured to direct sampling of a scan clock
waveform provided through the scan clock pin as dictated by transitions
of a scan-in waveform provided through the scan-in pin. The sampling by
the state machine circuitry identifying a bit match from the sampled scan
clock waveform upon executing the soft-reset pattern. The identified bit
match triggering a soft reset by updating the test mode registers of the
test controller. The soft reset therefore eliminates the need for an
extra reset pin, when testing in scan mode. The communication channel
defined through the use of the scan-in and scan clock pins can be used to
trigger other soft actions.