# US 2020/0402602 A1 · Glitch profiling in an integrated circuit

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2020/0402602 A1
- Document ID: US20200402602A1
- Status: Published application
- Kind: A1
- Application number: 16/444,739
- Filed: 2019-06-18
- Published: 2020-12-24
- Earliest claimed: 2019-06-18
- Assignees: NXP USA, Inc.
- Applicants: NXP USA, Inc.
- Inventors: Nihaar N. Mahatme; Srikanth Jagannathan
- Web page: https://patentgrep.com/patent/US20200402602A1

## CPC

- G11C 7/02: with means for avoiding parasitic signals
- G11C 29/02: Detection or location of defective auxiliary circuits, e.g. defective refresh counters
- G01R 31/31719: {Security aspects, e.g. preventing unauthorised access during test}
- G01R 31/31937: {Timing aspects, e.g. measuring propagation delay (G01R31/3191 and G01R31/31922 take precedence; marginal testing G06F11/24)}
- G06F 21/755: {with measures against power attack}
- G11C 5/14: Power supply arrangements {, e.g. power down, chip selection or deselection, layout of wirings or power grids, or multiple supply levels}
- G11C 7/1063: {Control signal output circuits, e.g. status or busy flags, feedback command signals}
- G11C 7/24: Memory cell safety or protection circuits, e.g. arrangements for preventing inadvertent reading or writing; Status cells; Test cells
- G11C 29/021: {in voltage or current generators}
- G11C 29/50012: {of timing}
- G11C 2029/4402: {Internal storage of test result, quality data, chip identification, repair information}
- G11C 2029/5002: {Characteristic}
- G11C: STATIC STORES (semiconductor memory devices H10B)
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A circuit includes a glitch measurement circuit and a glitch profile circuit. The glitch measurement circuit includes a first comparator to compare a glitch in a power supply voltage to a first threshold voltage, a first counter to generate a first count indicative of a time duration the first comparator indicates that the glitch trips the first threshold voltage, a second comparator to compare the glitch in the power supply voltage to a second threshold voltage different than the first threshold voltage, and a second counter to generate a second count indicative of a time duration the second comparator indicates that the glitch trips the second threshold voltage. The glitch profile circuitry utilizes the first count and the second count to generate a multi-voltage profile of the glitch, wherein the multi-voltage profile includes indications of the time durations indicated by the first count and the second count.

## Claims

### Claim 1

A circuit comprising:
an input to receive a power supply voltage;
a glitch measurement circuit, coupled to the input, the glitch measurement circuit comprising:
a first comparator to compare a glitch in the power supply voltage received at the input to a first threshold voltage,
a first counter to generate a first count indicative of a time duration the first comparator indicates that the glitch trips the first threshold voltage,
a second comparator to compare the glitch in the power supply voltage received at the input to a second threshold voltage, the second threshold voltage being different than the first threshold voltage,
a second counter to generate a second count indicative of a time duration the second comparator indicates that the glitch trips the second threshold voltage; and
a glitch profile circuitry utilizing the first count and the second count to generate a multi-voltage profile of the glitch, wherein the multi-voltage profile includes indications of the time durations indicated by the first count and the second count.

### Claim 2 (depends on 1)

The circuit of claim 1, further comprising:
control circuitry, wherein the first threshold voltage is relative to the second threshold voltage such that a glitch in the supply voltage will trip the first threshold voltage prior to tripping the second threshold voltage, wherein the control circuitry resets the first count of the first counter and the second count of the second counter responsive to an indication by the first comparator that the glitch no longer trips the first threshold voltage.

### Claim 3 (depends on 1)

The circuit of claim 1, further comprising:
control circuitry, wherein the first threshold voltage is relative to the second threshold voltage such that a glitch in the power supply voltage will trip the first threshold voltage prior to tripping the second threshold voltage, wherein the control circuitry provides an indication to the glitch profile circuitry that the glitch has ceased based on an indication by the first comparator that the glitch no longer trips the first threshold voltage.

### Claim 4 (depends on 1)

The circuit of claim 1, further comprising processing circuitry wherein the processing circuitry uses multi-voltage profiles generated by the glitch profile circuitry of glitches in the power supply voltage at the input from counts generated by the first counter and the second counter to determine whether the circuit is being attacked by glitches in the power supply voltage.

### Claim 5 (depends on 1)

The circuit of claim 1, further comprising a nonvolatile memory to store multi-voltage profiles generated by the glitch profile circuitry of glitches in the power supply voltage at the input from counts generated by the first counter and the second counter.

### Claim 6 (depends on 1)

The circuit of claim 1 wherein in the glitch is a drop in the power supply voltage at the input, wherein the first threshold voltage is a higher threshold voltage than the second threshold voltage.

### Claim 7 (depends on 1)

The circuit of claim 1 wherein the glitch profile circuitry includes an input to receive a clock signal from a real time clock, wherein the glitch profile circuitry uses the clock signal to indicate a time of occurrence of the glitch in the multi-voltage profile.

### Claim 8 (depends on 1)

