IP Library Granted Patent US 8,552,764
Granted Patent B2
US 8,552,764 · App. 13/131,349 · Granted Oct 8, 2013

Clock glitch detection circuit

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,552,764
App. No.
13/131,349
Granted
Oct 8, 2013
Kind
B2
Abstract

In a first circuit for detecting clock glitches in a clock signal, a master counter is clocked by the clock signal and memorizes a master count. An incrementer advances the master count by one increment. A slave counter is clocked by the clock signal and memorizes a slave count. The slave count is retarded relative to the master count by at least a particular number of clock edges. A comparator determines whether the difference between the master count and the slave count is at least a value of the incrementer times the particular number of clock edges.

Claims (56)

1. A circuit for detecting clock glitches in a clock signal, comprising

a master counter clocked by the clock signal configured to store a master count N M ;

an incrementer configured to advance the master count by one increment;

a slave counter clocked by the clock signal configured to store a slave count N s , wherein

the slave count is retarded relative to the master count by at least P clock edges based on an input of the slave counter being coupled to an output of the master counter, and

the number P is greater than or equal to one; and

a comparator configured to determine whether a difference N M −N S between the master count and the slave count is at least P times the increment.

2. The circuit as set forth in claim 1 , wherein the comparator or its result is activated by the clock signal.

3. The circuit as set forth in claim 1 , wherein the incrementer is combinatorial.

4. The circuit as set forth in claim 1 , wherein the master counter and the slave counter comprise wraparound counters having the same range.

5. The circuit as set forth in claim 1 , wherein the master counter comprises a master storage element configured to store the master count and the slave counter comprises a slave storage element configured to store the slave count.

6. The circuit as set forth in claim 1 , wherein a slave count capture time is shorter than a delay of the incrementer.

7. The circuit as set forth in claim 1 , wherein

the master counter comprises a master input port for setting the master count and a master output port for delivering the master count, and

the slave counter comprises a slave input port for setting the slave count and a slave output port for delivering the slave count.

8. The circuit as set forth in claim 7 , wherein the output of the master counter is coupled directly to the input of the slave counter.

9. The circuit as set forth in claim 3 , wherein the incrementer comprises:

an incrementer input port for receiving an input number; and

an incrementer output port for delivering an output number, wherein

the output number is the input number advanced by one increment, and

the output of the master counter is coupled to the incrementer input port and the incrementer output port is coupled to an input port of the master counter.

10. The circuit as set forth in claim 9 , wherein the comparator comprises:

a first comparator input port for receiving a first input number;

a second comparator input port for receiving a second input number; and

a comparator output port for delivering a comparator signal depending on the difference between the first input number and the second input number, wherein

the output of the master counter is coupled to the first comparator input port and an output of the slave counter is coupled to the second comparator input port.

11. The circuit as set forth in claim 1 , wherein the master counter, the incrementer, the slave counter, and the comparator represent a first instance that is arranged to store positive clock edges, wherein circuit further comprises:

a second master counter clocked by the clock signal configured to store a second master count;

a second incremmter configured to advance the second master count by one increment;

a second slave counter clocked by the clock signal configured to store a second slave count, wherein the second slave count is retarded relative to the second master count by at least P clock edges based on an input of the second slave counter being coupled to an output of the second master counter, and wherein the number P is greater than or equal to one; and

a second comparator configured to determine whether the difference between the second master count and the second slave count is at least P times the increment, wherein the second master counter, the second incrementer, the second slave counter, and the second comparator represent a second instance arranged to store negative clock edges, and circuit further comprises a third comparator determines a difference between rising-edge count and falling-edge count is provided.

12. A method for detecting clock glitches in a clock signal, comprising:

storing a master count N M at a master counter clocked by the clock signal;

advancing the master count by one increment;

storing a slave count N S at a slave counter clocked by the clock signal, wherein

the slave count is retarded relative to the master count by at least P clock edges based on an input of the slave counter being coupled to an output of the master counter, and

the number P is greater than or equal to one; and

determining whether a difference N M −N S between the master count and the slave count is at least P times the increment.

13. The method of claim 12 , wherein the master counter and the slave counter comprise wraparound counters having the same range.

14. The method of claim 12 , wherein the output of the master counter is coupled directly to the input of the slave counter.

15. The method of claim 12 , further comprising:

activating a comparator by the clock signal to determine the difference between the master count and the slave count.

16. A circuit for detecting clock glitches in a clock signal, comprising

a master counter clocked by the clock signal configured to store a master count N M ;

an incrementer configured to advance the master count by one increment, wherein the incrementer includes:

an incrementer input port to receive an input number; and

an incrementer output port to deliver an output number, wherein the output number is the input number advanced by one increment, and an output of the master counter is coupled to the incrementer input port and the incrementer output port is coupled to an input port of the master counter;

a slave counter clocked by the clock signal configured to store a slave count N S , wherein the slave count is retarded relative to the master count by at least P clock edges based on an input of the slave counter being coupled to the output of the master counter, and the number P is greater than or equal to one; and

a comparator configured to determine whether a difference N M −N s between the master count and the slave count is at least P times the increment.

17. The circuit of claim 16 , wherein the comparator comprises:

a first comparator input port for receiving a first input number;

a second comparator input port for receiving a second input number; and

a comparator output port for delivering a comparator signal depending on the difference between the first input number and the second input number, wherein the output of the master counter is coupled to the first comparator input port and an output of the slave counter is coupled to the second comparator input port.

18. The circuit of claim 16 , wherein the master counter and the slave counter comprise wraparound counters having the same range.

19. The circuit of claim 16 , wherein the output of the master counter is coupled directly to the input of the slave counter.

