Patent attributes
When a stop condition is satisfied, a stop condition determination circuit (10) issues a stop instruction to an operation stop control circuit (11) to stop the operation of a functional circuit (14). A storage device (12) stores therein determination results made by the stop condition determination circuit (10) and operation conditions in the functional circuit (14). An external conveying means (13) conveys the determination results made by the stop condition determination circuit (10) to outside the semiconductor device. If these determination results are used by a peripheral device external to the semiconductor device, it is possible to prevent failures in the peripheral device and malfunctions in the system caused by faults in the semiconductor device.