# US 2015/0149790 A1 · Nonvolatile memory and electronic device

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

- Number: US 2015/0149790 A1
- Document ID: US20150149790A1
- Status: Published application
- Kind: A1
- Application number: 14/559,177
- Filed: 2014-12-03
- Published: 2015-05-28
- Earliest claimed: 2013-11-27
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Yansong LI
- Web page: https://patentgrep.com/patent/US20150149790A1

## CPC

- G06F 12/1408: {by using cryptography (for digital transmission H04L9/00)}
- G06F 21/79: in semiconductor storage media, e.g. directly-addressable memories
- G06F 7/584: {using finite field arithmetic, e.g. using a linear feedback shift register}
- G06F 2212/2024: Rewritable memory not requiring erasing, e.g. resistive or ferroelectric RAM
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The embodiments of the present invention disclose a nonvolatile memory and an electronic device, where each time the nonvolatile memory is powered on, an exchanger is used to implement a random exchange of at least one address subsignal and its inverted signal in a bank decoder and/or a row decoder in a bank and/or a column decoder in a bank, which causes that data stored before the nonvolatile memory is powered off is interrupted when the nonvolatile memory is powered off and then powered on and that data stored in the nonvolatile memory cannot be read sequentially from original storage addresses to achieve an encrypting effect and increase security of the data stored in the nonvolatile memory.

## Claims

### Claim 1

A nonvolatile memory, comprising:
a bank decoder and at least two banks, and the bank comprises a storage array, a row decoder of the storage array, and a column decoder of the storage array; and
a random number generator and n1 first exchangers disposed between a first signal generator and a first decoder of the bank decoder, and one of the first exchangers corresponds to one bank address subsignal of the bank decoder, wherein:
the random number generator is configured to: when the nonvolatile memory is powered on, randomly generate a selection signal for each first exchanger and send the generated selection signal to a first exchanger corresponding to the selection signal; and
the i1th first exchanger of the bank decoder is configured to: receive the i2th bank address subsignal corresponding to the i1th first exchanger and an inverted signal of the i2th bank address subsignal; when a received selection signal is a first signal, output the i2th bank address subsignal as the i2th bank address subsignal to the first decoder and output the inverted signal of the i2th bank address subsignal as the inverted signal of the i2th bank address subsignal to the first decoder; when the received selection signal is a second signal, output the inverted signal of the i2th bank address subsignal as the i2th bank address subsignal to the first decoder and output the i2th bank address subsignal as the inverted signal of the i2th bank address subsignal to the first decoder; and 1≦i1≦n1, 1≦i2≦m1, and 1≦n1≦m1, where m1 is a total number of bank address subsignals.

### Claim 2 (depends on 1)

The nonvolatile memory according to claim 1, wherein at least one bank further comprises: n2 second exchangers disposed between a second signal generator and a second decoder of a row decoder, and one second exchanger corresponds to one row address subsignal of the row decoder, wherein:
the random number generator is further configured to: when the nonvolatile memory is powered on, randomly generate a selection signal for each second exchanger and send the generated selection signal to a second exchanger corresponding to the selection signal; and
the j1th second exchanger of each bank is configured to: receive the j2th row address subsignal corresponding to the j1th second exchanger and an inverted signal of the j2th row address subsignal; when a received selection signal is a third signal, output the j2th row address subsignal as the j2th row address subsignal to the second decoder and output the inverted signal of the j2th row address subsignal as the inverted signal of the j2th row address subsignal to the second decoder; when the received selection signal is a fourth signal, output the inverted signal of the j2th row address subsignal as the j2th row address subsignal to the second decoder and output the j2th row address subsignal as the inverted signal of the j2th row address subsignal to the second decoder; and 1≦j1≦n2, 1≦j2≦m2, and 1≦n2≦m2, where m2 is a total number of row address subsignals of a row decoder to which the j1th second exchanger belongs.

### Claim 3 (depends on 1)

The nonvolatile memory according to claim 1, wherein at least one bank further comprises n3 third exchangers disposed between a third signal generator and a third decoder of a column decoder, and one third exchanger corresponds to one column address subsignal of the column decoder, wherein:
the random number generator is further configured to: when the nonvolatile memory is powered on, randomly generate a selection signal for each third exchanger and send the generated selection signal to a third exchanger corresponding to the selection signal; and
the k1th third exchanger of each bank is configured to: receive the k2th column address subsignal corresponding to the k1th third exchanger and an inverted signal of the k2th column address subsignal; when a received selection signal is a fifth signal, output the k2th column address subsignal as the k2th column address subsignal to the third decoder and output the inverted signal of the k2th column address subsignal as the inverted signal of the k2th column address subsignal to the third decoder; when the received selection signal is a sixth signal, output the inverted signal of the k2th column address subsignal as the k2th column address subsignal to the third decoder and output the k2th column address subsignal as the inverted signal of the k2th column address subsignal to the third decoder; and 1≦k1≦n3, 1≦k2≦m3, and 1≦n3≦m3, where m3 is a total number of column address subsignals of a column decoder to which the k1th third exchanger belongs.

