# US 2016/0260486 A1 · Semiconductor device, pre-write program, and restoration program

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

- Number: US 2016/0260486 A1
- Document ID: US20160260486A1
- Status: Published application
- Kind: A1
- Application number: 14/430,428
- Filed: 2014-03-31
- Published: 2016-09-08
- Earliest claimed: 2014-03-31
- Assignees: Renesas Electronics Corporation
- Applicants: Renesas Electronics Corporation
- Inventors: Kunio TANI
- Web page: https://patentgrep.com/patent/US20160260486A1

## CPC

- G11C 16/14: Circuits for erasing electrically, e.g. erase voltage switching circuits
- G11C 16/0416: {comprising cells containing a single floating gate transistor and no select transistor, e.g. UV EPROM}
- G11C 16/0425: {comprising cells containing a merged floating gate and select transistor}
- G11C 16/0475: {comprising two or more independent storage sites which store independent data}
- G11C 16/105: {Circuits or methods for updating contents of nonvolatile memory, especially with 'security' features to ensure reliable replacement, i.e. preventing that old data is lost before new data is reliably written}
- G11C 16/107: {Programming all cells in an array, sector or block to the same state prior to flash erasing}
- G11C 16/22: Safety or protection circuits preventing unauthorised or accidental access to memory cells
- G11C 16/344: {Arrangements for verifying correct erasure or for detecting overerased cells}
- G11C 16/3445: {Circuits or methods to verify correct erasure of nonvolatile memory cells}
- G11C 16/3477: {Circuits or methods to prevent overerasing of nonvolatile memory cells, e.g. by detecting onset or cessation of current flow in cells and using the detector output to terminate erasing}
- G11C 16/10: Programming or data input circuits
- G11C 16/28: using differential sensing or reference cells, e.g. dummy cells
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

When a control circuit has received a first erase command, the control circuit controls performing a first pre-write process to allow a first storage device and a second storage device to have threshold voltages, respectively, both increased, and the control circuit thereafter controls performing an erase process to allow the first storage device and the second storage device to have their respective threshold voltages both decreased to be smaller than a prescribed erase verify level. When the control circuit has received a second erase command, the control circuit controls performing a second pre-write process to allow one of the first storage device and the second storage device to have its threshold voltage increased, and control circuit subsequently controls performing the erase process.

## Claims

### Claim 1

A semiconductor device comprising:
a memory array including a plurality of twin cells each formed of electrically rewritable, first and second storage devices holding binary data depending on a difference between a threshold voltage of said first storage device and a threshold voltage of said second storage device; and
a control circuit that controls erasing twin cell data held in said twin cells,
when said control circuit has received a first erase command, said control circuit controlling performing a first pre-write process to allow said first storage device and said second storage device to have their respective threshold voltages both increased, said control circuit thereafter controlling performing an erase process to allow said first storage device and said second storage device to have their respective threshold voltages both decreased to be smaller than a prescribed erase verify level, whereas when said control circuit has received a second erase command, said control circuit controlling performing a second pre-write process to allow one of said first storage device and said second storage device to have its threshold voltage increased, said control circuit thereafter controlling performing said erase process.

### Claim 2 (depends on 1)

The semiconductor device according to claim 1, wherein:
when said control circuit has received a programming command, said control circuit increases the threshold voltage of one of said first storage device and said second storage device to exceed a first write verify voltage; and
when said control circuit has received said second erase command, said control circuit increases the threshold voltage of one of said first storage device and said second storage device to exceed a second write verify voltage, said second write verify voltage being larger than said first write verify voltage.

### Claim 3 (depends on 1)

The semiconductor device according to claim 1, wherein when said control circuit has received said second erase command, said control circuit reads twin cell data from a prescribed twin cell in said memory array, and when said twin cell data indicates that the threshold voltage of said first storage device is larger than the threshold voltage of said second storage device, said control circuit increases the threshold voltage of said second storage device of said prescribed twin cell in said memory array and that of said second storage device of another twin cell in said memory array, whereas when said twin cell data indicates that the threshold voltage of said second storage device is larger than the threshold voltage of said first storage device, said control circuit increases the threshold voltage of said first storage device of said prescribed twin cell in said memory array and that of said first storage device of another twin cell in said memory array.

### Claim 4 (depends on 3)

