# US 2021/0081528 A1 · Data-Sampling Integrity Check by Sampling using Flip-Flops with Relative Delay

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

- Number: US 2021/0081528 A1
- Document ID: US20210081528A1
- Status: Published application
- Kind: A1
- Application number: 16/571,242
- Filed: 2019-09-16
- Published: 2021-03-18
- Earliest claimed: 2019-09-16
- Assignees: Nuvoton Technology Corporation
- Applicants: Nuvoton Technology Corporation
- Inventors: Ziv Hershman
- Web page: https://patentgrep.com/patent/US20210081528A1

## CPC

- G06F 21/554: {involving event detection and direct action}
- G06F 1/08: Clock generators with changeable or programmable clock frequency
- G06F 1/10: Distribution of clock signals {, e.g. skew}
- G06F 21/71: to assure secure computing or processing of information
- H03K 19/003: Modifications for increasing the reliability {for protection}
- G06F 2221/034: Test or assess a computer or a system
- H03K 19/20: characterised by logic function, e.g. AND, OR, NOR, NOT circuits (H03K19/003 - H03K19/01 take precedence)
- H03K 19/21: EXCLUSIVE-OR circuits, i.e. giving output if input signal exists at only one input; COINCIDENCE circuits, i.e. giving output only if all input signals are identical
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- 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)

## Abstract

An electronic device includes a combinational logic circuit, one or more functional state-sampling components, one or more protection state-sampling components, and protection logic. The combinational logic circuit has one or more outputs. The functional state-sampling components are configured to sample the respective outputs of the combinational logic circuit. The protection state-sampling components are associated respectively with the functional state-sampling components, each protection state-sampling component configured to sample a same output of the combinational logic circuit as the corresponding functional state-sampling component, but with a predefined time offset relative to the functional state-sampling component. The protection logic is configured to detect a discrepancy between the outputs sampled by the functional state-sampling components and the respective outputs sampled by the protection state-sampling components, and to initiate a responsive action in response to the discrepancy.

## Claims

### Claim 1

An electronic device, comprising:
a combinational logic circuit comprising one or more outputs;
one or more functional state-sampling components, configured to sample the respective outputs of the combinational logic circuit;
one or more protection state-sampling components that are associated respectively with the functional state-sampling components, each protection state-sampling component configured to sample a same output of the combinational logic circuit as the corresponding functional state-sampling component, but with a predefined time offset relative to the functional state-sampling component; and
protection logic, configured to detect a discrepancy between the outputs sampled by the functional state-sampling components and the respective outputs sampled by the protection state-sampling components, and to initiate a responsive action in response to the discrepancy.

### Claim 2 (depends on 1)

The electronic device according to claim 1, and comprising a delay element that is configured to delay an output of the combinational logic circuit so as to produce a delayed output, wherein a functional state-sampling component is configured to sample one of the output and the delayed output, and wherein a corresponding protection state-sampling component is configured to sample the other of the output and the delayed output.

### Claim 3 (depends on 1)

The electronic device according to claim 1, and comprising a delay element that is configured to delay a clock signal so as to produce a delayed clock signal, wherein a functional state-sampling component is configured to be clocked by one of the clock signal and the delayed clock signal, and wherein a corresponding protection state-sampling component is configured to be clocked by the other of the clock signal and the delayed clock signal.

### Claim 4 (depends on 1)

The electronic device according to claim 1, wherein a functional state-sampling component and a corresponding protection state-sampling component comprise Flip-Flops (FFs).

### Claim 5 (depends on 1)

The electronic device according to claim 1, wherein a functional state-sampling component comprises a first latch that drives a second latch, and wherein a corresponding protection state-sampling component comprises a third latch associated with the first latch.

### Claim 6 (depends on 1)

The electronic device according to claim 1, wherein the protection logic is configured to consolidate multiple discrepancies detected between two or more of the functional state-sampling components and two or more of the protection state-sampling components, and to initiate the responsive action in response to the consolidated discrepancies.

### Claim 7 (depends on 1)

The electronic device according to claim 1, wherein the protection logic is configured to initiate the responsive action only when the detected discrepancy occurs during a predefined portion of a clock cycle.

### Claim 8 (depends on 1)

The electronic device according to claim 1, wherein a functional state-sampling component is configured to sample an output of the combinational logic circuit with a first threshold voltage, and wherein a corresponding protection state-sampling component is configured to sample the same output of the combinational logic circuit with a second threshold voltage, higher than the first threshold voltage.

### Claim 9

A method for protecting an electronic device, the method comprising:
sampling one or more outputs of a combinational logic circuit using one or more respective functional state-sampling components;
sampling the one or more outputs using one or more protection state-sampling components that are associated respectively with the functional state-sampling components, wherein each protection state-sampling component samples a same output of the combinational logic circuit as the corresponding functional state-sampling component, but with a predefined time offset relative to the functional state-sampling component; and
detecting a discrepancy between the outputs sampled by the functional state-sampling components and the respective outputs sampled by the protection state-sampling components, and initiating a responsive action in response to the discrepancy.

### Claim 10 (depends on 9)

The method according to claim 9, wherein sampling the one or more outputs comprises delaying an output of the combinational logic circuit so as to produce a delayed output, sampling one of the output and the delayed output by a functional state-sampling component, and sampling the other of the output and the delayed output by a corresponding protection state-sampling component.

### Claim 11 (depends on 9)

The method according to claim 9, wherein sampling the one or more outputs comprises delaying a clock signal so as to produce a delayed clock signal, clocking a functional state-sampling component by one of the clock signal and the delayed clock signal, and clocking a corresponding protection state-sampling component by the other of the clock signal and the delayed clock signal.

### Claim 12 (depends on 9)

The method according to claim 9, wherein a functional state-sampling component and a corresponding protection state-sampling component comprise Flip-Flops (FFs).

### Claim 13 (depends on 9)

The method according to claim 9, wherein a functional state-sampling component comprises a first latch that drives a second latch, and wherein a corresponding protection state-sampling component comprises a third latch associated with the first latch.

### Claim 14 (depends on 9)

The method according to claim 9, wherein initiating the responsive action comprises consolidating multiple discrepancies detected between two or more of the functional state-sampling components and two or more of the protection state-sampling components, and initiating the responsive action in response to the consolidated discrepancies.

### Claim 15 (depends on 9)

The method according to claim 9, wherein initiating the responsive action comprises initiating the responsive action only when the detected discrepancy occurs during a predefined portion of a clock cycle.

### Claim 16 (depends on 9)

The method according to claim 9, wherein sampling the one or more outputs comprises sampling an output of the combinational logic circuit by a functional state-sampling component with a first threshold voltage, and sampling the same output of the combinational logic circuit by a corresponding protection state-sampling component with a second threshold voltage, higher than the first threshold voltage.
