# US 2015/0092469 A1 · System and method to trim reference levels in a resistive memory

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

- Number: US 2015/0092469 A1
- Document ID: US20150092469A1
- Status: Published application
- Kind: A1
- Application number: 14/040,332
- Filed: 2013-09-27
- Published: 2015-04-02
- Earliest claimed: 2013-09-27
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Taehyun Kim; Jung Pill Kim; Sungryul Kim
- Web page: https://patentgrep.com/patent/US20150092469A1

## CPC

- G11C 11/1673: {Reading or sensing circuits or methods}
- G11C 7/14: Dummy cell management; Sense reference voltage generators
- G11C 11/15: using multiple magnetic layers (G11C11/155 takes precedence)
- G11C 11/16: using elements in which the storage effect is based on magnetic spin effect
- G11C 11/1675: {Writing or programming circuits or methods}
- G11C 13/0002: {using resistive RAM [RRAM] elements}
- G11C 13/004: {Reading or sensing circuits or methods}
- G11C 29/021: {in voltage or current generators}
- G11C 29/028: {with adaption or trimming of parameters}
- G11C 2013/0042: {Read using differential sensing, e.g. bit line [BL] and bit line bar [BLB]}
- G11C 2013/0054: {Read is performed on a reference element, e.g. cell, and the reference sensed value is used to compare the sensed value of the selected cell}
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

A system and method to trim reference levels in a resistive memory is disclosed. In a particular embodiment, a resistive memory includes multiple sets of reference cells. The resistive memory also includes a reference resistance measurement circuit. A first set of reference cells is accessible by the reference resistance measurement circuit to measure a first effective reference resistance corresponding to the first set of reference cells. A second set of reference cells is accessible by the reference resistance measurement circuit to measure a second effective reference resistance corresponding to the second set of reference cells. The resistive memory also includes a trimming circuit configured to set a reference resistance based on the measured first effective resistance and the measured second effective resistance.

## Claims

### Claim 1

A method comprising:
at a resistive memory device:
measuring a first effective reference resistance, the first effective reference resistance based on a first set of reference cells of the resistive memory device;
measuring a second effective reference resistance, the second effective reference resistance based on a second set of reference cells of the resistive memory device;
determining a target reference resistance level based on an average effective reference resistance of a plurality of effective reference resistances, wherein the plurality of effective reference resistances includes the first effective reference resistance and the second effective reference resistance; and
trimming a reference resistance at least partially based on the target reference resistance level.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first set of reference cells corresponds to a first word line of the resistive memory device, and wherein the second set of reference cells corresponds to a second word line of the resistive memory device.

### Claim 3 (depends on 1)

The method of claim 1, wherein the resistive memory device is a magnetoresistive random access memory (MRAM) device, a resistive random access memory (ReRAM) device, a phase change random access memory (PCRAM) device, or any combination thereof.

### Claim 4 (depends on 1)

The method of claim 1, further comprising comparing a resistance value of a magnetic tunnel junction device associated with a data cell to the target reference resistance level.

### Claim 5 (depends on 1)

The method of claim 1, further comprising setting a resistance value of a variable resistor approximately equal to the target reference resistance level.

### Claim 6 (depends on 1)

The method of claim 1, wherein trimming the reference resistance comprises setting a resistance value of a variable resistor approximately equal to the target reference resistance level and wherein the method further comprises comparing a resistance value of a magnetic tunnel junction device associated with a data cell to the resistance value of the variable resistor to determine a bit value.

### Claim 7 (depends on 6)

The method of claim 6, wherein setting the resistance value comprises:
in response to determining that a measured resistance value at the variable resistor is greater than the target reference resistance level, decreasing the resistance value at the variable resistor; and
in response to determining that the measured resistance value at the variable resistor is less than the target reference resistance level, increasing the resistance value at the variable resistor.

### Claim 8 (depends on 1)

The method of claim 1, wherein trimming the reference resistance comprises modifying the first effective reference resistance.

### Claim 9 (depends on 8)

The method of claim 8, wherein modifying the first effective reference resistance comprises changing a state of a magnetic tunnel junction device associated with a reference cell of the first set of reference cells.

### Claim 10 (depends on 8)

