# US 9,673,819 B2 · Metastability glitch detection

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

- Number: US 9,673,819 B2
- Document ID: US9673819B2
- Status: Granted
- Kind: B2
- Application number: 14/473,922
- Filed: 2014-08-29
- Published: 2015-07-30
- Granted: 2017-06-06
- Earliest claimed: 2014-01-30
- Assignees: Mentor Graphics Corporation
- Applicants: Mentor Graphics Corporation
- Inventors: Rajeev Sehgal; Srinivas Mandavilli; Pradish Mathews; Ajit Singh; Henry Potts
- Web page: https://patentgrep.com/patent/US9673819B2

## CPC

- H03K 19/017509: {Interface arrangements}
- G01R 19/16504: {characterised by the components employed}
- G06F 11/14: Error detection or correction of the data by redundancy in operations (error detection or correction of the data by redundancy in hardware G06F11/16)
- H03K 3/013: Modifications of generator to prevent operation by noise or interference
- H03K 3/0375: {provided with means for increasing reliability; for protection; for ensuring a predetermined initial state when the supply voltage has been applied; for storing the actual state when the supply voltage fails (digital storage cells each combining volatile and non-volatile storage properties G11C14/00)}
- H03K 3/2865: {ensuring a predetermined initial state when the supply voltage has been applied; storing the actual state when the supply voltage fails (digital storage cells each combining volatile and non-volatile storage properties G11C14/00)}
- H03K 19/096: Synchronous circuits, i.e. using clock signals {(H03K19/01728, H03K19/01855 take precedence)}
- H03K: PULSE TECHNIQUE (measuring pulse characteristics G01R; modulating sinusoidal oscillations with pulses H03C; transmission of digital information H04L; discriminator circuits detecting phase difference between two signals by counting or integrating cycles of oscillation H03D3/04; automatic control, starting, synchronisation or stabilisation of generators of electronic oscillations or pulses where the type of generator is irrelevant or unspecified H03L; coding, decoding or code conversion, in general H03M)
- 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

This application discloses a system to detect meta-stable glitches in a signal, such as an output of latch or other storage element. The system can include a sampling circuit configured to sample an output of a storage element. The system can include a mono-shot circuit configured to monitor the output of the storage element and generate a pulse when the monitored output of the storage element differs from the sampled output. The system can include a drive circuit configured to generate a glitch signal based, at least in part, on the sampled output, and to output the glitch signal in response to the pulse from the mono-shot circuit. The system can include an error detection circuit configured to receive the sampled output from the sampling circuit and the glitch signal from the drive circuit, and to generate an error signal when the sampled output differs from the glitch signal.

## Claims

### Claim 1

A system comprising:
a sampling circuit configured to sample an output of a storage element;
a mono-shot circuit configured to monitor the output of the storage element and to generate a pulse when the monitored output of the storage element differs from the sampled output;
a drive circuit configured to generate a glitch signal based, at least in part, on the sampled output, and to output the glitch signal in response to the pulse from the mono-shot circuit; and
an error detection circuit configured to receive the sampled output from the sampling circuit and the glitch signal from the drive circuit, and to generate an error signal when the sampled output differs from the glitch signal.

### Claim 2 (depends on 1)

The system of claim 1, wherein the error signal is configured to annunciate a presence of meta-stability in the output of the storage element.

### Claim 3 (depends on 2)

The system of claim 2, wherein the error detection circuit is configured to reset at least one of the sampling circuit, the mono-shot circuit, the drive circuit, and portions of the error detection circuit when the error signal indicates the presence of meta-stability in the output of the storage element.

### Claim 4 (depends on 1)

The system of claim 1, wherein the mono-shot circuit further comprising:
logic circuitry configured to compare the output of the storage element with the sampled output, and to generate a toggle signal when the output of the storage element differs from the sampled output; and
a latch unit configured to output the pulse in response to the toggle signal.

### Claim 5 (depends on 1)

The system of claim 1, wherein the drive circuit further comprising:
logic circuitry configured to invert the sampled output; and
a latch unit configured to output the inverted version of the sampled output as the glitch signal in response to the pulse.

### Claim 6 (depends on 1)

The system of claim 1, wherein the storage element is configured to generate the output in response to a first edge of a clock signal, wherein the sampling circuit includes a latch unit configured to sample the output of the storage element in response to a second edge of the clock signal, and wherein the first edge of the clock signal and the second edge of the clock signal occur less than a full clock period of each other.

### Claim 7 (depends on 1)

The system of claim 1, further comprising:
an electronic device configured to perform electrical operations; and
a validation system configured to monitor one or more trace signals associated with the electronic device, wherein the validation system includes the sampling circuit, the mono-shot circuit, the drive circuit, and the error detection circuit to generate the error signal in response to a meta-stable glitch in the output of the storage element associated with the electronic device, and wherein the validation system is configured to transmit the trace signals associated with the electronic device for debugging in response to the error signal.

### Claim 8

A method comprising:
sampling, by a meta-stability glitch detection circuit, an output of a storage element;
monitoring, by the meta-stability glitch detection circuit, the output of the storage element over time to determine whether the output differs from the sampled output of the storage element;
generating, by the meta-stability glitch detection circuit, a pulse based, at least in part, on the determination that the output of the storage element differs from the sampled output;
outputting, by the meta-stability glitch detection circuit, a glitch signal in response to the pulse; and
generating, by the meta-stability glitch detection circuit, an error signal when the sampled output differs from the glitch signal.

### Claim 9 (depends on 1)

The method of claim 1, wherein the error signal is configured to annunciate a presence of meta-stability in the output of the storage element.

### Claim 10 (depends on 1)

The method of claim 1, further comprising generating, by the meta-stability glitch detection circuit, the glitch signal based, at least in part, on the sampled output.

### Claim 11 (depends on 10)

The method of claim 10, wherein generating the glitch signal further comprises inverting the sampled output.

### Claim 12 (depends on 1)

The method of claim 1, wherein monitoring the output of the storage element over time further comprises comparing the output of the storage element with the sampled output, and wherein the method further comprising generating, by the meta-stability glitch detection circuit, a toggle signal when the output of the storage element differs from the sampled output.

### Claim 13 (depends on 12)

The method of claim 12, wherein generating the pulse is performed in response to the toggle signal.

### Claim 14

A system comprising:
means for sampling an output of a storage element;
means for monitoring the output of the storage element over time to determine whether the output differs from the sampled output of the storage element;
means for generating a pulse based, at least in part, on the determination that the output of the storage element differs from the sampled output;
means for outputting a glitch signal in response to the pulse; and
means for generating an error signal when the sampled output differs from the glitch signal.

### Claim 15 (depends on 14)

The system of claim 14, wherein the error signal is configured to annunciate a presence of meta-stability in the output of the storage element.

### Claim 16 (depends on 14)

The system of claim 14, further comprising means for generating the glitch signal based, at least in part, on the sampled output.

### Claim 17 (depends on 16)

The system of claim 16, wherein the means for generating the glitch signal is configured to invert the sampled output.

### Claim 18 (depends on 14)

The system of claim 14, wherein the means for monitoring is configured to compare the output of the storage element with the sampled output, and further comprising means for generating a toggle signal when the output of the storage element differs from the sampled output.

### Claim 19 (depends on 18)

The system of claim 18, wherein the means for generating is configured to generate the pulse in response to the toggle signal.
