# US 2025/0157560 A1 · Non-destructive memory self-test

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

- Number: US 2025/0157560 A1
- Document ID: US20250157560A1
- Status: Published application
- Kind: A1
- Application number: 18/839,926
- Filed: 2022-03-04
- Published: 2025-05-15
- Earliest claimed: 2022-03-04
- Assignees: Siemens Industry Software Inc.
- Applicants: Siemens Industry Software Inc.
- Inventors: Benoit Nadeau-Dostie; Wei Zou
- Web page: https://patentgrep.com/patent/US20250157560A1

## CPC

- G11C 29/14: Implementation of control logic, e.g. test mode decoders
- G11C 29/4401: {for self repair}
- G11C 29/30: Accessing single arrays
- G11C 29/36: Data generation devices, e.g. data inverters
- G11C 29/44: Indication or identification of errors, e.g. for repair
- G11C 2029/0409: {Online test}
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

A memory-testing circuit in a circuit comprises: a test controller; a memory data source selection device configured to select input data for a write port of the memory from test data outputted from the test controller and data from an output of the memory; and a memory address source selection device configured to select an address for an address port of the memory from an address outputted from the test controller and one of one or more preset addresses of the memory. The one or more preset addresses correspond to one or more preserved locations of the memory configured to temporarily store data for one or more locations of the memory to be tested.

## Claims

### Claim 1

A memory-testing circuit in a circuit configurable to perform a test on a memory in the circuit while preserving contents of the memory, comprising:
a test controller;
a memory data source selection device configured to select input data for a write port of the memory from test data outputted from the test controller and data from an output of the memory; and
a memory address source selection device configured to select an address for an address port of the memory from an address outputted from the test controller and one of one or more preset addresses of the memory, the one or more preset addresses corresponding to one or more preserved locations of the memory configured to temporarily store data for one or more locations of the memory to be tested in the test.

### Claim 2 (depends on 1)

The memory-testing circuit recited in claim 1, wherein the one or more preset addresses of the memory are first or last addresses of the memory.

### Claim 3 (depends on 1)

The memory-testing circuit recited in claim 1, wherein the test comprises:
reading content of the one or more locations of the memory to be tested;
writing the content into the one or more preserved locations of the memory;
applying a test algorithm to the one or more locations of the memory to be tested;
reading the content stored in the one or more preserved locations of the memory; and
writing the content stored in the one or more preserved locations of the memory back into the one or more locations of the memory to be tested.

### Claim 4 (depends on 1)

The memory-testing circuit recited in claim 1, wherein the test controller generates a first selection control signal for the memory data source selection device and a second selection control signal for the memory address source selection device.

### Claim 5 (depends on 4)

The memory-testing circuit recited in claim 4, wherein the one or more preset addresses have greater than one addresses and the test controller generates a third selection control signal for controlling which of the one or more preset addresses to be selected for a write operation or a read operation.

### Claim 6 (depends on 1)

The memory-testing circuit recited in claim 1, wherein the data from an output of the memory pass through a comparator, a register, or both before being coupled to an input of the memory data source selection device.

### Claim 7 (depends on 1)

The memory-testing circuit recited in claim 1, wherein the memory is a multi-port memory and a port having both read and write capability is used to write data into the one or more preserved locations of the memory.

### Claim 8

One or more computer-readable media storing computer-executable instructions for causing a computer to perform a method, the method comprising:
creating, in a circuit design, a memory-testing circuit configurable to perform a test on a memory in the circuit design while preserving contents of the memory, the memory-testing circuit comprising:
a test controller;
a memory data source selection device configured to select input data for a write port of the memory from test data outputted from the test controller and data from an output of the memory; and
a memory address source selection device configured to select an address for an address port of the memory from an address outputted from the test controller and one of one or more preset addresses of the memory, the one or more preset addresses corresponding to one or more preserved locations of the memory configured to temporarily store data for one or more locations of the memory to be tested in the test.

### Claim 9 (depends on 8)

The one or more computer-readable media recited in claim 8, wherein the one or more preset addresses of the memory are first or last addresses of the memory.

### Claim 10 (depends on 8)

The one or more computer-readable media recited in claim 8, wherein the test comprises:
reading content of the one or more locations of the memory to be tested;
writing the content into the one or more preserved locations of the memory;
applying a test algorithm to the one or more locations of the memory to be tested;
reading the content stored in the one or more preserved locations of the memory; and
writing the content stored in the one or more preserved locations of the memory back into the one or more locations of the memory to be tested.

### Claim 11 (depends on 8)

The one or more computer-readable media recited in claim 8, wherein the test controller generates a first selection control signal for the memory data source selection device and a second selection control signal for the memory address source selection device.

### Claim 12 (depends on 11)

The one or more computer-readable media recited in claim 11, wherein the one or more preset addresses have greater than one addresses and the test controller generates a third selection control signal for controlling which of the one or more preset addresses to be selected for a write operation or a read operation.

### Claim 13 (depends on 8)

The one or more computer-readable media recited in claim 8, wherein the data from an output of the memory pass through a comparator, a register, or both before being coupled to an input of the memory data source selection device.

### Claim 14 (depends on 8)

The one or more computer-readable media recited in claim 8, wherein the memory is a multi-port memory and a port having both read and write capability is used to write data into the one or more preserved locations of the memory.

### Claim 15

A method for testing a memory in a circuit performed by a memory-testing circuit in the circuit, comprising:
reading content of one or more locations of the memory to be tested;
writing the content into one or more preserved locations of the memory;
applying a test algorithm to the one or more locations of the memory to be tested;
reading the content stored in the one or more preserved locations of the memory; and
writing the content stored in the one or more preserved locations of the memory back into the one or more locations of the memory to be tested.

### Claim 16 (depends on 15)

The method recited in claim 15, wherein the one or more preserved locations of the memory correspond to first or last addresses of the memory.