### Claim 4 (depends on 2)

The nonvolatile memory according to claim 2, wherein the at least one bank further comprises n3 third exchangers disposed between a third signal generator and a third decoder of a column decoder, and one third exchanger corresponds to one column address subsignal of the column decoder, wherein:
the random number generator is further configured to: when the nonvolatile memory is powered on, randomly generate a selection signal for each third exchanger and send the generated selection signal to a third exchanger corresponding to the selection signal; and
the k1th third exchanger of each bank is configured to: receive the k2th column address subsignal corresponding to the k1th third exchanger and an inverted signal of the k2th column address subsignal; when a received selection signal is a fifth signal, output the k2th column address subsignal as the k2th column address subsignal to the third decoder and output the inverted signal of the k2th column address subsignal as the inverted signal of the k2th column address subsignal to the third decoder; when the received selection signal is a sixth signal, output the inverted signal of the k2th column address subsignal as the k2th column address subsignal to the third decoder and output the k2th column address subsignal as the inverted signal of the k2th column address subsignal to the third decoder; and 1≦k1≦n3, 1≦k2≦m3, and 1≦n3≦m3, where m3 is a total number of column address subsignals of a column decoder to which the k1th third exchanger belongs.

### Claim 5 (depends on 1)

The nonvolatile memory according to claim 1, wherein the random number generator comprises a linear feedback shift register that has at least n1 bits, and a signal, obtained after exclusive OR processing is performed on any two bits of the linear feedback shift register, is used as a shift input signal of the linear feedback shift register; and
the n1 first exchangers correspond to one bit of the linear feedback shift register separately and a corresponding bit is used as a selection signal sent by the random number generator.

### Claim 6 (depends on 2)

The nonvolatile memory according to claim 2, wherein the random number generator comprises a linear feedback shift register that has at least N1 bits, and a signal, obtained after exclusive OR processing is performed on any two bits of the linear feedback shift register, is used as a shift input signal of the linear feedback shift register; N1 is a total number of first exchangers and second exchangers comprised in the nonvolatile memory; and
each of the first exchangers and each of the second exchangers correspond to one bit of the linear feedback shift register separately and a corresponding bit is used as a selection signal sent by the random number generator.

### Claim 7 (depends on 3)

The nonvolatile memory according to claim 3, wherein the random number generator comprises a linear feedback shift register that has at least N2 bits, and a signal, obtained after exclusive OR processing is performed on any two bits of the linear feedback shift register, is used as a shift input signal of the linear feedback shift register; N2 is a total number of first exchangers and third exchangers comprised in the nonvolatile memory; and
each of the first exchangers and each of the third exchangers correspond to one bit of the linear feedback shift register separately and a corresponding bit is used as a selection signal sent by the random number generator.

### Claim 8 (depends on 4)

The nonvolatile memory according to claim 4, wherein the random number generator comprises a linear feedback shift register that has at least N3 bits, and a signal, obtained after exclusive OR processing is performed on any two bits of the linear feedback shift register, is used as a shift input signal of the linear feedback shift register; N3 is a total number of first exchangers, second exchangers, and third exchangers comprised in the nonvolatile memory; and
each of the first exchangers, each of the second exchangers, and each of the third exchangers correspond to one bit of the linear feedback shift register separately and a corresponding bit is used as a selection signal sent by the random number generator.

### Claim 9

A nonvolatile memory, comprising:
at least one bank and each bank comprises a storage array, a row decoder of the storage array, and a column decoder of the storage array; and
a random number generator, the at least one bank further comprises n2 second exchangers disposed between a second signal generator and a second decoder of the row decoder, and one second exchanger corresponds to one row address subsignal of the row decoder, wherein:
the random number generator is configured to: when the nonvolatile memory is powered on, randomly generate a selection signal for each second exchanger and send the generated selection signal to a second exchanger corresponding to the selection signal; and
the j1th second exchanger of each bank is configured to: receive the j2th row address subsignal corresponding to the j1th second exchanger and an inverted signal of the j2th row address subsignal; when a received selection signal is a third signal, output the j2th row address subsignal as the j2th row address subsignal to the second decoder and output the inverted signal of the j2th row address subsignal as the inverted signal of the j2th row address subsignal to the second decoder; when the received selection signal is a fourth signal, output the inverted signal of the j2th row address subsignal as the j2th row address subsignal to the second decoder and output the j2th row address subsignal as the inverted signal of the j2th row address subsignal to the second decoder; and 1≦j1≦n2, 1≦j2≦m2, and 1≦n2≦m2, where m2 is a total number of row address subsignals of a row decoder to which the j1th second exchanger belongs.

