Memory circuit

By using a selection circuit and a sensing amplifier to generate a reference potential in the MRAM memory, the problem of reference cell logic inversion is solved, reducing test overhead and circuit area, and improving the reliability of data readout.

CN112470223BActive Publication Date: 2024-11-01SONY SEMICON SOLUTIONS CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980049243.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-07-30
Filing Date
2019-07-25
Publication Date
2024-11-01
Estimated Expiration
2039-07-25

AI Technical Summary

Technical Problem

In the prior art, MRAM memory devices need to refresh the reference cell periodically to prevent logic reversal, which results in high test operation overhead and increased circuit area, and the use of the sense amplifier increases unnecessary current consumption.

Method used

By employing a combination of a selection circuit and a sensing amplifier, the selection circuit controls the output of the memory cell to the input terminal of the sensing amplifier, and the intermediate potential is used to generate a reference potential, reducing direct access to the reference cell and improving the reliability of the read data.

Benefits of technology

An effective test reference unit reduces the overhead of test operations, lowers circuit area and current consumption, and improves the reliability of data readout.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112470223B_ABST
    Figure CN112470223B_ABST
Patent Text Reader

Abstract

The present invention aims to improve the reliability of read data by effectively testing a reference cell for reading data. A memory circuit is provided with a plurality of memory arrays, a selection circuit and a sense amplifier. The selection circuit selects an output value of one of the plurality of memory arrays and supplies a first value and a second value. The sense amplifier has a first input terminal and a second input terminal. The sense amplifier amplifies and outputs a first value supplied to the first input terminal with reference to a second value supplied to the second input terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present technology relates to memory circuits and more particularly to memory circuits that allow data cells to be read using the value of a reference cell as a reference potential. Background Art

[0002] In a known method, a sense amplifier of a memory using a magnetoresistive effect (MRAM: magnetoresistive random access memory) generates a reference potential by connecting a plurality of memory cells in parallel or in series with each other as a reference resistor for generating a potential. In this case, the plurality of memory cells are referred to as "reference cells". The desired reference potential is generated by applying a constant current to a plurality of reference cells in a high resistance state and a low resistance state. In a memory device using a "magnetic tunnel junction (MTJ)" element, it is possible to inadvertently reverse the information stored in the MTJ element due to the following mechanism. Therefore, these memory devices need to be refreshed (rewritten) regularly to ensure reliable readout. In particular, since the reference cell is accessed each time a read operation is performed and the reference cell is used as a reference for determining the logical state of the stored data, the accidental reversal of its logic cannot be avoided.

[0003] Broadly speaking, there are two phenomena that can cause unexpected logic inversion. One phenomenon is a logic inversion that occurs with a certain probability when a tiny current is applied when reading a memory cell, even below the write threshold. This is called a "read disturbance" error. Another phenomenon is a logic inversion that occurs with a certain probability due to thermal fluctuations. This is called a "hold" error. Because these are phenomena that occur with a certain probability, it is important to test and verify that the read operation is performed correctly each time the data is read to maintain the reliability of the read data. In view of this, a method of using a dedicated sense amplifier to read the logic state of a memory cell used to generate a reference potential has been proposed (for example, see patent document 1).

[0004] Citation List

[0005] Patent Literature

[0006] Patent Document 1: Japanese Patent Laid-Open No. 2006-286047 Summary of the invention

[0007] Technical issues

[0008] According to the above-mentioned prior art, the logic state of the reference cell for generating the reference potential is tested at predetermined intervals. However, the prior art causes a large amount of overhead in the test operation, which makes it difficult to test the reference cell every time the reference cell is used for the read operation. In addition, it is necessary to prepare a sense amplifier dedicated to the reference cell, which brings about the problem of increased circuit area.

[0009] The present technology has been designed in view of the above circumstances, and aims to effectively test a reference cell for reading out data to improve the reliability of the read out data.

[0010] Solution to the problem

[0011] In order to solve the above-mentioned problem, and according to a first mode of the present technology, there is provided a memory circuit, comprising: a plurality of memory arrays; a selection circuit configured to select a value output from a memory cell in any one of the plurality of memory arrays to supply a first value and a second value; and a sense amplifier having a first input terminal and a second input terminal, and configured to amplify and output a first value supplied to the first input terminal with reference to a second value supplied to the second input terminal. This provides such an effect that the value of the memory cell in any one of the plurality of memory arrays is supplied to the first input terminal and the second input terminal of the sense amplifier, which in turn outputs the amplified value.

[0012] In addition, according to the first mode of the present technology, the selection circuit may include: a plurality of output switches provided corresponding to each memory cell, the output switches being configured to control whether to output a value from the memory cell; and a first input selector and a second input selector provided corresponding to the first input terminal and the second input terminal of the sense amplifier, respectively, the first input selector and the second input selector being configured to select an output from the output switch and supply the selected output to the corresponding first input terminal and the second input terminal. This provides an effect of controlling both the output from the memory cell and the input to the sense amplifier.

[0013] Furthermore, according to the first mode of the present technology, each of the first input selector and the second input selector may be provided with a plurality of input switches connected to at least one output switch that is different from each other among the plurality of output switches, and each of the first input selector and the second input selector is configured to turn on any one of the plurality of input switches to supply its output to the corresponding first input terminal and second input terminal. This provides an effect that each of the first input selector and the second input selector is configured with a combination of a plurality of input switches.

[0014] Furthermore, according to the first aspect of the present technology, at least one of the plurality of input switches receives outputs from the plurality of output switches connected to each input switch in a short-circuited state. This provides an effect of generating an intermediate potential between potentials output from the plurality of reference cells.

[0015] Furthermore, according to the first aspect of the present technology, the number of the plurality of output switches connected to each of the plurality of input switches can be the same as or at least partially different from the number of the input switches. This provides an effect of improving the degree of freedom in design.

[0016] Furthermore, according to the first aspect of the present technology, the memory circuit may further include a plurality of sense amplifiers sharing the second input terminal. This provides an effect that an intermediate potential between potentials output from a plurality of reference cells is referred to as a reference potential.

