WO2018079931A1 - 자기 저항 메모리 모듈 및 이를 포함하는 컴퓨팅 디바이스 - Google Patents

자기 저항 메모리 모듈 및 이를 포함하는 컴퓨팅 디바이스 Download PDF

Info

Publication number
WO2018079931A1
WO2018079931A1 PCT/KR2016/014687 KR2016014687W WO2018079931A1 WO 2018079931 A1 WO2018079931 A1 WO 2018079931A1 KR 2016014687 W KR2016014687 W KR 2016014687W WO 2018079931 A1 WO2018079931 A1 WO 2018079931A1
Authority
WO
WIPO (PCT)
Prior art keywords
memory
magnetoresistive
cell
scrubbing
stt
Prior art date
Application number
PCT/KR2016/014687
Other languages
English (en)
French (fr)
Inventor
정명수
Original Assignee
주식회사 맴레이
연세대학교 산학협력단
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 맴레이, 연세대학교 산학협력단 filed Critical 주식회사 맴레이
Publication of WO2018079931A1 publication Critical patent/WO2018079931A1/ko
Priority to US16/357,435 priority Critical patent/US10824365B2/en

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/02Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using magnetic elements
    • G11C11/16Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using magnetic elements using elements in which the storage effect is based on magnetic spin effect
    • G11C11/165Auxiliary circuits
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0646Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
    • G06F3/0652Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1008Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices
    • G06F11/1048Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices using arrangements adapted for a specific error detection or correction feature
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1008Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices
    • G06F11/1048Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices using arrangements adapted for a specific error detection or correction feature
    • G06F11/106Correcting systematically all correctable errors, i.e. scrubbing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0608Saving storage space on storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/004Artificial life, i.e. computing arrangements simulating life
    • G06N3/006Artificial life, i.e. computing arrangements simulating life based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/02Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using magnetic elements
    • G11C11/16Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using magnetic elements using elements in which the storage effect is based on magnetic spin effect
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/02Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using magnetic elements
    • G11C11/16Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using magnetic elements using elements in which the storage effect is based on magnetic spin effect
    • G11C11/161Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using magnetic elements using elements in which the storage effect is based on magnetic spin effect details concerning the memory cell structure, e.g. the layers of the ferromagnetic memory cell
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/02Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using magnetic elements
    • G11C11/16Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using magnetic elements using elements in which the storage effect is based on magnetic spin effect
    • G11C11/165Auxiliary circuits
    • G11C11/1675Writing or programming circuits or methods
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/56Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using storage elements with more than two stable states represented by steps, e.g. of voltage, current, phase, frequency
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/56Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using storage elements with more than two stable states represented by steps, e.g. of voltage, current, phase, frequency
    • G11C11/5607Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using storage elements with more than two stable states represented by steps, e.g. of voltage, current, phase, frequency using magnetic storage elements
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/06Auxiliary circuits, e.g. for writing into memory
    • G11C16/34Determination of programming status, e.g. threshold voltage, overprogramming or underprogramming, retention
    • G11C16/349Arrangements for evaluating degradation, retention or wearout, e.g. by counting erase cycles
    • G11C16/3495Circuits or methods to detect or delay wearout of nonvolatile EPROM or EEPROM memory devices, e.g. by counting numbers of erase or reprogram cycles, by using multiple memory areas serially or cyclically
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01FMAGNETS; INDUCTANCES; TRANSFORMERS; SELECTION OF MATERIALS FOR THEIR MAGNETIC PROPERTIES
    • H01F10/00Thin magnetic films, e.g. of one-domain structure
    • H01F10/32Spin-exchange-coupled multilayers, e.g. nanostructured superlattices
    • H01F10/324Exchange coupling of magnetic film pairs via a very thin non-magnetic spacer, e.g. by exchange with conduction electrons of the spacer
    • H01F10/3254Exchange coupling of magnetic film pairs via a very thin non-magnetic spacer, e.g. by exchange with conduction electrons of the spacer the spacer being semiconducting or insulating, e.g. for spin tunnel junction [STJ]
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05KPRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
    • H05K1/00Printed circuits
    • H05K1/18Printed circuits structurally associated with non-printed electric components
    • H05K1/181Printed circuits structurally associated with non-printed electric components associated with surface mounted components
    • HELECTRICITY
    • H10SEMICONDUCTOR DEVICES; ELECTRIC SOLID-STATE DEVICES NOT OTHERWISE PROVIDED FOR
    • H10BELECTRONIC MEMORY DEVICES
    • H10B61/00Magnetic memory devices, e.g. magnetoresistive RAM [MRAM] devices
    • H10B61/20Magnetic memory devices, e.g. magnetoresistive RAM [MRAM] devices comprising components having three or more electrodes, e.g. transistors
    • H10B61/22Magnetic memory devices, e.g. magnetoresistive RAM [MRAM] devices comprising components having three or more electrodes, e.g. transistors of the field-effect transistor [FET] type
    • HELECTRICITY
    • H10SEMICONDUCTOR DEVICES; ELECTRIC SOLID-STATE DEVICES NOT OTHERWISE PROVIDED FOR
    • H10NELECTRIC SOLID-STATE DEVICES NOT OTHERWISE PROVIDED FOR
    • H10N50/00Galvanomagnetic devices
    • H10N50/10Magnetoresistive devices
    • HELECTRICITY
    • H10SEMICONDUCTOR DEVICES; ELECTRIC SOLID-STATE DEVICES NOT OTHERWISE PROVIDED FOR
    • H10NELECTRIC SOLID-STATE DEVICES NOT OTHERWISE PROVIDED FOR
    • H10N50/00Galvanomagnetic devices
    • H10N50/80Constructional details
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/02Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using magnetic elements
    • G11C11/16Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using magnetic elements using elements in which the storage effect is based on magnetic spin effect
    • G11C11/165Auxiliary circuits
    • G11C11/1673Reading or sensing circuits or methods
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01FMAGNETS; INDUCTANCES; TRANSFORMERS; SELECTION OF MATERIALS FOR THEIR MAGNETIC PROPERTIES
    • H01F10/00Thin magnetic films, e.g. of one-domain structure
    • H01F10/32Spin-exchange-coupled multilayers, e.g. nanostructured superlattices
    • H01F10/324Exchange coupling of magnetic film pairs via a very thin non-magnetic spacer, e.g. by exchange with conduction electrons of the spacer
    • H01F10/329Spin-exchange coupled multilayers wherein the magnetisation of the free layer is switched by a spin-polarised current, e.g. spin torque effect
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05KPRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
    • H05K2201/00Indexing scheme relating to printed circuits covered by H05K1/00
    • H05K2201/10Details of components or other objects attached to or integrated in a printed circuit board
    • H05K2201/10007Types of components
    • H05K2201/10159Memory
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05KPRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
    • H05K2201/00Indexing scheme relating to printed circuits covered by H05K1/00
    • H05K2201/10Details of components or other objects attached to or integrated in a printed circuit board
    • H05K2201/10007Types of components
    • H05K2201/10166Transistor
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05KPRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
    • H05K2201/00Indexing scheme relating to printed circuits covered by H05K1/00
    • H05K2201/10Details of components or other objects attached to or integrated in a printed circuit board
    • H05K2201/10431Details of mounted components
    • H05K2201/10507Involving several components
    • H05K2201/10522Adjacent components
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present invention relates to a magnetoresistive memory module and a computing device including the same.
  • DRAM dynamic random-access memory
  • recent data-intensive applications require terabytes of operating memory, and research has been conducted toward reducing the size of DRAM cells.
  • off-state leakage current increases, data retention time decreases, and frequent refresh operations are required. Frequent refresh operations increase power consumption, and leakage current in the off state can flow into the bit lines, causing errors, resulting in poor reliability.
  • magnetoresistive memory in particular, spin-transfer torque magnetoresistive random-access memory (STT-MRAM) has attracted attention as an alternative memory of DRAM.
  • STT-MRAM spin-transfer torque magnetoresistive random-access memory
  • the main obstacle is the size of the cell area. Since typical STT-MRAM cells are five to six times larger than DRAM cells, it is difficult to meet the density required for main memory with STT-MRAM.
  • Another problem with STT-MRAM is that the write process physically alters the magnetization configuration of the magnetic tunnel junction (MTJ) with a large write current, resulting in high energy consumption. Accordingly, despite the advantages of the magnetoresistive memory, the magnetoresistive memory cannot be used as the main memory.
  • MTJ magnetic tunnel junction
  • An object of the present invention is to provide a magnetoresistive memory module that can be used as a main memory of a computing device and a computing device including the same.
  • a printed circuit board a plurality of memory chips mounted on the printed circuit board, and a memory controller for performing data scrubbing (data scrubbing) on the data stored in the plurality of memory chips
  • a magnetoresistive memory module is provided.
  • Each memory chip includes a plurality of magnetoresistive memory cells.
  • Each magnetoresistive memory cell includes a magnetoresistive element and an access transistor for delivering current to the magnetoresistive element and has a size of a cell region substantially similar to that of a DRAM cell region used as a main memory of the computing device.
  • the magnetoresistive memory cell may be an STT-MRA cell using an MTJ element as the magnetoresistive element.
  • the size of the access memory may be 9-12F 2 .
  • the DRAM cell may be a DRAM cell applied to a dual in-line memory module (DIMM).
  • DIMM dual in-line memory module
  • the cell region size of the magnetoresistive memory cell may have a size such that the memory chip including the plurality of magnetoresistive memory cells may be mounted on the DIMM instead of a DRAM chip.
  • the magnetoresistive memory module may be used as the main memory.
  • the printed circuit board may further include an error correction code (ECC) chip used for the data scrubbing.
  • ECC error correction code
  • the memory controller sets a counter to the initial value for the page each time a page is written or scrubbed, counts down the counter every cycle, and determines whether data scrubbing is needed for the page when the counter reaches zero. If it is determined that the data scrubbing is necessary, the scrubbing operation of the page may be scheduled.
  • the memory controller may set the counter to a value smaller than the initial value.
  • the memory controller may determine whether the data scrubbing is necessary based on a learning model.
  • the learning model may be a reinforcement-learning (RL) model.
  • the behavior of the RL model is determined by one of a scrubbing command and a command according to an input / output request, and the state of the RL model is a time elapsed since the last scrubbing operation and a current bit error rate. , BER).
  • a printed circuit board a plurality of memory chips mounted on the printed circuit board, and a memory controller for performing data scrubbing (data scrubbing) on the data stored in the plurality of memory chips
  • a magnetoresistive memory module is provided.
  • Each memory chip includes a plurality of magnetoresistive memory cells.
  • Each magnetoresistive memory cell includes a magnetoresistive element and an access transistor for delivering current to the magnetoresistive element and has a cell region size of 9-12F 2 .
  • the magnetoresistive memory cell may be an STT-MRAM cell using an MTJ element as the magnetoresistive element.
  • the DRAM cell may be a DRAM cell applied to a DIMM.
  • the memory controller sets a counter to the initial value for the page each time a page is written or scrubbed, counts down the counter every cycle, and determines whether data scrubbing is needed for the page when the counter reaches zero. If it is determined that the data scrubbing is necessary, the scrubbing operation of the page may be scheduled.
  • the memory controller may set the counter to a value smaller than the initial value.
  • the memory controller may determine whether the data scrubbing is necessary based on a learning model.
  • the learning model may be a reinforcement-learning (RL) model.
  • the behavior of the RL model is determined by one of a scrubbing command and a command according to an input / output request, and the state of the RL model is a time elapsed since the last scrubbing operation and a current bit error rate. , BER).
  • a magnetoresistive memory module according to the embodiment described above, a CPU using the magnetoresistive memory module as a main memory, and a system bus connecting the magnetoresistive memory module and the CPU A computing device is provided.
  • a magnetoresistive memory module may be used as the main memory of the computing device.
  • FIG. 1 is a schematic block diagram of a computing device in accordance with one embodiment of the present invention.
  • FIG. 2 is a diagram schematically showing the structure of an STT-MRAM cell.
  • FIG. 3 is a diagram schematically illustrating a structure of an MTJ element in an STT-MRAM cell.
  • 4 and 5 are diagrams showing magnetization directions of MTJ elements, respectively.
  • FIG. 6 is a diagram illustrating a conventional STT-MRAM cell region.
  • FIG. 7 is a graph showing the size and the retention time of the STT-MRAM cell area according to the temperature stability factor.
  • FIG 8 illustrates an STT-MRAM cell region according to an embodiment of the present invention.
  • FIG. 10 is a diagram schematically illustrating an STT-MRAM module according to an embodiment of the present invention.
  • FIG. 11 is a diagram schematically illustrating a subarray of the STT-MRAM module shown in FIG. 10.
  • FIG. 12 is a flowchart illustrating a data scrubbing method of an STT-MRAM module according to an embodiment of the present invention.
  • FIG. 13 illustrates a reinforcement learning model of a scrub scheduler according to an embodiment of the present invention.
  • FIG. 14 is a diagram illustrating a state-action pair table in the reinforcement learning model shown in FIG. 13.
  • 15 is a graph showing performance comparison of four memory configurations in instructions per cycle.
  • 16 is a graph showing I / O yield normalized to DDR3 DRAM baseline for performance comparison of four memory configurations.
  • 17 is a graph showing the result of comparing the energy consumption of four memory configurations for five operations.
  • 1 is a schematic block diagram of a computing device in accordance with one embodiment of the present invention. 1 is an example of a possible computing device, and may be implemented in other various structures of the computing device according to an embodiment of the present invention.
  • a computing device connects a central processing unit (CPU) 110, a main memory 120, and a CPU 110 and a main memory 120. It includes a system bus 130.
  • CPU central processing unit
  • main memory 120 main memory
  • main memory 120 main memory
  • main memory 120 main memory
  • main memory 120 main memory
  • system bus 130 main bus
  • the computing device may be any one of various types of computing devices.
  • Various types of computing devices include mobile phones, such as smartphones, tablet computers, laptop computers, desktop computers, multimedia players, and game consoles. (game console), television, various types of internet of things (IoT) devices, and the like.
  • mobile phones such as smartphones, tablet computers, laptop computers, desktop computers, multimedia players, and game consoles. (game console), television, various types of internet of things (IoT) devices, and the like.
  • IoT internet of things
  • the main memory 120 may use magnetoresistive memory, that is, magnetoresistive random-access memory (MRAM), instead of dynamic random access memory (DRAM) used by conventional computing devices. Can be.
  • the main memory 120 may use spin-transfer torque (STT) MRAM (STT-MRAM) among the MRAM. In the following description, the main memory 120 uses STT-MRAM.
  • FIG. 2 is a diagram schematically showing the structure of an STT-MRAM cell
  • FIG. 3 is a diagram schematically showing the structure of an MTJ element in an STT-MRAM cell
  • FIGS. 4 and 5 are diagrams showing a magnetization direction of an MTJ element, respectively. to be.
  • the STT-MRAM cell includes a magnetic tunnel junction (MTJ) element 210 as a magnetoresistive element, and further includes an access transistor 220 connected to the MTJ element 210. .
  • MTJ magnetic tunnel junction
  • the MTJ element 210 operates as a storage element and the access transistor 220 is used to activate and control the MTJ element 210.
  • the access transistor 220 has an input terminal, an output terminal and a control terminal.
  • the input terminal, the output terminal, and the control terminal may be a source, a drain, and a gate, respectively.
  • NMOS N-channel metal oxide semiconductor
  • the input terminal of the access transistor 220 is connected to the source line SL, and the control terminal is connected to the word line WL.
  • the MTJ element 210 is connected between the output terminal of the access transistor 220 and the bit line BL.
  • the MTJ element 210 includes a fixed layer 211 having a fixed constant magnetization direction, a free layer 212 and a fixed layer magnetized in a direction of a magnetic field applied from the outside. It may include a tunnel barrier layer 213 formed between the free layer.
  • the tunnel barrier layer 213 may be formed of magnesium oxide (MgO).
  • the access transistor 220 is turned on by applying a voltage, for example, a high level voltage, to the word line WL, and between the bit line BL and the source line SL. Write current can be applied.
  • a voltage for example, a high level voltage
  • the magnetization direction of the free layer 212 may be determined according to the directions of the write currents WC1 and WC2 flowing to the MTJ element 210. For example, when the first write current WC1 flows to the MTJ element 210, free electrons having the same spin direction as the pinned layer 211 apply a torque to the free layer 212. As a result, the free layer 212 may be magnetized in parallel with the pinned layer 212. When the second write current WC2 in a direction opposite to the first write current flows to the MTJ element 210, free electrons having a spin opposite to the fixed layer 211 return to the free layer 212 to apply torque. As a result, the free layer 212 may be magnetized anti-parallel with the pinned layer 211. As such, the magnetization direction of the free layer 212 in the MTJ element 210 may be changed by the spin transfer torque.
  • the access transistor 220 is turned on by applying a voltage, for example, a high level voltage, to the word line WL, and thus from the bit line BL to the source line SL.
  • a voltage for example, a high level voltage
  • data stored in the STT-MRAM cell may be read according to the resistance value of the MTJ element 210 with respect to the read current.
  • the intensity of the read current is much smaller than that of the write current, the magnetization direction of the free layer 212 is not changed by the read current.
  • the resistance value of the MTJ element 210 may vary depending on the magnetization direction of the free layer 212. As shown in FIG. 4, when the magnetization direction of the free layer 212 and the magnetization direction of the pinned layer 211 are parallel in the MTJ element 210, the MTJ element 210 has a low resistance value.
  • the parallel state of the MTJ element 210 may be set to a state in which data of '0' is stored. As shown in FIG. 5, when the magnetization direction of the free layer 212 and the magnetization direction of the pinned layer 211 are antiparallel to each other in the MTJ element 210, the MTJ element 210 has a high resistance value.
  • the anti-parallel state of the MTJ element 210 may be set to a state in which data of '1' is stored. Therefore, when the read current is applied to the MTJ element, the state of the memory cell 200 may be read by a difference in the voltage applied to the MTJ element 210. When the voltage sensed by the MTJ element 210 is small, the data of '0' may be read. When the voltage sensed by the MTJ element 210 is large, the data of '1' may be read.
  • the MTJ element 210 having a low resistance value stores data of '1'
  • the MTJ element 210 having a high resistance value stores data of '0'. .
  • FIG. 6 is a diagram illustrating a conventional STT-MRAM cell region
  • FIG. 7 is a graph showing the size and the retention time of the STT-MRAM cell region according to the temperature stability factor
  • FIG. 8 is a STT according to an embodiment of the present invention.
  • FIG. 9 is a graph showing the write energy according to the temperature stability factor.
  • the STT-MRAM cell is manufactured in such a manner that the channel region CH of the access transistor almost covers the cell region for a large write current. Accordingly, the size of the STT-MRAM cell region is the size of the access transistor, that is, the channel region CH, regardless of the MTJ element, the bit line BL, the word line WL, the source line SL, and the access transistor connection CON. ) Is substantially equal to the size of the access transistor. As shown in Figure 6, in the conventional STT-MRAM cell area, that is, the access transistor has a size of 3F, i.e., approximately 36 ⁇ 60F 2 to 12 ⁇ 20F, a substantially column direction row direction. Where F is the feature size. STT-MRAM cells of this size are larger than DRAM cells and cannot replace main memory occupied by DRAM.
  • the thermal stability factor ⁇ indicates the stability of the magnetization direction of the MTJ device, and may be modeled as in Equation 1.
  • E b is the energy barrier
  • T is the temperature
  • H K is the anisotropic field
  • M S is the saturation magnetization
  • k B is the Boltzmann constant
  • V is the volume of the MTJ element.
  • the temperature stability factor ⁇ may be set by changing the volume of the MTJ element.
  • Critical current refers to a minimum current that changes the polarity of the free layer of the MTJ device.
  • the threshold current I C may be modeled as in Equation 2 below. It can be seen from Equation 2 that the threshold current I C can be reduced by reducing the temperature stability factor ⁇ .
  • ⁇ and ⁇ are fitting constants representing an operational environment.
  • the data retention time of the MTJ element is the expected time before a random bit flip occurs.
  • the retention time I Retention depends on the temperature stability factor ⁇ , and can be expressed by Equation 3 below.
  • f 0 is the operating frequency
  • the low temperature stability factor reduces the threshold current requirement of the MTJ device, but also reduces the holding time.
  • the STT-MRAM cell includes an MTJ element and an access transistor, and the MTJ element has a relatively small size
  • the access transistor size is a major factor in the STT-MRAM cell region. Since the access transistor is used to control the current flowing through the MTJ element, the size of the access transistor can be determined by the maximum current used in the STT-MRAM cell. Therefore, the size of the STT-MRAM cell area can be minimized by reducing the threshold current.
  • Equations 1 to 3 As a result of measuring the size of the optimized cell region according to the reduced temperature stability factor, the result appears as shown in FIG. It can be seen from FIG. 7 that the cell area also continues to decrease as the temperature stability factor decreases, and that the decrease in the temperature stability factor also reduces the holding time.
  • the size of the STT-MRAM cell area is reduced to be substantially similar to the size of the DRAM cell area.
  • substantially similar shall mean the size of an STT-MRAM cell area that may allow a memory chip comprising a plurality of STT-MRAM cells to be mounted in a main memory module that is commercially available instead of a DRAM chip. Can be.
  • reducing the MTJ volume reduces the temperature stability factor from approximately 40.3 to approximately 28.9, thus reducing the size of the cell region, i.e., the size of the access transistor. And can be reduced from approximately 36F 2 to approximately 10F 2 , that is, from 9 to 12F 2 . Since the cell area of the reduced STT-MRAM cell is substantially the same size as the cell area of the DRAM cell, a memory chip including the STT-MRAM cell can be applied to a commercially available main memory module. In addition, by reducing the temperature stability factor, the write current can be reduced so that the write energy can be reduced from 0.656 pJ to approximately 0.44 pJ as shown in FIG.
  • the retention time of the temperature stability factor may be reduced, thereby reducing data reliability.
  • data scrubbing may be applied to the STT-MRAM module.
  • FIG. 10 is a diagram schematically showing an STT-MRAM module according to an embodiment of the present invention
  • FIG. 11 is a diagram schematically showing a subarray of the STT-MRAM module shown in FIG. 10.
  • the STT-MRAM module is applied to a commercially available dual in-line memory module (DIMM).
  • DIMM may be a DIMM having a DDR3 PC3-12800 interface.
  • the STT-MRAM module 1000 may include a printed circuit board 1010, a plurality of memory chips 1020, an error correction code (ECC) chip 1030, a memory controller 1040, and the like. Connector 1050.
  • ECC error correction code
  • the STT-MRAM module applied to the DIMM may include two ranks R1 and R2.
  • one rank R1 may be formed on the front surface of the printed circuit board 1010, and the other rank R2 may be formed on the rear surface of the printed circuit board 1010.
  • the two ranks R1 and R2 are shown together for convenience of description, but the actual rank R2 is formed on the rear surface of the printed circuit board 1010.
  • Each rank may include a plurality of memory chips (eg, eight memory chips) 1020 and an ECC chip 1030.
  • the memory chip 1020 and the ECC chip 1030 of the rank R1 are coupled to the front surface of the printed circuit board 1010, and the memory chip 1020 and the ECC chip 1030 of the rank R2 are printed circuits. It may be coupled to the back side of the substrate 1010.
  • the memory controller 1040 is connected to the memory chip 1020 and the ECC chip 1030 through a bus.
  • the bus may include an address bus 1041 for conveying addresses and commands and a data bus 1042 for conveying data.
  • the memory controller 1040 uses the ECC chip 1030 to perform data scrubbing on the STT-MRAM cells of the memory chip 1020.
  • the memory controller 1040 may include a scrub scheduler for scheduling data scrubbing.
  • Connector 1050 may connect the STT-MRAM module to a slot for main memory of the computing device.
  • each rank may be logically divided into a plurality of banks (eg, eight banks) 1050.
  • the plurality of banks may be connected to the data bus 1042 through the data input / output unit (I / O).
  • each bank 1100 includes a plurality of subarrays 1110.
  • the subarray 1110 includes a plurality of bit lines BL, a plurality of source lines SL, a plurality of word lines WL, and a plurality of MTJ elements 1131.
  • the bit line BL and the source line SL may extend approximately in the column direction
  • the word line WL may extend substantially in the row direction.
  • the MTJ element 1131 may be connected to the corresponding bit line BL, source line SL, and word line WL through the access transistor 1132 to form the STT-MRAM cell 1130. .
  • the word line WL may define a row of the subarray
  • the pair of the bit line BL and the source line SL may define a column of the subarray.
  • STT-MRAM cell 1130 is illustrated for convenience of description.
  • Each subarray is connected to a row decoder 1121, a column decoder 1122, a sensing circuit 1123, a row buffer 1124, and write drivers W0 and W1.
  • the row decoder 1121 decodes the row address to select a target word line WL, ie, a target row, to be activated in the subarray.
  • the column decoder 1122 decodes the column address to select a target bit line BL, that is, a target column, to be activated in the subarray.
  • the sensing circuit 1123 reads data of the STT-MRAM cell 1130 connected to the activated word line WL connected to the plurality of bit lines BL through the bit line BL.
  • the row buffer 1124 stores data read from the sensing circuit 1123.
  • the write drivers WO and W1 write data to the STT-MRAM cell 1130 connected to a plurality of bit lines BL and / or a plurality of source lines SL and connected to an activated word line WL.
  • the write drivers WO and W1 may include a write driver WO for writing data of "0" and a write driver W1 for writing data of "1".
  • one write driver WO may be connected to the bit line BL, and the other write driver W1 may be connected to the source line SL.
  • reading / writing of data may be performed in units of pages.
  • the plurality of bit lines BL are activated by the column decoder 1122 so that the sensing circuit 1123 may read data in page units or the write drivers W0 and W1 may write data in pages.
  • the size of the page may be 4 KB, for example.
  • the bank may further include a global row decoder 1130 and a global row buffer 1140.
  • the global row decoder 1130 may select one of the plurality of row decoders 1121 respectively connected to the plurality of subarrays 1110.
  • the global row buffer 1140 may store data stored in the plurality of row buffers 1124 respectively connected to the plurality of subarrays 1110.
  • the STT-MRAM module may follow a double data rate (DDR) standard for read / write operations.
  • DDR double data rate
  • the STT-MRAM module can decode row addresses for read / write operations, decode row addresses to activate target word lines, decode column addresses to activate specific bit lines, and sense circuits for reading or writing data.
  • the operation of starting the write driver can be performed.
  • the memory controller of the STT-MRAM module may perform data scrubbing at regular intervals.
  • the constant interval may be a much longer interval, for example, several hours, than the refresh typically performed in the DRAM module.
  • the predetermined interval may be set to about 1 hour.
  • the scrub frequency is high, which may increase energy consumption due to scrubbing.
  • the following describes a scrub scheduler that can minimize scrub frequency and provide data scrubbing that does not depend on a fixed period of time.
  • FIG. 12 is a flowchart illustrating a data scrubbing method of an STT-MRAM module according to an embodiment of the present invention.
  • the scrub scheduler tracks a write operation and a scrubbing operation of each page in the STT-MRAM module (S1210).
  • the scrub scheduler sets the retention counter of the page to an initial value every time a page is written or scrubbed in the STT-MRAM module (S1220), and counts down the maintenance counter every clock cycle (S1230). ).
  • the scrub scheduler determines that it is possible time to scrub the corresponding page (S1240). Accordingly, the scrub scheduler determines whether an immediate scrubbing operation is necessary to maintain reliable data for the page (S1250).
  • the scrub scheduler may determine whether an immediate scrubbing action is needed through a learning model.
  • the scrub scheduler schedules a scrubbing operation (S1260). Accordingly, the memory controller performs a scrubbing operation on the page having a high priority (S1270).
  • the scrub scheduler attaches the page to the list of pages to be scrubbed using the scrub sequence number.
  • the scrub scheduler may attach the page to the list of pages to be scrubbed in the corresponding bank. To identify banks, the scrub scheduler can use bank identifiers (IDs).
  • the scrub scheduler may set a scrub-required flag for the page.
  • scrub serial numbers may be assigned based on a first in, first out (FIFO) model. In one embodiment, the low serial number may indicate a high priority for the scrub. This scrub serial number can be updated each time a page is scrubbed or written in the bank.
  • the scrub scheduler If it is determined that the scrub is not necessary immediately (S1250), the scrub scheduler resets the maintenance counter (S1280), and counts down the maintenance counter again (S1230). At this time, the scrub scheduler may set the maintenance counter to a smaller value. For example, the scrub scheduler may reset the retention counter to one third of the value at which the retention counter was set immediately before. In this way, by decreasing the setting value of the maintenance counter, the scrub scheduler can check the page more firmly. In this manner, the process of resetting the maintenance counter (S1280) is repeated until the corresponding page is overwritten or scrubbed. When the page is overwritten or scrubbed, the maintenance counter is reset to the original value (S1220).
  • FIG. 13 is a diagram illustrating a reinforcement-learning (RL) model of a scrub scheduler according to an embodiment of the present invention
  • FIG. 14 is a diagram illustrating a state-action pair table in the RL model shown in FIG. 13. .
  • RL reinforcement-learning
  • the RL model for the scrub scheduler uses state, action, and reward.
  • the state function may determine the state S (t) using the time elapsed since the last scrubbing operation and the current bit error rate (BER). In some embodiments, the state function may further apply a scrub frequency in determining the state S (t).
  • An action function selects one of two actions [A (t + 1)], both actions including assigning scrub actions and scheduled I / O commands.
  • Reward [R (t)] is the reward received when the action [A (t)] is executed in the current state [S (t)] in the STT-MRAM module. Immediate reward and long-term reward ).
  • the immediate compensation goal is to maintain the BER allowed by the ECC scheme of the ECC chip, and the long term compensation goal is to minimize the scrub frequency and maximize the I / O operation.
  • the Q value of the state-behavior pairs S and A represents the expected value of the cumulative reward resulting from executing the action A in the state S.
  • This Q value may represent a long-term value for scheduling a command in a given state.
  • the scrub scheduler in a given state can simply select the action with the largest Q value to maximize long-term reward.
  • the Q value may be managed in a table form for the state-action pair as shown in FIG. 14 and may be updated continuously. Referring to FIG. 14, Q values Q 11 -Q mn for pairs defined by n states S 1 -Sn and m actions A 1 -A m are managed in a table form.
  • the scrub scheduler can run a table that records the Q values for all possible state-action pairs.
  • the scrub scheduler proceeds with initialization (lines 1-4).
  • the scrub scheduler initializes all entries in the table (line 2).
  • the scrub scheduler can initialize all entries to the highest possible Q value.
  • the Q value may be set to (1 / (1- ⁇ )).
  • is a discount rate parameter, which determines how important future rewards are relative to immediate rewards.
  • the scrub scheduler also initializes action (A) with a command issued randomly from a scrub command or from an I / O operation scheduled on the transaction queue (i.e., a read command or a write command) (line 3).
  • the Q value for the state-behavior (S, A) pair of is obtained and set to the Q value Q P (line 4).
  • the scrub scheduler performs the next action (lines 5-14) for each test signal. For example, when it is determined in step S1240 of FIG. 12 that it is possible time for the scrub, a test signal may be generated.
  • the scheduler issues the selected command A during the immediately preceding cycle (line 6) and collects an immediate reward R for the issued command (line 7).
  • the RL model requires the assumption that the probability that the scrub scheduler will visit each table entry is not zero. If the scrub scheduler does not select any behavior at any given time, it may not be able to learn the associated Q values. Also, even though the scrub scheduler has already learned the best policy, dynamic changes in the environment can make the already learned policy obsolete. For random behavior in addition to the optimal behavior learned, the scrub scheduler can use an exploration mechanism. That is, the scrub scheduler may determine a random command as a next action with a certain probability, and determine the command having the highest Q value as the next action in other cases. In some embodiments, the scrub scheduler may use an exploration parameter ⁇ for this probability.
  • the scrub scheduler may randomly select a scrub command or a command from a scheduled I / O operation to determine the next action (exploration). ) (Lines 8-9). As such, the scrub scheduler can issue random commands to explore the environment and adapt the policy to dynamic changes. Otherwise, if the randomly generated value (rand ()) is greater than or equal to the exploration parameter ( ⁇ ), the scrub scheduler can determine the command with the highest Q value in the current state as the next action (exploitation) (line 10-). 11) In one embodiment, a very small value may be assigned to the exploration parameter ⁇ to ensure that the highest Q value is chosen predominantly.
  • the scrub scheduler obtains a Q value from the table for the current state and behavior pair (i.e., the pair of actions determined in lines 8-11 in the current state) and estimates the new Q value (Q Sel ) (line 12). ).
  • the scrub scheduler updates the estimated Q value Q Sel based on the previous Q value Q P , the compensation R and the estimated Q value Q Sel (line 13).
  • the scrub scheduler may use SARSA update for Q value update.
  • the Q value Q Sel may be updated according to Equation 4 below.
  • the scrub scheduler sets the updated Q value Q Sel to the Q value Q P for the next cycle (line 14).
  • is a learning rate parameter
  • the scrub scheduler can learn the Q value and as a result determine the action with the highest Q value.
  • the scrub scheduler can efficiently determine if an immediate scrubbing action is required.
  • Algorithm 1 iScrub scheduling algorithm
  • A Action (i.e., Command), S: State, R: Reward
  • data scrubbing may be performed according to the scheduling by the scrub scheduler, and thus data reliability may be improved in the STT-MRAM module used as the main memory.
  • data scrubbing may refer to data scrubbing used in nonvolatile memory.
  • data scrubbing may refer to the refresh operation used in volatile memory. In this case, scrubbing (refreshing) can be performed at an interval much longer than that of the volatile memory.
  • DDR3 DRAM This memory configuration shows a case where a conventional DRAM having periodic refresh operations is used as the main memory.
  • STT-MRAM1 This memory configuration shows a case where a conventional STT-MRAM having a 10-year retention period is used as the main memory.
  • STT-MRAM2 This memory configuration shows a case where an STT-MRAM module other than a scrub scheduler is used as the main memory in the embodiment of the present invention.
  • STT-MRAM3 This memory configuration shows a case where an STT-MRAM module using a scrub scheduler is used as the main memory in the embodiment of the present invention.
  • FIG. 15 is a graph showing performance comparison of four memory configurations in instructions per cycle (IPC) normalized to a DDR3 DRAM baseline
  • FIG. 16 normalizes performance comparison of four memory configurations to a DDR3 DRAM baseline.
  • Is a graph showing the I / O yield (ie, the number of read / write operations)
  • FIG. 17 is a graph showing a result of comparing energy consumption of four memory configurations with respect to five operations.
  • the comparison result in FIGS. 15 to 17 is a result normalized to the DDR3 DRAM baseline.
  • the STT-MRAM module (STT-MRAM2) improves an average IPC by about 8% compared to DDR3 DRAM, and according to another embodiment, the STT-MRAM module (STT-MRAM3)
  • the scrub scheduler shows an average 16% improvement in average IPC over DDR3 DRAM.
  • the I / O yield performance of the STT-MRAM module (STT-MRAM2) according to an embodiment is improved by about 8% on average compared to DDR3 DRAM, and according to another embodiment, the STT-MRAM module ( It can be seen that the I / O yield performance of STT-MRAM3) is improved by about 13% on average compared to DDR3 DRAM.
  • the STT-MRAM module reduces the average energy consumption by approximately 14% compared to DDR3 DRAM, and in another embodiment, the STT-MRAM module (STT-MRAM3) further reduces the average energy consumption. And reduce the refresh energy (ie, scrub energy) compared to the STT-MRAM module (STT-MRAM2), in particular through the scrub scheduler.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Quality & Reliability (AREA)
  • Computing Systems (AREA)
  • Evolutionary Computation (AREA)
  • Artificial Intelligence (AREA)
  • Mathematical Physics (AREA)
  • Data Mining & Analysis (AREA)
  • Chemical & Material Sciences (AREA)
  • Power Engineering (AREA)
  • Crystallography & Structural Chemistry (AREA)
  • Medical Informatics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Molecular Biology (AREA)
  • Computational Linguistics (AREA)
  • Biophysics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Mram Or Spin Memory Techniques (AREA)