20. The circuit of claim 16 , wherein the comparator or its result is activated by the clock signal.

Assignments (30)
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 11759915 AND REPLACE IT WITH APPLICATION 11759935 PREVIOUSLY RECORDED ON REEL 040925 FRAME 0001. ASSIGNOR(S) HEREBY CONFIRMS THE RELEASE OF SECURITY INTEREST. Recorded Feb 17, 2020
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP, B.V. F/K/A FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 052917/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 11759915 AND REPLACE IT WITH APPLICATION 11759935 PREVIOUSLY RECORDED ON REEL 040928 FRAME 0001. ASSIGNOR(S) HEREBY CONFIRMS THE RELEASE OF SECURITY INTEREST. Recorded Jan 17, 2020
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP B.V.
Reel/Frame 052915/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 11759915 AND REPLACE IT WITH APPLICATION 11759935 PREVIOUSLY RECORDED ON REEL 037486 FRAME 0517. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS. Recorded Dec 10, 2019
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 053547/0421 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12298143 PREVIOUSLY RECORDED ON REEL 039361 FRAME 0212. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded Oct 22, 2019
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 051029/0387 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12298143 PREVIOUSLY RECORDED ON REEL 042985 FRAME 0001. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded Oct 22, 2019
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 051029/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12298143 PREVIOUSLY RECORDED ON REEL 038017 FRAME 0058. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded Oct 22, 2019
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 051030/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12298143 PREVIOUSLY RECORDED ON REEL 042762 FRAME 0145. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded Oct 22, 2019
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 051145/0184 →
RELEASE OF SECURITY INTEREST Recorded Sep 10, 2019
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP B.V.
Reel/Frame 050745/0001 →
RELEASE OF SECURITY INTEREST Recorded Sep 10, 2019
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP B.V.
Reel/Frame 050744/0097 →
CORRECTIVE ASSIGNMENT TO CORRECT THE TO CORRECT THE APPLICATION NO. FROM 13,883,290 TO 13,833,290 PREVIOUSLY RECORDED ON REEL 041703 FRAME 0536. ASSIGNOR(S) HEREBY CONFIRMS THE THE ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS.. Recorded Feb 20, 2019
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: SHENZHEN XINGUODU TECHNOLOGY CO., LTD.
Reel/Frame 048734/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12681366 PREVIOUSLY RECORDED ON REEL 038017 FRAME 0058. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded May 9, 2017
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 042985/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12681366 PREVIOUSLY RECORDED ON REEL 039361 FRAME 0212. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded May 9, 2017
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 042762/0145 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE PATENTS 8108266 AND 8062324 AND REPLACE THEM WITH 6108266 AND 8060324 PREVIOUSLY RECORDED ON REEL 037518 FRAME 0292. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS. Recorded Feb 1, 2017
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 041703/0536 →
MERGER Recorded Jan 3, 2017
From: FREESCALE SEMICONDUCTOR, INC.
To: NXP USA, INC.
Reel/Frame 041144/0363 →
RELEASE OF SECURITY INTEREST Recorded Nov 7, 2016
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP B.V.
Reel/Frame 040928/0001 →
RELEASE OF SECURITY INTEREST Recorded Sep 21, 2016
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP, B.V., F/K/A FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 040925/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12092129 PREVIOUSLY RECORDED ON REEL 038017 FRAME 0058. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded Jul 14, 2016
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 039361/0212 →
SUPPLEMENT TO THE SECURITY AGREEMENT Recorded Jun 16, 2016
From: FREESCALE SEMICONDUCTOR, INC.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 039138/0001 →
SECURITY AGREEMENT SUPPLEMENT Recorded Mar 7, 2016
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 038017/0058 →
ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS Recorded Jan 13, 2016
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 037518/0292 →
ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS Recorded Jan 12, 2016
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 037486/0517 →
PATENT RELEASE Recorded Dec 21, 2015
From: CITIBANK, N.A., AS COLLATERAL AGENT
To: FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 037357/0285 →
PATENT RELEASE Recorded Dec 21, 2015
From: CITIBANK, N.A., AS COLLATERAL AGENT
To: FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 037357/0334 →
PATENT RELEASE Recorded Dec 21, 2015
From: CITIBANK, N.A., AS COLLATERAL AGENT
To: FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 037357/0387 →
SECURITY AGREEMENT Recorded Nov 6, 2013
From: FREESCALE SEMICONDUCTOR, INC.
To: CITIBANK, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 031591/0266 →
SECURITY AGREEMENT Recorded Jun 18, 2013
From: FREESCALE SEMICONDUCTOR, INC.
To: CITIBANK, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 030633/0424 →
SECURITY AGREEMENT Recorded Jan 31, 2012
From: FREESCALE SEMICONDUCTOR, INC.
To: CITIBANK, N.A., AS COLLATERAL AGENT
Reel/Frame 027621/0928 →
SECURITY AGREEMENT Recorded Jan 31, 2012
From: FREESCALE SEMICONDUCTOR, INC.
To: CITIBANK, N.A., AS COLLATERAL AGENT
Reel/Frame 027622/0075 →
SECURITY AGREEMENT Recorded Jan 31, 2012
From: FREESCALE SEMICONDUCTOR, INC.
To: CITIBANK, N.A., AS COLLATERAL AGENT
Reel/Frame 027622/0477 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 26, 2011
From: ROHLEDER, MICHAEL; KOCH, THOMAS; LITOVTCHENKO, VLADIMIR; LUEDEKE, THOMAS
To: FREESCALE SEMICONDUCTOR INC
Reel/Frame 026344/0591 →