[0017] According to the first aspect of the present technology, the memory cell is assumed to be, for example, a resistance change memory, or particularly, for example, a magnetoresistive change memory, but this also applies to other memory elements that are based on the use of a reference cell.

[0018] In addition, according to the first mode of the present technology, the sense amplifier can perform: the first input terminal and the second input terminal are supplied with the first potential and the second potential, and the processing of outputting data according to the magnitude relationship between the first potential and the second potential; and the first input terminal and the second input terminal are supplied with a third potential for generating the second potential and a fourth potential different from the second potential, and the processing of outputting data according to the magnitude relationship between the third potential and the fourth potential. This provides such an effect that the third potential is tested by the fourth potential used as a reference potential, the third potential is used to generate the second potential, and the second potential is used as a reference potential for reading out the first potential. That is, in this case, the second potential is a reference potential for reading out the first potential, and the fourth potential is a reference potential for testing the third potential. By the way, either of these two processes can be performed first.

[0019] Furthermore, according to the first mode of the present technology, the first potential and the second potential may be potentials read from memory arrays different from each other among a plurality of memory arrays, and the third potential and the fourth potential may be potentials read from the same memory array. This provides an effect of performing operation switching between an open type configuration for reading from different arrays and a folded type configuration for reading from the same array.

[0020] In addition, according to the first mode of the present technology, at different timings or at the same timing, the sense amplifier can output the output when the first potential and the second potential are supplied to the first input terminal and the second input terminal, and the output when the third potential and the fourth potential are supplied to the first input terminal and the second input terminal.

[0021] In addition, according to the first mode of the present technology, the memory circuit may further include a comparator configured to compare the output when the third potential and the fourth potential are supplied to the first input terminal and the second input terminal with an expected value of the output. This provides an effect of enabling the memory circuit to test the reference cell.

[0022] Beneficial effects of the present invention

[0023] The present technology provides the beneficial effect of effectively testing reference cells for reading data, thereby improving the reliability of the read data.It is to be noted that the beneficial effects outlined above do not limit the present disclosure, and other advantages will become clear by reading the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 : is a diagram depicting a configuration example of a memory circuit as a first embodiment of the present technology.

[0025] Figure 2 is a diagram depicting a configuration example of the memory cell array 110 in the first embodiment of the present technology.

[0026] Figure 3 is a diagram depicting a typical relationship between the memory cell 111 and the column selection circuit 150 in the first embodiment of the present technology.

[0027] Figure 4 1 is a diagram depicting a typical state in which the memory cell 111 is read out as a data cell in the first embodiment of the present technology.

[0028] Figure 5 1 is a diagram depicting a typical state in which the memory cell 111 is read out as a reference cell in the first embodiment of the present technology.

[0029] Figure 6 is a diagram depicting a configuration example of the column selection circuit 150 in the first embodiment of the present technology.

[0030] Figure 7 is a diagram depicting an example of selection control performed by the column selection circuit 150 in the first embodiment of the present technology.

[0031] Figure 8 1 is a diagram depicting an example of Case 1 of selection control by the column selection circuit 150 in the first embodiment of the present technology.

[0032] Fig. 9 1 is a diagram depicting an example of Case 2 of selection control by the column selection circuit 150 in the first embodiment of the present technology.

[0033] Fig.10 : is a diagram depicting an example of Case 3 of selection control by the column selection circuit 150 in the first embodiment of the present technology.

[0034] Fig.11 : is a diagram depicting an example of Case 4 of selection control by the column selection circuit 150 in the first embodiment of the present technology.

[0035] Fig.12is a diagram depicting a typical group of column selection circuits 150 in an alternative example of the first embodiment of the present technology.

[0036] Fig.13 1 and 2 are diagrams depicting other typical groups of the column selection circuit 150 in other alternative examples of the first embodiment of the present technology.

[0037] Fig.14 is a diagram depicting a configuration example of a memory circuit 100 as a second embodiment of the present technology.

[0038] Fig.15 is a flowchart depicting a typical procedure of steps performed by the memory circuit 100 as the second embodiment of the present technology.

[0039] Fig.16 : is a flowchart depicting a typical operation sequence of the memory circuit 100 as the second embodiment of the present technology.

[0040] Fig.17 is a diagram depicting a configuration example of a memory circuit 100 as a third embodiment of the present technology.

[0041] Fig.18 is a flowchart depicting a typical procedure of steps performed by the memory circuit 100 as the third embodiment of the present technology.

[0042] Fig.19 : is a flowchart depicting a typical operation sequence of the memory circuit 100 as the third embodiment of the present technology.

[0043] Fig. 20 is a diagram depicting a configuration example of a memory circuit 100 as a fourth embodiment of the present technology.

[0044] Fig.21 is a diagram depicting a first configuration example of a system 500 as a use example of the memory circuit 100 embodying the present technology.

[0045] Fig. 22 is a diagram depicting a second configuration example of a system 500 as another usage example of the memory circuit 100 embodying the present technology.

[0046] Fig.23 is a diagram depicting a configuration example of an electronic device 600 using the memory circuit 100 embodying the present technology. DETAILED DESCRIPTION

[0047] Modes for implementing the present technology (referred to as embodiments) are described below. The description will be given in the following order.

[0048] 1. First Embodiment (Example of Selecting Memory Cell Output by Column Select Circuit)

[0049] 2. Second Embodiment (Example in which the values ​​of the data unit and the reference unit are sequentially output)

[0050] 3. Third Embodiment (Example in which the values ​​of the data unit and the reference unit are output simultaneously)

[0051] 4. Fourth Embodiment (Example of Performing Comparison with Expected Value of Reference Cell Inside Memory Circuit)

[0052] 5. Usage Examples

[0053] <1. First Embodiment>

[0054] [Memory circuit]

[0055] Figure 1 : is a diagram depicting a configuration example of a memory circuit as a first embodiment of the present technology.

[0056] The memory circuit includes two arrays #0 ( 101 - 0 ) and #1 ( 101 - 1 ), a sense amplifier 170 , an address decoder 180 , and a data bus 190 .