Abstract

컴퓨팅 디바이스의 메인 메모리로 사용되는 자기 저항 메모리 모듈이 제공된다. 복수의 메모리 칩이 인쇄 회로 기판에 장착되고, 메모리 컨트롤러는 데이터 스크러빙을 수행한다. 각 각 메모리 칩은 복수의 자기 저항 메모리 셀을 포함한다. 각 자기 저항 메모리 셀은 자기 저항 소자와 상기 자기 저항 소자로 전류를 전달하는 액세스 트랜지스터를 포함하며, DRAM 셀 영역의 크기와 실질적으로 유사한 셀 영역의 크기를 가진다.

Description

자기 저항 메모리 모듈 및 이를 포함하는 컴퓨팅 디바이스
본 발명은 자기 저항 메모리 모듈 및 이를 포함하는 컴퓨팅 디바이스에 관한 것이다.
현재, 주로 동적 랜덤 액세스 메모리(dynamic random-access memory, DRAM)이 컴퓨팅 디바이스에서 메인 메모리로 사용되고 있다. 그러나 최근의 데이터 집약적 어플리케이션은 테라바이트의 동작 메모리를 요구하고 있어서, DRAM 셀의 크기를 줄이는 방향으로 연구가 진행되었다. DRAM 셀의 크기를 줄임에 따라, 오프상태(off-state) 누설 전류가 증가하고, 데이터 유지 시간이 줄어서, 빈번한 리프레시(refresh) 동작이 필요하다. 빈번한 리프레시 동작으로 인해 소비 전력이 증가하고, 오프 상태의 누설 전류가 비트라인으로 흘러서 오류를 발생할 수 있어서 신뢰성이 떨어진다.
한편, DRAM을 비휘발성 메모리(non-volatile memory)로 대체하면 장기적으로 소비전력이나 신뢰성 문제를 완화시킬 수 있다. 이러한 비휘발성 메모리 중에서, 자기저항 메모리(magnetoresistive memory), 특히 스핀 전달 토크 자기저항 랜덤 액세스 메모리(spin-transfer torque magnetoresistive random-access memory, STT-MRAM)가 DRAM의 대체 메모리로 주목받고 있다. 그러나 자기저항 메모리를 DRAM로 대체할 때 주요 장애물은 셀 영역의 크기 차이이다. 전형적인 STT-MRAM 셀의 크기는 DRAM 셀에 비해 5~6배 크기 때문에, STT-MRAM으로 메인 메모리를 요구되는 밀도(density)를 만족시키는 것은 어렵다. STT-MRAM에 대한 다른 문제는 쓰기 과정이 큰 쓰기 전류로 자기 터널 접합(magnetic tunnel junction, MTJ)의 자화 구성을 물리적으로 변경하는 것이므로, 에너지 소모가 크다. 이에 따라 자기저항 메모리의 장점에도 불구하고, 자기저항 메모리를 메인 메모리로 사용하지 못하고 있다.
본 발명이 이루고자 하는 과제는 컴퓨팅 디바이스의 메인 메모리로 사용할 수 있는 자기저항 메모리 모듈 및 이를 포함하는 컴퓨팅 디바이스를 제공하는 것이다.
본 발명의 한 실시예에 따르면, 인쇄 회로 기판, 상기 인쇄 회로 기판에 장착되는 복수의 메모리 칩, 그리고 상기 복수의 메모리 칩에 저장된 데이터에 대해서 데이터 스크러빙(data scrubbing)을 수행하는 메모리 컨트롤러를 포함하는 자기 저항 메모리 모듈이 제공된다. 각 메모리 칩은 복수의 자기 저항 메모리 셀을 포함한다. 각 자기 저항 메모리 셀은 자기 저항 소자와 상기 자기 저항 소자로 전류를 전달하는 액세스 트랜지스터를 포함하며, 컴퓨팅 디바이스의 메인 메모리로 사용되는 DRAM 셀 영역의 크기와 실질적으로 유사한 셀 영역의 크기를 가진다.
상기 자기 저항 메모리 셀은 상기 자기저항 소자로 MTJ 소자를 사용하는 STT-MRA) 셀일 수 있다.
상기 액세스 메모리의 크기는 9~12F2일 수 있다.
상기 DRAM 셀은 듀얼 인라인 메모리 모듈(dual in-line memory module, DIMM)에 적용되는 DRAM 셀일 수 있다.
상기 자기 저항 메모리 셀의 셀 영역 크기는 상기 복수의 자기 저항 메모리 셀을 포함하는 상기 메모리 칩이 DRAM 칩 대신에 상기 DIMM에 장착될 수 있는 크기를 가질 수 있다.
상기 자기 저항 메모리 모듈은 상기 메인 메모리로 사용될 수 있다.
상기 인쇄 회로 기판은 상기 데이터 스크러빙에 사용되는 에러 정정 부호(error correction code, ECC) 칩을 더 포함할 수 있다.
상기 메모리 컨트롤러는, 페이지가 써지거나 스크럽될 때마다 상기 페이지에 카운터를 초기 값으로 설정하고, 사이클마다 상기 카운터를 카운트 다운하며, 상기 카운터가 0이 될 때 상기 페이지에 대해서 상기 데이터 스크러빙이 필요한지를 결정하고, 상기 데이터 스크러빙이 필요하다고 결정하면 상기 페이지의 스크러빙 동작을 스케줄링할 수 있다.
상기 메모리 컨트롤러는, 상기 데이터 스크러빙이 필요하지 않다고 결정하면, 상기 카운터를 상기 초기 값보다 작은 값으로 설정할 수 있다.
상기 메모리 컨트롤러는 학습 모델에 기초해서 상기 데이터 스크러빙이 필요한지를 결정할 수 있다.
상기 학습 모델은 강화 학습(reinforcement-learning, RL) 모델일 수 있다. 이 경우, 상기 RL 모델의 행동은 스크러빙 명령 및 입출력(input/output) 요청에 따른 명령 중 어느 하나로 결정되고, 상기 RL 모델의 상태는 마지막 스크러빙 동작 이후에 경과한 시간 및 현재 비트 오류율(bit error rate, BER)을 포함할 수 있다.
본 발명의 또 다른 실시예에 따르면, 인쇄 회로 기판, 상기 인쇄 회로 기판에 장착되는 복수의 메모리 칩, 그리고 복수의 메모리 칩에 저장된 데이터에 대해서 데이터 스크러빙(data scrubbing)을 수행하는 메모리 컨트롤러를 포함하는 자기 저항 메모리 모듈이 제공된다. 각 메모리 칩은 복수의 자기 저항 메모리 셀을 포함한다. 각 자기 저항 메모리 셀은 자기 저항 소자와 상기 자기 저항 소자로 전류를 전달하는 액세스 트랜지스터를 포함하며, 9~12F2의 셀 영역 크기를 가진다.
상기 자기 저항 메모리 셀은 상기 자기저항 소자로 MTJ 소자를 사용하는 STT-MRAM 셀일 수 있다.
상기 DRAM 셀은 DIMM에 적용되는 DRAM 셀일 수 있다.
상기 메모리 컨트롤러는, 페이지가 써지거나 스크럽될 때마다 상기 페이지에 카운터를 초기 값으로 설정하고, 사이클마다 상기 카운터를 카운트 다운하며, 상기 카운터가 0이 될 때 상기 페이지에 대해서 상기 데이터 스크러빙이 필요한지를 결정하고, 상기 데이터 스크러빙이 필요하다고 결정하면 상기 페이지의 스크러빙 동작을 스케줄링할 수 있다.
상기 메모리 컨트롤러는, 상기 데이터 스크러빙이 필요하지 않다고 결정하면, 상기 카운터를 상기 초기 값보다 작은 값으로 설정할 수 있다.
상기 메모리 컨트롤러는 학습 모델에 기초해서 상기 데이터 스크러빙이 필요한지를 결정할 수 있다.
상기 학습 모델은 강화 학습(reinforcement-learning, RL) 모델일 수 있다. 이 경우, 상기 RL 모델의 행동은 스크러빙 명령 및 입출력(input/output) 요청에 따른 명령 중 어느 하나로 결정되고, 상기 RL 모델의 상태는 마지막 스크러빙 동작 이후에 경과한 시간 및 현재 비트 오류율(bit error rate, BER)을 포함하는 파라미터에 의해 결정될 수 있다.
본 발명의 또 다른 실시예에 따르면, 위에서 설명한 실시예에 따른 자기 저항 메모리 모듈, 상기 자기 저항 메모리 모듈을 메인 메모리로 사용하는 CPU, 그리고 상기 자기 저항 메모리 모듈과 상기 CPU를 연결하는 시스템 버스를 포함하는 컴퓨팅 디바이스가 제공된다.
본 발명의 한 실시예에 따르면, 자기저항 메모리 모듈을 컴퓨팅 디바이스의 메인 메모리로 사용할 수 있다.
도 1은 본 발명의 한 실시예에 따른 컴퓨팅 디바이스의 개략적인 블록도이다.
도 2는 STT-MRAM 셀의 구조를 개략적으로 나타내는 도면이다.
도 3은 STT-MRAM 셀에서 MTJ 소자의 구조를 개략적으로 나타내는 도면이다.
도 4 및 도 5는 각각 MTJ 소자의 자화 방향을 나타내는 도면이다.
도 6은 종래의 STT-MRAM 셀 영역을 나타내는 도면이다.
도 7은 온도 안정성 인자에 따른 STT-MRAM 셀 영역의 크기와 유지 시간을 나타내는 그래프이다.
도 8은 본 발명의 한 실시예에 따른 STT-MRAM 셀 영역을 나타내는 도면이다.
도 9는 온도 안정성 인자에 따른 쓰기 에너지를 나타내는 그래프이다.
도 10은 본 발명의 한 실시예에 따른 STT-MRAM 모듈을 개략적으로 나타내는 도면이다.
도 11은 도 10에 도시한 STT-MRAM 모듈의 서브어레이를 개략적으로 나타내는 도면이다.
도 12는 본 발명의 한 실시예에 따른 STT-MRAM 모듈의 데이터 스크러빙 방법을 나타내는 흐름도이다.
도 13은 본 발명의 한 실시예에 따른 스크럽 스케줄러의 강화 학습 모델을 설명하는 도면이다.
도 14는 도 13에 도시한 강화 학습 모델에서 상태-행동 쌍 테이블을 나타내는 도면이다.
도 15는 네 가지 메모리 구성의 성능 비교를 사이클당 명령으로 나타내는 그래프이다.
도 16은 네 가지 메모리 구성의 성능 비교를 DDR3 DRAM 베이스라인으로 정규화된 I/O 수율을 나타내는 그래프이다.
도 17은 네 가지 메모리 구성의 에너지 소모를 다섯 가지 동작에 대해서 비교한 결과를 나타내는 그래프이다.
아래에서는 첨부한 도면을 참고로 하여 본 발명의 실시예에 대하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다. 그러나 본 발명은 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시예에 한정되지 않는다. 그리고 도면에서 본 발명을 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 유사한 부분에 대해서는 유사한 도면 부호를 붙였다.
도 1은 본 발명의 한 실시예에 따른 컴퓨팅 디바이스의 개략적인 블록도이다. 도 1은 가능한 컴퓨팅 디바이스의 한 예이며, 본 발명의 실시예에 따른 컴퓨팅 디바이스의 다른 다양한 구조로 구현될 수 있다.
도 1을 참고하면, 본 발명의 한 실시예에 따른 컴퓨팅 디바이스는 중앙 프로세싱 유닛(central processing unit, CPU)(110), 메인 메모리(120) 및 CPU(110)와 메인 메모리(120)를 연결하는 시스템 버스(130)를 포함한다.
어떤 실시예에서 컴퓨팅 디바이스는 다양한 유형의 컴퓨팅 디바이스 중 어느 하나일 수 있다. 다양한 유형의 컴퓨팅 디바이스는 스마트폰(smartphone)과 같은 이동 전화기(mobile phone), 태블릿 컴퓨터(tablet computer), 랩톱 컴퓨터(laptop computer), 데스크톱 컴퓨터(desktop computer), 멀티미디어 플레이어(multimedia player), 게임 콘솔(game console), 텔레비전, 다양한 유형의 사물 인터넷(internet of thing, IoT) 기기 등을 포함할 수 있다.
메인 메모리(120)는 종래의 컴퓨팅 디바이스가 사용하는 동적 랜덤 액세스 메모리(dynamic random access memory, DRAM) 대신 자기저항(magnetoresistive) 메모리, 즉 자기저항 랜덤 액세스 메모리(magnetoresistive random-access memory, MRAM)을 사용할 수 있다. 어떤 실시예에서, 메인 메모리(120)는 MRAM 중에서 스핀 전달 토크(spin-transfer torque, STT) MRAM(STT-MRAM)을 사용할 수 있다. 아래에서는 메인 메모리(120)가 STT-MRAM을 사용하는 것으로 설명한다.
다음, 본 발명의 한 실시예에 따른 메인 메모리로 사용되는 STT-MRAM에 대해서 설명한다.
도 2는 STT-MRAM 셀의 구조를 개략적으로 나타내는 도면이며, 도 3은 STT-MRAM 셀에서 MTJ 소자의 구조를 개략적으로 나타내는 도면이고, 도 4 및 도 5는 각각 MTJ 소자의 자화 방향을 나타내는 도면이다.
도 2를 참고하면, STT-MRAM 셀은 자기 저항 소자로서 자기 터널 접합(magnetic tunnel junction, MTJ) 소자(210)를 포함하며, 또한 MTJ 소자(210)에 연결된 액세스 트랜지스터(220)를 더 포함한다.
MTJ 소자(210)는 스토리지 요소로서 동작하고, 액세스 트랜지스터(220)는 MTJ 소자(210)를 활성화하고 제어하는데 사용된다. 액세스 트랜지스터(220)는 입력 단자, 출력 단자 및 제어 단자를 가진다. 예를 들어, 액세스 트랜지스터(220)가 NMOS(N-channel metal oxide semiconductor) 트랜지스터로 형성되는 경우, 입력 단자, 출력 단자 및 제어 단자는 각각 소스, 드레인 및 게이트일 수 있다.
액세스 트랜지스터(220)의 입력 단자는 소스 라인(SL)에 연결되어 있으며, 제어 단자는 워드 라인(WL)에 연결되어 있다. MTJ 소자(210)는 액세스 트랜지스터(220)의 출력 단자와 비트 라인(BL) 사이에 연결되어 있다.
도 3을 참고하면, MTJ 소자(210)는 고정된 일정한 자화 방향을 갖는 고정층(fixed layer)(211), 외부로부터 인가되는 자계의 방향으로 자화되는 자유층(free layer)(212) 및 고정층과 자유층 사이에 형성되는 터널 배리어 층(213)을 포함할 수 있다. 예를 들면, 터널 배리어층(213)은 산화 마그네슘(MgO)으로 형성될 수 있다.
STT-MRAM 셀의 쓰기 동작을 위해서, 워드 라인(WL)에 전압, 예를 들면 하이 레벨의 전압을 인가하여 액세스 트랜지스터(220)를 턴온시키고, 비트 라인(BL)과 소스 라인(SL) 사이에 쓰기 전류를 인가할 수 있다.
이때, MTJ 소자(210)로 흐르는 쓰기 전류(WC1, WC2)의 방향에 따라 자유층(212)의 자화 방향이 결정될 수 있다. 예를 들면, 제1 쓰기 전류(WC1)가 MTJ 소자(210)로 흐르면, 고정층(211)과 동일한 스핀 방향을 갖는 자유 전자들이 자유층(212)에 토크(torque)를 인가한다. 이로 인해, 자유층(212)은 고정층(212)과 평행 (parallel)하게 자화될 수 있다. 제1 쓰기 전류와 반대 방향의 제2 쓰기 전류(WC2)가 MTJ 소자(210)로 흐르면, 고정층(211)과 반대의 스핀을 갖는 자유 전자들이 자유층(212)으로 되돌아와 토크를 인가한다. 이로 인해, 자유층(212)은 고정층(211)과 반 평행(anti-parallel)하게 자화될 수 있다. 이와 같이, MTJ 소자(210)에서 자유층(212)의 자화 방향은 스핀 전달 토크에 의해 변할 수 있다.
STT-MRAM 셀의 읽기 동작을 위해서, 워드 라인(WL)에 전압, 예를 들면 하이 레벨의 전압을 인가하여 액세스 트랜지스터(220)를 턴온시켜서, 비트 라인(BL)으로부터 소스 라인(SL) 방향으로 읽기 전류를 인가하여, 읽기 전류에 대한 MTJ 소자(210)의 저항값에 따라 STT-MRAM 셀에 저장된 데이터를 읽을 수 있다. 이때, 읽기 전류의 세기는 쓰기 전류의 세기보다 매우 작기 때문에, 읽기 전류에 의해 자유 층(212)의 자화 방향이 변하지는 않는다.
MTJ 소자(210)의 저항값은 자유층(212)의 자화 방향에 따라 달라질 수 있다. 도 4에 도시한 것처럼, MTJ 소자(210)에서 자유층(212)의 자화 방향과 고정층(211)의 자화 방향이 평행하면, MTJ 소자(210)는 낮은 저항 값을 가진다. 이러한 MTJ 소자(210)의 평행 상태는 '0'의 데이터를 저장하는 상태로 설정될 수 있다. 도 5에 도시한 것처럼, MTJ 소자(210)에서 자유층(212)의 자화 방향과 고정층(211)의 자화 방향이 반 평행하면, MTJ 소자(210)는 높은 저항 값을 가진다. 이러한 MTJ 소자(210)의 반 평행 상태는 '1'의 데이터를 저장하는 상태로 설정될 수 있다. 따라서 읽기 전류를 MTJ 소자로 인가하였을 때, MTJ 소자(210)에 걸리는 전압의 크기의 차이로 메모리 셀(200)의 상태를 읽을 수 있다. MTJ 소자(210)에서 감지된 전압이 작은 경우에 '0'의 데이터를 읽고, MTJ 소자(210)에서 감지된 전압이 큰 경우에 '1'의 데이터를 읽을 수 있다.
이와는 달리, 낮은 저항 값을 가지는 MTJ 소자(210)가 '1'의 데이터를 저장하는 상태로, 높은 저항 값을 가지는 MTJ 소자(210)가 '0'의 데이터를 저장하는 상태로 설정될 수 있다.
이러한 STT-MRAM 셀에서 읽기 동작을 위해서는 셀의 저항을 측정하면 되므로, 작은 전류가 필요하다. 그러나 쓰기 동작을 위해서는 MTJ 소자(210)의 자유층(212)의 자화 방향을 바꾸기 위해서 큰 전류가 필요하다. 특히, 쓰기 실패를 피하기 위해서, 큰 채널폭/채널길이 비(W/L ratio)를 가지는 액세스 트랜지스터가 쓰기 전류를 구동하기 위해서 사용되고, 이로 인해 STT-MRAM 셀의 크기가 커진다.
다음 본 발명의 한 실시예에 따른 STT-MRAM 모듈에서 STT-MRAM 셀 영역의 크기를 설계하는 방법에 대해서 설명한다.
도 6은 종래의 STT-MRAM 셀 영역을 나타내는 도면이고, 도 7은 온도 안정성 인자에 따른 STT-MRAM 셀 영역의 크기와 유지 시간을 나타내는 그래프이며, 도 8은 본 발명의 한 실시예에 따른 STT-MRAM 셀 영역을 나타내는 도면이며, 도 9는 온도 안정성 인자에 따른 쓰기 에너지를 나타내는 그래프이다.
도 6을 참고하면, STT-MRAM 셀은 큰 쓰기 전류를 위해서 액세스 트랜지스터의 채널 영역(CH)이 셀 영역을 거의 덮는 형태로 제작된다. 이에 따라 STT-MRAM 셀 영역의 크기는 MTJ 소자, 비트 라인(BL), 워드 라인(WL), 소스 라인(SL), 액세스 트랜지스터 접속부(CON) 등에 관계 없이 액세스 트랜지스터의 크기, 즉 채널 영역(CH)의 면적에 의해 결정되며, 액세스 트랜지스터의 크기와 실질적으로 동일하다된다. 도 6에 도시한 것처럼, 종래의 STT-MRAM 셀 영역, 즉 액세스 트랜지스터는 대략 행 방향으로 12~20F, 열 방향으로 3F, 즉 대략 36~60F2의 크기를 가진다. 여기서 F는 피처 크기(feature size)이다. 이러한 크기의 STT-MRAM 셀은 DRAM 셀보다 커서 DRAM이 차지하는 메인 메모리를 대체할 수 없다.
아래에서는 본 발명의 한 실시예에 따른 STT-MRAM 모듈에서 STT-MRAM 셀의 설계 조건에 대해서 설명한다.
데이터 저장 신뢰성을 보장하기 위해서, STT-MRAM 셀의 MTJ 소자는 평행 및 반 평행 상태를 안정적으로 유지해야 한다. 온도 안정성 인자(thermal stability factor)(Δ)는 MTJ 소자의 자화 방향의 안정성을 지시하며, 수학식 1처럼 모델링될 수 있다.
Figure PCTKR2016014687-appb-M000001
여기서, Eb는 에너지 장벽(energy barrier)이고, T은 온도이며, HK는 비등방성 필드(anisotropic field)이고, MS는 포화 자화(saturation magnetization)이며, kB는 볼츠만 상수(Boltzmann constant)이고, V는 MTJ 소자의 부피(volume)이다.
수학식 1에서 MTJ 소자의 부피 이외에 다른 파라미터는 고정되어 있으므로, MTJ 소자의 부피를 변경함으로써 온도 안정성 인자(Δ)를 설정할 수 있다.
임계 전류(critical current)는 MTJ 소자의 자유층의 극성(polarity)을 변경하는 최소 전류를 의미한다. 임계 전류(IC)는 아래 수학식 2처럼 모델링될 수 있다. 수학식 2로부터 임계 전류(IC)는 온도 안정성 인자(Δ)를 줄임으로써 줄일 수 있다는 것을 알 수 있다.
Figure PCTKR2016014687-appb-M000002
여기서, γ와 δ는 동작 환경(operational environment)을 나타내는 적합 상수(fitting constants)이다.
MTJ 소자의 데이터 유지 시간(retention time)은 랜덤 비트 플립(bit-flip)이 발생하기 전까지의 기대 시간이다. 유지 시간(IRetention)은 온도 안정성 인자(Δ)에 의존하며, 수학식 3과 같이 표현될 수 있다.
Figure PCTKR2016014687-appb-M000003
여기서, f0는 동작 주파수이다.
수학식 2 및 3으로부터, 낮은 온도 안정성 인자가 MTJ 소자의 임계 전류 요구사항을 줄이지만, 유지 시간도 줄인다는 것을 알 수 있다.
앞서 설명한 것처럼, STT-MRAM 셀은 MTJ 소자와 액세스 트랜지스터를 포함하고, MTJ 소자는 비교적 작은 크기를 가지므로, 액세스 트랜지스터 크기가 STT-MRAM 셀 영역의 주요 요인이다. 액세스 트랜지스터는 MTJ 소자를 통해 흐르는 전류를 제어하는데 사용되므로, 액세스 트랜지스터의 크기는 STT-MRAM 셀에서 사용하는 최대 전류에 의해 결정될 수 있다. 따라서 임계 전류를 줄임으로써 STT-MRAM 셀 영역의 크기를 최소화할 수 있다.
수학식 1 내지 3에 기초해서, 감소한 온도 안정성 인자에 따라 최적화된 셀 영역의 크기를 측정한 결과, 도 7과 같이 그 결과가 나타난다. 도 7로부터 온도 안정성 인자가 감소함에 따라 셀 영역도 계속 감소하는 것을 알 수 있으며, 또한 온도 안정성 인자의 감소가 유지 시간도 감소시키는 것을 알 수 있다.
본 발명의 한 실시예에서는 STT-MRAM 셀 영역의 크기를 실질적으로 DRAM 셀 영역의 크기와 유사하도록 줄인다. 어떤 실시예에서, "실질적으로 유사"는 복수의 STT-MRAM 셀을 포함하는 메모리 칩이 DRAM 칩 대신에 상용되는 메인 메모리 모듈에 장착될 수 있도록 할 수 있는 STT-MRAM 셀 영역의 크기를 의미할 수 있다.
한 실시예에서, 셀 영역 크기와 유지 시간 사이의 트레이드오프를 고려해서, MTJ 부피를 줄여서 온도 안정성 인자를 대략 40.3에서 대략 28.9로 줄이고, 이에 따라 셀 영역의 크기, 즉 액세스 트랜지스터의 크기를 도 7 및 도 8에 도시한 것처럼 대략 36F2에서 대략 10F2, 즉 9~12F2로 줄일 수 있다. 이와 같이 줄인 STT-MRAM 셀의 셀 영역은 DRAM 셀의 셀 영역과 실질적으로 비슷한 크기이므로, STT-MRAM 셀을 포함하는 메모리 칩을 상용되는 메인 메모리 모듈에 적용할 수 있다. 또한 온도 안정성 인자를 줄임으로써, 쓰기 전류가 줄어서 도 9에 도시한 것처럼 쓰기 에너지가 0.656pJ에서 대략 0.44pJ로 감소할 수 있다.
한편, 앞서 설명한 것처럼 온도 안정성 인자를 유지 시간이 줄어서 데이터 신뢰성이 떨어질 수 있다. 이를 위해 어떤 실시예에서는 데이터 스크러빙(data scrubbing)을 STT-MRAM 모듈에 적용할 수 있다.
다음 본 발명의 한 실시예에 따른 STT-MRAM 모듈에 대해서 설명한다.
도 10은 본 발명의 한 실시예에 따른 STT-MRAM 모듈을 개략적으로 나타내는 도면이며, 도 11은 도 10에 도시한 STT-MRAM 모듈의 서브어레이를 개략적으로 나타내는 도면이다.
도 10 및 도 11에서 STT-MRAM 모듈을 상용되는 듀얼 인라인 메모리 모듈(dual in-line memory module, DIMM)에 적용하는 경우를 가정해서 설명한다. 예를 들면, DIMM은 DDR3 PC3-12800 인터페이스를 가지는 DIMM일 수 있다.
도 10을 참고하면, STT-MRAM 모듈(1000)은 인쇄 회로 기판(1010), 복수의 메모리 칩(1020), 에러 정정 부호(error correction code, ECC) 칩(1030), 메모리 컨트롤러(1040) 및 커넥터(1050)을 포함한다.
어떤 실시예에서, DIMM에 적용되는 STT-MRAM 모듈은 두 개의 랭크(R1, R2)를 포함할 수 있다. 이때, 하나의 랭크(R1)는 인쇄 회로 기판(1010)의 앞면에 형성되고, 다른 랭크(R2)는 인쇄 회로 기판(1010)의 뒷면에 형성될 수 있다. 도 10에서는 설명의 편의상 두 랭크(R1, R2)를 함께 도시하였지만, 실제 랭크(R2)는 인쇄 회로 기판(1010)의 뒷면에 형성되어 있다.
각 랭크는 복수의 메모리 칩(예를 들면 여덟 개의 메모리 칩)(1020)과 ECC 칩(1030)을 포함할 수 있다. 이때, 랭크(R1)의 메모리 칩(1020)과 ECC 칩(1030)은 인쇄 회로 기판(1010)의 앞면에 결합되고, 랭크(R2)의 메모리 칩(1020)과 ECC 칩(1030)은 인쇄 회로 기판(1010)의 뒷면에 결합될 수 있다.
메모리 컨트롤러(1040)는 버스를 통해 메모리 칩(1020) 및 ECC 칩(1030)과 연결된다. 버스는 어드레스와 명령을 전달하는 어드레스 버스(1041)와 데이터를 전달하는 데이터 버스(1042)를 포함할 수 있다. 이러한 메모리 컨트롤러(1040)는 ECC 칩(1030)을 사용하여서 메모리 칩(1020)의 STT-MRAM 셀에 대해서 데이터 스크러빙을 수행한다. 한 실시예에서, 메모리 컨트롤러(1040)는 데이터 스크러빙을 스케줄링하기 위한 스크럽 스케줄러를 포함할 수 있다.
커넥터(1050)은 STT-MRAM 모듈을 컴퓨팅 디바이스의 메인 메모리용 슬롯에 연결될 수 있다.
이러한 구조를 통해서, 본 발명이 한 실시예에 따르면 현재의 메인 메모리 인프라스트럭처에 적합한 STT-MRAM 모듈을 제공할 수 있다.
한편, 각 랭크는 복수의 뱅크(예를 들면, 여덟 개의 뱅크)(1050)로 논리적으로 분할될 수 있다. 복수의 뱅크는 데이터 입출력부(I/O)를 통해 데이터 버스(1042)에 연결될 수 있다.
도 11을 참고하면, 각 뱅크(1100)는 복수의 서브어레이(1110)를 포함한다. 서브어레이(1110)는 복수의 비트 라인(BL), 복수의 소스 라인(SL), 복수의 워드 라인(WL) 및 복수의 MTJ 소자(1131)를 포함한다. 어떤 실시예에서, 비트 라인(BL)과 소스 라인(SL)은 대략 열 방향으로 뻗어 있으며, 워드 라인(WL)은 대략 행 방향으로 뻗어 있을 수 있다. 이 경우, MTJ 소자(1131)가 액세스 트랜지스터(1132)를 통해 대응하는 비트 라인(BL), 소스 라인(SL) 및 워드 라인(WL)에 연결되어 STT-MRAM 셀(1130)을 형성할 수 있다. 또한 워드 라인(WL)이 서브어레이의 행을 정의하고, 비트 라인(BL)과 소스 라인(SL)의 쌍이 서브어레이의 열을 정의할 수 있다. 도 11에서는 설명의 편의상 하나의 STT-MRAM 셀(1130)만을 도시하였다.
각 서브어레이에는 행 디코더(1121), 열 디코더(1122), 감지 회로(sensing circuit)(1123), 행 버퍼(1124) 및 기입 드라이버(W0, W1)가 연결되어 있다. 행 디코더(1121)는 행 어드레스를 디코딩하여서 서브어레이에서 활성화할 타깃 워드 라인(WL), 즉 타깃 행을 선택한다. 열 디코더(1122)는 열 어드레스를 디코딩하여서 서브어레이에서 활성화할 타깃 비트 라인(BL), 즉 타깃 열을 선택한다. 감지 회로(1123)는 복수의 비트 라인(BL)에 연결되어 활성화된 워드 라인(WL)에 연결된 STT-MRAM 셀(1130)의 데이터를 비트 라인(BL)을 통해 읽는다. 행 버퍼(1124)는 감지 회로(1123)에서 읽은 데이터를 저장한다. 기입 드라이버(WO, W1)는 복수의 비트 라인(BL) 및/또는 복수의 소스 라인(SL)에 연결되어 활성화된 워드 라인(WL)에 연결된 STT-MRAM 셀(1130)에 데이터를 쓴다. 한 실시예에서, 기입 드라이버(WO, W1)는 "0"의 데이터를 쓰기 위한 기입 드라이버(WO)와 "1"의 데이터를 쓰기 위한 기입 드라이버(W1)를 포함할 수 있다. 이 경우, 하나의 기입 드라이버(WO)는 비트 라인(BL)에 연결되어 있고, 다른 기입 드라이버(W1)는 소스 라인(SL)에 연결되어 있을 수 있다.
어떤 실시예에서, 데이터의 읽기/쓰기는 페이지(page) 단위로 수행될 수 있다. 이를 위해 열 디코더(1122)에 의해 복수의 비트 라인(BL)이 활성화되어, 감지 회로(1123)이 페이지 단위로 데이터를 읽거나 기입 드라이버(W0, W1)이 페이지 단위로 데이터를 쓸 수 있다. 페이지의 크기는 예를 들면 4KB일 수 있다.
또한 뱅크는 글로벌 행 디코더(1130)와 글로벌 행 버퍼(1140)를 더 포함할 수 있다. 글로벌 행 디코더(1130)는 복수의 서브어레이(1110)에 각각 연결된 복수의 행 디코더(1121) 중 하나를 선택할 수 있다. 글로벌 행 버퍼(1140)는 복수의 서브어레이(1110)에 각각 연결된 복수의 행 버퍼(1124)에 저장된 데이터를 저장할 수 있다.
어떤 실시예에서, STT-MRAM 모듈은 읽기/쓰기 동작을 위해 DDR(double data rate) 표준을 따를 수 있다. 즉, STT-MRAM 모듈은 읽기/쓰기 동작을 위해, 타깃 워드 라인을 활성화하기 위해서 행 어드레스를 디코딩하는 동작, 특정 비트 라인을 활성화하기 위해서 열 어드레스를 디코딩하는 동작 및 데이터를 읽거나 쓰기 위해서 감지 회로 또는 기입 드라이버를 가동하는 동작을 수행할 수 있다.
다음 본 발명의 한 실시예에 따른 STT-MRAM 모듈에서의 데이터 스크러빙에 대해서 설명한다.
어떤 실시예예 따르면, STT-MRAM 모듈의 메모리 컨트롤러는 일정 간격으로 데이터 스크러빙을 수행할 수 있다. 이 경우, 일정 간격은 일반적으로 DRAM 모듈에서 수행되는 리프레시(refresh)보다 훨씬 간격으로, 예를 들면 몇 시간 간격일 수 있다. 도 7의 그래프를 참고하면, 일정 간격은 대략 1시간으로 설정될 수 있다.
이와 같이 일정 간격으로 데이터 스크러빙을 수행하면 스크럽 빈도가 높아서 스크러빙에 따른 에너지 소모가 증가할 수 있다. 아래에서는 스크럽 빈도를 최소화할 수 있으며 고정된 기간에 의존하지 않는 데이터 스크러빙을 제공할 수 있는 스크럽 스케줄러에 대해서 설명한다.
도 12는 본 발명의 한 실시예에 따른 STT-MRAM 모듈의 데이터 스크러빙 방법을 나타내는 흐름도이다.
도 12를 참고하면, 스크럽 스케줄러는 STT-MRAM 모듈에서 각 페이지의 쓰기 동작 및 스크러빙 동작을 추적한다(S1210). 스크럽 스케줄러는 STT-MRAM 모듈에서 페이지가 써질 때마다 또는 페이지가 스크럽될 때마다 해당 페이지의 유지 카운터(retention counter)를 초기 값으로 설정하고(S1220), 클록 사이클마다 유지 카운터를 카운트 다운한다(S1230). 유지 카운터가 0이 될 때, 스크럽 스케줄러는 해당 페이지의 스크럽을 위해 가능한 시간이라고 결정한다(S1240). 이에 따라, 스크럽 스케줄러는 해당 페이지에 대해서 신뢰성 있는 데이터 유지를 위해서 즉각적인 스크러빙 동작이 필요한지를 판단한다(S1250). 어떤 실시예에서, 스크럽 스케줄러는 학습(learning) 모델을 통해서 즉각적인 스크러빙 동작이 필요한지를 판단할 수 있다.
스크러빙 동작이 즉시 필요하다고 판단하면(S1250), 스크럽 스케줄러는 스크러빙 동작을 스케줄링한다(S1260). 이에 따라, 메모리 컨트롤러는 우선순위가 높은 페이지에 대해서 스크러빙 동작을 수행한다(S1270). 어떤 실시예에서, 스크럽 스케줄러는 스크럽 일련 번호(sequence number)를 사용해서 해당 페이지를 스크럽될 페이지 리스트에 첨부한다. 한 실시예에서, 스크럽 스케줄러는 해당 페이지를 해당하는 뱅크의 스크럽될 페이지 리스트에 첨부할 수 있다. 뱅크를 구분하기 위해서, 스크럽 스케줄러는 뱅크 식별자(identifier, ID)를 사용할 수 있다. 한 실시예에서, 스크럽 스케줄러는 해당 페이지에 대해서 스크럽 요구(scrub-required) 플래그를 설정할 수 있다. 어떤 실시예에서, 스크럽 일련 번호는 FIFO(first in, first out) 모델에 기초해서 할당될 수 있다. 한 실시예에서, 낮은 일련 번호는 스크럽을 위한 높은 우선순위를 지시할 수 있다. 이러한 스크럽 일련 번호는 뱅크에서 페이지가 스크럽될 되거나 써질 때마다 갱신될 수 있다.
스크럽이 즉시 필요하지 않다고 판단하면(S1250), 스크럽 스케줄러는 유지 카운터를 다시 설정하고(S1280), 다시 유지 카운터를 카운트 다운한다(S1230). 이때, 스크럽 스케줄러는 유지 카운터를 더 작은 값으로 설정할 수 있다. 예를 들면, 스크럽 스케줄러는 직전에 유지 카운터를 설정한 값의 1/3 값으로 유지 카운터를 다시 설정할 수 있다. 이와 같이, 유지 카운터의 설정 값을 감소함으로써, 스크럽 스케줄러는 페이지를 더 단단히 체크할 수 있다. 이와 같이, 유지 카운터를 다시 설정하는 과정(S1280)은 해당 페이지가 덮어 써지거나 스크럽될 때까지 반복된다. 해당 페이지가 덮어 써지거나 스크럽되면, 유지 카운터를 원래 값으로 리셋된다(S1220).
다음, 본 발명의 한 실시예에 따른 스크럽 스케줄러에서 사용하는 학습 모델의 한 예에 대해서 설명한다.
도 13은 본 발명의 한 실시예에 따른 스크럽 스케줄러의 강화 학습(reinforcement-learning, RL) 모델을 설명하는 도면이며, 도 14는 도 13에 도시한 RL 모델에서 상태-행동 쌍 테이블을 나타내는 도면이다.
도 13을 참고하면, 스크럽 스케줄러를 위한 RL 모델은 상태(state), 행동(action) 및 보상(reward)를 사용한다.
상태 함수(state function)는 마지막 스크러빙 동작 이후에 경과한 시간 및 현재 비트 오류율(bit error rate, BER)를 사용해서 상태[S(t)]를 결정할 수 있다. 어떤 실시예에서, 상태 함수(state function)는 상태[S(t)] 결정에서 스크럽 빈도를 더 적용할 수 있다. 행동 함수(action function)는 두 가지 행동 중 어느 하나의 행동[A(t+1)]을 선택하며, 두 가지 행동은 스크럽 행동 및 스케줄된 I/O 명령을 할당하는 행동을 포함한다. 보상[R(t)]은 STT-MRAM 모듈에서 현재 상태[S(t)]에서 행동[A(t)]이 실행될 때에 받는 보상으로, 즉시 보상(immediate reward)과 장기 보상(long-term reward)를 포함한다. 즉시 보상 목표는 ECC 칩의 ECC 방식에 의해 허용된 BER를 유지하는 것이며, 장기 보상 목표는 스크럽 빈도(scrub frequency)를 최소화하고 I/O 동작을 최대화하는 것이다.
상태-행동 쌍(S, A)의 Q 값은 상태(S)에서 행동(A)을 실행함으로써 초래되는 누적된 보상의 기대 값을 나타낸다. 이러한 Q 값은 주어진 상태에서 명령을 스케줄링하는 장기(long-term) 값을 나타낼 수 있다. 각 상태-행동 쌍에 대해서 스케줄링 정책에 따라 Q 값이 학습되어서 저장되면, 주어진 상태에서 스크럽 스케줄러는 장기 보상을 최대화하기 위해서 가장 큰 Q 값을 가지는 행동을 간단히 선택할 수 있다. Q 값은 도 14에 도시한 것처럼 상태-행동 쌍에 대해서 테이블 형태로 관리될 수 있으며, 계속 갱신될 수 있다. 도 14를 참고하면, n개의 상태(S1-Sn)과 m개의 행동(A1-Am)에 의해 정의되는 쌍들에 대한 Q 값(Q11-Qmn)이 테이블 형태로 관리되고 있다.
다음, 스크럽 스케줄러의 스케줄링 정책에 대해서 아래 알고리즘 1을 참고로 하여 설명한다.
앞서 설명한 것처럼 스크럽 스케줄러는 모든 가능한 상태-행동(state-action) 쌍에 대해서 Q 값을 기록하는 테이블을 운용할 수 있다. 먼저, 스크럽 스케줄러는 초기화를 진행한다(라인 1-4). 초기화 단계에서, 스크럽 스케줄러는 테이블의 모든 엔트리를 초기화한다(라인 2). 한 실시예에서 스크럽 스케줄러는 모든 엔트리를 가장 높은 가능한 Q 값으로 초기화할 수 있다. 예를 들면, Q 값은 (1/(1-γ))로 설정될 수 있다. 여기서, γ는 할인율 파라미터(discount rate parameter)로, 미래 보상(future rewards)이 즉시 보상(immediate rewards)에 비해서 얼마나 중요한지를 결정하는 파라미터이다. 또한 스크럽 스케줄러는 행동(A)을 스크럽 명령 또는 트랜잭션 큐에서 스케줄된 I/O 동작으로부터의 명령(즉, 읽기 명령 또는 쓰기 명령) 중에서 랜덤으로 발행되는 명령으로 초기화하고(라인 3), 테이블로부터 현재의 상태-행동(S, A) 쌍에 대한 Q 값을 획득해서 Q 값(QP)으로 설정한다(라인 4).
스크럽 스케줄러는 테스트 신호마다 다음 동작(라인 5-14)을 수행한다. 예를 들면, 도 12의 단계 S1240에서 스크럽을 위해 가능한 시간이라고 결정될 때, 테스트 신호가 발생할 수 있다. 스케줄러는 직전 사이클 동안 선택된 명령(A)을 발행하고(라인 6), 발행된 명령에 대한 즉시 보상(R)을 수집한다(라인 7).
한편, RL 모델을 위해서는 스크럽 스케줄러가 각 테이블 엔트리에 방문할 확률이 0이 아니라는 가정이 필요하다. 스크럽 스케줄러가 주어진 상태에서 어떤 행동을 한번도 선택하지 않으면, 관련된 Q 값을 학습하지 못할 수 있다. 또한 스크럽 스케줄러가 이미 최적의 정책을 학습했을지라도, 환경의 동적 변화로 인해 이미 학습한 정책이 쓸모 없어질 수도 있다. 학습된 최적의 행동 이외에 랜덤한 행동을 위해서 스크럽 스케줄러는 탐사(exploration) 메커니즘을 사용할 수 있다. 즉, 스크럽 스케줄러는 어떤 확률로 랜덤한 명령을 다음 행동으로 결정하고, 이외의 경우에는 가장 높은 Q 값을 가지는 명령을 다음 행동으로 결정할 수 있다. 어떤 실시예에서, 이러한 확률을 위해서 스크럽 스케줄러는 탐사 파라미터(exploration parameter)(ε)를 사용할 수 있다. 즉, 스크럽 스케줄러는 랜덤으로 생성한 값(rand())이 탐사 파라미터(ε)보다 작으면, 스크럽 명령 또는 스케줄된 I/O 동작으로부터의 명령을 랜덤으로 선택해서 다음 행동으로 결정할 수 있다(탐사)(라인 8-9). 이와 같이 스크럽 스케줄러는 랜덤 명령을 발행해서 환경을 탐사하고 정책을 동적 변화에 적응시킬 수 있다. 그렇지 않고 랜덤으로 생성한 값(rand())이 탐사 파라미터(ε) 이상이면, 스크럽 스케줄러는 현재 상태에서 가장 높은 Q 값을 가지는 명령을 다음 행동으로 결정할 수 있다(개발(exploitation)(라인 10-11). 한 실시예에서, 가장 높은 Q 값이 주로 선택되는 것을 보장하기 위해서 매우 작은 값이 탐사 파라미터(ε)에 할당될 수 있다.
다음, 스크럽 스케줄러는 현재의 상태와 행동 쌍(즉, 현재의 상태에서 라인 8-11)에서 결정된 행동의 쌍)에 대한 Q 값을 테이블로부터 얻어서 새로운 Q 값(QSel)으로 추정한다(라인 12). 그리고 스크럽 스케줄러는 이전 Q 값(QP), 보상(R) 및 추정한 Q 값(QSel)에 기초해서 추정한 Q 값(QSel)을 갱신한다(라인 13). 어떤 실시예에서, 스크럽 스케줄러는 Q 값 갱신을 위해서 SARSA 갱신을 사용할 수 있다. SARSA 갱신에 따르면, Q 값(QSel)은 아래 수학식 4에 따라 갱신될 수 있다. 스크럽 스케줄러는 갱신된 Q 값(QSel)을 다음 사이클을 위한 Q 값(QP)으로 설정한다(라인 14).
Figure PCTKR2016014687-appb-M000004
여기서, α는 학습률(learning rate) 파라미터이다.
이와 같이, 스크럽 스케줄러는 Q 값을 학습하고, 그 결과 가장 높은 Q 값을 가지는 행동을 결정할 수 있다. 따라서 스크럽 스케줄러는 즉각적인 스크러빙 동작이 필요한지를 효율적으로 결정할 수 있다.
Algorithm 1: iScrub scheduling algorithm
Data: A: Action (i.e., Command), S: State, R: Reward
Input: γ: Discount parameter, ε: Exploration parameter
1 Initialization
2 All Q-values ← 1/(1γ)
3 A ← select randomly: command from transaction queue or, scrub
4 QP ← get Q-value for current S and A
5 for Every "test" signal do
6 Issue A, selected during the previous cycle
7 Collect immediate R for the issued command
8 if rand() < ε then
9 Next A ← random command
10 else
11 Next A ← command with the highest Q-value
12 QSel ← Q-value for the current S and A
13 Update_Q ← SARSA update based on QP, R, QSel
14 QP ← QSel // Set Q-value for next cycle
이상에서 설명한 실시예에 따르면, 스크럽 스케줄러에 의한 스케줄링에 따라 데이터 스크러빙을 수행할 수 있으므로, 메인 메모리로 사용되는 STT-MRAM 모듈에서 데이터 신뢰성을 높일 수 있다.
한 실시예에서, 데이터 스크러빙은 비휘발성 메모리에서 사용되는 데이터 스크러빙을 의미할 수도 있다. 다른 실시예에서, 데이터 스크러빙은 휘발성 메모리에서 사용하는 리프레시 동작을 의미할 수도 있다. 이 경우, 휘발성 메모리의 리프레시보다 훨씬 긴 간격으로 스크러빙(리프레시)이 수행될 수 있다.
다음, 본 발명의 한 실시예에 따른 STT-MRAM 모듈을 실제 하드웨어에 구현하여서 성능을 측정한 결과에 대해서 설명한다.
STT-MRAM 모듈의 성능 측정을 위해서 다음 네 가지 메모리 구성의 평가가 수행되고, 표 1의 시뮬레이션 파라미터가 평가에 사용된다.
(1) DDR3 DRAM: 이 메모리 구성은 주기적인 리프레시 동작을 가지는 종래의 DRAM을 메인 메모리로 사용한 경우를 나타낸다.
(2) STT-MRAM1: 이 메모리 구성은 10년 유지 기간을 가지는 종래의 STT-MRAM을 메인 메모리로 사용한 경우를 나타낸다.
(3) STT-MRAM2: 이 메모리 구성은 본 발명의 실시예 중에서 스크럽 스케줄러를 제외한 STT-MRAM 모듈을 메인 메모리로 사용한 경우를 나타낸다.
(4) STT-MRAM3: 이 메모리 구성은 본 발명의 실시예 중에서 스크럽 스케줄러를 사용하는 STT-MRAM 모듈을 메인 메모리로 사용한 경우를 나타낸다.
Processor 2.8GHz, OoO execution, SE mode
L1 Cache Private 64KB Instruction and 64KB Data Cache
L2 Cache Shared 8MB Unified Cache
Working Memory(Refresh freq.) DRAM (64 ms), STT-MRAM (non-volatile), Couture (1 hour), Couture-i (varying)
Row Buffer Strategy FR-FCFS and Open adaptive
Workloads perl, bzip2, gcc, bwaves, cactus, gobmk, calc, hmmer, lib, and lbm
도 15는 네 가지 메모리 구성의 성능 비교를 DDR3 DRAM 베이스라인으로 정규화된 사이클당 명령(instructions per cycle, IPC)으로 나타내는 그래프이며, 도 16은 네 가지 메모리 구성의 성능 비교를 DDR3 DRAM 베이스라인으로 정규화된 I/O 수율(즉, 읽기/쓰기 동작의 수)를 나타내는 그래프이고, 도 17은 네 가지 메모리 구성의 에너지 소모를 다섯 가지 동작에 대해서 비교한 결과를 나타내는 그래프이다. 도 15 내지 도 17에서 비교 결과는 DDR3 DRAM 베이스라인으로 정규화된 결과이다.
도 15를 참고하면, 한 실시예에 따른 STT-MRAM 모듈(STT-MRAM2)은 DDR3 DRAM에 비해서 대략 8%만큼 평균 IPC를 향상시키고, 다른 실시예에 따른 STT-MRAM 모듈(STT-MRAM3)은 스크럽 스케줄러를 통해 DDR3 DRAM에 비해 평균 IPC를 대략 16%만큼 향상시키는 것을 알 수 있다. 도 16을 참고하면, 한 실시예에 따른 STT-MRAM 모듈(STT-MRAM2)의 I/O 수율 성능은 DDR3 DRAM에 비해서 평균적으로 대략 8%만큼 향상되고, 다른 실시예에 따른 STT-MRAM 모듈(STT-MRAM3)의 I/O 수율 성능은 DDR3 DRAM에 비해 평균적으로 대략 13%만큼 향상되는 것을 알 수 있다.
도 17을 참고하면, 대기(standby), 활성화(activation), 읽기(read), 쓰기(write) 및 리프레시(refresh) 다섯 가지 항목에 대해서 에너지 소모가 측정된다. 한 실시예에 따른 STT-MRAM 모듈(STT-MRAM2)은 DDR3 DRAM에 비해서 대략 14%만큼 평균 에너지 소모를 감소시키고, 다른 실시예에 따른 STT-MRAM 모듈(STT-MRAM3)은 평균 에너지 소모를 더 감소시키고, 특히 스크럽 스케줄러를 통해 리프레시 에너지(즉, 스크럽 에너지)를 STT-MRAM 모듈(STT-MRAM2)에 비해 감소시키는 것을 알 수 있다.
이상에서 본 발명의 실시예에 대하여 상세하게 설명하였지만 본 발명의 권리범위는 이에 한정되는 것은 아니고 다음의 청구범위에서 정의하고 있는 본 발명의 기본 개념을 이용한 당업자의 여러 변형 및 개량 형태 또한 본 발명의 권리범위에 속하는 것이다.

