US12476785B2ActiveUtilityA1

Low power and area clock monitoring circuit using ring delay arrangement for clock signal having phase-to-phase variation

50
Assignee: NVIDIA CORPPriority: Apr 4, 2023Filed: Apr 4, 2023Granted: Nov 18, 2025
Est. expiryApr 4, 2043(~16.7 yrs left)· nominal 20-yr term from priority
H04L 7/0337H04L 7/0008H03K 5/1534H03K 5/06H03K 5/26H03K 3/0315H03K 5/19G01R 29/027H04L 7/0331G06F 1/04
50
PatentIndex Score
0
Cited by
17
References
23
Claims

Abstract

Circuitry and method of operating a circuit for monitoring a clock signal having phase-to-phase variation is disclosed. The method comprises adding a fixed number of bits to a pulse count of a reference phase instance for a high or low phase to yield a modified added pulse count when detecting a clock slow abnormality, subtracting the fixed number of bits from the pulse count of the reference phase instance to yield a modified subtracted pulse count when detecting a clock fast abnormality, comparing the modified added pulse count to a pulse count for an immediately subsequent phase instance of the high or low phase count of the clock signal when detecting the clock slow abnormality, and comparing the modified subtracted pulse count to the pulse count for the immediately subsequent phase instance of the high phase or low phase count of the clock signal when detecting the clock fast abnormality.

Claims