[0057] Each of the arrays 101-0 and 101-1 includes a memory cell array 110. The memory cell array 110 includes memory cells arranged in a two-dimensional matrix pattern (array pattern).

[0058] The address decoder 180 decodes an address designated by the processor via the signal line 103 to generate a row address and a column address for the memory cell array 110 .

[0059] The sense amplifier 170 amplifies and outputs the value read out from each of the arrays 101-0 and 101-1. One sense amplifier 170 is provided corresponding to one column or a plurality of examples in the memory cell array 110. Each sense amplifier 170 has two input terminals. One input terminal receives an input of a potential of a sensing object, and the other input terminal receives an input of a reference potential. This allows the sense amplifier 170 to output read data by amplifying the potential of the sensing object with reference to the reference potential. That is, the sense amplifier 170 outputs data according to the magnitude relationship between the levels of the potentials supplied to the two input terminals.

[0060] The data bus 190 is a bus that allows data to be output to and input from the processor. That is, the data bus 190 outputs read data from the sense amplifier 170 to the processor via the output data Q terminal 109. The data bus 190 further receives write data from the processor via the input data D terminal 104 and supplies the write data to the arrays 101-0 and 101-1.

[0061] Each of the arrays 101-0 and 101-1 includes a row decoder 120, a word line driver 130, a write-read power supply circuit 140, and a column selection circuit 150 in addition to the memory cell array 110. The row decoder 120 decodes the row address supplied from the address decoder 180. The word line driver 130 drives the word line decoded by the row decoder 120. The write-read power supply circuit 140 is a circuit that supplies power required for a write or read operation. The column selection circuit 150 selects a column from the memory cell array 110 according to the column address supplied from the address decoder 180. Incidentally, the column selection circuit 150 is an example of a selection circuit described in the appended claims.

[0062] A command from a processor is supplied to each of the arrays 101-0 and 101-1 via a signal line 102. Each of the arrays 101-0 and 101-1 performs a necessary operation such as a read or write operation in accordance with the supplied command.

[0063] [Memory cell array]

[0064] Figure 2 is a diagram depicting a configuration example of the memory cell array 110 in the first embodiment of the present technology.

[0065] The memory cell array 110 includes memory cells 111 arranged in a two-dimensional matrix pattern. The word line driver 130 drives the memory cells 111 in the memory cell array 110 in units of row-direction word lines. In addition, source lines and bit lines are formed in a column direction and connected in series to each memory cell 111.

[0066] The word lines in the memory cell array 110 include data word lines used as a normal data storage area and reference word lines used as reference cells. As explained above, the reference cells are used to generate a reference potential for data readout.

[0067] In the case of an open type configuration, the reference cells are arranged in a word line direction. That is, accessing a reference cell requires activating a word line (reference word line: RWL) of a specific reference cell.

[0068] Although the reference word line is placed in the top row of the memory cell array 110 in this example, the reference word line may be arranged in any row. For example, the reference word line is preferably arranged in the center row of the memory cell array 110 in consideration of parasitic resistance.

[0069] Figure 3 is a diagram depicting a typical relationship between the memory cell 111 and the column selection circuit 150 in the first embodiment of the present technology.

[0070] The memory cell 111 includes a resistance change element 112 and a switch 113 connected in series between a source line 118 and a bit line 119. For example, a magnetic tunnel junction (MTJ) element is assumed to be used as the resistance change element 112. The MTJ element is composed of two layers of magnetic material sandwiching an insulating layer. The variable magnetization state of the magnetic material causes a change in resistance value. Although the resistance change MTJ element is assumed to be used as a storage element of the memory cell 111 in this example, in this embodiment, other storage elements such as "ferroelectric random access memory (FeRAM)" that are based on the use of a reference cell may be used instead.

[0071] The gate electrode of the switch 113 is connected to the word line 117. The word line 117 is driven to turn on the switch 113, thereby connecting both ends of the resistance variable element 112 to the source line 118 and the bit line 119.

[0072] The source line 118 and the bit line 119 are connected to the column switches 151 and 154 of each column. Appropriate control of these switches changes the state of the resistance variable element 112 or allows its changed state to be read out.

[0073] The value read from the memory cell 111 is input to the sense selection circuit 157 before being fed to the sense amplifier 170. The sense amplifier 170 has two input terminals. One input terminal receives an input of sensing object data, and the other input terminal receives an input of a reference potential. The sense selection circuit 157 selects the value read from the memory cell 111 to supply an appropriate value to the two input terminals of the sense amplifier 170. Although in this example, the source line signal is input to the sense selection circuit 157, depending on the characteristics of the memory cell 111, a bit line signal may be input instead of the source line signal.

[0074] Figure 4 1 is a diagram depicting a typical state in which the memory cell 111 is read out as a data cell in the first embodiment of the present technology.

[0075] For example, in a resistance change memory, a logic value is assigned depending on a resistance value, and if the resistance value R of the memory cell is in a high resistance state (RH), a logic value "1" is assigned, and if the resistance value R is in a low resistance state (RL), a logic value "0" is assigned. When the logic value is determined by the two-input sense amplifier 170, the resistance value needs to be converted into an input potential. Therefore, a current injection amplifier is used. In this example, the current source 141 and the switch 142 are used as a read current source.

[0076] The current source 141 is designed to flow current through the resistance of the memory cell 111. The switch 142 is designed to control the operation as a read current source. Applying a voltage Vcmn to the gate electrode of the switch 142 turns on the switch 142 and flows current through the resistance of the memory cell 111.

[0077] The sensing selection circuit 157 is connected between the read current source and the memory cell 111. This allows current to be supplied only to the memory cell 111 selected by the sensing selection circuit 157 for data readout.

[0078] In this case, if it is assumed that iO represents the value of the current supplied from the current source 141, R represents the resistance value of the resistance variable element 112, and m represents the amplification factor of the current injection amplifier, the potential vd of the observation end gradually becomes equal to "m×iO×R". Therefore, measuring the potential input to the sense amplifier 170 makes it possible to obtain the resistance value R of the resistance variable element 112.