Claims (20)

  1. 인쇄 회로 기판,
    상기 인쇄 회로 기판에 장착되는 복수의 메모리 칩, 그리고
    상기 복수의 메모리 칩에 저장된 데이터에 대해서 데이터 스크러빙(data scrubbing)을 수행하는 메모리 컨트롤러를 포함하며,
    각 메모리 칩은 복수의 자기 저항 메모리 셀을 포함하고,
    각 자기 저항 메모리 셀은 자기 저항 소자와 상기 자기 저항 소자로 전류를 전달하는 액세스 트랜지스터를 포함하며, 동적 랜덤 액세스 메모리(dynamic random access memory, DRAM) 셀 영역의 크기와 실질적으로 유사한 셀 영역의 크기를 가지는
    자기 저항 메모리 모듈.
  2. 제1항에서,
    상기 자기 저항 메모리 셀은 상기 자기저항 소자로 자기 터널 접합(magnetic tunnel junction, MTJ) 소자를 사용하는 스핀 전달 토크 자기 저항 랜덤 액세스 메모리(spin-transfer torque magnetoresistive random-access memory, STT-MRAM) 셀인 자기 저항 메모리 모듈.
  3. 제1항에서,
    상기 액세스 메모리의 크기는 9~12F2인 자기 저항 메모리 모듈.
  4. 제1항에서,
    상기 DRAM 셀은 듀얼 인라인 메모리 모듈(dual in-line memory module, DIMM)에 적용되는 DRAM 셀인 자기 저항 메모리 모듈.
  5. 제1항에서,
    상기 자기 저항 메모리 셀의 셀 영역 크기는 상기 복수의 자기 저항 메모리 셀을 포함하는 상기 메모리 칩이 DRAM 칩 대신에 상기 DIMM에 장착될 수 있는 크기를 가지는 자기 저항 메모리 모듈.
  6. 제1항에서,
    상기 자기 저항 메모리 모듈은 상기 메인 메모리로 사용되는 자기 저항 메모리 모듈.
  7. 제1항에서,
    상기 인쇄 회로 기판은 상기 데이터 스크러빙에 사용되는 에러 정정 부호(error correction code, ECC) 칩을 더 포함하는 자기 저항 메모리 모듈.
  8. 제1항에서,
    상기 메모리 컨트롤러는, 페이지가 써지거나 스크럽될 때마다 상기 페이지에 카운터를 초기 값으로 설정하고, 사이클마다 상기 카운터를 카운트 다운하며, 상기 카운터가 0이 될 때 상기 페이지에 대해서 상기 데이터 스크러빙이 필요한지를 결정하고, 상기 데이터 스크러빙이 필요하다고 결정하면 상기 페이지의 스크러빙 동작을 스케줄링하는 자기 저항 메모리 모듈.
  9. 제8항에서,
    상기 메모리 컨트롤러는, 상기 데이터 스크러빙이 필요하지 않다고 결정하면, 상기 카운터를 상기 초기 값보다 작은 값으로 설정하는 자기 저항 메모리 모듈.
  10. 제8항에서,
    상기 메모리 컨트롤러는 학습 모델에 기초해서 상기 데이터 스크러빙이 필요한지를 결정하는 자기 저항 메모리 모듈.
  11. 제10항에서,
    상기 학습 모델은 강화 학습(reinforcement-learning, RL) 모델이며,
    상기 RL 모델의 행동은 스크러빙 명령 및 입출력(input/output) 요청에 따른 명령 중 어느 하나로 결정되고, 상기 RL 모델의 상태는 마지막 스크러빙 동작 이후에 경과한 시간 및 현재 비트 오류율(bit error rate, BER)을 포함하는 파라미터에 의해 결정되는
    자기 저항 메모리 모듈.
  12. 제1항 내지 제11항 중 어느 한 항에 따른 자기 저항 메모리 모듈,
    상기 자기 저항 메모리 모듈을 메인 메모리로 사용하는 중앙 프로세싱 유닛(central processing unit, CPU), 그리고
    상기 자기 저항 메모리 모듈과 상기 CPU를 연결하는 시스템 버스
    를 포함하는 컴퓨팅 디바이스.
  13. 인쇄 회로 기판,
    상기 인쇄 회로 기판에 장착되는 복수의 메모리 칩, 그리고
    복수의 메모리 칩에 저장된 데이터에 대해서 데이터 스크러빙(data scrubbing)을 수행하는 메모리 컨트롤러를 포함하며,
    각 메모리 칩은 복수의 자기 저항 메모리 셀을 포함하고,
    각 자기 저항 메모리 셀은 자기 저항 소자와 상기 자기 저항 소자로 전류를 전달하는 액세스 트랜지스터를 포함하며, 9~12F2의 셀 영역 크기를 가지는
    자기 저항 메모리 모듈.
  14. 제13항에서,
    상기 자기 저항 메모리 셀은 상기 자기저항 소자로 자기 터널 접합(magnetic tunnel junction, MTJ) 소자를 사용하는 스핀 전달 토크 자기 저항 랜덤 액세스 메모리(spin-transfer torque magnetoresistive random-access memory, STT-MRAM) 셀인 자기 저항 메모리 모듈.
  15. 제13항에서,
    상기 DRAM 셀은 듀얼 인라인 메모리 모듈(dual in-line memory module, DIMM)에 적용되는 DRAM 셀인 자기 저항 메모리 모듈.
  16. 제13항에서,
    상기 메모리 컨트롤러는, 페이지가 써지거나 스크럽될 때마다 상기 페이지에 카운터를 초기 값으로 설정하고, 사이클마다 상기 카운터를 카운트 다운하며, 상기 카운터가 0이 될 때 상기 페이지에 대해서 상기 데이터 스크러빙이 필요한지를 결정하고, 상기 데이터 스크러빙이 필요하다고 결정하면 상기 페이지의 스크러빙 동작을 스케줄링하는 자기 저항 메모리 모듈.
  17. 제16항에서,
    상기 메모리 컨트롤러는, 상기 데이터 스크러빙이 필요하지 않다고 결정하면, 상기 카운터를 상기 초기 값보다 작은 값으로 설정하는 자기 저항 메모리 모듈.
  18. 제16항에서,
    상기 메모리 컨트롤러는 학습 모델에 기초해서 상기 데이터 스크러빙이 필요한지를 결정하는 자기 저항 메모리 모듈.
  19. 제18항에서,
    상기 학습 모델은 강화 학습(reinforcement-learning, RL) 모델이며,
    상기 RL 모델의 행동은 스크러빙 명령 및 입출력(input/output) 요청에 따른 명령 중 어느 하나로 결정되고, 상기 RL 모델의 상태는 마지막 스크러빙 동작 이후에 경과한 시간 및 현재 비트 오류율(bit error rate, BER)을 포함하는 파라미터에 의해 결정되는
    자기 저항 메모리 모듈.
  20. 제13항 내지 제19항 중 어느 한 항에 따른 자기 저항 메모리 모듈,
    상기 자기 저항 메모리 모듈을 메인 메모리로 사용하는 중앙 프로세싱 유닛(central processing unit, CPU), 그리고
    상기 자기 저항 메모리 모듈과 상기 CPU를 연결하는 시스템 버스
    를 포함하는 컴퓨팅 디바이스.
