Clock loss monitoring circuit and implementation method
A technology for monitoring circuits and implementation methods, applied in fault hardware testing methods, electrical digital data processing, error detection/correction, etc., can solve the problems of high complexity and high cost, and achieve fast response speed, low cost, and high security. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] figure 1 For the clock loss monitoring circuit diagram according to the present invention, such as figure 1 As shown, the clock loss monitoring circuit of the present invention includes a delay element, an inverter, an AND gate, a register with an asynchronous reset terminal and a clock detection register, wherein the delay element is connected with the inverter, and the The inverter is connected with the AND gate, the AND gate is connected with the register with asynchronous reset terminal, and the register with asynchronous reset terminal is connected with the clock detection register.
[0038] The delay element is used to generate an asynchronous reset signal with an asynchronous reset terminal register and output it to the register with an asynchronous reset terminal when the rising edge of the reference clock passes through the delay element, and reset the register with an asynchronous reset terminal to 0 .
[0039] The register with an asynchronous reset termina...
Embodiment 2
[0049] figure 2 For the implementation method flowchart of the clock loss monitoring circuit according to the present invention, reference will be made below figure 2 , the implementation method of the clock loss monitoring circuit of the present invention is described in detail.
[0050] In step 201, when the rising edge of the reference clock passes through the delay element, an asynchronous reset signal of the register is generated to reset the register to 0.
[0051] Preferably, the rising edge of the reference clock is reversed after passing through the delay element, and the delayed and reversed reference clock signal is logically ANDed with the reference clock signal to generate an asynchronous reset signal of the register.
[0052] In step 202, when the rising edge of the monitored clock arrives, the register is assigned a value of 1.
[0053] In step 203, the value of the register is checked at the falling edge of the reference clock, and an interrupt is output if...
Embodiment 3
[0056] Such as image 3As shown, in the embodiment of the present invention, according to the Nyquist sampling law, half of the clk_base (high level) is more than twice slower than clk_check, and after half a clock cycle, the rising edge turns into a falling edge. As long as the delay time satisfies the minimum reset pulse width of DFF (Data flip-flop, data flip-flop), from a logical perspective, the delay time should be as small as possible, one level of buffer or one delay cell can be used. The asynchronous reset of DFF will reset active_ind to the reset value.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