[0079] Figure 5 1 is a diagram depicting a typical state in which the memory cell 111 is read out as a reference cell in the first embodiment of the present technology.

[0080] Although there are many methods to generate a reference potential for determining a logic value, it is also suitable to use a memory cell to generate a reference potential. Considering the robustness of the sensing operation. For example, in the case where some parameter changes during the memory cell manufacturing process cause a bias to be applied to the resistance value of the sensing object memory cell, a similar bias is also applied to the reference potential accordingly. This bias application eliminates the adverse effects involved.

[0081] Therefore, in this example, the output potentials from the plurality of memory cells (reference cells) are short-circuited (short-circuited) to generate an intermediate potential. To this end, the plurality of sensing selection circuits 157 are turned on. In this case, assuming that iO represents the value of the current supplied from the current source 141, Ri (i = 0 to (n-1)) represents the resistance value of the resistance variable element 112, and m represents the amplification factor of the current injection amplifier, the potential vr of the observation end becomes gradually equal to "m × iO × ∑Ri / n".

[0082] The number of connections n is at least 1. The larger the number of connections n, the more robust the sensing operation becomes against resistance changes of the reference cell. The optimal ratio between the high resistance state (RH) and the low resistance state (RL) is not necessarily limited to 1:1. The optimal ratio varies depending on the operating point of the sense amplifier 170.

[0083] The two observation terminals thus generated are connected to the two inputs of the sense amplifier 170. This allows the logical state of the sensed object to be observed.

[0084] [Column selection circuit]

[0085] Figure 6 is a diagram depicting a configuration example of the column selection circuit 150 in the first embodiment of the present technology.

[0086] In each of the arrays 101-0 and 101-1, the column selection circuit 150 selects the value of the memory cell 111 in the memory cell array 110 and supplies the selected value to two input terminals of the sense amplifier 170. As described above, each sense amplifier 170 is shared by the two arrays 101-0 and 101-1. The value of the memory cell 111 can be supplied from any one of the arrays 101-0 and 101-1.

[0087] In this example, the constant current source and the write power supply are omitted for the purpose of simplification. Depicted here is an example in which eight source lines and eight bit lines are connected to one sense amplifier, and these lines are divided into two groups A and B, each of which is 4 lines. Note that the number of lines in each group is only an example and is allowed to vary as long as the source lines and bit lines connected to the sense amplifier are divided into at least two groups.

[0088] It is also depicted that the data cell on the array 101-0 side is accessed as the access object, and the reference cell on the array 101-1 side is used. All column selection circuits 150 share a common configuration. The desired connection state is achieved by changing the selection state of the internal switches in the arrays 101-0 and 101-1.

[0089] In addition, lines that short-circuit the nodes on the reference potential side of the sense amplifiers 170 are connected to the sense amplifiers 170 whose number corresponds to the number n of connections described above. That is, in the layout of an actual memory circuit, circuit units provided corresponding to the above n sense amplifiers are repeatedly arranged.

[0090] The column selection circuit 150 includes output switches CS0 to CS7 corresponding to each memory cell 111 in each column. The output switches CS0 to CS7 control whether a value from the memory cell 111 is output.

[0091] The column selection circuit 150 further includes two input selectors corresponding to each of the two input terminals of the sense amplifier 170. These input selectors select the outputs from the output switches CS0 to CS7 and supply the selected outputs to the two input terminals of the corresponding sense amplifier 170. Each input selector includes a plurality of input switches connected to at least one output switch that is different from each other among the output switches CS0 to CS7. One of the input switches is turned on and its output is supplied to the corresponding input terminal. Specifically, the sensing object input terminal D of the sense amplifier 170 is connected to the input selector including the input switches CM0 and CM2. In addition, the reference potential input terminal R of the sense amplifier 170 is connected to the input selector including the input switches CM1 and CM3.

[0092] As described above, when a reference potential is to be generated, an intermediate potential can be generated by short-circuiting (shorting) the potentials output from a plurality of reference cells. At least one of a plurality of input switches CM0 to CM3 receives the outputs of a plurality of output switches CS0 to CS7 connected to each input switch in a short-circuit state. For example, when an intermediate potential is to be generated from a reference cell connected to output switches CS0 to CS3, output switches CS0 to CS3 enter a connection state, and input switch CM1 enters a connection state to be connected to a node on the reference potential side of the sense amplifier 170. Since the nodes on the reference potential side of the sense amplifier 170 are interconnected, the output of the connection line is also short-circuited.

[0093] [Selection control by column selection circuit]

[0094] Figure 7 is a diagram depicting an example of selection control performed by the column selection circuit 150 in the first embodiment of the present technology.

[0095] For each object whose logical value is determined by the sense amplifier 170 , four cases are presented below as examples of selection control by the column selection circuit 150 .

[0096] Case #1 assumes that the reference cell of array 101-1 is to be tested. To test the logic values ​​of R0 and R2 in array 101-1, the corresponding cells are connected to the sensing object input of sense amplifier 170. At this time, the reference potential generated by R1 and R3 is connected to the reference potential input of sense amplifier 170.

[0097] In this case, there is no input from the array 101-0. Therefore, the input switches CM0 to CM3 of the array 101-0 are all controlled to be in an isolated state. This means that the output switches CS0 to CS7 of the array 101-0 can be in any state. On the other hand, in the array 101-1, the output switches CS0 and CS4 are controlled to be in an on state, while the output switches CS1 to CS3 and CS5 to CS7 are controlled to be in an isolated state. Then the input switches CM0 and CM3 are controlled to be in an on state, and the input switches CM1 and CM2 are controlled to be in an isolated state.

[0098] The above control processing brings Figure 8 That is, the values ​​R0 and R2 of the reference cells and the values ​​R1 and R3 for testing the reference cells are all read out from the array 101-1. In this way, the reference cells (R0 and R2) as the test object are tested individually. On the other hand, the cells (R1 and R3) for generating the reference potential are used in common. By the way, in Figure 8 In and subsequent drawings, the sensing object potential is indicated by a solid line, and the reference potential is indicated by a dotted line.