PCT/KR2016/014687 2016-10-31 2016-12-15 자기 저항 메모리 모듈 및 이를 포함하는 컴퓨팅 디바이스 WO2018079931A1 (ko)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/357,435 US10824365B2 (en) 2016-10-31 2019-03-19 Magnetoresistive memory module and computing device including the same

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR10-2016-0143591 2016-10-31
KR1020160143591A KR102508132B1 (ko) 2016-10-31 2016-10-31 자기 저항 메모리 모듈 및 이를 포함하는 컴퓨팅 디바이스

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/357,435 Continuation US10824365B2 (en) 2016-10-31 2019-03-19 Magnetoresistive memory module and computing device including the same

Publications (1)

Publication Number Publication Date
WO2018079931A1 true WO2018079931A1 (ko) 2018-05-03

Family

ID=62025050

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2016/014687 WO2018079931A1 (ko) 2016-10-31 2016-12-15 자기 저항 메모리 모듈 및 이를 포함하는 컴퓨팅 디바이스

Country Status (3)

Country Link
US (1) US10824365B2 (ko)
KR (1) KR102508132B1 (ko)
WO (1) WO2018079931A1 (ko)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114822611A (zh) * 2022-06-27 2022-07-29 波平方科技(杭州)有限公司 用于近似计算的磁性存储芯片、模组及系统级封装芯片

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112930519A (zh) * 2018-10-12 2021-06-08 美商若响半导体股份有限公司 带有纠错及数据刷洗电路的存储器系统
US11301143B2 (en) * 2019-06-05 2022-04-12 Micron Technology, Inc. Selective accelerated sampling of failure-sensitive memory pages
US11068340B2 (en) 2019-06-19 2021-07-20 Samsung Electronics Co., Ltd. Semiconductor memory devices and memory systems
US10922012B1 (en) * 2019-09-03 2021-02-16 Dropbox, Inc. Fair data scrubbing in a data storage system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7275130B2 (en) * 2002-04-09 2007-09-25 Micron Technology, Inc. Method and system for dynamically operating memory in a power-saving error correcting mode
US20130311717A1 (en) * 2012-05-17 2013-11-21 Globit Co., Ltd. Magnetic random access memory
US20140013036A1 (en) * 2012-07-09 2014-01-09 Oh-seong Kwon User device having nonvolatile random access memory and method of booting the same
US20150241930A1 (en) * 2014-02-25 2015-08-27 Samsung Electronics Co., Ltd. Selectively recessed reference plane structure in module tab area of memory module and method for forming selectively recessed reference plane
US20150248329A1 (en) * 2011-06-09 2015-09-03 Samsung Electronics Co., Ltd. Method and Apparatus for Refreshing and Data Scrubbing Memory Device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014220376A (ja) * 2013-05-08 2014-11-20 ソニー株式会社 半導体装置およびその製造方法
KR102434053B1 (ko) * 2015-11-16 2022-08-19 삼성전자주식회사 반도체 메모리 장치, 이를 포함하는 메모리 시스템 및 이의 동작 방법

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7275130B2 (en) * 2002-04-09 2007-09-25 Micron Technology, Inc. Method and system for dynamically operating memory in a power-saving error correcting mode
US20150248329A1 (en) * 2011-06-09 2015-09-03 Samsung Electronics Co., Ltd. Method and Apparatus for Refreshing and Data Scrubbing Memory Device
US20130311717A1 (en) * 2012-05-17 2013-11-21 Globit Co., Ltd. Magnetic random access memory
US20140013036A1 (en) * 2012-07-09 2014-01-09 Oh-seong Kwon User device having nonvolatile random access memory and method of booting the same
US20150241930A1 (en) * 2014-02-25 2015-08-27 Samsung Electronics Co., Ltd. Selectively recessed reference plane structure in module tab area of memory module and method for forming selectively recessed reference plane

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114822611A (zh) * 2022-06-27 2022-07-29 波平方科技(杭州)有限公司 用于近似计算的磁性存储芯片、模组及系统级封装芯片