The method of claim 8, wherein modifying the first effective reference resistance comprises:
in response to determining that the first effective reference resistance is not substantially equal to the target reference resistance level:
in response to determining that the first effective reference resistance is greater than the target reference resistance level, increasing a number of magnetic tunnel junction devices associated with the first effective reference resistance that are in a parallel state, decreasing a number of magnetic tunnel junction devices associated with the first effective reference resistance that are in an antiparallel state, or any combination thereof; and
in response to determining that the first effective reference resistance is less than the target reference resistance level, increasing the number of magnetic tunnel junction devices associated with the first effective reference resistance that are in the antiparallel state, decreasing the number of magnetic tunnel junction devices associated with the first effective reference resistance that are in the parallel state, or any combination thereof.

### Claim 11 (depends on 8)

The method of claim 8, wherein trimming the reference resistance further comprises modifying respective effective reference resistances associated with additional sets of reference cells of the resistive memory device.

### Claim 12 (depends on 8)

The method of claim 8, further comprising:
comparing a resistance value associated with a data magnetic tunnel junction device associated with the first set of reference cells to the modified first effective reference resistance to determine a bit value.

### Claim 13 (depends on 1)

The method of claim 1, wherein a particular reference cell of the first set of reference cells comprises a first magnetic tunnel junction device and a second magnetic tunnel junction device, and wherein the method further comprises:
before measuring the first effective reference resistance, initializing the particular reference cell by putting the first magnetic tunnel junction device in a parallel state and putting the second magnetic tunnel junction device in an antiparallel state.

### Claim 14 (depends on 1)

The method of claim 1, wherein measuring the first effective reference resistance comprises:
setting a resistance value of a variable resistor;
comparing the resistance value to the first effective reference resistance;
in response to determining that the resistance value is greater than or equal to the first effective reference resistance, changing an output, at a sense amplifier of the resistive memory device, from a low voltage to a high voltage; and
in response to determining that the resistance value is less than the effective reference resistance, sending a control signal to the variable resistor to increment the resistance value.

### Claim 15

An apparatus comprising:
a resistive memory reference array comprising multiple sets of reference cells;
a reference resistance measurement circuit, wherein a first set of reference cells is accessible by the reference resistance measurement circuit to measure a first effective reference resistance corresponding to the first set of reference cells, and wherein a second set of reference cells is accessible by the reference resistance measurement circuit to measure a second effective reference resistance corresponding to the second set of reference cells; and
a trimming circuit configured to set a reference resistance based on an average effective reference resistance of a plurality of effective reference resistances, wherein the plurality of effective reference resistances includes the first effective reference resistance and the second effective reference resistance.

### Claim 16 (depends on 15)

The apparatus of claim 15, the trimming circuit comprising:
an averaging circuit coupled to the reference resistance measuring circuit, wherein the averaging circuit is configured to receive the first effective reference resistance and the second effective reference resistance from the reference resistance measuring circuit and to compute the average effective reference resistance.

### Claim 17 (depends on 16)

The apparatus of claim 16, further comprising:
a write circuit coupled to the trimming circuit, wherein the write circuit is configured to selectively modify the first effective reference resistance by changing resistive states corresponding to the first set of reference cells.

### Claim 18 (depends on 17)

The apparatus of claim 17, further comprising a resistive memory data array, wherein the write circuit is configured to selectively write to the resistive memory reference array or to the resistive memory data array.

### Claim 19 (depends on 17)

The apparatus of claim 17, wherein the trimming circuit is further configured to compare the first effective reference resistance to the average effective reference resistance, and wherein the write circuit is configured to:
in response to a determination by the trimming circuit that the first effective reference resistance is less than the average effective reference resistance, increase a number of magnetic tunnel junction devices corresponding to the first effective reference resistance that are in a parallel state, decreasing a number of magnetic tunnel junction devices corresponding to the first effective reference resistance that are in an antiparallel state, or any combination thereof; and
in response to a determination by the trimming circuit that the first effective reference resistance is greater than the average effective reference resistance, increase the number of magnetic tunnel junction devices corresponding to the first effective reference resistance that are in the antiparallel state, decreasing the number of magnetic tunnel junction devices corresponding to the first effective reference resistance that are in the parallel state, or any combination thereof.