[0099] Case #2 assumes that the reference cell in array 101 - 1 is to be tested as in case #1. To determine the logic value of R1 and R3 in array 101 - 1 , R0 and R2 are used to connect a reference potential to the reference potential input of sense amplifier 170 .

[0100] In this case, as in case #1, there is no input from array 101-0. Therefore, the input switches CM0 to CM3 of array 101-0 are all controlled to be in an isolated state. This means that the output switches CS0 to CS7 of array 101-0 can be in any state. On the other hand, in array 101-1, output switches CS0 and CS4 are controlled to be in an on state, while output switches CS1 to CS3 and CS5 to CS7 are controlled to be in an isolated state. Then, input switches CM1 and CM2 are controlled to be in an on state, and input switches CM0 and CM3 are controlled to be in an isolated state.

[0101] The above control processing brings Fig. 9 That is, the value input to the sense amplifier 170 can be set to a value opposite to that in the above case #1.

[0102] Case #3 assumes that a normal cell in array 101-0 is to be read out. Cells D0 and D1 in array 101-0 are connected to the sensing object input. At this time, the reference potential generated by R0 and R2 is connected to the reference potential input of the sense amplifier.

[0103] In this case, there is no input from group B in arrays 101-0 and 101-1. Therefore, input switches CM2 and CM3 are controlled to be in an isolated state. Output switches CS4 to CS7 can be in any state. On the other hand, in group A, output switch CS0 is controlled to be in an on state, and output switches CS1 to CS3 are controlled to be in an isolated state. Furthermore, in array 101-0, input switch CM0 is controlled to be in an on state, and input switches CM1 to CM3 are controlled to be in an isolated state. In addition, in array 101-1, input switch CM1 is controlled to be in an on state, and input switches CM0, CM2, and CM3 are controlled to be in an isolated state.

[0104] The above control processing brings Fig.10 That is, the values ​​D0 and D1 of the normal cells are read out from the array 101-0, and the reference potential values ​​R0 and R2 of the reference cells are read out from the array 101-1.

[0105] Case #4 assumes that a normal cell in array 101-0 is to be read out as in case #3. Cells D0 and D1 in array 101-0 are connected to the sense object input. At this time, the reference potential generated by R1 and R3 is connected to the reference potential input of sense amplifier 170.

[0106] In this case, there is no input from group B in array 101-0. Therefore, input switches CM2 and CM3 are controlled to be in an isolated state. Output switches CS4 to CS7 can be in any state. In addition, there is no input from group A in array 101-1, so that input switches CM0 and CM1 are controlled to be in an isolated state, and output switches CS0 to CS3 can be in any state.

[0107] In addition, in the array 101-0, the output switch CS0 and the input switch CM0 are controlled to be in the on state. The other output switches CS1 to CS3 and the input switches CM1 to CM3 in the group A are controlled to be in the insulated state. In addition, in the array 101-1, the output switch CS4 and the input switch CM3 are controlled to be in the on state. The other output switches CS5 to CS7 and the input switches CM0 to CM2 in the group B are controlled to be in the insulated state.

[0108] The above control processing brings Fig.11 That is, the values ​​D0 and D1 of the normal cells are read out from the array 101-0, and the reference potential values ​​R1 and R3 of the reference cells are read out from the array 101-1.

[0109] As described above, in the case where the sensing object and the memory cell for generating the reference potential are not in the same group of the same array, the switch of the column selection circuit 150 is switched so that the logic value of the memory cell 111 in the desired position is read out by using the reference potential generated by the desired reference cell. Obviously, by controlling the switch of the column selection circuit 150, the memory cell 111 in the position not explicitly indicated here can also be accessed.

[0110] According to the first embodiment of the present technology, as discussed above, the value of any memory cell is selected from the arrays 101-0 and 101-1 as needed by the column selection circuit 150 before being supplied to the input terminal of the sense amplifier 170. In this way, an open type configuration that allows reading from different arrays and a folded type configuration that allows reading from the same array can be switched in operation.

[0111] [Alternative example]

[0112] Fig.12 is a diagram depicting a typical group of column selection circuits 150 in an alternative example of the first embodiment of the present technology.

[0113] In the above embodiment, the column selection circuit 150 is divided into Fig.12 of a The two groups A and B are indicated in FIG. Alternatively, Fig.12 of b As indicated in , for example, the column selection circuits 150 may be divided into three groups A, B, and C. As another alternative, the column selection circuits 150 may be divided into four or more groups.

[0114] Fig.13 1 and 2 are diagrams depicting other typical groups of the column selection circuit 150 in other alternative examples of the first embodiment of the present technology.

[0115] In the above embodiment, four source lines and four bit lines are connected to each group. Alternatively, Fig.13 of a As indicated in , one source line and one bit line can be connected to each group. As another option, Fig.13 of b As indicated in , eight source lines and eight bit lines may be connected to each group. That is, the number of source lines and the number of bit lines to be connected to each group may not be four.

[0116] As another alternative, for example, Fig.13 of cAs indicated in , the number of lines in each group may vary from one group to another. In this example, eight output switches CS0 to CS7 are connected to input switches CM0 and CM1, and four output switches CS8 to CS11 are connected to input switches CM2 and CM3. That is, the number of multiple output switches among CS0 to CS11 to be connected to each of the multiple input switches CM0 to CM3 may be at least partially different.

[0117] As described above, the group configuration of the column selection circuit 150 can be set for each system. This allows a high degree of freedom in circuit design in consideration of the durability of the memory.

[0118] <2. Second Embodiment>

[0119] [Memory circuit]

[0120] Fig.14 is a diagram depicting a configuration example of a memory circuit 100 as a second embodiment of the present technology.

[0121] As in the memory circuit of the first embodiment described above, the memory circuit 100 of the second embodiment includes two arrays 101-0 and 101-1 that share a sense amplifier 170. As in the first embodiment described above, each of the arrays 101-0 and 101-1 includes a memory cell array 110, a row decoder 120, a word line driver 130, a write-read power supply circuit 140, and a column selection circuit 150.

