System for monitoring a period of an operation clock signal of a CPU and stopping operations of the CPU when the period is out of a predetermined allowable range
First Claim
Patent Images
1. A data processing system comprising:
- a central processing unit (CPU);
a memory;
an interface for transmitting and receiving data to and from external devices;
a bus for connecting said CPU, memory, and interface; and
a clock monitoring circuit for monitoring period of an operation clock signal of said CPU to stop operations of said CPU when the period of said operation clock signal goes out of a predetermined allowable range,wherein said clock monitoring circuit includes;
a first pulse width detecting circuit for generating a first voltage depending on a pulse width of said operation clock signal;
a discriminating circuit for discriminating the first voltage generated by said first pulse width detecting circuit with a predetermined threshold voltage; and
a control circuit for detecting an output of said discriminating circuit in response to rise and fall of said clock signal and generating a signal to stop the operations of said CPU based on a result of detection of said output; and
wherein said clock monitoring circuit includes a logical inverting circuit for inverting logic of outputs of said discriminating circuit, and said first pulse width detecting circuit includes a first flip-flop circuit for latching outputs of said discriminating circuit in a timing of rise or fall of the clock signal and a second flip-flop circuit for latching outputs of said logical inverting circuit in the timing of fall or rise of the clock signal, andwherein said signal generated by said control circuit is a reset signal for resetting operations of said CPU.
4 Assignments
0 Petitions
Accused Products
Abstract
There is provided a technology for preventing disabling of function of a clock monitoring circuit by a hacker in a microcomputer for IC card provided with a clock monitoring circuit as a countermeasure for a hacker. In the microcomputer for IC card provided with the clock monitoring circuit, the clock monitoring circuit is given the function to perform the detecting operation twice during one cycle, namely at the timings of rise and fall of the clock.
-
Citations
6 Claims
-
1. A data processing system comprising:
-
a central processing unit (CPU); a memory; an interface for transmitting and receiving data to and from external devices; a bus for connecting said CPU, memory, and interface; and a clock monitoring circuit for monitoring period of an operation clock signal of said CPU to stop operations of said CPU when the period of said operation clock signal goes out of a predetermined allowable range, wherein said clock monitoring circuit includes; a first pulse width detecting circuit for generating a first voltage depending on a pulse width of said operation clock signal; a discriminating circuit for discriminating the first voltage generated by said first pulse width detecting circuit with a predetermined threshold voltage; and a control circuit for detecting an output of said discriminating circuit in response to rise and fall of said clock signal and generating a signal to stop the operations of said CPU based on a result of detection of said output; and wherein said clock monitoring circuit includes a logical inverting circuit for inverting logic of outputs of said discriminating circuit, and said first pulse width detecting circuit includes a first flip-flop circuit for latching outputs of said discriminating circuit in a timing of rise or fall of the clock signal and a second flip-flop circuit for latching outputs of said logical inverting circuit in the timing of fall or rise of the clock signal, and wherein said signal generated by said control circuit is a reset signal for resetting operations of said CPU. - View Dependent Claims (2, 3, 4)
-
-
5. A data processing system formed on a semiconductor chip, comprising:
-
a central processing unit (CPU); a memory; an interface for transmitting and receiving data to and from external devices; a bus for connecting said CPU, memory, and interface; a clock monitoring circuit for monitoring period of an operation clock signal of said CPU to stop operation of said CPU when the period of said clock signal goes out of a predetermined allowable range; a plurality of signal lines closely allocated to each other on said semiconductor chip to cover at least an upper part of said clock circuit; AC signal generating circuits connected to first terminals of a plurality of said signal lines to generate AC signals respectively to a plurality of said signal lines; signal detecting circuits connected to second terminals of a plurality of said signal lines to detect said AC signals; and a control circuit for stopping operation of said CPU when said signal detecting circuits do not detect said AC signals, wherein said clock monitoring circuit includes; a pulse first width detecting circuit for generating a voltage depending on the pulse width of said clock signal; a discriminating circuit for discriminating the voltage generated by said first pulse width detecting circuit with a predetermined threshold value; a control circuit for detecting an output of said discriminating circuit in a timing of rise or fall of said clock signal and generating a signal to stop operation of said CPU based on a result of detecton of said output, and wherein said clock monitoring circuit includes a logical inverting circuit for inverting logic of outputs of said discriminating circuit, and said first pulse width detecting circuit includes a first flip-flop circuit for latching outputs of said discriminating circuit in a timing of rise or fall of said clock signal and a second flip-flop circuit for latching outputs of said logical inverting circuit in the timing of fall or rise of the clock signal, and wherein said signal generated by said control circuit is a reset signal for resetting operation of said CPU. - View Dependent Claims (6)
-
Specification