The circuit of claim 1 further comprising:
a second input to receive a second power supply voltage;
a second glitch measurement circuit, coupled to the second input, the second glitch measurement circuit comprising:
a third comparator to compare a glitch in the second power supply voltage received at the second input to a third threshold voltage,
a third counter to generate a third count indicative of a time duration the third comparator indicates that the glitch in the second power supply voltage trips the third threshold voltage,
a fourth comparator to compare the glitch in the second power supply voltage received at the second input to a fourth threshold voltage, the fourth threshold voltage being different than the third threshold voltage,
a fourth counter to generate a fourth count indicative of a time duration the fourth comparator indicates that the glitch in the second power supply voltage trips the fourth threshold voltage;
wherein the glitch profile circuitry utilizes the third count and the fourth count to generate a multi-voltage profile of the glitch in the second power supply voltage, wherein the multi-voltage profile includes indications of the time durations indicated by the third count and the fourth count.

### Claim 9 (depends on 1)

The circuit of claim 1 wherein:
the glitch measurement circuit further comprises:
a third comparator to compare the glitch in the power supply voltage received at the input to a third threshold voltage, the third threshold voltage being different than the first threshold voltage and the second threshold voltage, and
a third counter to generate a third count indicative of a time duration the third comparator indicates that the glitch trips the third threshold voltage, and
wherein the glitch profile circuitry utilizes the first count, the second count, and the third count to generate the multi-voltage profile of the glitch, wherein the multi-voltage profile includes indications of the time durations indicated by the first count, the second count, and the third count.

### Claim 10

A method comprising:
receiving a power supply voltage at an input;
generating a first count with a first counter, indicative of a time duration that a glitch in a power supply voltage received at the input trips a first threshold voltage;
generating a second count, with a second counter, indicative of a time duration that the glitch trips a second threshold voltage, the second threshold voltage being a different than first threshold voltage;
generating, with glitch profile circuitry and utilizing the first count and the second count, a multi-voltage profile of the glitch, wherein the multi-voltage profile includes indications of the time durations indicated by the first count and the second count.

### Claim 11 (depends on 10)

The method of claim 10 wherein the first threshold voltage is relative to the second threshold voltage such that the glitch in the power supply voltage trips the first threshold voltage prior to tripping the second threshold voltage, the method further includes resetting the first count of the first counter and the second count of the second counter responsive to an indication that the glitch no longer trips the first threshold voltage.

### Claim 12 (depends on 10)

The method of claim 10 further comprising:
utilizing, by circuitry the multi-voltage profile to determine whether a circuit receiving the power supply voltage is being attacked by glitches in the power supply voltage.

### Claim 13 (depends on 10)

The method of claim 10 further comprising:
generating a plurality of multi-voltage profiles for a plurality of glitches of the power supply voltage with the glitch profile circuitry, wherein the each of the plurality of multi-voltage profiles includes indications of the time durations indicated by counts of the first counter and counts of the second counter.

### Claim 14 (depends on 13)

The method of claim 13 further comprising:
utilizing the plurality of multi-voltage profiles to determine whether a circuit receiving the power supply voltage is being attacked by glitches in the power supply voltage.

### Claim 15 (depends on 14)

The method of claim 14, wherein the utilizing the multi-voltage profiles to determine whether the circuit is being attacked includes determining a timing relationship between occurrences of the plurality of glitches, wherein the determination of an attack is based on the timing relationship of the occurrences.

### Claim 16 (depends on 15)

The method of claim 15 wherein the utilizing the multi-voltage profiles to determine whether a circuit is being attacked further includes determining whether a number of glitches of the plurality of glitches meeting at least one criteria occurs within a predetermined period of time.

### Claim 17 (depends on 15)

The method of claim 15 wherein the determining the timing relationship includes utilizing a clock signal form a real time clock to provide a time of occurrence of each glitch.

### Claim 18 (depends on 10)

The method of claim 10 further comprising:
generating a third count with a third counter, indicative of a time duration that the glitch trips a third threshold voltage, the third threshold voltage being different than the first threshold voltage and the second threshold voltage;
wherein the generating the multi-voltage profile includes generating, with the glitch profile circuitry and utilizing the first count, the second count, and the third count, the multi-voltage profile of the glitch, wherein the multi-voltage profile includes indications of the time durations indicated by the first count, the second count, and the third count.

### Claim 19 (depends on 10)

The method of claim 10 further comprising:
receiving a second power supply voltage at a second input;
generating a third count with a third counter, indicative of a time duration that a second glitch in the second power supply voltage received at the second input trips a third threshold voltage;
generating a fourth count with a fourth counter, indicative of a time duration that the second glitch trips a fourth threshold voltage, the fourth threshold voltage being different than third threshold voltage; and
generating, with glitch profile circuitry and utilizing the third count and the fourth count, a second multi-voltage profile of the second glitch, wherein the second multi-voltage profile includes indications of the time durations indicated by the third count and the fourth count.

### Claim 20 (depends on 10)

The circuit of claim 10 wherein the glitch is a drop in the power supply voltage at the input, wherein the first threshold voltage is a higher threshold voltage than the second threshold voltage.
