PURPOSE: To detect abnormality speedily and to improve the efficiency of a circuit test and trouble cause investigation by generating a trigger signal when a pattern other than the pattern of a signal expected to be generated in a normal state is generated.
CONSTITUTION: When an observer sets the bit pattern of a signal which is generated originally in a setting part 1, this signal pattern is set in latch memories 2-1W2-N. Then, if a pattern other than said bit pattern is generated on signal flux to be measured at some sampling timing and stored in an input buffer 4, outputs M1WMn of comparators 3-1W3-N all attain to a level L. Consequently, the output UM of an inverted AND gate 8 attain to a level H and when this signal UM is set in a flip-flop 7 by a sampling signal, a trigger signal TRG is generated.