# US 2021/0263098 A1 · Secure scan entry

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

- Number: US 2021/0263098 A1
- Document ID: US20210263098A1
- Status: Published application
- Kind: A1
- Application number: 16/801,447
- Filed: 2020-02-26
- Published: 2021-08-26
- Earliest claimed: 2020-02-26
- Assignees: Silicon Laboratories Inc.
- Applicants: Silicon Laboratories Inc.
- Inventors: Mudit Srivastava; Raghavendra Pai Kateel; HengWee Cheng; Anil Shirwaikar
- Web page: https://patentgrep.com/patent/US20210263098A1

## CPC

- G01R 31/3177: Testing of logic operation, e.g. by logic analysers
- G01R 31/31701: {Arrangements for setting the Unit Under Test [UUT] in a test mode}
- G01R 31/318588: {Security aspects}
- G06F 21/74: operating in dual or compartmented mode, i.e. at least one secure mode
- G06F 2221/034: Test or assess a computer or a system
- G06F 2221/2143: Clearing memory, e.g. to prevent the data from being stolen
- 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

An integrated circuit having a secure domain is disclosed. Circuitry within the integrated circuit is used to select one of a plurality of scan modes. The sequence used to select one of the scan modes also serves to reset all of the flip-flops in the secure domain. In this way, it is impossible for a hacker to use the test modes to shift data from the secure domain out of the integrated circuit. The reset is generated asynchronously upon assertion of a first signal and is terminated upon the assertion of a second signal. The assertion of the second signal also serves to select one of the scan modes. This system cannot be hacked by any method that enters scan mode since it is a hardware based solution.

## Claims

### Claim 1

An integrated circuit, comprising:
a secure domain, comprising flip-flops that contain confidential or proprietary information,
a scan configuration circuit that selects a desired test mode configuration;
a SCAN_TEST_EN signal that denotes that the integrated circuit is in a test mode;
a SCAN_TST_UPD signal that is used to store the desired test mode configuration in the scan configuration circuit; and
a secure domain protection circuit, wherein the secure domain protection circuit issues a reset to the flip-flops in the secure domain during a time interval between an assertion of the SCAN_TEST_EN signal and an assertion of the SCAN_TST_UPD signal.

### Claim 2 (depends on 1)

The integrated circuit of claim 1, wherein the assertion of the SCAN_TEST_EN signal causes the secure domain protection circuit to issue the reset.

### Claim 3 (depends on 1)

The integrated circuit of claim 1, wherein the assertion of the SCAN_TST_UPD signal causes the secure domain protection circuit to terminate the reset.

### Claim 4 (depends on 1)

The integrated circuit of claim 1, wherein the SCAN_TST_UPD signal is an external connection.

### Claim 5 (depends on 1)

The integrated circuit of claim 1, wherein the scan configuration circuit comprises a scan configuration shift register and a scan configuration shadow register, wherein the SCAN_TEST_UPD signal is used to clock data from the scan configuration shift register to the scan configuration shadow register.

### Claim 6 (depends on 5)

The integrated circuit of claim 5, further comprising a SCAN_IN signal and a SCAN_CLK signal, wherein data is input to the scan configuration shift register via the SCAN_IN signal and the data is clocked into the scan configuration shift register by the SCAN_CLK signal.

### Claim 7 (depends on 5)

The integrated circuit of claim 5, wherein the scan configuration shift register has a plurality of shift register flip-flops and the scan configuration shadow register comprises the same plurality of shadow register flip-flops, wherein an output of each of the plurality of shift register flip-flops is an input to a corresponding shadow register flip-flop.

### Claim 8 (depends on 1)

The integrated circuit of claim 1, wherein the reset is issued asynchronously.

### Claim 9

An integrated circuit, comprising:
a secure domain, comprising flip-flops that contain confidential or proprietary information,
a first signal that denotes that the integrated circuit is in a test mode;
a second signal; and
a secure domain protection circuit, wherein the secure domain protection circuit issues a reset to the flip-flops in the secure domain during a time interval between an assertion of the first signal and an assertion of the second signal.

### Claim 10 (depends on 9)

The integrated circuit of claim 9, wherein the assertion of the first signal causes the secure domain protection circuit to issue the reset.

### Claim 11 (depends on 9)

The integrated circuit of claim 9, wherein the assertion of the second signal causes the secure domain protection circuit to terminate the reset.

### Claim 12 (depends on 9)

The integrated circuit of claim 9, wherein testing cannot be performed until after the assertion of the second signal.

### Claim 13 (depends on 12)

The integrated circuit of claim 12, wherein the second signal is used to capture a mode of testing to be performed.

### Claim 14 (depends on 9)

The integrated circuit of claim 9, wherein the second signal comprises an external connection.

### Claim 15 (depends on 9)

The integrated circuit of claim 9, wherein the first signal is an output of an internal flip-flop.

### Claim 16 (depends on 15)

The integrated circuit of claim 15, wherein the internal flip-flop is set by an on-chip debugger using single wire debug (SWD) mode.

### Claim 17 (depends on 9)

The integrated circuit of claim 9, wherein the first signal comprises an external connection.

### Claim 18

A method of performing a secure scan test of an integrated circuit, the integrated circuit comprising a secure domain comprising flip-flops that contain confidential or proprietary information and a scan configuration circuit that selects a desired test mode configuration; the method comprising:
asserting a SCAN_TEST_EN signal to place the integrated circuit in test mode, wherein the assertion of the SCAN_TEST_EN issues a reset to the flip-flops in the secure domain;
inputting the desired test mode by presenting data to the integrated circuit;
storing the desired test mode in the scan configuration circuit by asserting a SCAN_TST_UPDATE signal, wherein the assertion of the SCAN_TST_UPDATE signal also terminates the reset to the flip-flops in the secure domain; and
performing the scan test after the desired test mode is stored.

### Claim 19 (depends on 18)

The method of claim 18, wherein the scan configuration circuit comprises a scan configuration shift register and a scan configuration shadow register, and the desired test mode is input by presenting the data via a SCAN_IN signal and pulsing a SCAN_CLK signal to shift the data into the scan configuration shift register; and wherein asserting the SCAN_TST_UPDATE signal clocks data from the scan configuration shift register to the scan configuration shadow register.

### Claim 20 (depends on 18)

The method of claim 18, wherein the SCAN_TEST_EN signal is an output of an internal flip-flop and is asserted using single wire debug (SWD) mode or JTAG/IJTAG mode.
