# US 2017/0256327 A1 · Test circuit for memory device and semiconductor integrated device including the test circuit

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

- Number: US 2017/0256327 A1
- Document ID: US20170256327A1
- Status: Published application
- Kind: A1
- Application number: 15/451,758
- Filed: 2017-03-07
- Published: 2017-09-07
- Earliest claimed: 2016-03-07
- Assignees: MegaChips Corporation
- Applicants: MegaChips Corporation
- Inventors: Hidefumi Inoue
- Web page: https://patentgrep.com/patent/US20170256327A1

## CPC

- G11C 29/48: Arrangements in static stores specially adapted for testing by means external to the store, e.g. using direct memory access [DMA] or using auxiliary access paths
- G11C 16/10: Programming or data input circuits
- G11C 16/26: Sensing or reading circuits; Data output circuits
- G11C 29/16: using microprogrammed units, e.g. state machines
- G11C 29/56004: {Pattern generation}
- G11C 29/56008: {Error analysis, representation of errors}
- G11C 2029/5602: {Interface to device under test}
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

An efficient test for a flash memory combined with a logic chip and incorporated in a semiconductor integrated device can be executed. A logic chip combined with a rewritable nonvolatile memory and incorporated in a semiconductor integrated device is provided with a test circuit. The test circuit reads a programmable test sequence transmitted from an external tester and stored, generates a memory control signal specific to the nonvolatile memory in accordance with a product ID read on the basis of the test sequence, executes a test in which the generated memory control signal is outputted to the nonvolatile memory, and outputs, to the tester, a test result based on a value outputted from the nonvolatile memory in response to the memory control signal.

## Claims

### Claim 1

A test circuit in a logic chip mounted together with a rewritable nonvolatile memory on a semiconductor integrated device, comprising:
circuitry which reads a test sequence transmitted from an external tester and stored, generates a memory control signal specific to the nonvolatile memory based on the test sequence, and executes a test in which the generated memory control signal is outputted to the nonvolatile memory, and
circuitry which outputs, to the tester, a test result based on a value outputted from the nonvolatile memory in response to the memory control signal.

### Claim 2 (depends on 1)

The test circuit according to claim 1, wherein the test sequence contains a plurality of execution commands, and some of the plurality of execution commands each contain an expected value outputted when the nonvolatile memory operates normally in response to the memory control signal corresponding to the execution command.

### Claim 3 (depends on 2)

The test circuit according to claim 2, wherein the test circuit compares a value outputted from the nonvolatile memory in response to the memory control signal with the expected value and outputs the test result.

### Claim 4 (depends on 1)

The test circuit according to claim 1, further comprising a command buffer that stores the test sequence,
wherein the test circuit operates to store the test sequence transmitted from the tester in the command buffer when the test circuit receives a first control command from the tester.

### Claim 5 (depends on 4)

The test circuit according to claim 4, wherein the test circuit reads the test sequence stored in the command buffer and generates the memory control signal when the test circuit receives a second control command from the tester.

### Claim 6 (depends on 1)

The test circuit according to claim 1, further comprising an external interface circuit having a plurality of pins connected to the tester,
wherein the external interface operates, when the external interface circuit detects a pin release signal at any of the plurality of pins, so as to release a pin used in the test to another test.

### Claim 7 (depends on 1)

The test circuit according to claim 1, wherein the test circuit is connected to the nonvolatile memory in accordance with an SPI (Standard Peripheral Interface) standard.

### Claim 8 (depends on 7)

The test circuit according to claim 7, wherein the nonvolatile memory is a flash memory.

### Claim 9 (depends on 1)

The test circuit according to claim 1, wherein the test circuit reads a product ID of the nonvolatile memory from the nonvolatile memory based on a predetermined execution command in the test sequence.

### Claim 10 (depends on 9)

The test circuit according to claim 9, wherein the test circuit selects an argument used in accordance with the product ID of the nonvolatile memory from a plurality of arguments contained in an arbitrary execution command in the test sequence and generates the memory control signal.

### Claim 11

A semiconductor integrated device comprising:
a rewritable nonvolatile memory; and
a test circuit that executes a test for the nonvolatile memory,
wherein the nonvolatile memory and the test circuit are provided in a package,
wherein the test circuit
reads a test sequence transmitted from an external tester and stored, generates a memory control signal specific to the nonvolatile memory based on the test sequence, and executes a test in which the generated memory control signal is outputted to the nonvolatile memory, and
outputs, to the tester, a test result based on a value outputted from the nonvolatile memory in response to the memory control signal.

### Claim 12

A method for executing a test for a semiconductor integrated device configured by a rewritable nonvolatile memory and a test circuit that executes a test for the nonvolatile memory, the nonvolatile memory and the test circuit being provided in a package, the method comprising:
connecting the semiconductor integrated device to an external tester;
receiving and storing a test sequence transmitted from the tester;
reading the stored test sequence and generating a memory control signal specific to the nonvolatile memory based on the read test sequence;
outputting the generated memory control signal to the nonvolatile memory to test the nonvolatile memory;
receiving a value outputted from the nonvolatile memory in response to the memory control signal;
comparing the value outputted from the nonvolatile memory with an expected value outputted when the nonvolatile memory operates normally in response to the memory control signal corresponding to the outputted value; and
outputting a result of the comparison as a test result to the tester.