[0122] The control circuit 160 is provided with an interface with the processor 300. The control circuit 160 receives commands, addresses, and write data from the processor 300. In addition, a read data bus 191 is connected to the control circuit 160. The control circuit 160 outputs the read data to the processor 300 via the output data Q terminal.

[0123] In the event of a read command, sense amplifier 170 receives signals indicating the values ​​of data memory cells and reference cells from arrays 101-0 and 101-1 and outputs the logic values ​​resulting from the read operation onto read data bus 191. The data is again output to processor 300 via control circuit 160.

[0124] [operate]

[0125] Fig.15 is a flowchart depicting a typical procedure of steps performed by the memory circuit 100 as the second embodiment of the present technology.

[0126] First, an ACT command for activating a memory is used to access a word line corresponding to a data cell according to a given address and a word line corresponding to a reference cell (step S911). In this example, it is assumed that a data cell is read from array 101-0 and a reference cell is read from array 101-1.

[0127] Thereafter, the read command causes the column selection circuit 150 to select the column corresponding to the address as in the above case 3, for example, allowing the values ​​of the data cell and the reference cell to be read out (step S912). The values ​​of the data cell and the reference cell are input to the sense amplifier 170, which then outputs the amplified data (step S913).

[0128] Next, for example, as in the above-described case 1, the logic state of the reference cell for the read data cell is read (step S914). The read data is output to the read data bus 191 (step S915).

[0129] In this example, after the data output in step S913, the logic state of the reference cell is output in step S915. Fig.16 As described in FIG. 1 , the data unit to be read and the value of the reference unit are sequentially output from the output data Q terminal. Fig.16 As shown in , data from the data cell and data from the reference cell can be read out by a single word line access operation. Trying to perform a similar operation with a general open type configuration may require multiple word line access operations. In contrast, in this configuration, one word line access operation can read both types of data, thereby improving performance.

[0130] Upon receiving the logic state data of the reference cell, the processor 300 performs an operation based on the received value (step S917). For example, in the case where the received value is different from the expected value, it is assumed that the processor 300 issues a refresh command with respect to the reference cell, and issues a read command again to read the data cell. That is, the re-read operation is re-performed after the rewrite operation of the reference cell to prevent incorrect data from being used in subsequent operations, thereby improving the reliability of the system. By the way, in this case, there is no need to explicitly issue a read command after the ACT command. Instead, a read command for the reference cell may be explicitly issued.

[0131] According to the second embodiment of the present technology described above, memory cell values ​​are selectively read out from the arrays 101 - 0 and 101 - 1 by the column selection circuit 150 as needed, and the values ​​of the data cell and the reference cell are sequentially output.

[0132] <3. Third embodiment>

[0133] [Memory circuit]

[0134] Fig.17 is a diagram depicting a configuration example of a memory circuit 100 as a third embodiment of the present technology.

[0135] In addition to the above-mentioned second embodiment, the third embodiment further includes a reference cell data bus 192. The sense amplifier 170 outputs the result of the data cell read operation to the read data bus 191 and outputs the result of the reference cell read operation to the reference cell data bus 192 at the same time.

[0136] [operate]

[0137] Fig.18 is a flowchart depicting a typical procedure of steps performed by the memory circuit 100 as the third embodiment of the present technology.

[0138] First, the word line corresponding to the data cell according to a given address and the word line corresponding to the reference cell are accessed using the ACT command (step S921). In this example, it is assumed that the data cell is read from the array 101-0 and the reference cell is read from the array 101-1.

[0139] Thereafter, the read command causes the column selection circuit 150 to select the column corresponding to the address as in the above-mentioned case 3, for example, allowing the values ​​of the data cell and the reference cell to be read out (step S922). The values ​​of the data cell and the reference cell are input to the sense amplifier 170, which then outputs the amplified data to be held by other circuits such as data latches (step S923).

[0140] Next, for example, as in the above-described case 1, the logic state of the reference cell for the read data cell is read (step S924). The read data is input to the sense amplifier 170, which then outputs the amplified data (step S925).

[0141] Then, at the same timing, the data cell value output in step S923 is output from the output data Q terminal to the processor 300 via the read data bus 191, and the reference cell value output in step S925 is output from the output data R terminal to the processor 300 via the reference cell data bus 192 (step S926). Fig.19 As depicted in , the data cell to be read and the value of the reference cell are simultaneously output from the output data Q terminal and the output data R terminal.

[0142] Upon receiving the values ​​of the data unit and the reference unit, the processor 300 performs an operation based on the received values ​​(step S927). The details of the operation performed by the processor 300 are similar to those in the case of the second embodiment described above.

[0143] As described above, according to the third embodiment of the present technology, memory cell values ​​are selectively read out from the arrays 101 - 0 and 101 - 1 by the column selection circuit 150 as needed, and the values ​​of the data cell and the reference cell are simultaneously output.

[0144] <4. Fourth embodiment>

[0145] [Memory circuit]

[0146] Fig. 20 is a diagram depicting a configuration example of a memory circuit 100 as a fourth embodiment of the present technology.

[0147] The memory circuit 100 of the fourth embodiment includes a comparator 165 in addition to that included in the above-described second embodiment. The comparator 165 compares the reference cell value output from the sense amplifier 170 with the expected value received from the control circuit 160 and outputs the comparison result to the control circuit 160.

[0148] Upon receiving the comparison result, if the result is different from the expected value, the control circuit 160 may perform a refresh operation. Alternatively, if the comparison result is received from the control circuit 160, the processor 300 may issue a refresh command. The refresh operation enables the re-reading operation to be re-performed after the rewriting operation is performed on the reference cell to prevent incorrect data from being used in subsequent operations, thereby improving the reliability of the system.

[0149] As described above, according to the fourth embodiment of the present technology, a refresh operation is performed based on the comparison result performed by the comparator 165 inside the memory circuit 100 .

[0150] In the above-described embodiment, the reference cell used to read out the data cell is tested after the read operation. Alternatively, the reference cell may be tested before the data cell is read out.