### Claim 20 (depends on 17)

The apparatus of claim 17, wherein the write circuit is further configured to initialize a first magnetic tunnel junction device and a second magnetic tunnel junction device of a particular reference cell of the first set of reference cells by putting the first magnetic tunnel junction device in a parallel state and putting the second magnetic tunnel junction device in an antiparallel state.

### Claim 21 (depends on 15)

The apparatus of claim 15, further comprising:
a data sense amplifier;
a data cell coupled to a first input of the data sense amplifier; and
a first transfer gate coupled to a second input of the data sense amplifier and coupled to one or more reference cells of the first set of reference cells, wherein the first transfer gate enables the data sense amplifier to determine a bit value of the data cell based on the first effective reference resistance.

### Claim 22 (depends on 21)

The apparatus of claim 21, further comprising:
a variable resistor; and
a second transfer gate coupled to the variable resistor and coupled in parallel with the first transfer gate to the second input of the data sense amplifier, wherein the second transfer gate enables the data sense amplifier to determine the bit value of the data cell based on a resistance value corresponding to the variable resistor.

### Claim 23 (depends on 15)

The apparatus of claim 15 integrated in at least one semiconductor die, and further comprising:
a first transfer gate coupled to:
an input of a data sense amplifier; and
one or more reference cells of the first set of reference cells; and
a second transfer gate coupled to:
the input of the data sense amplifier; and
a variable resistor.

### Claim 24 (depends on 15)

The apparatus of claim 15, further comprising a device selected from a set top box, a music player, a video player, an entertainment unit, a navigation device, a communications device, a personal digital assistant (PDA), a fixed location data unit, and a computer, into which the resistive memory reference array, the reference resistance measurement circuit, and the trimming circuit are integrated.

### Claim 25

An apparatus comprising:
a semiconductor device comprising:
means for storing multiple reference resistance values, the multiple reference resistance values arranged in multiple sets of reference cells;
means for accessing a first set of reference cells to measure a first effective reference resistance corresponding to the first set of reference cells and accessing a second set of reference cells to measure a second effective reference resistance corresponding to the second set of reference cells; and
means for setting a reference resistance based on an average effective reference resistance of a plurality of effective reference resistances, wherein the plurality of effective reference resistances includes the first effective reference resistance and the second effective reference resistance.

### Claim 26 (depends on 25)

The apparatus of claim 25 integrated in at least one semiconductor die.

### Claim 27 (depends on 25)

The apparatus of claim 25, further comprising a device selected from a set top box, a music player, a video player, an entertainment unit, a navigation device, a communications device, a personal digital assistant (PDA), a fixed location data unit, and a computer, into which the semiconductor device is integrated.

### Claim 28

A method comprising:
a first step for initiating, at a resistive memory device, measuring of a first effective reference resistance, the first effective reference resistance based on a first set of reference cells of the resistive memory device;
a second step for initiating, at the resistive memory device, measuring of a second effective reference resistance, the second effective reference resistance based on a second set of reference cells of the resistive memory device;
a third step for initiating, at the resistive memory device, determining of a target reference resistance level based on an average effective reference resistance of a plurality of effective reference resistances, wherein the plurality of effective reference resistances includes the first effective reference resistance and the second effective reference resistance; and
a fourth step for initiating, at the resistive memory device, trimming of a reference resistance at least partially based on the target reference resistance level.

### Claim 29 (depends on 28)

The method of claim 28, wherein the first step, the second step, the third step, and the fourth step are performed by a processor integrated into an electronic device.

### Claim 30

A computer readable storage device storing instructions that, when executed by a processor, cause the processor to perform operations comprising:
at resistive memory device:
initiating measuring of a first effective reference resistance, the first effective reference resistance based on a first set of reference cells of the resistive memory device;
initiating measuring of a second effective reference resistance, the second effective reference resistance based on a second set of reference cells of the resistive memory device;
initiating determining of a target reference resistance level based on an average effective reference resistance of a plurality of effective reference resistances, wherein the plurality of effective reference resistances includes the first effective reference resistance and the second effective reference resistance; and
initiating trimming of a reference resistance at least partially based on the target reference resistance level.