exact text as granted — not AI-modified
What is claimed is: 
     
         1 . A clock monitoring circuit for monitoring a clock signal having phase-to-phase variation, comprising:
 a binary adder configured to add a fixed number of tune bits to a pulse count of a reference phase instance for a selected one of a high phase count or low phase count of the clock signal to yield a modified added pulse count for the reference phase instance when detecting a clock slow clock abnormality;   a binary subtractor configured to subtract the fixed number of tune bits from the pulse count of the reference phase instance for the selected one of the high phase count or low phase count of the clock signal to yield a modified subtracted pulse count for the reference phase instance when detecting a clock fast clock abnormality;   a first comparator configured to compare the modified added pulse count to a pulse count for an immediately subsequent phase instance of the selected one of the high phase count or low phase count of the clock signal when detecting the clock slow clock abnormality;   a second comparator configured to compare the modified subtracted pulse count to the pulse count for the immediately subsequent phase instance of the selected one of the high phase count or low phase count of the clock signal when detecting the clock fast clock abnormality;   two ring pulse generators, each configured to generate a train of pulses corresponding to a duration of respective phases of the clock signal; and   two n-bit counters, each connected to a respective one of the two ring pulse generators, configured to count a number of pulses in respective pulse trains generated by the two ring pulse generators, wherein a count of the number of pulses in each respective pulse train is indicative of a duration of the respective phases of the clock signal.   
     
     
         2 . The clock monitoring circuit as recited in  claim 1 , further comprising:
 clock slow detection (CSD) circuitry configured to assert a CSD signal when the modified added pulse count for the reference phase is less than the pulse count for the immediately subsequent phase instance of the selected one of the high phase count or low phase count of the clock signal;   clock fast detection (CFD) circuitry configured to assert a CFD_synch signal with the modified subtracted pulse count for the reference phase is greater than the pulse count for the immediately subsequent phase instance of the selected one of the high phase count or low phase count of the clock signal; and   a logic function configured to assert a clock abnormality detect (CAD) signal when either the CSD or CFD_synch signal are asserted.   
     
     
         3 . The clock monitoring circuit as recited in  claim 1 , wherein the two ring pulse generators each comprise a plurality of edge detector circuits implemented in a ring delay arrangement wherein an output of a last of the plurality of edge detector circuits is fed back to an input of a first of the plurality of edge detector circuits. 
     
     
         4 . The clock monitoring circuit as recited in  claim 3 , wherein:
 a first edge detector circuit of the plurality of edge detector circuits of a first ring pulse generator detects a first edge of the clock signal monitored by the clock monitoring circuit and outputs a pulse with a unit pulse width to a subsequent edge detector circuit of the plurality of edge detector circuits; and   when the subsequent edge detector circuit detects an edge of the pulse output by the first edge detector, the subsequent edge detector outputs a pulse with the unit pulse width to another subsequent edge detector circuit of the plurality of edge detector circuits of the first ring pulse generator.   
     
     
         5 . The clock monitoring circuit as recited in  claim 4 , wherein:
 the first edge of the clock signal monitored by the clock monitoring circuit is a falling edge; and   an edge of the pulse output by the first edge detector detected by subsequent edge detector circuits are a falling edge.   
     
     
         6 . The clock monitoring circuit as recited in  claim 3 , wherein the unit pulse width output by the plurality of edge detectors for both the first and second ring pulse generators is a same pulse width. 
     
     
         7 . The clock monitoring circuit as recited in  claim 1 , wherein:
 separate n-bit counters are reset at a beginning of each of their respective separate phases of the clock signal; and   the resetting is delayed until after a last pulse is counted for each of the respective phases of the clock signal.   
     
     
         8 . An integrated circuit (IC), comprising:
 at least one processing subsystem; and   at least one clock monitoring circuit for monitoring a clock signal having phase-to-phase variation coupled to the at least one processing subsystem and a clock signal externally generated from the IC or a plurality of clock signals generated internal to the IC, wherein the at least one clock monitoring circuit comprises:
 a binary adder configured to add a fixed number of tune bits to a pulse count of a reference phase instance for a selected one of a high phase count or low phase count of the clock signal to yield a modified added pulse count for the reference phase instance when detecting a clock slow clock abnormality; 
 a binary subtractor configured to subtract the fixed number of tune bits from the pulse count of the reference phase instance for the selected one of the high phase count or low phase count of the clock signal to yield a modified subtracted pulse count for the reference phase instance when detecting a clock fast clock abnormality; 
 a first comparator configured to compare the modified added pulse count to a pulse count for an immediately subsequent phase instance of the selected one of the high phase count or low phase count of the clock signal when detecting the clock slow clock abnormality; 
 a second comparator configured to compare the modified subtracted pulse count to the pulse count for the immediately subsequent phase instance of the selected one of the high phase count or low phase count of the clock signal when detecting the clock fast clock abnormality; 
 two ring pulse generators, each configured to generate a train of pulses corresponding to a duration of respective phases of the clock signal; and 
 two n-bit counters, each connected to a respective one of the two ring pulse generators, configured to count a number of pulses in respective pulse trains generated by the two ring pulse generators wherein a count of number of pulses in each respective pulse train is indicative of a duration of the respective phases of the clock signal. 
   
     
     
         9 . The IC as recited in  claim 8 , further comprising:
 clock slow detection (CSD) circuitry configured to assert a CSD signal when the modified added pulse count for the reference phase is less than the pulse count for the immediately subsequent phase instance of the selected one of the high phase count or low phase count of the clock signal;   clock fast detection (CFD) circuitry configured to assert a CFD_synch signal with the modified subtracted pulse count for the reference phase is greater than the pulse count for the immediately subsequent phase instance of the selected one of the high phase count or low phase count of the clock signal; and   a logic function configured to assert a clock abnormality detect (CAD) signal when either the CSD or CFD_synch signal are asserted.   
     
     
         10 . The IC as recited in  claim 8 , further comprising phase-locked loop circuits (PLLs) that generate the plurality of clock signals generated internal to the IC. 
     
     
         11 . The IC as recited in  claim 8 , wherein the at least one processing subsystem includes one or more central processing units (CPUs), one or more graphics processing units (GPUs), or one or more memory controllers. 
     
     
         12 . The IC as recited in  claim 9 , wherein at least some of the at least one processing subsystem reset upon generation of the CAD signal by the clock monitoring circuit. 
     
     
         13 . The IC as recited in  claim 9 , wherein at least some of the at least one processing subsystem log instances of instances of the CAD signal by the clock monitoring circuit. 
     
     
         14 . A method of operating a clock monitoring circuit for monitoring a clock signal having phase-to-phase variation, comprising:
 adding a fixed number of tune bits to a pulse count of a reference phase instance for a selected one of a high phase count or low phase count of the clock signal to yield a modified added pulse count for the reference phase instance when detecting a clock slow clock abnormality;   subtracting the fixed number of tune bits from the pulse count of the reference phase instance for the selected one of the high phase count or low phase count of the clock signal to yield a modified subtracted pulse count for the reference phase instance when detecting a clock fast clock abnormality;   comparing the modified added pulse count to a pulse count for an immediately subsequent phase instance of the selected one of the high phase count or low phase count of the clock signal when detecting the clock slow clock abnormality;   comparing the modified subtracted pulse count to the pulse count for the immediately subsequent phase instance of the selected one of the high phase count or low phase count of the clock signal when detecting the clock fast clock abnormality;   generating a train of pulses corresponding to a duration of respective phases of the clock signal; and   counting a number of pulses in respective pulse trains, wherein a count of the number of pulses in each respective pulse train is indicative of a duration of the respective phases of the clock signal.   
     
     
         15 . The method as recited in  claim 14 , further comprising:
 asserting a clock slow detect signal when the modified added pulse count for the reference phase is less than the pulse count for the immediately subsequent phase instance of the selected one of the high phase count or low phase count of the clock signal;   asserting a CFD_synch signal when the modified subtracted pulse count for the reference phase is greater than the pulse count for the immediately subsequent phase instance of the selected one of the high phase count or low phase count of the clock signal; and   asserting a clock abnormality detect (CAD) signal when either the CSD or CFD_synch signal are asserted.   
     
     
         16 . A method of manufacturing an integrated circuit (IC) for monitoring a clock signal having phase-to-phase variation, comprising forming:
 a binary adder configured to add a fixed number of tune bits to a pulse count of a reference phase instance for a selected one of a high phase count or low phase count of the clock signal to yield a modified added pulse count for the reference phase when detecting a clock slow clock abnormality;   a binary subtractor configured to subtract the fixed number of tune bits to the pulse count of the reference phase instance for the selected one of the high phase count or low phase count of the clock signal to yield a modified subtracted pulse count for the reference phase when detecting a clock fast clock abnormality;   a first comparator configured to compare the modified added pulse count to a pulse count for an immediately subsequent phase instance of the selected one of the high phase count or low phase count of the clock signal when detecting the clock slow clock abnormality;   a second comparator configured to compare the modified subtracted pulse count to the pulse count for the immediately subsequent phase instance of the selected one of the high phase count or low phase count of the clock signal when detecting the clock fast clock abnormality;   two ring pulse generators, each configured to generate a train of pulses corresponding to a duration of respective phases of the clock signal; and   two n-bit counters, each connected to a respective one of the two ring pulse generators, configured to count a number of pulses in respective pulse trains generated by the two ring pulse generators, wherein a count of the number of pulses in each respective pulse train is indicative of a duration of the respective phases of the clock signal.   
     
     
         17 . The method as recited in  claim 16 , further comprising forming:
 clock slow detection (CSD) circuitry configured to assert a CSD signal when the modified added pulse count for the reference phase is less than the pulse count for the immediately subsequent phase instance of the selected one of the high phase count or low phase count of the clock signal;   clock fast detection (CFD) circuitry configured to assert a CFD_synch signal with the modified subtracted pulse count for the reference phase is greater than the pulse count for the immediately subsequent phase instance of the selected one of the high phase count or low phase count of the clock signal; and   a logic function configured to assert a clock abnormality detect (CAD) signal when either the CSD or CFD_synch signal are asserted.   
     
     
         18 . An autonomous machine, comprising:
 at least one processing subsystem; and   at least one clock monitoring circuit for monitoring a clock signal having phase-to-phase variation coupled to the at least one processing subsystem and an externally generated clock signal or a plurality of internally generated clock signals, wherein the clock monitoring circuit comprises:
 a binary adder configured to add a fixed number of tune bits to a pulse count of a reference phase instance for a selected one of a high phase count or low phase count of the clock signal to yield a modified added pulse count for the reference phase instance when detecting a clock slow clock abnormality; 
 a binary subtractor configured to subtract the fixed number of tune bits from the pulse count of the reference phase instance for the selected one of the high phase count or low phase count of the clock signal to yield a modified subtracted pulse count for the reference phase instance when detecting a clock fast clock abnormality; 
 a first comparator configured to compare the modified added pulse count to a pulse count for an immediately subsequent phase instance of the selected one of the high phase count or low phase count of the clock signal when detecting the clock slow clock abnormality; 
 a second comparator configured to compare the modified subtracted pulse count to the pulse count for the immediately subsequent phase instance of the selected one of the high phase count or low phase count of the clock signal when detecting the clock fast clock abnormality; 
   two ring pulse generators, each configured to generate a train of pulses corresponding to a duration of respective phases of the clock signal; and
 two n-bit counters, each connected to a respective one of the two ring pulse generators, configured to count a number of pulses in respective pulse trains generated by the two ring pulse generators, wherein a count of the number of pulses in each respective pulse train is indicative of a duration of the respective phases of the clock signal. 
   
     
     
         19 . The autonomous machine as recited in  claim 18 , further comprising:
 clock slow detection (CSD) circuitry configured to assert a CSD signal when the modified added pulse count for the reference phase is less than the pulse count for the immediately subsequent phase instance of the selected one of the high phase count or low phase count of the clock signal;   clock fast detection (CFD) circuitry configured to assert a CFD_synch signal with the modified subtracted pulse count for the reference phase is greater than the pulse count for the immediately subsequent phase instance of the selected one of the high phase count or low phase count of the clock signal; and   a logic function configured to assert a clock abnormality detect (CAD) signal when either the CSD or CFD_synch signal are asserted.   
     
     
         20 . The autonomous machine as recited in  claim 19 , wherein the autonomous machine logs instances of the CAD signal. 
     
     
         21 . The autonomous machine as recited in  claim 19 , wherein some of the at least one of the processing subsystem reset based on the logged instances of the CAD signal. 
     
     
         22 . The autonomous machine as recited in  claim 18 , wherein the autonomous machine is an autonomous driving computing platform. 
     
     
         23 . The autonomous machine as recited in  claim 18 , wherein the autonomous machine is robotic computing platform.

Cited by (0)

No later patents cite this yet.

References (0)

No backward citations on record.