Also Published As

Publication number Publication date
US10824365B2 (en) 2020-11-03
KR20180047481A (ko) 2018-05-10
KR102508132B1 (ko) 2023-03-09
US20190227732A1 (en) 2019-07-25

Similar Documents

Publication Publication Date Title
WO2018079931A1 (ko) 자기 저항 메모리 모듈 및 이를 포함하는 컴퓨팅 디바이스
US10628049B2 (en) Systems and methods for on-die control of memory command, timing, and/or control signals
US10141038B2 (en) Computer system and memory device
Lee et al. Tiered-latency DRAM: A low latency and low cost DRAM architecture
CN110580229B (zh) 扩展线宽存储器侧高速缓存系统和方法
US9122598B2 (en) Semiconductor device and operating method thereof
CN107077883A (zh) 基于概率信息检测半导体存储器的被最频繁存取的地址的方法
US10013310B2 (en) Cache memory device and operating method thereof
US20070030725A1 (en) Apparatus and methods for storing data in a magnetic random access memory (mram)
US20190004796A1 (en) Technology to dynamically modulate memory device read granularity
CN114175001B (zh) 存储器感知预取和高速缓存旁路系统和方法
US20210050063A1 (en) Systems and methods involving hardware-based reset of unresponsive memory devices
JPH10154394A (ja) メモリ装置
CN116250041A (zh) 用于dram的刷新管理列表
US11392516B2 (en) Memory devices and methods having instruction acknowledgement
US10417135B2 (en) Near memory miss prediction to reduce memory access latency
Lee et al. Bit-width reduction in write counters for wear leveling in a phase-change memory system
US6055606A (en) Writeback cache cell with a dual ported dirty bit cell and method for operating such a cache cell
US10388357B2 (en) Activation of memory core circuits in an integrated circuit
US20210382662A1 (en) Addressing in memory with a read identification (rid) number
US20230282258A1 (en) Finite time counting period counting of infinite data streams
JP2005536004A (ja) 複数ポートのメモリセル
US20230236735A1 (en) Area-optimized row hammer mitigation
US20230237152A1 (en) Row hammer interrupts to the operating system
US20230238046A1 (en) Aliased row hammer detector

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16920404

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 22/08/2019)

122 Ep: pct application non-entry in european phase

Ref document number: 16920404

Country of ref document: EP

Kind code of ref document: A1