### Claim 31 (depends on 30)

The computer readable storage device of claim 30, wherein the instructions are executable by a processor integrated in a device selected from a set top box, a music player, a video player, an entertainment unit, a navigation device, a communications device, a personal digital assistant (PDA), a fixed location data unit, and a computer.

### Claim 32

A method comprising:
receiving design information representing at least one physical property of a semiconductor device, the semiconductor device comprising:
a resistive memory reference array comprising multiple sets of reference cells;
a reference resistance measurement circuit, wherein a first set of reference cells is accessible by the reference resistance measurement circuit to measure a first effective reference resistance corresponding to the first set of reference cells, and wherein a second set of reference cells is accessible by the reference resistance measurement circuit to measure a second effective reference resistance corresponding to the second set of reference cells; and
a trimming circuit configured to set a reference resistance of the resistive memory reference array based on an average effective reference resistance of a plurality of effective reference resistances, wherein the plurality of effective reference resistances includes the first effective reference resistance and the second effective reference resistance; and
transforming the design information to comply with a file format; and
generating a data file including the transformed design information.

### Claim 33 (depends on 32)

The method of claim 32, wherein the data file comprises a GDSII format.

### Claim 34

A method comprising:
receiving a data file comprising design information corresponding to a semiconductor device; and
fabricating the semiconductor device according to the design information, wherein the semiconductor device comprises:
a resistive memory reference array comprising multiple sets of reference cells;
a reference resistance measurement circuit, wherein a first set of reference cells is accessible by the reference resistance measurement circuit to measure a first effective reference resistance corresponding to the first set of reference cells, and wherein a second set of reference cells is accessible by the reference resistance measurement circuit to measure a second effective reference resistance corresponding to the second set of reference cells; and
a trimming circuit configured to set a reference resistance of the resistive memory reference array based on an average effective reference resistance of a plurality of effective reference resistances, wherein the plurality of effective reference resistances includes the first effective reference resistance and the second effective reference resistance.

### Claim 35 (depends on 34)

The method of claim 34, wherein the data file has a GDSII format.

### Claim 36

A method comprising:
receiving design information comprising physical positioning information of a packaged semiconductor device on a circuit board, the packaged semiconductor device comprising:
a resistive memory reference array comprising multiple sets of reference cells;
a reference resistance measurement circuit, wherein a first set of reference cells is accessible by the reference resistance measurement circuit to measure a first effective reference resistance corresponding to the first set of reference cells, and wherein a second set of reference cells is accessible by the reference resistance measurement circuit to measure a second effective reference resistance corresponding to the second set of reference cells; and
a trimming circuit configured to set a reference resistance of the resistive memory reference array based on an average effective reference resistance of a plurality of effective reference resistances, wherein the plurality of effective reference resistances includes the first effective reference resistance and the second effective reference resistance; and
transforming the design information to generate a data file.

### Claim 37 (depends on 36)

The method of claim 36, wherein the data file has a GERBER format.

### Claim 38

A method comprising:
receiving a data file comprising design information comprising physical positioning information of a packaged semiconductor device on a circuit board; and
manufacturing the circuit board configured to receive the packaged semiconductor device according to the design information, wherein the packaged semiconductor device comprises:
a resistive memory reference array comprising multiple sets of reference cells;
a reference resistance measurement circuit, wherein a first set of reference cells is accessible by the reference resistance measurement circuit to measure a first effective reference resistance corresponding to the first set of reference cells, and wherein a second set of reference cells is accessible by the reference resistance measurement circuit to measure a second effective reference resistance corresponding to the second set of reference cells; and
a trimming circuit configured to set a reference resistance of the resistive memory reference array based on an average effective reference resistance of a plurality of effective reference resistances, wherein the plurality of effective reference resistances includes the first effective reference resistance and the second effective reference resistance.

### Claim 39 (depends on 38)

The method of claim 38, wherein the data file has a GERBER format.

### Claim 40 (depends on 38)

The method of claim 38, further comprising integrating the circuit board into a device selected from a set top box, a music player, a video player, an entertainment unit, a navigation device, a communications device, a personal digital assistant (PDA), a fixed location data unit, and a computer.