[0151] Furthermore, in the above-described embodiment, it is assumed that both the data word line and the reference word line are accessed simultaneously when the ACT command is issued. However, simultaneous access is not mandatory. That is, a reference cell read command may be provided in such a manner that when the reference cell read command is issued, only the reference word line is accessed, thereby allowing only the logical state of the desired reference cell to be read out and output. It is also possible to access arrays 101-0 and 101-1 and the reference word line, and after the reference cell is read out from array 101-0, for example, the reference cells in array 101-1 are sequentially read out. These operations increase the number of reference cells that can be read out by a single column cycle operation, thereby reducing the time required to test the reference cells of the entire memory circuit.

[0152] <5. Usage examples>

[0153] Fig.21 and Fig. 22 is a diagram depicting a use example of the memory circuit 100 embodying the present technology.

[0154] One or more of the semiconductor memory devices 1 each including the memory circuit 100 implementing the present disclosure may be incorporated into the same semiconductor device as the control circuit for controlling the semiconductor memory device 1. Alternatively, the semiconductor memory device 1 may be incorporated into a semiconductor device different from the control circuit for controlling the semiconductor memory device 1.

[0155] Fig.21 An example of a system 500 is depicted in which a semiconductor memory device 1 is connected to a semiconductor device 210 including a signal processing circuit 211. The signal processing circuit 211 is a circuit that generates a signal for writing / reading data to / from the semiconductor memory device 1.

[0156] Fig. 22 An example of a system 500 in which the semiconductor memory device 1 is incorporated inside a semiconductor device 210 including a signal processing circuit 211 is depicted.

[0157] Fig.23 is a diagram depicting a configuration example of an electronic device 600 using the memory circuit 100 embodying the present technology.

[0158] The electronic device 600 may be assumed to be a smart phone, a digital camera, a digital video camera, a music player, a set-top box, a computer, a television receiver, a watch, an active speaker, a headset, a game console, a radio component, a measuring instrument, an electronic tag, or a beacon. The electronic device 600 includes, for example, a power supply 690, and interfaces such as an input device 670 and a display device 660.

[0159] The resistance change semiconductor memory device may be connected as a memory device 620 or 650 connected to a processor 610 incorporated in a system-in-package 601 (or a system on chip).

[0160] The wireless communication interface 630 may have a function of mobile communication, Wi-Fi (registered trademark), or short-distance communication, and may be connected to the antenna 632 and the resistance change memory device 631 .

[0161] The audio circuit 640 may have a function of controlling a speaker 642 and a microphone 643 , and may be connected to the resistance change memory device 641 .

[0162] The sensor 680 may have a function of an optical sensor, a position sensor, an acceleration sensor, a biosensor, a magnetic sensor, a mechanical quantity sensor, a thermal sensor, an electric sensor, or a chemical sensor, and may be connected to the resistance change memory device 681 .

[0163] The above-described embodiments are merely examples in which the present technology may be implemented. The details of the embodiments correspond to the inventive contents claimed in the attached claims. Likewise, the inventive contents named in the attached claims correspond to the details of the embodiments with the same names in the foregoing description of the preferred embodiments of the present technology. However, these embodiments and other examples do not limit the present technology, and the present technology may also be implemented using various modifications and substitutions of the embodiments, as long as they are within the scope of the attached claims.

[0164] Moreover, the process discussed above in conjunction with the embodiment may be interpreted as constituting a method having a series of such processes. In addition, the process may be interpreted as forming a program for causing a computer to execute a series of such processes, or as constituting a recording medium storing the program. The recording medium may be, for example, a CD (Compact Disc), an MD (Mini Disc), a DVD (Digital Versatile Disc), a memory card, or a Blu-ray Disc (registered trademark).

[0165] The beneficial effects stated in this specification are merely examples and are not limitations of the present technology, and the present technology may also provide other advantages.

[0166] The present technology can also be preferably implemented according to the following configuration:

[0167] (1) A memory circuit comprising:

[0168] multiple memory arrays;

[0169] A selection circuit configured to select a value output from a memory cell in any one of the plurality of memory arrays to supply a first value and a second value; and

[0170] The sense amplifier has a first input terminal and a second input terminal and is configured to amplify and output the first value supplied to the first input terminal with reference to the second value supplied to the second input terminal.

[0171] (2) A memory circuit according to the above paragraph (1), wherein

[0172] The selection circuit includes

[0173] a plurality of output switches provided corresponding to each memory cell, the output switch being configured to control whether the value from the memory cell is output, and

[0174] A first input selector and a second input selector are respectively provided corresponding to the first input terminal and the second input terminal of the sense amplifier, and the first input selector and the second input selector are configured to select an output from the output switch and supply the selected output to the corresponding first input terminal and the second input terminal.

[0175] (3) A memory circuit according to the above paragraph (2), wherein each of the first input selector and the second input selector is provided with a plurality of input switches connected to at least one output switch different from each other among the plurality of output switches, and each of the first input selector and the second input selector is configured to turn on any one of the plurality of input switches to supply its output to the corresponding first input terminal and the second input terminal.

[0176] (4) The memory circuit described in the above paragraph (3), wherein at least one of the plurality of input switches receives outputs from the plurality of output switches connected to each of the input switches in a short-circuited state.

[0177] (5) The memory circuit described in the above paragraph (4), wherein the number of the plurality of output switches connected to each of the plurality of input switches is the same as each other.

[0178] (6) The memory circuit described in the above paragraph (4), wherein the number of the plurality of output switches connected to each of the plurality of input switches is at least partially different.

[0179] (7) The memory circuit according to any one of the above paragraphs (1) to (6), further comprising:

[0180] The sense amplifiers are multiple and share the second input terminal.

[0181] (8) The memory circuit according to any one of the above paragraphs (1) to (7), wherein the memory cell is a resistance change memory.

[0182] (9) The memory circuit according to any one of the above paragraphs (1) to (8), wherein the memory cell is a magnetoresistive change memory.

[0183] (10) A memory circuit according to any one of the above paragraphs (1) to (9), wherein