The semiconductor device according to claim 3, wherein:
when said control circuit has received said second erase command, said control circuit reads twin cell data from a twin cell in a leading area of a block to be erased in said memory array, and when said twin cell data indicates that the threshold voltage of said first storage device is larger than the threshold voltage of said second storage device, said control circuit increases the threshold voltage of said second storage device of each said twin cell in said memory array from said leading area through to an area of said block immediately preceding an intermediate area of said block, whereas when said twin cell data indicates that the threshold voltage of said second storage device is larger than the threshold voltage of said first storage device, said control circuit increases the threshold voltage of said first storage device of each said twin cell in said memory array from said leading area through to said area immediately preceding said intermediate area; and
said control circuit reads twin cell data from a twin cell in said intermediate area of said block to be erased in said memory array, and when said twin cell data indicates that the threshold voltage of said first storage device is larger than the threshold voltage of said second storage device, said control circuit increases the threshold voltage of said second storage device of each said twin cell in said memory array from said intermediate area through to a final area of said block, whereas when said twin cell data indicates that the threshold voltage of said second storage device is larger than the threshold voltage of said first storage device, said control circuit increases the threshold voltage of said first storage device of each said twin cell in said memory array from said intermediate area through to an area of said block immediately preceding said final area.

### Claim 5 (depends on 1)

The semiconductor device according to claim 1, wherein when said control circuit has received said first erase command and thereafter, further received a restoration command, said control circuit reads twin cell data from said twin cell, and when said twin cell data indicates that the threshold voltage of said first storage device is larger than the threshold voltage of said second storage device, said control circuit increases the threshold voltage of said first storage device of said twin cell, whereas when said twin cell data indicates that the threshold voltage of said second storage device is larger than the threshold voltage of said first storage device, said control circuit increases the threshold voltage of said second storage device of said twin cell.

### Claim 6

A pre-write program for erasing data of a memory array including a plurality of twin cells each formed of electrically rewritable, first and second storage devices holding binary data depending on a difference between a threshold voltage of said first storage device and a threshold voltage of said second storage device, the pre-write program causing a computer to perform the steps of:
outputting a read instruction to read twin cell data from a prescribed twin cell in said memory array; and
receiving said twin cell data read from said prescribed twin cell, and outputting a programming instruction to write an inverted version of said twin cell data to one of said prescribed twin cell and another of said twin cells.

### Claim 7

A restoration program for restoring data of a memory array including a plurality of twin cells each formed of electrically rewritable, first and second storage devices holding binary data depending on a difference between a threshold voltage of said first storage device and a threshold voltage of said second storage device, the restoration program causing a computer to perform the steps of:
outputting a read instruction to read twin cell data from a twin cell in said memory array; and
receiving said twin cell data read from said twin cell, and outputting a programming instruction to write data identical to said twin cell data to said twin cell.

### Claim 8

A semiconductor device comprising:
a memory array including a plurality of twin cells each formed of electrically rewritable, first and second storage devices holding binary data depending on a difference between a threshold voltage of said first storage device and a threshold voltage of said second storage device; and
a control circuit that controls an erase process allowing said plurality of twin cells in a state with data written therein to be placed in an erased state in response to an erase command,
said control circuit performing said erase process to allow said plurality of twin cells to have at least some thereof with one or two or more memory cells placed in an erased state that inverts in magnitude a relationship in threshold value that said first and second storage devices have with the data written therein.

### Claim 9 (depends on 8)

The semiconductor device according to claim 8, wherein said control circuit performs said erase process by controlling performing a pre-write process to increase the threshold voltage of one of said first and second storage devices while maintaining the threshold voltage of the other thereof, and thereafter by performing an erase process to allow said first storage device and said second storage device to have their respective threshold voltages both decreased to be smaller than a prescribed erase verify level.

### Claim 10

A semiconductor device comprising:
a memory array including a plurality of twin cells each formed of electrically rewritable, first and second storage devices holding binary data depending on a difference between a threshold voltage of said first storage device and a threshold voltage of said second storage device; and
a control circuit that controls an erase process allowing said plurality of twin cells in a state with data written therein to be placed in a first erased state in response to a first erase command and a second erased state in response to a second erase command,
when said plurality of twin cells in the state with the data written therein are placed in said second erased state, said plurality of twin cells having a larger number thereof with said first and second storage devices having threshold values, respectively, in a relationship inverted in magnitude than when said plurality of twin cells in the state with the data written therein are placed in said first erased state.
