Storage device and method for driving storage device
The storage device addresses high defective cell rates in MRAM by using an address conversion circuit to optimize access addresses, thereby reducing the number of uncorrectable defects and improving reliability.
Patent Information
- Application Number
- JP2023046848
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-23
- Publication Date
- 2024-10-04
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing memory devices using variable resistance elements, such as MRAM, suffer from high defective cell rates, which affect their operational efficiency and reliability.
A storage device with a first memory chip and an address conversion circuit that uses a conversion function to alter access addresses, reducing the likelihood of accessing defective cells by converting addresses based on specific parameters, thereby optimizing the distribution of access across multiple chips.
The solution effectively reduces the defect rate by minimizing the number of defective cells that cannot be corrected, enhancing the overall reliability and performance of the memory device.
Smart Images

Figure 2024135932000001_ABST
Abstract
Description
[Technical field]
[0001] 1. Field of the Invention The present invention relates to a storage device and a method for driving the storage device. [Background technology]
[0002] 2. Description of the Related Art There are known storage devices using variable resistance elements as memory elements, such as magnetoresistive random access memories (MRAMs) that use magnetoresistive elements as variable resistance elements. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] US Patent Application Publication No. 2010 / 0161883 [Patent Document 2] US Patent Application Publication No. 2015 / 0236716 Summary of the Invention [Problem to be solved by the invention]
[0004] A memory device and a method for driving the memory device that can reduce a defect rate, which is the ratio of defective cells, are provided. [Means for solving the problem]
[0005] A storage device according to an embodiment includes a first memory chip including a plurality of first memory cells and a first circuit that performs address conversion using a conversion function, and a second circuit connected to the first memory chip. The second circuit sets a first parameter in the first memory chip. When a first address is transmitted from the second circuit to the first memory chip and the first memory chip is accessed, the first address is converted to a second address in the first memory chip by the conversion function using the first parameter, and one of the plurality of first memory cells designated by the second address is accessed. [Brief description of the drawings]
[0006] [Figure 1] FIG. 1 is a block diagram showing an example of the configuration of a memory system including a storage device according to the first embodiment. [Diagram 2] FIG. 2 is a block diagram showing an example of the configuration of a memory chip included in the storage device according to the first embodiment. [Diagram 3] FIG. 3 is a circuit diagram showing an example of the configuration of a memory cell array included in the memory device according to the first embodiment. [Figure 4] FIG. 4 is a cross-sectional view showing an example of the structure of the magnetoresistive effect element included in the memory device according to the first embodiment. [Diagram 5] FIG. 5 is a circuit diagram showing an example of the configuration of an address conversion circuit in a memory chip included in the storage device according to the first embodiment. [Figure 6] FIG. 6 is a diagram for explaining an example of a specific process of a conversion function used in the address conversion circuit included in the storage device according to the first embodiment. [Figure 7] FIG. 7 is a diagram for explaining another example of a specific process of the conversion function used in the address conversion circuit included in the storage device according to the first embodiment. [Figure 8] FIG. 8 is a diagram showing the relationship between memory cells specified by addresses before the address conversion and memory cells MC specified by addresses after the address conversion in FIG. [Figure 9] FIG. 9 is a flowchart showing an example of the setting operation of the storage device according to the first embodiment. [Figure 10] FIG. 10 is a flowchart showing an example of an address conversion operation of the chip included in the memory device according to the first embodiment. [Figure 11] FIG. 11 is a diagram showing error detection results in a storage device of a comparative example and the storage device according to the first embodiment. [Figure 12] FIG. 12 is a diagram for explaining an example of a specific process of a conversion function used in an address conversion circuit included in a storage device according to a first modification of the first embodiment. [Figure 13] FIG. 13 is a diagram showing the relationship between memory cells specified by addresses before the address conversion and memory cells MC specified by addresses after the address conversion in FIG. [Figure 14] FIG. 14 is a diagram for explaining another example of a specific process of the conversion function used in the address conversion circuit included in the storage device according to the first modification of the first embodiment. In FIG. [Figure 15] FIG. 15 is a diagram showing the relationship between memory cells specified by addresses before the address conversion and memory cells MC specified by addresses after the address conversion in FIG. [Figure 16] FIG. 16 is a circuit diagram showing an example of the configuration of an address conversion circuit in a memory chip included in a storage device according to a second modification of the first embodiment. [Figure 17] FIG. 17 is a diagram for explaining an example of a specific process of a conversion function used in an address conversion circuit included in a storage device according to a second modification of the first embodiment. [Figure 18] FIG. 18 is a diagram showing the relationship between memory cells specified by addresses before the address conversion and memory cells MC specified by addresses after the address conversion in FIG. [Figure 19] FIG. 19 is a diagram for explaining another example of a specific process of the conversion function used in the address conversion circuit included in the storage device according to the second modification of the first embodiment. In FIG. [Figure 20] FIG. 20 is a diagram showing the relationship between memory cells specified by addresses before the address conversion and memory cells MC specified by addresses after the address conversion in FIG. [Figure 21] FIG. 21 is a conceptual diagram showing an example of redundancy information stored in the storage device according to the second embodiment. [Figure 22] FIG. 22 is a block diagram showing an example of the configuration of a memory chip included in the memory device according to the second embodiment. [Diagram 23] FIG. 23 is a flowchart showing an example of a redundancy determination operation of a memory chip included in the storage device according to the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0007] Hereinafter, the embodiments will be described with reference to the drawings. In the following description, components having substantially the same functions and configurations are given the same reference numerals. When elements having similar configurations are to be particularly distinguished from each other, different letters or numbers may be added to the end of the same reference numerals.
[0008] 1. First embodiment A storage device according to the first embodiment will be described. The storage device according to this embodiment is, for example, a magnetic storage device using an element (also called an MTJ element or a Magnetoresistance effect element) having a magnetoresistance effect by a magnetic tunnel junction (MTJ) as a variable resistance element. In this embodiment and in the embodiments and modifications described later, a case where an MTJ element is used as a variable resistance element will be described, and for the sake of notation, a magnetoresistance effect element MTJ will be described.
[0009] 1.1 Configuration 1.1.1 Memory System Configuration The configuration of a memory system including a storage device according to the first embodiment will be described with reference to Fig. 1. Fig. 1 is a block diagram showing an example of the configuration of a memory system including a storage device according to the present embodiment.
[0010] The memory system 1 is a device for storing data. As shown in FIG 1, the memory system 1 includes a memory controller 2 and a storage device 3.
[0011] The memory controller 2 is a device that controls the storage device 3. The memory controller 2 is, for example, a SoC (System On a Chip). The memory controller 2 is connected to a host (for example, a server system, etc.) not shown. The memory controller 2 receives a request signal from the host. The memory controller 2 controls the storage device 3 based on the request signal or an autonomous processing request received from the host.
[0012] The memory controller 2 also includes an ECC (Error Checking and Correcting) circuit (not shown). The ECC circuit is a circuit that performs error correction processing on data. Specifically, the ECC circuit generates an error correction code based on write data during a data write operation. Then, the ECC circuit generates a syndrome based on the error correction code in a predetermined unit during a data read operation to detect errors and correct the detected errors.
[0013] The storage device 3 includes, for example, a control unit 4 and a plurality of memory chips (hereinafter simply referred to as "chips") CP.
[0014] The control unit 4 is a circuit that controls the operation of the entire memory device 3. The control unit 4 is a circuit that manages communication between the memory controller 2 and the multiple chips CP. The control unit 4 is connected to the memory controller 2 via a bus. The control unit 4 is connected to the multiple chips CP via, for example, a bus 5.
[0015] The control unit 4 includes a ROM (Read Only Memory) 6. The ROM 6 is a non-volatile memory. The ROM 6 stores, for example, a program such as firmware, redundancy information (table) RDI, an address conversion flag (hereinafter simply referred to as a "conversion flag") FLG, and an address conversion parameter (hereinafter simply referred to as a "conversion parameter") PRM. The redundancy information RDI is information indicating a correspondence between a defective memory cell (to be described later) and a redundancy cell (to be described later). The conversion flag FLG is information indicating whether or not to enable address conversion (to be described later). For example, the conversion flag FLG is set to "1" when address conversion is enabled, and is set to "0" when address conversion is disabled. The conversion parameter PRM is a parameter used for address conversion. The redundancy information RDI, the conversion flag FLG, and the conversion parameter PRM are stored for each chip CP. The redundancy information RDI, the conversion flag FLG, and the conversion parameter PRM may be stored in a memory cell array (to be described later) in the chip CP.
[0016] The control unit 4 receives a control signal CNT, a command CMD, an address ADD, and data DAT from the memory controller 2. The control unit 4 transmits, for example, the received control signal CNT, command CMD, address ADD, and data DAT to a plurality of chip CPs via the bus 5. The control unit 4 transmits the same address ADD to a plurality of chip CPs. For example, during a write operation or a read operation (access to a plurality of chip CPs), the same address is transmitted to a plurality of chip CPs at the same time. The control unit 4 transmits a conversion flag FLG and a conversion parameter PRM stored in the ROM 6 for each chip CP to the corresponding chip CP via the bus 5. The control unit 4 also receives data DAT from a plurality of chip CPs via the bus 5. The control unit 4 transmits the received data DAT to the memory controller 2.
[0017] The chip CP is, for example, a magnetic storage device using an MTJ element as a variable resistance element. In other words, the storage device 3 is a magnetic storage device including a plurality of chip CPs. FIG. 1 shows a case where the number of chip CPs provided in the storage device 3 is eight. Hereinafter, when the eight chip CPs are to be distinguished, they are referred to as chips CP0 to CP7. When the eight chip CPs are not to be distinguished, they are simply referred to as chip CPs. Note that the number of chip CPs provided in the storage device 3 is not limited to eight, and may be two or more. The chip CPs are controlled by a control unit 4.
[0018] 1.1.2 Chip configuration The configuration of the chip CP will be described with reference to Fig. 2. Fig. 2 is a block diagram showing an example of the configuration of the chip CP.
[0019] As shown in FIG. 2, the chip CP includes a memory cell array 10, an input / output circuit 11, a control circuit 12, an address conversion circuit 13, a register 14, a decode circuit 15, a row selection circuit 16, a column selection circuit 17, a voltage generation circuit 18, and a write / read circuit 19.
[0020] The memory cell array 10 is a non-volatile memory. The memory cell array 10 includes a plurality of memory cells MC, each of which is associated with a set of a row and a column. The memory cells MC store data in a non-volatile manner. For example, memory cells MC in the same row are connected to the same word line WL. Memory cells MC in the same column are connected to the same bit line BL. The memory cell array 10 also includes a plurality of banks BK0 to BKi (i is an integer equal to or greater than 1). Hereinafter, when there is no need to distinguish between the banks BK0 to BKi, they will simply be referred to as banks BK. Each bank BK includes a plurality of memory cells MC. Details of the memory cell array 10 will be described later.
[0021] The input / output circuit 11 is a circuit that transmits and receives data. The input / output circuit 11 receives a control signal CNT, a command CMD, an address ADD, data (write data) DAT, a conversion flag FLG, and a conversion parameter PRM from the control unit 4 via the bus 5. The write data is data to be written to the memory cell array 10. The input / output circuit 11 transmits the control signal CNT and the command CMD to the control circuit 12. The input / output circuit 11 transmits the address ADD to the address conversion circuit 13. The input / output circuit 11 transmits the data (write data) DAT to the write / read circuit 19. The input / output circuit 11 transmits the conversion flag FLG and the conversion parameter PRM to the register 14. In addition, the input / output circuit 11 receives data (read data) DAT from the write / read circuit 19. The read data is data read from the memory cell array 10. The input / output circuit 11 transmits the data (read data) DAT to the control unit 4 via the bus 5.
[0022] The control circuit 12 is a circuit that controls the operation of the entire chip CP. The control circuit 12 controls the operations of the input / output circuit 11, the address conversion circuit 13, the decode circuit 15, the row selection circuit 16, the column selection circuit 17, the voltage generation circuit 18, and the write / read circuit 19 based on a control signal CNT and a command CMD.
[0023] The address conversion circuit 13 is a circuit that performs address conversion. The address conversion is, for example, a process of converting the address ADD transmitted from the input / output circuit 11. The address conversion circuit 13 receives the address ADD from the input / output circuit 11. The address conversion circuit 13 acquires a conversion flag FLG and a conversion parameter PRM from the register 14. When the conversion flag FLG is "1" (address conversion is enabled), the address conversion circuit 13 converts the address ADD based on the conversion parameter PRM. The address conversion circuit 13 transmits the converted address to the decode circuit 15 as an address ADD1. On the other hand, when the conversion flag FLG is "0" (address conversion is disabled), the address conversion circuit 13 does not convert the address ADD. The address conversion circuit 13 transmits the received address ADD to the decode circuit 15 as an address ADD1. Details of the address conversion circuit 13 will be described later.
[0024] The register 14 is a circuit that stores the conversion flag FLG and the conversion parameter PRM and receives the conversion flag FLG and the conversion parameter PRM from the input / output circuit 11.
[0025] The decode circuit 15 is a circuit that decodes the address ADD. The decode circuit 15 receives the address ADD1 from the address conversion circuit 13. The decode circuit 15 decodes the address ADD1. The decode circuit 15 transmits the decoded result of the address ADD1 to the row selection circuit 16 and the column selection circuit 17. The address ADD1 includes a row address and a column address.
[0026] The row selection circuit 16 is a circuit that selects a word line WL corresponding to a row of the memory cell array 10. The row selection circuit 16 is connected to the memory cell array 10 via the word line WL. The row selection circuit 16 receives the decoded result (row address) of the address ADD1 from the decode circuit 15. The row selection circuit 16 selects the word line WL corresponding to the row based on the decoded result of the address ADD1.
[0027] The column selection circuit 17 is a circuit that selects a bit line BL corresponding to a column of the memory cell array 10. The column selection circuit 17 is connected to the memory cell array 10 via the bit line BL. The column selection circuit 17 receives a decoded result (column address) of the address ADD1 from the decode circuit 15. The column selection circuit 17 selects a bit line BL corresponding to a column based on the decoded result of the address ADD1.
[0028] The voltage generation circuit 18 is a circuit that generates voltages for various operations of the chip CP (memory device 3) using a power supply voltage (for example, voltage VDD) applied from outside the chip CP (memory device 3). The various operations are, for example, a write operation, a read operation, and an erase operation. For example, the voltage generation circuit 18 generates a voltage used in a write operation (hereinafter also referred to as a "write voltage"). The voltage generation circuit 18 supplies the write voltage to the write / read circuit 19. The voltage generation circuit 18 also generates a voltage used in a read operation (hereinafter also referred to as a "read voltage"). The voltage generation circuit 18 supplies the read voltage to the write / read circuit 19.
[0029] The write / read circuit 19 is a circuit that writes data to the memory cells MC and reads data from the memory cells MC.
[0030] The write / read circuit 19 includes a write driver (not shown). The write / read circuit 19 receives write data DAT from the input / output circuit 11. A write voltage is applied to the write / read circuit 19 from a voltage generating circuit 18. The write driver is, for example, a constant current driver circuit. The write driver supplies a current based on the write voltage (current used in a write operation, hereinafter also referred to as "write current") to the row selection circuit 16 or the column selection circuit 17. The row selection circuit 16 supplies a write current to the memory cell array 10 via a selected word line WL. The column selection circuit 17 supplies a write current to the memory cell array 10 via a selected bit line BL.
[0031] The write / read circuit 19 also includes a read driver (not shown) and a sense amplifier (not shown). A read voltage is applied to the write / read circuit 19 from the voltage generating circuit 18. The read driver is, for example, a constant current driver circuit. The read driver supplies a current based on the read voltage (current used in a read operation, hereinafter also referred to as "read current") to the column selection circuit 17. The column selection circuit 17 supplies a read current to the memory cell array 10 via the selected bit line BL. The sense amplifier determines the data stored in the memory cell MC based on the voltage of the bit line BL. The write / read circuit 19 transmits the determined data to the input / output circuit 11 as read data DAT.
[0032] 1.1.3 Memory cell array configuration The configuration of the memory cell array 10 will be described with reference to FIG. 3. FIG. 3 is a circuit diagram showing an example of the configuration of the memory cell array 10. FIG. 3 shows the circuit configuration of one bank BK included in the memory cell array 10 as an example of the circuit configuration of the memory cell array 10. The other banks BK have the same configuration as that shown in FIG. 3. In FIG. 3, the memory cells MC, word lines WL, and bit lines BL are classified and shown by subscripts including an index ("<>").
[0033] 3, the memory cell array 10 includes a main area MA and a redundancy area RA. The main area MA is an area used mainly for storing data from the outside. When a defective memory cell MC (hereinafter referred to as a "defective cell MC") or a defective bit line BL (hereinafter referred to as a "defective bit line BL") exists in the main area MA, the redundancy area RA is an area used in place of the defective cell MC and the memory cell MC connected to the defective bit line BL.
[0034] The memory cells MC are arranged in a matrix in the memory cell array 10. In other words, the main area MA includes a plurality of memory cells MC arranged in a matrix. The redundancy area RA includes a plurality of memory cells MC arranged in a matrix. Hereinafter, the memory cells MC in the redundancy area RA are also referred to as "redundancy cells MCr." The memory cells MC are connected to a plurality of word lines WL (WL <0> , …, W.L. <m>、…、WL <m>) and multiple bit lines BL (BL <0> , … , BL <n>、…、BL <n>) and a pair of M and N (M and N are integers equal to or greater than 1). That is, the memory cell MC<m,n> (0≦m≦M, 0≦n≦N) is the word line WL <m>and bit line BL <n>The word line WL is connected between the <m>is connected to the row selection circuit 16. <n>is connected to the column selection circuit 17.<m,n> is a switching element SEL connected in series.<m,n> , and magnetoresistance effect element MTJ<m,n> Includes.
[0035] The switching element SEL is a two-terminal switching element. The two-terminal switching element differs from a three-terminal switching element such as a transistor in that it does not include a third terminal. More specifically, for example, when the voltage applied to the corresponding memory cell MC is less than the threshold voltage Vth, the switching element SEL blocks current as an insulator with a high resistance (turns off). When the voltage applied to the corresponding memory cell MC is equal to or greater than the threshold voltage Vth, the switching element SEL passes current as a conductor with a low resistance (turns on). The switching element SEL switches between passing and blocking current depending on the magnitude of the voltage applied to the corresponding memory cell MC, regardless of the polarity of the voltage applied between the two terminals (regardless of the direction of the current flow).
[0036] With the above configuration, when a memory cell MC is selected, the switching element SEL in the selected memory cell MC is turned on, allowing a current to flow through the magnetoresistive element MTJ in the selected memory cell MC.
[0037] The magnetoresistive element MTJ can switch its resistance between a low resistance state and a high resistance state based on the current that flows when the switching element SEL is in the on state. The magnetoresistive element MTJ stores data in a nonvolatile manner by changing the resistance state.
[0038] 1.1.4 Structure of magnetoresistance effect element The structure of the magnetoresistive element MTJ will be described with reference to Fig. 4. Fig. 4 is a cross-sectional view showing an example of the structure of the magnetoresistive element MTJ.
[0039] 4, the magnetoresistance effect element MTJ includes a ferromagnetic material 31 functioning as a reference layer RL (Reference layer), a nonmagnetic material 32 functioning as a tunnel barrier layer TB (Tunnel barrier layer), and a ferromagnetic material 33 functioning as a storage layer SL (Storage layer). The ferromagnetic material 31, the nonmagnetic material 32, and the ferromagnetic material 33 are stacked, for example, above a semiconductor substrate (not shown) in this order. The magnetoresistance effect element MTJ functions as a perpendicular magnetization type magnetoresistance effect element MTJ in which the magnetization directions of the magnetic materials constituting the magnetoresistance effect element MTJ are each perpendicular to the film surface.
[0040] The ferromagnetic body 31 has ferromagnetism and has an easy axis of magnetization in a direction perpendicular to the film surface. The ferromagnetic body 31 includes, for example, cobalt iron boron (CoFeB) or iron boride (FeB). The magnetization direction of the ferromagnetic body 31 is fixed, and in FIG. 4, it faces the opposite surface to the surface on which the non-magnetic body 32 is provided. Note that "the magnetization direction is fixed" means that the magnetization direction does not change due to a current (spin torque) large enough to reverse the magnetization direction of the ferromagnetic body 33.
[0041] The non-magnetic body 32 is a non-magnetic insulating film and contains, for example, magnesium oxide (MgO). The non-magnetic body 32 is provided between the ferromagnetic body 31 and the ferromagnetic body 33. As a result, the ferromagnetic body 31, the non-magnetic body 32, and the ferromagnetic body 33 configure a magnetic tunnel junction.
[0042] The ferromagnetic material 33 has ferromagnetism and has an easy axis of magnetization perpendicular to the film surface. The ferromagnetic material 33 may include, for example, cobalt iron boron (CoFeB) or iron boride (FeB) and may have a body-centered cubic (bcc) crystal structure. The magnetization direction of the ferromagnetic material 33 is variable.
[0043] The magnetoresistive element MTJ can be in either a low resistance state or a high resistance state depending on whether the relative relationship between the magnetization directions of the memory layer SL and the reference layer RL is parallel or antiparallel. In the following, a case where a spin injection write method is used as a method for changing the resistance state of the magnetoresistive element MTJ will be described. In the spin injection write method, a spin torque is generated by passing a write current through the magnetoresistive element MTJ. The generated spin torque controls the magnetization direction of the memory layer SL relative to the magnetization direction of the reference layer RL.
[0044] When a write current Iw0 of a certain magnitude is passed through the magnetoresistive element MTJ in the direction of arrow A1 in FIG. 4, i.e., in the direction from the memory layer SL to the reference layer RL, the relative relationship between the magnetization directions of the memory layer SL and the reference layer RL becomes parallel. In this parallel state, the resistance value of the magnetoresistive element MTJ becomes the lowest, and the magnetoresistive element MTJ is set to a low resistance state. This low resistance state is called a "P (Parallel) state" and is defined as, for example, a data "0" state. Hereinafter, the operation of passing a write current from the memory layer SL to the reference layer RL to set the magnetoresistive element MTJ to a low resistance state is referred to as "write "0".
[0045] Furthermore, when a write current Iw1 larger than the write current Iw0 is passed through the magnetoresistive element MTJ in the direction of the arrow A2 in FIG. 4, i.e., in the direction from the reference layer RL to the memory layer SL, the relative relationship between the magnetization directions of the memory layer SL and the reference layer RL becomes anti-parallel. In this anti-parallel state, the resistance value of the magnetoresistive element MTJ becomes the highest, and the magnetoresistive element MTJ is set to a high resistance state. This high resistance state is called an "AP (Anti-Parallel) state" and is defined as, for example, a state of data "1". Hereinafter, the operation of passing a write current from the reference layer RL to the memory layer SL to set the magnetoresistive element MTJ to a high resistance state is referred to as "write "1".
[0046] Also, when a read current Ir0 is passed through the magnetoresistive element MTJ, the magnetization directions of the memory layer SL and the reference layer RL do not change. The sense amplifier determines whether the resistance state of the magnetoresistive element MTJ is the P state or the AP state based on the voltage of the bit line BL. This allows the sense amplifier to read data from the memory cell MC.
[0047] The method of defining data "0" and data "1" is not limited to the above example. For example, the P state may be defined as data "1" and the AP state may be defined as data "0".
[0048] 1.1.5 Address translation circuit configuration The configuration of the address conversion circuit 13 will be described with reference to Fig. 5. Fig. 5 is a circuit diagram showing an example of the configuration of the address conversion circuit 13. Fig. 5 also shows the input / output circuit 11, the register 14, and the decode circuit 15 together with the address conversion circuit 13.
[0049] As shown in FIG. 5, the address conversion circuit 13 includes a switch circuit 41 and an arithmetic circuit .
[0050] The switch circuit 41 is a circuit that switches between validity and invalidity of the address conversion. The switch circuit 41 includes a switch SW. The switch SW includes a first terminal, a second terminal, and a third terminal. The switch SW is an element that switches the connection between the input / output circuit 11 and the arithmetic circuit 42 and the connection between the input / output circuit 11 and the decode circuit 15. A first terminal of the switch SW is connected to the input / output circuit 11. A second terminal of the switch SW is connected to the arithmetic circuit 42. A third terminal of the switch SW is connected to the decode circuit 15. The switch circuit 41 receives an address ADD from the input / output circuit 11. The switch circuit 41 receives a conversion flag FLG from the register 14. The switch circuit 41 switches the switch SW based on the conversion flag FLG. As a result, the address ADD is transmitted to the arithmetic circuit 42 or the decode circuit 15.
[0051] The arithmetic circuit 42 is a circuit that performs arithmetic processing of address conversion. The arithmetic circuit 42 is connected to the register 14, the switch circuit 41, and the decode circuit 15. The arithmetic circuit 42 receives the conversion parameters PRM from the register 14. The arithmetic circuit 42 receives the address ADD from the switch circuit 41. The arithmetic circuit 42 performs arithmetic processing based on the conversion parameters PRM and the address ADD, and transmits the arithmetic result to the decode circuit 15. Hereinafter, the arithmetic result of the arithmetic circuit 42 will be expressed as f(ADD, PRM) using the conversion function f.
[0052] The conversion function f is a function that inverts any bit of the address ADD between "0" and "1" based on, for example, the conversion parameter PRM. Specifically, for example, the bits to be inverted among all the bits of the address ADD are specified by the conversion parameter PRM. It is possible to freely determine which bits to invert or how many bits to invert. The conversion function f inverts the specified bits of the address ADD using the conversion parameter PRM. This converts the address ADD. In other words, the address conversion circuit 13 performs address conversion using the conversion function f (by the conversion function f using the conversion parameter PRM).
[0053] As a configuration for realizing the arithmetic processing of the transformation function f, the arithmetic circuit 42 includes, for example, an XOR circuit XR. The XOR circuit XR is a circuit that performs an exclusive OR arithmetic processing. The number of XOR circuits XR provided in the arithmetic circuit 42 is, for example, the same as the number of bits of the transformation parameter PRM. That is, when the transformation parameter PRM is 1 bit, the arithmetic circuit 42 includes one XOR circuit XR. When the transformation parameter PRM is 2 bits, the arithmetic circuit 42 includes two XOR circuits XR. The same applies below. Note that the number of XOR circuits XR provided in the arithmetic circuit 42 may be one or more.
[0054] The XOR circuit XR performs an arithmetic process based on, for example, any one bit of the address ADD (hereinafter, referred to as "bit a") and any one bit of the conversion parameter PRM (hereinafter, referred to as "bit p"), and outputs the arithmetic result. Hereinafter, the arithmetic result of the XOR circuit XR will be represented as f(a,p) using the conversion function f. The arithmetic result f(a,p) takes a value in which bit a is inverted, or a value in which bit a is not inverted, depending on bit p.
[0055] When the conversion flag FLG is "1", the switch SW connects between the input / output circuit 11 and the arithmetic circuit 42. This enables the address conversion. The switch circuit 41 transmits the address ADD to the arithmetic circuit 42. The arithmetic circuit 42 converts the address ADD based on the conversion parameter PRM and outputs the converted address f(ADD, PRM). The address conversion circuit 13 transmits f(ADD, PRM) to the decode circuit 15 as the address ADD1. On the other hand, when the conversion flag FLG is "0", the switch SW connects between the input / output circuit 11 and the decode circuit 15. This disables the address conversion. The switch circuit 41 transmits the address ADD to the decode circuit 15 as the address ADD1.
[0056] 1.1.6 Conversion Functions The details of the conversion function f will be described with reference to Fig. 6. Fig. 6 is a diagram for explaining an example of a specific process of the conversion function f.
[0057] In the register 14, for example, "1" is set as the conversion flag FLG. This enables the address conversion. In the register 14, for example, "0000" (4 bits) is set as the conversion parameter PRM. Hereinafter, the 4 bits of the conversion parameter PRM are represented as p0 to p3, respectively.
[0058] The arithmetic circuit 42 includes, for example, four XOR circuits XR. Hereinafter, the four XOR circuits XR are respectively represented as XOR circuits XR0 to XR3, and the arithmetic results of the four XOR circuits XR are respectively represented as f(a0, p0) to f(a3, p3).
[0059] To the arithmetic circuit 42, for example, "00010...01001" (30 bits) is input as the address ADD. Hereinafter, the 30 bits of the address ADD will be represented as a0 to a29, respectively. The arithmetic circuit 42 performs an XOR operation on, for example, the lower 4 bits of the address ADD and the conversion parameter PRM for each corresponding bit. That is, the XOR circuit XR1 performs an XOR operation based on bits p0 and a0. The XOR circuit XR2 performs an XOR operation based on bits p1 and a1. The same applies below. As a result of the XOR operation, f(a0, p0) becomes a value that does not invert bit a0. The same is true for f(a1, p1) to f(a3, p3). Therefore, the operation result f(ADD, PRM) of the arithmetic circuit 42 becomes the same address ("00010...01001" (30 bits)) as the address ADD. In other words, f(ADD, PRM) is an address that is not shifted from the address ADD. The address conversion circuit 13 outputs f(ADD, PRM) as the address ADD1.
[0060] Fig. 7 is a diagram for explaining another example of a specific process of the conversion function f. Fig. 7 is the same as the example of Fig. 6 except for the value of the conversion parameter PRM. In the register 14, for example, "0101" (4 bits) is set as the conversion parameter PRM.
[0061] The arithmetic circuit 42 performs an XOR operation on the lower 4 bits of the address ADD and the conversion parameter PRM for each corresponding bit, for example. As a result of the XOR operation, f(a0, p0) is a value obtained by inverting the bit a0. f(a1, p1) is a value obtained by not inverting the bit a1. f(a2, p2) is a value obtained by inverting the bit a2. f(a3, p3) is a value obtained by not inverting the bit a3. Therefore, the calculation result f(ADD, PRM) of the arithmetic circuit 42 is an address ("00010...01100" (30 bits)) different from the address ADD. In other words, f(ADD, PRM) is an address shifted by 5 from the address ADD (adding 5 to the address ADD). In this way, the conversion parameter PRM can be said to be information indicating the amount by which the address ADD is shifted. The address conversion circuit 13 outputs f(ADD, PRM) as the address ADD1.
[0062] Fig. 8 is a diagram showing the relationship between a memory cell MC specified by an address ADD before the address conversion (hereinafter, referred to as a "memory cell MC before conversion") and a memory cell MC specified by an address ADD1 after the address conversion (hereinafter, referred to as a "memory cell MC after conversion") in the example of Fig. 7. In Fig. 8, the memory cell MC before the conversion is represented by a dotted line, and the memory cell MC after the conversion is represented by a solid line.
[0063] As shown in FIG. 8, the address ADD ("00010...01001" (30 bits)) is converted to the address ADD1 ("00010...01100" (30 bits)) by the conversion function f, so that the memory cell MC after the conversion points to a different memory cell MC than the memory cell MC before the conversion.
[0064] 1.1.7 Conversion parameters The conversion parameters PRM will now be described. The conversion parameters PRM for each chip CP are set, for example, as follows.
[0065] The conversion parameters PRM for each chip CP are set so that, for example, the converted address ADD1 of the chip CP0 is not shifted from the address ADD, and the converted address ADD1 of the chip CPk (k is an integer between 1 and 7) is an address obtained by shifting the address ADD by k. In this case, the conversion parameters PRM of the chip CP0 are set to 0, and the conversion parameters PRM of the chip CPk are set to k. That is, the conversion parameters PRM of the chip CP1 are an integer larger than the conversion parameters PRM of the chip CP0. The conversion parameters PRM of the chip CP2 are an integer larger than the conversion parameters PRM of the chip CP1. Moreover, the difference between the conversion parameters PRM of the chip CP1 and the conversion parameters PRM of the chip CP0 is equal to the difference between the conversion parameters PRM of the chip CP2 and the conversion parameters PRM of the chip CP1.
[0066] The conversion parameter PRM for each chip CP may be set so that, for example, the converted address ADD1 of the chip CP0 is not shifted from the address ADD, and the converted addresses ADD1 of the chips CP1 to CP7 are shifted from the address ADD by the same value (other than 0). In this case, the conversion parameter PRM of the chip CP0 is set to 0, and the conversion parameters PRM of the chips CP1 to CP7 are set to the same value (other than 0). That is, the conversion parameter PRM of the chip CP1 is an integer larger than the conversion parameter PRM of the chip CP0. The conversion parameter PRM of the chip CP2 is the same value as the conversion parameter PRM of the chip CP1.
[0067] The conversion parameters PRM for each chip CP may be set so that, for example, the converted address ADD1 of the chip CP0 is not shifted from the address ADD, and the converted addresses ADD1 of the chips CP1 to CP7 are shifted from the address ADD by a random value (other than 0). In this case, the conversion parameters PRM of the chip CP0 are set to 0, and the conversion parameters PRM of the chips CP1 to CP7 are set to random values (other than 0). For example, the difference between the conversion parameters PRM of the chip CP1 and the conversion parameters PRM of the chip CP0 may be different from the difference between the conversion parameters PRM of the chip CP2 and the conversion parameters PRM of the chip CP1.
[0068] The conversion parameter PRM of the chip CP0 may be set so that the converted address ADD1 of the chip CP0 becomes an address obtained by shifting the address ADD by an arbitrary value (other than 0). In other words, the conversion parameter PRM for each chip CP may be set so that the converted address ADD1 of the chips CP0 to CP7 becomes an address obtained by shifting the address ADD by an arbitrary value (other than 0), for example.
[0069] When the storage device 3 is operated to acquire information on the defective cells MC for each chip CP, the conversion parameters PRM for each chip CP may be set based on the acquired information on the defective cells MC.
[0070] 1.2 Operation The storage device 3 performs a setting operation and an address conversion operation. The setting operation is, for example, an operation of making various settings for the address conversion described above. The address conversion operation is an operation of performing address conversion.
[0071] 1.2.1 Configuration Operation The setting operation will be described with reference to Fig. 9. Fig. 9 is a flow chart showing an example of the setting operation of the storage device 3.
[0072] When the power supply to the storage device 3 is turned on, the power supply to the chip CP is turned on (S100).
[0073] When the power supply of the chip CP is turned on, the control unit 4 acquires the conversion flag FLG and the conversion parameters PRM stored in the ROM 6. The control unit 4 stores the acquired conversion parameters PRM in the register 14 (S101). As a result, the conversion parameters PRM are set in the chip CP. The control unit 4 stores the acquired conversion flag FLG in the register 14 (S102). As a result, the address conversion is set to be enabled or disabled in the chip CP.
[0074] 1.2.2 Address translation operation The address conversion operation will be described with reference to FIG. 10. FIG. 10 is a flowchart showing an example of the address conversion operation of the memory device 3 (chip CP). The address conversion operation is executed, for example, when a write operation or a read operation (access to multiple chip CPs) is performed. The following description will be given taking the case of executing a write operation as an example.
[0075] When the memory controller 2 transmits the command CMD (a command for a write operation) and the address ADD, the chip CP receives the command CMD and the address ADD from the memory controller 2 via the control unit 4 (S110). The address ADD is transmitted to the address conversion circuit 13 via the input / output circuit 11.
[0076] Upon receiving the address ADD from the memory controller 2, the address conversion circuit 13 acquires the conversion parameters PRM stored in the register 14. The address conversion circuit 13 executes an address conversion operation based on the acquired conversion parameters PRM (S111). The address ADD is converted, and the converted address ADD1 is transmitted to the decode circuit 15.
[0077] Upon receiving the address ADD1 from the address conversion circuit 13, the decode circuit 15 decodes the address ADD1. The decode circuit 15 transmits the decoded result to the row selection circuit 16 and the column selection circuit 17. The row selection circuit 16 selects the word line WL based on the decoded result. The column selection circuit 17 selects the bit line BL based on the decoded result. As a result, the chip CP selects the memory cell MC designated by the address ADD1 (S112).
[0078] When the memory cell MC is selected, the write / read circuit 19 executes a write operation on the selected memory cell MC (S113). Note that the address conversion operation is also executed in the same manner when executing a read operation.
[0079] 1.3 Effects of this embodiment According to the first embodiment, it is possible to reduce the defect rate, which is the proportion of defective memory cells in the memory device 3. The defect rate of the memory device 3 refers to the proportion of defective cells MC to all memory cells MC in all main areas MA of the multiple chips CP included in the memory device 3. For example, it refers to the proportion of defective memory cells that have difficulty in properly executing functional operations required as memory cells, including write operations and read operations to the memory cells. This effect will be explained below.
[0080] In a test before shipment of the memory device 3, for example, for each chip CP, a process is performed in which a defective cell MC in the main area MA of the memory cell array 10 is made unusable and a redundancy cell MCr in the redundancy area RA of the memory cell array 10 is made usable in place of the defective cell MC (hereinafter, referred to as "redundancy rescue"). The correspondence between the defective cell MC and the redundancy cell MCr made usable in place of the defective cell MC is stored as redundancy information RDI, for example, in the ROM 6 of the control unit 4 for each chip CP.
[0081] Even if redundancy relief is performed, there is a possibility that defective cells MC remain in the chip CP. For this reason, for example, an ECC circuit in the memory controller 2 performs error correction processing on an arbitrary number of memory cells MC in all chips CP in the memory device 3 as an error correction unit (hereinafter, referred to as an "ECC unit"). However, if the total number of error bits in each chip CP exceeds the number of bits that can be corrected for errors in an ECC unit, there is a possibility that defective cells MC that cannot be corrected for errors will occur in the chip CP. In other words, there is a possibility that defective cells MC in the chip CP cannot be relieved.
[0082] For example, when multiple chips CP of the same wafer are used in the memory device 3, if a memory cell MC at an address of one chip CP is a defective cell MC, there is a relatively high possibility that a memory cell MC at the same address of another chip CP is also a defective cell MC. In such a case, if the address ADD is not converted, memory cells MC designated by the same address ADD of multiple chips CP are accessed simultaneously. In this case, as described above, there is a possibility that a defective cell MC that cannot be corrected for an error occurs in the chip CP.
[0083] In contrast, the memory device 3 according to this embodiment includes a control unit 4 and a plurality of chips CP. The control unit 4 includes a ROM 6. The ROM 6 stores a conversion parameter PRM for each chip CP. The chip CP includes an address conversion circuit 13. The address conversion circuit 13 converts the address ADD based on the conversion parameter PRM. Specifically, the address conversion circuit 13 inverts a specified bit of the address ADD using the conversion parameter PRM. The address conversion circuit 13 transmits the converted address ADD1 to the decode circuit 15. This makes it possible to avoid access to memory cells MC that are relatively likely to be defective cells MC. This makes it possible to reduce the possibility of occurrence of defective cells MC that cannot be error-corrected in the chip CP. This makes it possible to reduce the maximum number of defects in memory cells MC in ECC units. Furthermore, even if there are some chips CPs in which the ratio of defective cells to all memory cells MC in the main area MA is relatively high, the defect rate of the memory device 3 as a whole can be optimized. Therefore, according to this embodiment, the defect rate of the memory device 3 can be reduced.
[0084] 11 is a diagram showing the results of error detection by the ECC circuit in the memory device of the comparative example and the memory device 3 of this embodiment. In FIG. 11, the word lines WL shown by dotted lines indicate defective word lines WL. The bit lines BL shown by dotted lines indicate defective bit lines BL. The squares shown by dotted lines indicate defective cells MC. The squares shown by solid lines indicate normal memory cells MC.
[0085] In the memory device of the comparative example, the address ADD is not converted in chips CP0 to CP7, and the same address ADD is accessed simultaneously. As shown in FIG. 11, in chips CP0 to CP7 in the memory device of the comparative example, squares represent memory cells MC specified by the address ADD. Of the eight memory cells MC specified by the address ADD, four memory cells MC (memory cells MC of chips CP0, CP1, CP2, and CP4) are defective cells MC. Therefore, in the memory device of the comparative example, a four-bit error is detected by the ECC circuit.
[0086] On the other hand, in the memory device 3 of this embodiment, the address ADD is converted by the address conversion circuit 13 in the chips CP0 to CP7, and the converted address ADD1 is accessed simultaneously.
[0087] Specifically, the address conversion circuit 13 inverts a specified bit of the address ADD using the conversion parameter PRM. The conversion parameter PRM of chip CP0 is set to 0 ("0000"). The conversion parameter PRM of chip CP1 is set to 1 ("0001"). The conversion parameter PRM of chip CP2 is set to 2 ("0010"). The conversion parameter PRM of chip CP3 is set to 3 ("0011"). The conversion parameter PRM of chip CP4 is set to 4 ("0100"). The conversion parameter PRM of chip CP5 is set to 5 ("0101"). The conversion parameter PRM of chip CP6 is set to 6 ("0110"). The conversion parameter PRM of chip CP7 is set to 7 ("0111") The address ADD of the chip CP0 is not converted, but the address ADD of the chip CPk+1 (k is an integer between 0 and 6) is converted to the address ADD1 shifted by 1 from the address ADD1 of the chip CPk (1 added to the address ADD1 of the chip CPk).
[0088] 11, in chips CP0 to CP7 in the memory device 3 of this embodiment, squares represent memory cells MC specified by address ADD1. Of the eight memory cells MC specified by address ADD1, two memory cells MC (memory cells MC of chips CP0 and CP2) are defective cells MC. Therefore, in the memory device 3 of this embodiment, a two-bit error is detected by the ECC circuit.
[0089] In this way, the number of defective bits in the memory cells MC in the memory device 3 of this embodiment is smaller than the number of defective bits in the memory cells MC in the memory device of the comparative example. Therefore, according to this embodiment, the maximum number of defective memory cells MC in ECC units can be reduced.
[0090] 1.4 First variant A storage device according to a first modification of the first embodiment will be described. In the storage device according to the first modification of the first embodiment, the conversion function f is different from that of the first embodiment. In the following description, the differences from the first embodiment will be mainly described.
[0091] 1.4.1 Conversion Functions The conversion function f is a function that vertically and horizontally inverts a position in the main area MA of the memory cell array 10 specified by the address ADD based on, for example, the conversion parameter PRM. Specifically, for example, the inversion of the position is specified by the conversion parameter PRM. The conversion function f vertically and horizontally inverts a position specified by the address ADD based on the conversion parameter PRM. This converts the address ADD.
[0092] The details of the conversion function f will be described with reference to Fig. 12. Fig. 12 is a diagram for explaining an example of a specific process of the conversion function f.
[0093] In the register 14, for example, "1" is set as the conversion flag FLG. This enables the address conversion. In the register 14, for example, "11111...10111" (30 bits) is set as the conversion parameter PRM. Hereinafter, the 30 bits of the conversion parameter PRM are respectively represented as p0 to p29.
[0094] The arithmetic circuit 42 includes, for example, 30 XOR circuits XR. Hereinafter, the 30 XOR circuits XR are respectively represented as XOR circuits XR0 to XR29, and the arithmetic results of the 30 XOR circuits XR are respectively represented as f(a0, p0) to f(a29, p29).
[0095] For example, "00000...00000" (30 bits) is input to the calculation circuit 42 as the address ADD. The calculation circuit 42 performs an XOR operation on the address ADD and the conversion parameter PRM for each corresponding bit. As a result of the XOR operation, f(a0, p0) becomes a value with the bit a0 inverted. The same applies to f(a1, p1), f(a2, p2), and f(a4, p4) to f(a29, p29). f(a3, p3) becomes a value with the bit a3 not inverted. Therefore, the calculation result f(ADD, PRM) of the calculation circuit 42 becomes an address ("11111...10111" (30 bits)) different from the address ADD. The address conversion circuit 13 outputs f(ADD, PRM) as the address ADD1.
[0096] Fig. 13 is a diagram showing the relationship between memory cells MC before conversion and memory cells MC after conversion in the example of Fig. 12. In Fig. 13, the memory cells MC before conversion are represented by dotted lines, and the memory cells MC after conversion are represented by solid lines.
[0097] As shown in Figure 13, the address ADD ("00000...00000" (30 bits)) is converted to address ADD1 ("11111...10111" (30 bits)) by the conversion function f, so that the memory cell MC after conversion points to a different memory cell MC from the memory cell MC before conversion. Furthermore, in the main area MA, the memory cell MC after conversion is located at a position that is vertically and horizontally inverted from the position of the memory cell MC before conversion.
[0098] Fig. 14 is a diagram for explaining another example of a specific process of the conversion function f. Fig. 14 is the same as the example of Fig. 12 except for the value of the address ADD.
[0099] For example, "10000...00000" (30 bits) is input to the calculation circuit 42 as the address ADD. The calculation circuit 42 performs an XOR operation on the address ADD and the conversion parameter PRM for each corresponding bit. As a result of the XOR operation, f(a0, p0) becomes a value with the bit a0 inverted. The same applies to f(a1, p1), f(a2, p2), and f(a4, p4) to f(a29, p29). f(a3, p3) becomes a value with the bit a3 not inverted. Therefore, the calculation result f(ADD, PRM) of the calculation circuit 42 becomes an address ("01111...10111" (30 bits)) different from the address ADD. The address conversion circuit 13 outputs f(ADD, PRM) as the address ADD1.
[0100] Fig. 15 is a diagram showing the relationship between memory cells MC before conversion and memory cells MC after conversion in the example of Fig. 14. In Fig. 15, the memory cells MC before conversion are represented by dotted lines, and the memory cells MC after conversion are represented by solid lines.
[0101] As shown in Figure 15, the address ADD ("10000...00000" (30 bits)) is converted to address ADD1 ("01111...10111" (30 bits)) by the conversion function f, so that the memory cell MC after conversion points to a different memory cell MC from the memory cell MC before conversion. Furthermore, in the main area MA, the memory cell MC after conversion is located at a position that is vertically and horizontally inverted from the position of the memory cell MC before conversion.
[0102] 1.4.2 Effects of this modification According to this modification, the same effects as those of the first embodiment are achieved.
[0103] 1.5 Second variant A storage device according to a second modified example of the first embodiment will be described. In the storage device according to the second modified example of the first embodiment, the control unit 4, the address conversion circuit 13, and the conversion function f are different from those of the first embodiment. In the following description, the differences from the first embodiment will be mainly described.
[0104] 1.5.1 Conversion parameters The conversion parameters PRM stored in the ROM 6 of the control unit 4 for each chip CP are further stored for each bank BK. That is, the ROM 6 stores conversion parameters PRM0 to PRMi for each chip CP. The conversion parameters PRM0 to PRMi correspond to the banks BK0 to BKi, respectively. The conversion parameters PRM0 to PRMi for each chip CP are set in the same manner as in the first embodiment. In the following, for simplicity of explanation, an example will be explained in which the number of banks BK is two, that is, the conversion parameters PRM0 and PRM1 are stored in the ROM 6 for each chip CP.
[0105] 1.5.2 Address translation circuit configuration The configuration of the address conversion circuit 13 will be described with reference to Fig. 16. Fig. 16 is a circuit diagram showing an example of the configuration of the address conversion circuit 13. Fig. 16 also shows the input / output circuit 11, the register 14, and the decode circuit 15 together with the address conversion circuit 13.
[0106] As shown in FIG. 16, the address conversion circuit 13 includes a multiplexer 43 in addition to the configuration shown in the first embodiment.
[0107] The multiplexer 43 is a circuit that selects one of the conversion parameters PRM0 and PRM1. The multiplexer 43 is connected to the input / output circuit 11, the register 14, and the arithmetic circuit 42. The multiplexer 43 receives the address ADD from the input / output circuit 11. The multiplexer 43 receives the conversion parameters PRM0 and PRM1 from the register 14. The multiplexer 43 selects one of the conversion parameters PRM0 and PRM1 based on the address ADD. For example, if the most significant bit of the address ADD is "0", it is defined as an address in bank BK0, and if the most significant bit is "1", it is defined as an address in bank BK1.
[0108] If the most significant bit of the address ADD is "0", the multiplexer 43 selects the conversion parameter PRM0. If the most significant bit of the address ADD is "1", the multiplexer 43 selects the conversion parameter PRM1. The multiplexer 43 transmits the selected conversion parameter PRM0 or PRM1 to the arithmetic circuit 42.
[0109] 1.5.3 Conversion Functions The conversion function f is a function that inverts the "0" and "1" of any bit of the address ADD in the bank BKi based on, for example, the conversion parameter PRMi. Specifically, for example, the bit to be inverted among all the bits of the address ADD is specified by the conversion parameter PRMi. The conversion function f inverts the specified bit of the address ADD in the bank BKi using the conversion parameter PRMi. In this way, the address ADD is converted for each bank BKi.
[0110] The details of the conversion function f will be described with reference to Fig. 17. Fig. 17 is a diagram for explaining an example of a specific process of the conversion function f.
[0111] In the register 14, for example, "1" is set as the conversion flag FLG. This enables the address conversion. In the register 14, for example, "0101" (4 bits) is set as the conversion parameter PRM0. In the register 14, for example, "0010" (4 bits) is set as the conversion parameter PRM1.
[0112] To the multiplexer 43, for example, "00010...01001" (30 bits) is input as the address ADD in bank BK0. To the multiplexer 43, "0101" (4 bits) is input as the conversion parameter PRM0. To the multiplexer 43, "0010" (4 bits) is input as the conversion parameter PRM1. Based on the address ADD, the multiplexer 43 selects the conversion parameter PRM0. The multiplexer 43 transmits the conversion parameter PRM0 to the arithmetic circuit 42.
[0113] The arithmetic circuit 42 receives "00010...01001" (30 bits) as the address ADD in the bank BK0. The arithmetic circuit 42 performs an XOR operation on, for example, the lower 4 bits of the address ADD and the conversion parameter PRM0 for each corresponding bit. As a result of the XOR operation, f(a0, p0) is a value obtained by inverting the bit a0. f(a1, p1) is a value obtained by not inverting the bit a1. f(a2, p2) is a value obtained by inverting the bit a2. f(a3, p3) is a value obtained by not inverting the bit a3. Therefore, the operation result f(ADD, PRM) of the arithmetic circuit 42 is an address ("00010...01100" (30 bits)) different from the address ADD. In other words, f(ADD, PRM) is an address shifted by 5 from the address ADD (5 is added to the address ADD). The address conversion circuit 13 outputs f(ADD, PRM) as the address ADD1.
[0114] Fig. 18 is a diagram showing the relationship between memory cells MC before conversion and memory cells MC after conversion in the example of Fig. 17. In Fig. 18, the memory cells MC before conversion are represented by dotted lines, and the memory cells MC after conversion are represented by solid lines.
[0115] As shown in FIG. 18, the address ADD ("00010...01001" (30 bits)) is converted to address ADD1 ("00010...01100" (30 bits)) by the conversion function f, so that in bank BK0, the memory cell MC after the conversion points to a different memory cell MC than the memory cell MC before the conversion.
[0116] Fig. 19 is a diagram for explaining another example of a specific process of the conversion function f. Fig. 19 is the same as the example of Fig. 17 except for the value of the address ADD.
[0117] For example, “10111...01101” (30 bits) is input to the multiplexer 43 as the address ADD in the bank BK1. The multiplexer 43 selects the conversion parameter PRM1 based on the address ADD. The multiplexer 43 transmits the conversion parameter PRM1 to the arithmetic circuit .
[0118] The arithmetic circuit 42 receives "10111...01101" (30 bits) as the address ADD in the bank BK1. The arithmetic circuit 42 performs an XOR operation on, for example, the lower 4 bits of the address ADD and the conversion parameter PRM1 for each corresponding bit. As a result of the XOR operation, f(a0, p0) becomes a value in which the bit a0 is not inverted. f(a1, p1) becomes a value in which the bit a1 is inverted. f(a2, p2) becomes a value in which the bit a2 is not inverted. f(a3, p3) becomes a value in which the bit a3 is not inverted. Therefore, the operation result f(ADD, PRM) of the arithmetic circuit 42 becomes an address ("10111...01111" (30 bits)) different from the address ADD. In other words, f(ADD, PRM) becomes an address shifted by 2 from the address ADD (2 is added to the address ADD). The address conversion circuit 13 outputs f(ADD, PRM) as the address ADD1.
[0119] Fig. 20 is a diagram showing the relationship between memory cells MC before conversion and memory cells MC after conversion in the example of Fig. 19. In Fig. 20, the memory cells MC before conversion are represented by dotted lines, and the memory cells MC after conversion are represented by solid lines.
[0120] As shown in FIG. 20, the address ADD ("10111...01101" (30 bits)) is converted to address ADD1 ("10111...01111" (30 bits)) by the conversion function f, so that in bank BK1, the memory cell MC after the conversion points to a different memory cell MC than the memory cell MC before the conversion.
[0121] 1.5.4 Effects of this Modification According to this modification, the same effects as those of the first embodiment are achieved.
[0122] 2. Second embodiment A memory device according to the second embodiment will be described. In the memory device according to the second embodiment, the configuration of the chip CP is different from that of the first embodiment. In the following description, the differences from the first embodiment will be mainly described.
[0123] 2.1 Redundancy Information Redundancy information (table) RDI is stored for each chip CP in the ROM 6 of the control unit 4. The redundancy information RDI will be described with reference to Fig. 21. Fig. 21 is a conceptual diagram showing an example of the redundancy information RDI.
[0124] The redundancy information RDI stores the address of a defective cell MC that is disabled and the address of a redundancy cell MCr that is enabled to use in place of the defective cell MC. As shown in Fig. 21, each entry of the redundancy information RDI includes the address of the defective cell MC and the address of the redundancy cell MCr.
[0125] 2.2 Chip configuration The configuration of the chip CP will be described with reference to Fig. 22. Fig. 22 is a block diagram showing an example of the configuration of the chip CP.
[0126] The input / output circuit 11 receives redundancy information RDI in addition to a control signal CNT, a command CMD, an address ADD, data (write data) DAT, a conversion flag FLG, and a conversion parameter PRM from the control unit 4 via the bus 5. The input / output circuit 11 transmits the redundancy information RDI to the register 14 in addition to the conversion flag FLG and the conversion parameter PRM.
[0127] The register 14 receives redundancy information RDI from the input / output circuit 11 in addition to the conversion flag FLG and the conversion parameter PRM.
[0128] The chip CP includes a redundancy determination circuit 20 in addition to the configuration shown in the first embodiment.
[0129] The redundancy judgment circuit 20 is a circuit that performs redundancy judgment on the address ADD1 transmitted from the address conversion circuit 13. The redundancy judgment is, for example, a process of judging whether or not a memory cell MC designated by the address ADD1 converted by the address conversion circuit 13 is a defective cell MC.
[0130] The redundancy judgment circuit 20 receives an address ADD1 from the address conversion circuit 13. The redundancy judgment circuit 20 acquires redundancy information RDI from the register 14. The redundancy judgment circuit 20 searches the redundancy information RDI. If the address ADD1 exists as the address of a defective cell MC in the redundancy information RDI, the redundancy judgment circuit 20 judges that the memory cell MC specified by the address ADD1 is a defective cell MC and has been replaced with a redundancy cell MCr. In this case, the redundancy judgment circuit 20 transmits the address of the redundancy cell MCr corresponding to the address ADD1 in the redundancy information RDI as an address ADD2 to the decode circuit 15. On the other hand, if the address ADD1 does not exist as the address of a defective cell MC in the redundancy information RDI, the redundancy judgment circuit 20 judges that the memory cell MC specified by the address ADD1 is not a defective cell MC. In this case, the redundancy determination circuit 20 transmits the address ADD1 to the decode circuit 15 as the address ADD2.
[0131] 2.3 Redundancy Judgment Operation The storage device 3 performs a redundancy determination operation in addition to the address conversion operation. The redundancy determination operation is an operation for performing the above-mentioned redundancy determination. The redundancy determination operation is executed, for example, after the address conversion operation.
[0132] The redundancy determination operation will be described with reference to FIG. 23. FIG. 23 is a flowchart showing an example of the redundancy determination operation of the memory device 3 (chip CP). The redundancy determination operation is executed, for example, when a write operation or a read operation (access to a plurality of chip CPs) is performed. The following description will be given taking the execution of a write operation as an example. In FIG. 23, step S121 is added between steps S111 and S112 in FIG. 10 shown in the first embodiment.
[0133] When step S111 is executed as in the first embodiment, the redundancy judgment circuit 20 executes a redundancy judgment operation (S121). After executing the redundancy judgment operation, the redundancy judgment circuit 20 transmits the address ADD2 obtained by the redundancy judgment operation to the decode circuit 15. After the address ADD2 is transmitted, steps S112 and S113 are executed as in the first embodiment. Note that the redundancy judgment operation is also executed in the same manner when a read operation is executed.
[0134] 2.4 Effects of this embodiment According to this embodiment, the same effects as those of the first embodiment are achieved.
[0135] Also, after the address conversion operation is performed, the converted address ADD1 may be the address of the defective cell MC in the redundancy information RDI. The memory device 3 according to this embodiment includes a redundancy judgment circuit 20. The ROM 6 of the control unit 4 stores redundancy information RDI for each chip CP. The redundancy judgment circuit 20 judges whether or not the memory cell MC designated by the address ADD1 converted by the address conversion circuit 13 is a defective cell MC. When the address ADD1 exists as the address of the defective cell MC in the redundancy information RDI, the redundancy judgment circuit 20 transmits the address of the redundancy cell MCr corresponding to the address ADD1 in the redundancy information RDI as the address ADD2 to the decode circuit 15. On the other hand, when the address ADD1 does not exist as the address of the defective cell MC in the redundancy information RDI, the redundancy judgment circuit 20 transmits the address ADD1 as the address ADD2 to the decode circuit 15. This makes it possible to avoid access to the memory cells MC stored as defective cells MC in the redundancy information RDI. Of course, the first and second modified examples of the first embodiment can also be applied to the memory device 3 according to this embodiment.
[0136] 3. Modifications As described above, the storage device according to the embodiment includes a first memory chip (CP0) including a plurality of first memory cells (MC) and a first circuit (13) that performs address conversion using a conversion function (f), and a second circuit (4) connected to the first memory chip (CP0). The second circuit (4) sets a first parameter (PRM) in the first memory chip (CP0). When a first address (ADD) is transmitted from the second circuit (4) to the first memory chip (CP0) and the first memory chip (CP0) is accessed, the first address (ADD) is converted to a second address (ADD1) in the first memory chip (CP0) by the conversion function (f) using the first parameter (PRM), and one of the plurality of first memory cells (MC) designated by the second address (ADD1) is accessed.
[0137] The embodiment is not limited to the above-described embodiment, and various modifications are possible.
[0138] Furthermore, in the flowcharts described in the above embodiments, the order of the processes can be changed as much as possible.
[0139] Although some embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These embodiments can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and their modifications are included in the scope of the invention and its equivalents described in the claims, as well as in the scope and spirit of the invention. [Explanation of symbols]
[0140] 1...memory system, 2...memory controller, 3...storage device, 4...control unit, 5...bus, 6...ROM, 10...memory cell array, 11...input / output circuit, 12...control circuit, 13...address conversion circuit, 14...register, 15...decode circuit, 16...row selection circuit, 17...column selection circuit, 18...voltage generation circuit, 19...write / read circuit, 20...redundancy determination circuit, 31...ferromagnetic material, 32...non-magnetic material, 33...ferromagnetic material, 41...switch circuit, 42...arithmetic circuit, 43...multiplexer< / n> < / m> < / n> < / m> < / n> < / n> < / m> < / m>
Claims
1. a plurality of first memory cells; a first circuit for performing address conversion using a conversion function; a first memory chip including: a second circuit coupled to the first memory chip; Equipped with the second circuit sets a first parameter in the first memory chip; when a first address is transmitted from the second circuit to the first memory chip and the first memory chip is accessed, In the first memory chip, the first address is converted into a second address by the conversion function using the first parameter, and one of the first memory cells designated by the second address is accessed. storage device.
2. The second address is the same as the first address. The storage device according to claim 1.
3. The second address is different from the first address. The storage device according to claim 1.
4. The first memory chip includes: a third circuit for storing the first parameter; Further comprising: The storage device according to claim 1.
5. The conversion function is a function that inverts any bit of the address. The storage device according to claim 1.
6. The conversion function is a function that inverts the position designated by the address vertically and horizontally. The storage device according to claim 1.
7. The first memory chip includes: a fourth circuit for performing redundancy determination on the address converted by the first circuit; Further comprising: in the first memory chip, after the first address is converted into the second address and before the one of the plurality of first memory cells is accessed, a redundancy determination is performed on the second address by the fourth circuit; The storage device according to claim 1.
8. a plurality of second memory cells; a fifth circuit for performing address conversion using the conversion function; a second memory chip connected to the second circuit; Further comprising: the second circuit sets a second parameter, different from the first parameter, in the second memory chip; the first address is transmitted from the second circuit to the first memory chip and the second memory chip, and when the first memory chip and the second memory chip are accessed, In the first memory chip, the first address is converted into the second address, which is the same as the first address, by the conversion function using the first parameter, and the one of the first memory cells designated by the second address is accessed; In the second memory chip, the first address is converted into a third address different from the first address by the conversion function using the second parameter, and one of the plurality of second memory cells designated by the third address is accessed. The storage device according to claim 1.
9. The conversion function is a function that inverts any bit of an address, the first parameter is 0 and the second parameter is an integer greater than the first parameter; The storage device according to claim 8.
10. a plurality of third memory cells; a sixth circuit for performing address conversion using the conversion function; a third memory chip, connected to the second circuit; Further comprising: the second circuit sets a third parameter, which is different from the first parameter, in the third memory chip; the first address is transmitted from the second circuit to the first memory chip, the second memory chip, and the third memory chip, and when the first memory chip, the second memory chip, and the third memory chip are accessed, In the third memory chip, the first address is converted into a third address different from the first address by the conversion function using the third parameter, and one of the plurality of third memory cells designated by the third address is accessed. The storage device according to claim 8.
11. The conversion function is a function that inverts any bit of an address, the second address is different from the third address, the first parameter is 0, the second parameter is an integer greater than the first parameter, and the third parameter is an integer greater than the second parameter; The storage device according to claim 10.
12. a difference between the second parameter and the first parameter is equal to a difference between the third parameter and the second parameter; The storage device according to claim 11.
13. a difference between the second parameter and the first parameter is different from a difference between the third parameter and the second parameter; The storage device according to claim 11.
14. The conversion function is a function that inverts any bit of an address, the second address is the same as the third address, The first parameter is 0, and the second parameter is an integer greater than the first parameter and has the same value as the third parameter. The storage device according to claim 10.
15. the first memory cells include variable resistance elements; The storage device according to claim 1.
16. The variable resistance element is a magnetoresistance effect element. The storage device according to claim 15.
17. a plurality of first memory cells; a first circuit for performing address conversion using a conversion function; a first memory chip including: a second circuit coupled to the first memory chip; A method for driving a storage device, comprising: setting a first parameter in the first memory chip from the second circuit; when a first address is transmitted from the second circuit to the first memory chip and the first memory chip is accessed, converting the first address to a second address by the conversion function using the first parameter; accessing one of the first memory cells designated by the second address; Equipped with Drive method.
18. The first memory chip includes: a third circuit for performing redundancy determination on the address converted by the first circuit; Further comprising: The driving method includes: performing a redundancy determination on the second address after the first address is converted to the second address and before the one of the plurality of first memory cells is accessed; Further comprising: The driving method according to claim 17.
Citation Information
Patent Citations
Nonvolatile Semiconductor Memory Drive and Data Management Method of Nonvolatile Semiconductor Memory Drive
US20100161883A1
Memory system and method of controlling memory system
US20150236716A1