[0184] The sense amplifier performs

[0185] The first input terminal and the second input terminal are supplied with a first potential and a second potential, and data is output according to the magnitude relationship between the first potential and the second potential.

[0186] The first input terminal and the second input terminal are supplied with a third potential for generating the second potential and a fourth potential different from the second potential, and output data according to a magnitude relationship between the third potential and the fourth potential.

[0187] (11) A memory circuit according to the above paragraph (10), wherein

[0188] The second potential is a reference potential for reading the first potential, and

[0189] The fourth potential is a reference potential for testing the third potential.

[0190] (12) A memory circuit according to paragraph (10) or (11) above, wherein

[0191] The first potential and the second potential are potentials read from different memory arrays among the plurality of memory arrays, and

[0192] The third potential and the fourth potential are potentials read out from the same memory array.

[0193] (13) A memory circuit according to any one of the above paragraphs (10) to (12), wherein, at different timings, the sense amplifier outputs an output when the first potential and the second potential are supplied to the first input terminal and the second input terminal and an output when the third potential and the fourth potential are supplied to the first input terminal and the second input terminal.

[0194] (14) A memory circuit according to any one of the above paragraphs (10) to (13), wherein, at the same timing, the sense amplifier outputs the output when the first potential and the second potential are supplied to the first input terminal and the second input terminal and the output when the third potential and the fourth potential are supplied to the first input terminal and the second input terminal.

[0195] (15) The memory circuit according to any one of the above paragraphs (10) to (14), further comprising:

[0196] A comparator configured to compare an output when the third potential and the fourth potential are supplied to the first input terminal and the second input terminal with an expected value of the output.

[0197] [reference numerals list]

[0198] 100 Memory Circuit

[0199] 101-0, 101-1 array

[0200] 104 Input data D terminal

[0201] 109 Output data Q terminal

[0202] 110 Memory Cell Array

[0203] 111 Memory Cells

[0204] 112 resistance variable element

[0205] 113 Switch

[0206] 117 Word Line

[0207] 118 Source Line

[0208] 119 bit lines

[0209] 120-line decoder

[0210] 130 Word line driver

[0211] 140 Write-Read Power Circuit

[0212] 141 Current Source

[0213] 142 Switch

[0214] 150 Column selection circuit

[0215] 151, 154 column switch

[0216] 157 Sensing selection circuit

[0217] 160 Control circuit

[0218] 165 Comparator

[0219] 170 Sense Amplifier

[0220] 180 Address Decoder

[0221] 190 Data Bus

[0222] 191 Read data bus

[0223] 192 Reference unit data bus

[0224] 300 processors

Claims

1. A memory circuit, comprising: multiple memory arrays; The selection circuit is configured as follows: selecting a first set of output values ​​from a plurality of output values ​​output from a plurality of memory cells in the plurality of memory arrays; as well as supplying a first value and a second value based on the selected first set of output values; and a sense amplifier including a first input terminal and a second input terminal, in The selection circuit comprises: Multiple output switches, in Each output switch of the plurality of output switches corresponds to an output value of each memory cell of the plurality of memory cells, and Each of the plurality of output switches is configured to control whether an output value from each corresponding memory cell of the plurality of memory cells is output, and The first input selector is configured as: selecting a first output value from the selected first set of output values ​​as the first value, and supplying the first value to a first input terminal of the sense amplifier; as well as The second input selector is configured as: selecting a second output value from the selected first set of output values ​​as the second value, and supplying the second value to a second input terminal of the sense amplifier, in The second value is different from the first value, and The second input terminal is different from the first input terminal, wherein the sense amplifier is configured to: amplifying the first value supplied to the first input terminal based on the second value supplied to the second input terminal; and The amplified first value is output.

2. The memory circuit according to claim 1, wherein The first input selector and the second input selector both include a plurality of input switches connected to outputs of at least one output switch different from each other among the plurality of output switches, and Each of the first input selector and the second input selector is configured to turn on one of the plurality of input switches to supply an output of at least one mutually different output switch to one of the first input terminal or the second input terminal.

3. The memory circuit according to claim 2, wherein At least one of the plurality of input switches receives an output of at least one mutually different output switch among the plurality of output switches in a short-circuited state, and At least one output switch that is different from one another is connected to each of the plurality of input switches. 4 . The memory circuit according to claim 3 , wherein the number of the plurality of output switches connected to each of the plurality of input switches is the same as each other. 5 . The memory circuit of claim 3 , wherein the number of the plurality of output switches connected to each of the plurality of input switches is different. 6 . The memory circuit of claim 1 , further comprising a plurality of sense amplifiers sharing the second input terminal. 7 . The memory circuit according to claim 1 , wherein each of the plurality of memory cells is a resistance change memory. 8 . The memory circuit according to claim 1 , wherein each of the plurality of memory cells is a magnetoresistive change memory.

9. The memory circuit according to claim 1, wherein The sense amplifier is further configured to: Outputting first data reflecting the magnitude relationship between the first potential and the second potential, wherein The first potential is supplied to the first input terminal, and The second potential is supplied to the second input terminal; and Outputting second data reflecting the magnitude relationship between the third potential and the fourth potential, wherein The third potential and the fourth potential are supplied to the first input terminal and the second input terminal, respectively. The third potential is used to generate the second potential, and The fourth potential is different from the third potential.

10. The memory circuit of claim 9, wherein The second potential is a first reference potential for reading the first potential, and The fourth potential is a second reference potential for testing the third potential.

11. The memory circuit according to claim 9, wherein The first potential and the second potential are read from different memory arrays among the plurality of memory arrays, and The third potential and the fourth potential are read out from the same memory array. 12 . The memory circuit of claim 9 , wherein the sense amplifier is further configured to output the first data and the second data at different timings. 13 . The memory circuit according to claim 9 , wherein the sense amplifier is further configured to output the first data and the second data at the same timing. 14 . The memory circuit according to claim 9 , further comprising a comparator configured to compare a first output when the third potential and the fourth potential are supplied to the first input terminal and the second input terminal, respectively, with a specific value.