### Claim 10 (depends on 9)

The nonvolatile memory according to claim 9, wherein the at least one bank further comprises: n3 third exchangers disposed between a third signal generator and a third decoder of the column decoder, and one third exchanger corresponds to one column address subsignal of the column decoder, wherein:
the random number generator is further configured to: when the nonvolatile memory is powered on, randomly generate a selection signal for each third exchanger randomly and send the generated selection signal to a third exchanger corresponding to the selection signal; and
the k1th third exchanger of each bank is configured to: receive the k2th column address subsignal corresponding to the k1th third exchanger and an inverted signal of the k2th column address subsignal; when a received selection signal is a fifth signal, output the k2th column address subsignal as the k2th column address subsignal to the third decoder and output the inverted signal of the k2th column address subsignal as the inverted signal of the k2th column address subsignal to the third decoder; when the received selection signal is a sixth signal, output the inverted signal of the k2th column address subsignal as the k2th column address subsignal to the third decoder and output the k2th column address subsignal as the inverted signal of the k2th column address subsignal to the third decoder; and 1≦k1≦n3, 1≦k2≦m3, and 1≦n3≦m3, where m3 is a total number of column address subsignals of a column decoder to which the k1th third exchanger belongs.

### Claim 11 (depends on 9)

The nonvolatile memory according to claim 9, wherein the random number generator comprises a linear feedback shift register that has at least N4 bits, and a signal, obtained after exclusive OR processing is performed on any two bits of the linear feedback shift register, is used as a shift input signal of the linear feedback shift register; N4 is a total number of second exchangers comprised in the nonvolatile memory; and
each of the second exchangers corresponds to one bit of the linear feedback shift register separately and a corresponding bit is used as a selection signal sent by the random number generator.

### Claim 12 (depends on 10)

The nonvolatile memory according to claim 10, wherein the random number generator comprises a linear feedback shift register that has at least N5 bits, and a signal, obtained after exclusive OR processing is performed on any two bits of the linear feedback shift register, is used as a shift input signal of the linear feedback shift register; N5 is a total number of second exchangers and third exchangers comprised in the nonvolatile memory; and
each of the second exchangers and each of the third exchangers correspond to one bit of the linear feedback shift register separately and a corresponding bit is used as a selection signal sent by the random number generator.

### Claim 13

A nonvolatile memory, comprising:
at least one bank and each bank comprises a storage array, a row decoder of the storage array, and a column decoder of the storage array; and
a random number generator, the at least one bank further comprises n3 third exchangers disposed between a third signal generator and a third decoder of the column decoder, and one third exchanger corresponds to one column address subsignal of the column decoder, wherein:
the random number generator is configured to: when the nonvolatile memory is powered on, randomly generate a selection signal for each third exchanger and send the generated selection signal to a third exchanger corresponding to the selection signal; and
the k1th third exchanger of each bank is configured to: receive the k2th column address subsignal corresponding to the k1th third exchanger and an inverted signal of the k2th column address subsignal; when a received selection signal is a fifth signal, output the k2th column address subsignal as the k2th column address subsignal to the third decoder and output the inverted signal of the k2th column address subsignal as the inverted signal of the k2th column address subsignal to the third decoder; when the received selection signal is a sixth signal, output the inverted signal of the k2th column address subsignal as the k2th column address subsignal to the third decoder and output the k2th column address subsignal as the inverted signal of the k2th column address subsignal to the third decoder; and 1≦k1≦n3, 1≦k2≦m3, and 1≦n3≦m3, where m3 is a total number of column address subsignals of a column decoder to which the k1th third exchanger belongs.

### Claim 14 (depends on 13)

The nonvolatile memory according to claim 13, wherein the random number generator comprises a linear feedback shift register that has at least N6 bits, and a signal, obtained after exclusive OR processing is performed on any two bits of the linear feedback shift register, is used as a shift input signal of the linear feedback shift register; N6 is a total number of third exchangers comprised in the nonvolatile memory; and
each of the third exchangers corresponds to one bit of the linear feedback shift register separately and a corresponding bit is used as a selection signal sent by the random number generator.
