[go: up one dir, main page]

WO2025113431A1 - Memory array, electronic device, and operation method for memory array - Google Patents

Memory array, electronic device, and operation method for memory array Download PDF

Info

Publication number
WO2025113431A1
WO2025113431A1 PCT/CN2024/134501 CN2024134501W WO2025113431A1 WO 2025113431 A1 WO2025113431 A1 WO 2025113431A1 CN 2024134501 W CN2024134501 W CN 2024134501W WO 2025113431 A1 WO2025113431 A1 WO 2025113431A1
Authority
WO
WIPO (PCT)
Prior art keywords
memory
volatile
storage
data
transistor
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
PCT/CN2024/134501
Other languages
French (fr)
Chinese (zh)
Inventor
潘立阳
梁英真
吴华强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tsinghua University
Original Assignee
Tsinghua University
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 Tsinghua University filed Critical Tsinghua University
Publication of WO2025113431A1 publication Critical patent/WO2025113431A1/en
Pending legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/21Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements
    • G11C11/34Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices
    • G11C11/40Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors
    • G11C11/41Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors forming static cells with positive feedback, i.e. cells not needing refreshing or charge regeneration, e.g. bistable multivibrator or Schmitt trigger
    • G11C11/413Auxiliary circuits, e.g. for addressing, decoding, driving, writing, sensing, timing or power reduction
    • G11C11/414Auxiliary circuits, e.g. for addressing, decoding, driving, writing, sensing, timing or power reduction for memory cells of the bipolar type
    • G11C11/416Read-write [R-W] circuits 
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/21Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements
    • G11C11/34Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices
    • G11C11/40Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors
    • G11C11/41Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors forming static cells with positive feedback, i.e. cells not needing refreshing or charge regeneration, e.g. bistable multivibrator or Schmitt trigger
    • G11C11/411Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors forming static cells with positive feedback, i.e. cells not needing refreshing or charge regeneration, e.g. bistable multivibrator or Schmitt trigger using bipolar transistors only

Definitions

  • Embodiments of the present disclosure relate to a memory array, an electronic device, and a method for operating the memory array.
  • a conductive channel from the power supply to the ground may be formed in the memory cell. If the same power line in the memory array is simultaneously connected to multiple memory cells that need to perform data operations simultaneously, this may cause problems such as excessive power current and insufficient power supply capacity during data operations, which in turn may cause data operation failure.
  • Some embodiments of the present disclosure provide a memory array, which includes: a plurality of non-volatile static memory storage cells, arranged in a plurality of rows and columns and configured to perform data storage as well as data backup and recovery; a plurality of power lines, configured to provide a first power supply voltage to the plurality of non-volatile static memory storage cells, wherein the plurality of power lines are electrically connected to corresponding storage cell columns in a first direction, respectively, and the plurality of power lines are short-circuited in a second direction, and the first direction is different from the second direction; a plurality of ground lines, configured to provide a second power supply voltage to the plurality of non-volatile static memory storage cells, wherein the plurality of ground lines are electrically connected to corresponding storage cell columns in the first direction, respectively, and the plurality of ground lines are short-circuited in the second direction.
  • a memory array provided in some embodiments of the present disclosure also includes: a plurality of bit lines, respectively electrically connected to the corresponding columns of the non-volatile static memory storage cells in the first direction to transmit data signals; a plurality of first control lines, respectively electrically connected to the corresponding rows of the non-volatile static memory storage cells in the second direction to transmit first control signals; and a plurality of word lines, respectively electrically connected to the corresponding rows of the non-volatile static memory storage cells in the second direction to transmit word line signals.
  • each of the multiple non-volatile static memory storage units includes a volatile storage sub-unit and a non-volatile storage sub-unit; the volatile storage sub-unit is configured to transfer the stored first data and/or second data to the non-volatile storage sub-unit for the data backup, or receive the third data and/or fourth data transmitted by the non-volatile storage sub-unit for the data recovery; the non-volatile storage sub-unit is configured to transfer the stored third data and/or fourth data to the volatile storage sub-unit for the data recovery, or receive the first data and/or second data transmitted by the volatile storage sub-unit for the data backup.
  • the non-volatile storage sub-unit includes a first non-volatile storage device, a second non-volatile storage device, a first switching transistor and a second switching transistor; the first non-volatile storage device is connected to the volatile storage sub-unit via the first switching transistor; the second non-volatile storage device is connected to the volatile storage sub-unit via the second switching transistor.
  • the first non-volatile memory device is configured to store the third data; the second non-volatile memory device is configured to store the fourth data; the third data and the fourth data are configured as differential signals; the first non-volatile memory device and the second non-volatile memory device are resistive memory devices or phase change memory devices or magnetoresistive memory devices.
  • the plurality of first control lines are electrically connected to the gate of the first switch transistor and the gate of the second switch transistor of each memory cell in the corresponding non-volatile static memory cell row.
  • the multiple bit lines include a first bit line and a second bit line, the first bit line is electrically connected to the first non-volatile memory device of each storage cell in each column of the non-volatile static memory storage cells, and the second bit line is electrically connected to the second non-volatile memory device of each storage cell in each column of the non-volatile static memory storage cells.
  • the volatile storage sub-unit is a static random access storage unit.
  • the static random access memory cell includes a first inverter, a second inverter, a first access transistor and a second access transistor; the first inverter and the second inverter are connected between a power line and a ground line corresponding to the non-volatile static memory storage cell; the output end of the first inverter is connected to the input end of the second inverter, and the input end of the first inverter is connected to the output end of the second inverter; the first source and drain of the first access transistor are connected to the output end of the first inverter; and the first source and drain of the second access transistor are connected to the output end of the second inverter.
  • the multiple bit lines include a first bit line and a second bit line, the first bit line is electrically connected to the second source and drain of the first access transistor of each storage cell in each column of the non-volatile static memory storage cells, and the second bit line is electrically connected to the second source and drain of the second access transistor of each storage cell in each column of the non-volatile static memory storage cells.
  • the first inverter and the second inverter are connected between a power line and a ground line corresponding to the non-volatile static memory storage unit through a power switch component.
  • the power switch component includes a third switching transistor and a fourth switching transistor, the first inverter is electrically connected to the power line via the third switching transistor, and the second inverter is electrically connected to the power line via the fourth switching transistor; or, the power switch component includes a third switching transistor, and the first inverter and the second inverter are electrically connected to the power line via the third switching transistor.
  • a memory array provided in some embodiments of the present disclosure also includes: multiple second control lines, which are electrically connected to the power switch component of each storage cell in the corresponding non-volatile static memory storage cell row in the second direction to transmit a second control signal, and the second control signal is used to control the switching state of the power switch component.
  • the plurality of word lines are electrically connected to the gate of the first access transistor and the gate of the second access transistor of each memory cell in the corresponding nonvolatile static memory cell row.
  • the plurality of word lines are also electrically connected to the corresponding power switch components to transmit a second control signal, and the second control signal is used to control the switching state of the power switch components.
  • the multiple power lines are short-circuited at one or both ends of the memory array in the second direction; and/or the multiple ground lines are short-circuited at one or both ends of the memory array in the second direction.
  • Some embodiments of the present disclosure provide an electronic device, which includes the memory array described in any of the above embodiments.
  • Some embodiments of the present disclosure provide a method for operating a memory array, which is used for the memory array described in any of the above embodiments, and the method includes: selecting the i-th row of non-volatile static memory storage cells in the memory array; performing data backup or data recovery on the i-th row of non-volatile static memory storage cells according to a control signal, wherein I is a positive integer.
  • multiple rows or all non-volatile static memory storage cells in the memory array are selected; data backup or data recovery is performed on the selected multiple rows or all non-volatile static memory storage cells according to control signals in the same operation.
  • FIG1 is a schematic diagram of the structure of a 6T-SRAM
  • FIG2 is a schematic diagram of a combination of a volatile storage subunit and a non-volatile storage subunit
  • FIG3 is a schematic diagram of a storage array provided by at least one embodiment of the present disclosure.
  • FIG4 is a schematic diagram of the structure of a non-volatile static RAM (NVSRAM) storage unit provided by at least one embodiment of the present disclosure
  • FIG5 is a schematic diagram of an NVSRAM storage unit provided by at least one embodiment of the present disclosure.
  • FIG6 is a schematic diagram of another NVSRAM storage unit provided by at least one embodiment of the present disclosure.
  • FIG7 is a timing diagram of a data backup operation performed by an NVSRAM storage unit according to at least one embodiment of the present disclosure
  • FIG8 is a timing diagram of a data recovery operation performed by an NVSRAM storage unit according to at least one embodiment of the present disclosure
  • FIG9 is a schematic flow chart of a method for operating a storage array according to at least one embodiment of the present disclosure.
  • FIG10 is a schematic diagram of a flow chart of a SET operation and a RESET operation respectively performed when backing up data on a storage array according to at least one embodiment of the present disclosure
  • FIG11 is a schematic diagram of a flow chart of simultaneously performing a SET operation and a RESET operation when backing up data on a storage array according to at least one embodiment of the present disclosure
  • FIG12 is a flowchart of a method for performing data backup on a storage array by using separate row-by-row operations of RESET and SET, provided by at least one embodiment of the present disclosure
  • FIG13 is a flow chart of a method for performing data backup on a storage array using separate RESET and SET full-chip operations, provided by at least one embodiment of the present disclosure
  • FIG. 15 is a flowchart illustrating a method of recovering data from a storage array according to at least one embodiment of the present disclosure.
  • each box in the flowchart or block diagram may represent a unit, module, program segment, code, which contains executable instructions for implementing the specified functions.
  • each block or combination of blocks in the block diagrams and flow charts may be implemented by a hardware-based system that implements the specified functions, or may be implemented by a combination of hardware and computer instructions.
  • Memory is an important part of computer structure, used to store program code, data, etc.
  • Basic memory can be divided into volatile memory and non-volatile memory according to the characteristics of the storage medium. Volatile memory refers to memory in which the stored data will be lost after power failure, while non-volatile memory refers to memory in which the stored data will not be lost after power failure. Generally, volatile memory operates quickly, while non-volatile memory has a long storage time.
  • the volatile memory may be DRAM (dynamic random access memory) or SRAM (static random access memory).
  • DRAM may use one transistor and one capacitor to store one bit of data, and the data stored in DRAM needs to be updated periodically; SRAM may use multiple transistors to store one bit of data, and SRAM can permanently save the stored data as long as it remains powered on.
  • SRAM can also have multiple types, such as 6T-SRAM (i.e., six-transistor type SRAM), 7T-SRAM (i.e., seven-transistor type SRAM), 8T-SRAM (i.e., eight-transistor type SRAM) and other multi-transistor type SRAM.
  • 6T-SRAM i.e., six-transistor type SRAM
  • 7T-SRAM i.e., seven-transistor type SRAM
  • 8T-SRAM i.e., eight-transistor type SRAM
  • other multi-transistor type SRAM such as 6T-SRAM (i.e., six-transistor type SRAM), 7T-SRAM (i.e., seven-transistor type SRAM), 8T-SRAM (i.e., eight-transistor type SRAM) and other multi-transistor type SRAM.
  • FIG. 1 is a schematic diagram showing an exemplary structure of a 6T-SRAM memory cell.
  • the 6T-SRAM memory cell includes transistors P0, P1, N0, N1, N2, N3, and bit lines BL, BLN, WL, CVDD, and VSS for operating the memory cell.
  • the memory cell has a storage node Q and a storage node QN, wherein N represents that the type of transistor is NMOS (N-Metal-Oxide-Semiconductor) transistor, and P represents that the type of transistor is PMOS (P-type metal-oxide-semiconductor) transistor.
  • the bit lines BL and BLN are used to read and write data
  • the word line WL is used to control the read and write operations.
  • the transistors P0 and N0 form an inverter, and the transistors P1 and N1 form another inverter.
  • the two inverters are cross-connected to provide storage nodes Q and QN.
  • the SRAM memory cell has a bistable structure. When the storage node Q is at a high level, the storage node QN is at a low level, and the stored data can be selected as "1". Correspondingly, when the storage node Q is at a low level, the storage node QN is at a high level, and the stored data can be selected as "0".
  • Transistor N2 and transistor N3 are controlled by the word line WL to turn on or off the storage unit.
  • the above SRAM storage cell can have three states: data retention, reading and writing.
  • the word line WL maintains a low level
  • the transistor N2 and the transistor N3 are turned off, and the two sets of inverters are isolated from the corresponding bit lines and maintain the original state.
  • the storage node Q is at a high level and the storage node QN is at a low level.
  • the bit lines BL and BLN are first precharged to a high potential, and then the word line WL is set to a high level, so that the transistors N2 and N3 are turned on. Since the storage node QN is at a low level, the transistor P0 is turned on, and the bit line BL is connected to the power line CVDD through the transistors N2 and P0.
  • the level of the bit line BL (high level) and the storage state of the storage node Q (high level) remain unchanged; the high level of the storage node Q turns on the transistor N1, and the bit line BLN is connected to the ground line VSS through the transistors N3 and N1.
  • the bit line BLN discharges and the level decreases, but the storage state of the storage node QN (low level) remains unchanged. Therefore, by reading the voltage difference between the bit lines BL and BLN (the difference is positive), it can be known that the storage cell currently stores "1".
  • the storage node Q is at a low level, and the storage node QN is at a high level.
  • the bit line BL and the bit line BLN are pre-charged to a high potential, and then the word line WL is set to a high level, so that the transistor N2 and the transistor N3 are turned on. Since the storage node QN is at a high level, the transistor N0 is turned on, and the bit line BL is connected to the ground line VSS through the transistor N2 and the transistor N0.
  • bit line BL is discharged and the level is reduced, but the storage state of the storage node Q (low level) remains unchanged; the low level of the storage node Q turns on the transistor P1, and the bit line BLN is connected to the power line CVDD through the transistor N3 and the transistor P1.
  • the level of the bit line BLN (high level) and the storage state of the storage node QN (high level) remain unchanged. Therefore, by reading the voltage difference between the bit lines BL and BLN (the difference is negative), it can be known that the storage cell currently stores "0".
  • the written state needs to be loaded to the bit line BL and the bit line BLN to modify the levels of the storage nodes Q and QN in the storage unit. For example, if data 1 is to be written, the storage node Q needs to be changed to a high level, and the corresponding storage node QN needs to be changed to a low level.
  • the bit line BL is set to a high level
  • the bit line BLN is set to a low level
  • the word line WL is set to a high level, so that the transistors N2 and N3 are turned on
  • the high level of the bit line BL sets the storage node Q to a high level
  • the low level of the bit line BLN sets the storage node QN to a low level, thereby turning on the transistors P0 and N1 and turning off the transistors N0 and P1, thereby the power line CVDD keeps the storage node Q at a high level through the transistor P0
  • the ground line VSS keeps the storage node QN at a low level through the transistor N1, thereby realizing the writing of data 1 and the continuous storage of data 1 in the case of power failure.
  • the storage node Q needs to be changed to a low level, and the storage node QN correspondingly changes to a low level.
  • the bit line BL is set to a low level
  • the bit line BLN is set to a high level
  • the word line WL is set to a high level, so that the transistors N2 and N3 are turned on
  • the low level of the bit line BL sets the storage node Q to a low level
  • the high level of the bit line BLN sets the storage node QN to a high level
  • the transistors N0 and P1 are turned on and the transistors P0 and N1 are turned off
  • the power line CVDD keeps the storage node QN at a high level through the transistor P1
  • the ground line VSS keeps the storage node Q at a low level through the transistor N0, thereby realizing the writing of data 0 and the continuous storage of data 0 in the case of power failure.
  • non-volatile memory can be RRAM (Resistive Random Access Memory), PRAM (Phase-Change Random Access Memory), MRAM (Magnetoresistive Random Access Memory), Flash, etc.
  • RRAM and PRAM store data by changing resistance.
  • RRAM uses the resistance of thin film materials under different applied voltage conditions to be in different resistance states - high resistance state (HRS) and low resistance state (LRS) - to achieve data storage.
  • HRS high resistance state
  • LRS low resistance state
  • the external manifestations of different high and low configurations represent logical "1" and logical "0", thereby achieving data storage, and can be maintained for a long time after the power is cut off.
  • the process of RRAM changing from high resistance state (HRS) to low resistance state (LRS) is called SET process, which can also be called setting process.
  • RESET process which can also be called reset process.
  • nonvolatile memory typically includes a nonvolatile memory device and one or more switch transistors, where the switch transistor can be a transistor or a combination of multiple transistors that can control the on and off of current.
  • Nonvolatile memory typically operates at a relatively slow speed and requires a relatively large operating current or voltage.
  • SRAM Static Random Access Memory
  • NVSRAM non-volatile static random access memory
  • FIG2 is a schematic diagram of a non-volatile static random access memory storage unit (NVSRAM) obtained by combining a volatile storage subunit with a non-volatile storage subunit, wherein the volatile storage subunit is the same 6T-SRAM as shown in FIG1 , and the non-volatile storage subunit includes a resistive random access memory device (RRAM) R, a resistive random access memory device RN, a transistor N4, and a transistor N5.
  • RRAM resistive random access memory device
  • RN resistive random access memory device
  • N4 transistor N5
  • the non-volatile storage subunit is connected to the volatile storage subunit in a differential manner, the resistive random access memory device R is connected to the storage node Q through the transistor N4, the resistive random access memory device RN is connected to the storage node QN through the transistor N5, the gates of the transistors N4 and N5 are connected to the control line CWLN, and the switch states of the transistors N4 and N5 are controlled by the control line CWLN, for example, the state where the resistance of the resistive random access memory device R is greater than the resistance of the resistive random access memory device RN is set as data "1", and vice versa, it is set as data "0".
  • the non-volatile memory sub-unit may be connected to the volatile memory sub-unit in a differential connection manner or in a single-ended connection manner, for example, only including the resistive random access memory device R and the transistor N4.
  • a phase change random access memory (PRAM) or the like may also be used.
  • power lines are routed along the row direction and electrically connected to the storage cells in the row.
  • the storage cells in the same row are connected to the same power line.
  • the total current of the power line is the sum of the power currents of the whole row of storage cells. Excessive current can easily cause insufficient power supply capacity, unstable or reduced power supply voltage, and lead to data recovery failure.
  • a memory array including: a plurality of non-volatile static memory (NVSRAM) storage cells, a plurality of power lines, and a plurality of ground lines.
  • the plurality of NVSRAM storage cells are arranged in a plurality of rows and columns and are configured to perform data storage and data backup and recovery;
  • the plurality of power lines are configured to provide a first power supply voltage to the plurality of NVSRAM storage cells, wherein the plurality of power lines are electrically connected to the corresponding storage cell columns in a first direction, and the plurality of power lines are short-circuited in a second direction, and the first direction is different from the second direction;
  • the plurality of ground lines are configured to provide a second power supply voltage to the plurality of NVSRAM storage cells, wherein the plurality of ground lines are electrically connected to the corresponding storage cell columns in a first direction, and the plurality of ground lines are short-circuited in a second direction.
  • the current of each power line in the first direction is only the power current of one memory cell
  • the current of each ground line in the first direction is only the ground current of one memory cell. Therefore, the total current on the power line and the ground line is low, the power supply voltage and the ground line voltage remain stable, and the success rate of data recovery can be improved.
  • FIG. 3 is a schematic diagram of a memory array provided by at least one embodiment of the present disclosure.
  • the memory array includes a plurality of NVSRAM memory cells arranged in m rows and n columns, n power lines CVDD and n ground lines VSS, each power line CVDD is electrically connected to a column of NVSRAM memory cells, and all power lines CVDD are short-circuited in the row direction, each ground line is electrically connected to a column of NVSRAM memory cells, and all ground lines VSS are short-circuited in the row direction. Therefore, when a row of memory cells is simultaneously recovering data, the current of each power line CVDD in the first direction is only the power current of one memory cell, so the total current on the power line CVDD is low, the power supply voltage remains stable, and the success rate of data recovery can be improved.
  • the first direction is the column direction
  • the second direction is the row direction.
  • the memory array further includes a plurality of bit lines, a plurality of first control lines CWLN, and a plurality of word lines WL.
  • the plurality of bit lines include a plurality of first bit lines BL and a plurality of second bit lines BLN, each pair of bit lines BL and BLN being electrically connected to a corresponding NVSRAM memory cell column in a first direction to transmit a data signal, which is used to control a volatile memory sub-unit and a non-volatile memory sub-unit in the NVSRAM memory cell (see below);
  • the plurality of first control lines CWLN are electrically connected to a corresponding NVSRAM memory cell row in a second direction to transmit a first control signal, for example, the first control signal is used to control a non-volatile memory sub-unit in the NVSRAM memory cell (see below);
  • the plurality of word lines WL are electrically connected to a corresponding NVSRAM memory cell row in a second direction to transmit a word line signal, which is
  • WLi represents the i-th word line, for example, WL1 represents the 1st word line
  • CWLNi represents the i-th first control line
  • CWLN1 represents the 1st first control line
  • BLi and BLNi represent the i-th first bit line and the i-th second bit line
  • BL1 and BLN1 represent the 1st first bit line and the 1st second bit line
  • NVSRAMij represents the i-th row and j-th column NVSRAM storage cell, for example, NVSRAM11 represents the 1st row and 1st column NVSRAM storage cell, wherein i and j are positive integers, 1 ⁇ i ⁇ m, 1 ⁇ j ⁇ n; in the memory array, by controlling the voltages on the first bit line BL, the second bit line BLN, the first control line CWLN and the word line WL, the control of the state of each device on the NVSRAM storage cell can be achieved.
  • a plurality of power lines CVDD may be short-circuited at one or both ends of the memory array in the row direction
  • a plurality of ground lines VSS may be short-circuited at one or both ends of the memory array in the row direction. Short-circuiting the power line CVDD and the ground line VSS at both ends of the memory array can prevent data backup and recovery failure of the memory array when a line used for shorting at one end fails.
  • FIG4 is a schematic diagram of the structure of an NVSRAM storage unit according to at least one embodiment of the present disclosure.
  • each of the multiple NVSRAM storage units includes a volatile storage subunit and a non-volatile storage subunit; the volatile storage subunit is configured to transfer the stored first data and/or second data to the non-volatile storage subunit for data backup, or receive the third data and/or fourth data transmitted by the non-volatile storage subunit for data recovery; the non-volatile storage subunit is configured to transfer the stored third data and/or fourth data to the volatile storage subunit for data recovery, or receive the first data and/or second data transmitted by the volatile storage subunit for data backup.
  • the third data and/or the fourth data may be the first data and/or the second data in the volatile memory device obtained by the nonvolatile memory device through data backup, or may be data inherent in the nonvolatile memory device or data stored in the nonvolatile memory device by other means.
  • the volatile storage sub-unit is a static random access memory (SRAM) unit
  • the SRAM unit may be a 6T-SRAM, a 7T-SRAM, or other SRAM structures capable of implementing a static random access memory function.
  • the non-volatile memory sub-cell may include an RRAM and a switch transistor, wherein the RRAM is electrically connected to the volatile memory sub-cell through the switch transistor.
  • FIG5 is a schematic diagram of an NVSRAM storage unit provided by at least one embodiment of the present disclosure.
  • the non-volatile storage sub-unit of the NVSRAM storage unit includes a first non-volatile storage device R, a second non-volatile storage device RN, a first switching transistor N4 and a second switching transistor N5; the first non-volatile storage device R is connected to the volatile storage sub-unit via the first switching transistor N4; the second non-volatile storage device RN is connected to the volatile storage sub-unit via the second switching transistor N5.
  • the static random access memory cell of the NVSRAM memory cell includes a first inverter V1, a second inverter V2, a first access transistor N2 and a second access transistor N3; the first inverter V1 and the second inverter V2 are connected between a power line CVDD and a ground line VSS corresponding to the NVSRAM memory cell; the output end of the first inverter V1 is connected to the input end of the second inverter V2, and the input end of the first inverter V1 is connected to the output end of the second inverter V2; the first access transistor N2 is connected to the output end of the first inverter V1; and the second access transistor N3 is connected to the output end of the second inverter V2.
  • the static random access memory cell is a 6T-SRAM
  • the first inverter V1 and the second inverter V2 are connected between a power line CVDD and a ground line VSS corresponding to the NVSRAM memory cell through a power switch component.
  • the power switch assembly includes a third switch transistor P2 and a fourth switch transistor P3.
  • the first inverter V1 is electrically connected to the power line CVDD via the third switch transistor P2.
  • the second inverter V2 is electrically connected to the power line CVDD via the fourth switch transistor P3.
  • the first inverter V1 includes a transistor P0 and a transistor N0
  • the second inverter V2 includes a transistor P1 and a transistor N1
  • the gate of the third switch transistor P2 is connected to the gate of the fourth switch transistor P3, and is connected to the second control line RECP
  • the source of the third switch transistor P2 and the fourth switch transistor P3 is connected to the power line CVDD
  • the drain of the third switch transistor P2 is connected to the source of the transistor P0
  • the drain of the fourth switch transistor P3 is connected to the drain of the transistor P1
  • the second control line RECP is connected to the gate of the transistor in the power switch component, and can be connected to the word line WL at the same time, and can also provide voltage to the power switch component alone.
  • the storage nodes of the 6T-SRAM include storage nodes Q and QN, and the voltages of the storage nodes Q and QN can be read to obtain the first data and/or the second data stored in the static random access memory cell.
  • the first data is stored in the storage node Q
  • the second data is stored in the storage node QN; for example, assuming that the stored data is 1, the storage node Q is at a high level, and the storage node QN is at a low level.
  • the bit line BL and the bit line BLN are first precharged to a high potential, and then the word line WL is set to a high level, so that the transistor N2 and the transistor N3 are turned on.
  • the transistor P0 Since the storage node QN is at a low level, the transistor P0 is turned on, and the bit line BL is connected to the power line CVDD through the transistor N2 and the transistor P0, and the level of the bit line BL (high level) and the storage state of the storage node Q (high level) remain unchanged; the high level of the storage node Q turns on the transistor N1, and the bit line BLN is connected to the ground line VSS through the transistor N3 and the transistor N1, and the bit line BLN is discharged, and the level is reduced, but the storage state of the storage node QN (low level) remains unchanged. Therefore, by reading the voltage difference between the bit lines BL and BLN (the difference is positive), it can be known that the memory cell currently stores "1".
  • the SRAM cell is a bistable structure, the storage nodes Q and QN are mutually clamped, so their levels are not easy to change, which also leads to a low success rate of data recovery under power.
  • the conductive channel between the volatile storage sub-unit and the power line can be closed during data recovery, so that the timing of power off and power on can be freely controlled during data recovery, thereby improving the success rate of data recovery.
  • the gate of transistor P0 and the gate of transistor N0 are connected to serve as the input of the first inverter V1
  • the gate of transistor P1 and the gate of transistor N1 are connected to serve as the input of the second inverter V2
  • the drain of transistor P0 and the drain of transistor N0 are respectively connected to the storage node Q to serve as the output of the first inverter V1
  • the drain of transistor P1 and the drain of transistor N1 are respectively connected to the storage node QN to serve as the output of the second inverter V2
  • the source of the first access transistor N2 is connected to the storage node Q
  • the source of the second access transistor is connected to the storage node QN.
  • the first non-volatile memory device R and the second non-volatile memory device RN can be configured to be connected to the storage node of the volatile memory subunit in a single-ended or differential connection mode.
  • the first non-volatile memory device R and the second non-volatile memory device RN can be a resistive memory device, or a non-volatile memory device such as a phase change memory device, a magnetoresistive memory device, etc. having a variable resistance property.
  • each resistive random access memory device includes a resistive memory layer sandwiched between two electrodes (for example, an upper electrode and a lower electrode), and the resistance of the resistive memory layer is changed by applying an operating voltage to the two electrodes.
  • the first nonvolatile memory device R and the second nonvolatile memory device RN are resistive random access memory devices, and the first nonvolatile memory device R stores third data, the second nonvolatile memory device RN stores fourth data, and the third data and the fourth data are configured as differential signals.
  • the lower electrode of the memory device R is connected to the drain of the first switch transistor N4, the lower electrode of the memory device RN is connected to the drain of the second switch transistor N5, the source of the first switch transistor N4 is connected to the storage node Q, and the source of the second switch transistor N5 is connected to the storage node QN.
  • the resistance state of the first nonvolatile memory device R or the second nonvolatile memory device RN is changed according to whether the voltage between the two ends of the first nonvolatile memory device R and the second nonvolatile memory device RN is a set voltage or a reset voltage.
  • the set voltage is a forward voltage, that is, the voltage of the first nonvolatile memory device R or the second nonvolatile memory device RN close to the bit line is greater than the voltage of the end close to the storage node;
  • the reset voltage is a reverse voltage, that is, the voltage of the first nonvolatile memory device R or the second nonvolatile memory device RN close to the bit line is less than the voltage of the end close to the storage node.
  • the first nonvolatile memory device R or the second nonvolatile memory device RN When the voltage across the first nonvolatile memory device R or the second nonvolatile memory device RN is a reset voltage to perform a RESET operation, the first nonvolatile memory device R or the second nonvolatile memory device RN turns to a high resistance state; when the voltage across the first nonvolatile memory device R or the second nonvolatile memory device RN is a set voltage to perform a SET operation, the first nonvolatile memory device R or the second nonvolatile memory device RN turns to a low resistance state; when the voltage difference across the first nonvolatile memory device R or the second nonvolatile memory device RN is 0 or less than the operation threshold voltage, the resistance state of the first nonvolatile memory device R or the second nonvolatile memory device RN does not change, and the resistive memory stores data in the form of a resistance state.
  • a plurality of first control lines CWLN are electrically connected to the first switch transistor N4 and the second switch transistor N5 of each storage cell in the corresponding NVSRAM storage cell row.
  • the first control line CWLN is connected to the gate of the first switch transistor N4 and the gate of the second switch transistor N5.
  • the switch state of the first switch transistor N4 and the second switch transistor N5 can be controlled.
  • the voltage of the first control line CWLN meets the conduction condition of the first switch transistor N4 and the second switch transistor N5
  • the first switch transistor N4 and the second switch transistor N5 are in the open state, otherwise, the first switch transistor N4 and the second switch transistor N5 are closed.
  • the connection between the storage node and the non-volatile storage device can be realized, for example, the first data and/or the second data stored in the storage node can be transferred to the non-volatile storage sub-unit, or the third data and/or the fourth data in the non-volatile storage sub-unit can be transferred to the storage node.
  • the first bit line BL is electrically connected to the first access transistor N2 of each memory cell in each column of NVSRAM memory cells
  • the second bit line BLN is electrically connected to the second access transistor N3 of each memory cell in each column of NVSRAM memory cells.
  • the first bit line BL is electrically connected to the first non-volatile memory device R of each memory cell in each column of NVSRAM memory cells
  • the second bit line BLN is electrically connected to the second non-volatile memory device RN of each memory cell in each column of NVSRAM memory cells.
  • the bit lines BL and BLN can be used to operate both SRAM memory cells and non-volatile memory devices.
  • a plurality of word lines WL are electrically connected to the first access transistor N2 and the second access transistor N3 of each memory cell in the corresponding NVSRAM memory cell row.
  • the word line WL is connected to the gates of the first access transistor N2 and the second access transistor N3, and the conduction state of the first access transistor N2 and the second access transistor N3 can be controlled by controlling the voltage of the word line WL.
  • the word line WL voltage meets the conduction condition of the first access transistor N2 and the second access transistor N3, the first access transistor N2 and the second access transistor N3 are turned on, otherwise, the first access transistor N2 and the second access transistor N3 are not turned on.
  • FIG. 6 is a schematic diagram of another NVSRAM storage cell according to at least one embodiment of the present disclosure.
  • the power switch component of the NVSRAM storage unit shown in FIG6 includes a third switch transistor P2, the first inverter V1 and the second inverter V2 are electrically connected to the power line via the third switch transistor P2, and the connection method of the remaining devices is the same as that of the NVSRAM storage unit shown in FIG5 .
  • the source of the third switch transistor P2 is connected to the power line CVDD
  • the drain is connected to the source of the transistor P0 and the transistor P1
  • the gate is connected to the second control line RECP
  • the second control line RECP is used to transmit a second control signal to control the switching state of the third switch transistor P2.
  • the memory array formed by arranging the NVSRAM memory cells shown in FIG6 further includes a plurality of second control lines RECP, which are electrically connected to the power switch components of each memory cell in the corresponding NVSRAM memory cell row in the second direction to transmit a second control signal.
  • the second control line RECP is connected to the gate of the transistor in the power switch component, and can be connected to the word line WL at the same time, or can provide voltage to the power switch component alone.
  • the process of performing data backup and data recovery for the NVSRAM storage unit shown in FIG. 5 can be as follows:
  • the data backup operation is divided into SET and RESET operations on the non-volatile storage device: one of the non-volatile storage devices is selected to perform a SET operation and the other to perform a RESET operation according to the data of the storage node in the volatile storage subunit.
  • the data stored in the volatile storage subunit is 0.
  • the storage node Q is at a low level, and the storage node QN is at a high level.
  • the non-volatile storage device R is SET operated, and the non-volatile storage device RN is RESET operated.
  • FIG. 7 is a timing diagram of the data backup operation performed by the NVSRAM storage unit shown in FIG. 5 .
  • the voltage of the power line CVDD is set to the voltage VDD
  • the voltage of the word line WL is set to VSS
  • the voltage of the first control line CWLN is set to the voltage VDD
  • the voltages of the first bit line BL and the second bit line BLN are set to the voltage VSET (i.e., the voltage for performing a SET operation).
  • the storage node Q is at a low level (i.e., VSS), and the first switch transistor N4 is turned on, the voltage difference VR across the non-volatile memory device R is VSET and is greater than the SET operation threshold voltage, so the SET operation is performed on the non-volatile memory device R, turning it into a low resistance state; the storage node QN is at a high level (i.e., VDD), the second switch transistor N5 is turned off, and the voltage difference VR across the non-volatile memory device RN is 0, so the non-volatile memory device RN is not operated, and its resistance value remains unchanged.
  • VSS low level
  • the first switch transistor N4 is turned on
  • the voltage difference VR across the non-volatile memory device R is VSET and is greater than the SET operation threshold voltage, so the SET operation is performed on the non-volatile memory device R, turning it into a low resistance state
  • the storage node QN is at a high level (i.e., VDD)
  • the voltage of the power line CVDD is set to VRST (i.e., the voltage for performing a RESET operation)
  • the voltage of the word line WL is set to VSS
  • the voltage of the first control line CWLN is set to voltage VDDH
  • the voltages of the first bit line BL and the second bit line BLN are set to voltage VSS, wherein voltage VDDH is higher than or equal to voltage VDD.
  • the storage node Q is at a low level (i.e., VSS), the first switch transistor N4 is turned on, the voltage difference VR across the non-volatile memory device R is 0, and the resistance state of the non-volatile memory device R does not change;
  • the storage node QN is at a high level (i.e., VRST), the second switch transistor N5 is turned on, and the voltage difference VR across the non-volatile memory device RN is a lower value between VRST and VDDH-VTN, wherein VTN is the threshold voltage of the second switch transistor N5; by presetting VRST and VDDH, VRST and VDDH-VTN are both greater than the reverse threshold voltage required for the RESET operation, and at this time, the RESET operation is performed on the non-volatile memory device RN to change it to a high resistance state.
  • the process of performing data backup and data recovery by the NVSRAM storage unit shown in FIG. 6 is the same as the process of performing data backup by the NVSRAM storage unit shown in FIG. 5 , and will not be described in detail here.
  • FIG. 8 is a timing diagram of a data recovery operation performed by the NVSRAM storage unit shown in FIG. 5 .
  • the data recovery operation restores the data stored in the non-volatile memory devices R and RN (in a differential manner) to the SRAM device, restores the storage nodes corresponding to the high-resistance side of the non-volatile memory devices R and RN to a high level, and restores the storage nodes corresponding to the low-resistance side to a low level.
  • the data recovery operation of the NVSRAM storage unit shown in Figure 5 is divided into the following three stages:
  • Phase 1 Set the voltage of the power line CVDD to voltage VDD, the voltage of the word line WL to voltage VDD, the voltage of the first control line CWLN to voltage VDD, the voltage of the first bit line BL and the second bit line BLN to voltage VSS.
  • the third switch transistor P2 and the fourth switch transistor P3 are turned off, cutting off the power supply of the SRAM memory cell, thereby destroying the bistable state of the SRAM memory cell, and the voltage of the storage node Q is discharged to voltage VSS through the first switch transistor N4 and transistor N2, and the voltage of the storage node QN is discharged to voltage VSS through the second switch transistor N5 and transistor N3.
  • the second stage the voltage of the power line CVDD is set to the voltage VDD, the voltage of the word line WL is set to the voltage VSS, the voltage of the first control line CWLN is set to the voltage VDD, and the voltage of the first bit line BL and the second bit line BLN is set to the voltage VSS.
  • the first switch transistor N4 and the second switch transistor N5 and the third switch transistor P2 and the fourth switch transistor P3 are all in the on state, and a conduction path is formed from the power line CVDD through the third switch transistor P2, the transistor P0, the transistor N4, the first non-volatile memory device R to the first bit line BL, and a conduction path is formed from the power line CVDD through the fourth switch transistor P3, transistor P1, the second switching transistor N5, the second non-volatile memory device RN to the second bit line BLN form a conduction path, the circuit generates current, and the voltage of the storage nodes Q and QN increases.
  • the voltage on the high-resistance side increases faster and the voltage on the low-resistance side increases slower, and a voltage difference ⁇ VQ is generated between the storage nodes Q and QN.
  • the positive feedback effect of the cross-coupled inverter in the volatile storage sub-unit is amplified, and the voltage of the storage nodes Q and QN is pulled to VDD and VSS, and the data is restored from the non-volatile storage sub-unit to the SRAM storage unit.
  • the power line CVDD voltage is set to voltage VDD
  • the word line WL voltage is set to voltage VSS
  • the first control line CWLN voltage is set to voltage VSS
  • the first bit line BL and the second bit line BLN voltage are set to voltage VDD
  • the first switch transistor N4 and the second switch transistor N5 are turned off
  • the first access transistor N2 and the second access transistor N3 are turned off, and the data recovery operation is completed.
  • the timing diagram of the data recovery operation of the NVSRAM storage unit shown in FIG6 is the same as FIG8 .
  • the data recovery operation of the NVSRAM storage unit shown in FIG6 is divided into the following three stages:
  • Phase 1 Set the voltage of the power line CVDD to voltage VDD, the voltage of the word line WL to voltage VDD, the voltage of the first control line CWLN to voltage VDD, the voltage of the first bit line BL and the second bit line BLN to voltage VSS.
  • the third switch transistor P2 is turned off, cutting off the power supply of the volatile storage sub-unit, destroying the bistable state of the SRAM storage unit, and the voltage of the storage node Q is discharged to voltage VSS through the first switch transistor N4 and transistor N2, and the voltage of the storage node QN is discharged to voltage VSS through the second switch transistor N5 and transistor N3.
  • the second stage the voltage of the power line CVDD is set to the voltage VDD, the voltage of the word line WL is set to the voltage VSS, the voltage of the first control line CWLN is set to the voltage VDD, the voltage of the first bit line BL and the second bit line BLN is set to the voltage VSS, at this time, the first switch transistor N4, the second switch transistor N5 and the third switch transistor P2 are in the on state, and a conduction path is formed from the power line CVDD through the third switch transistor P2, the transistor P0, the transistor N4, the first non-volatile memory device R to the first bit line BL, and a conduction path is formed from the power line CVDD through the third switch transistor P2, the transistor P0, the transistor N4, the first non-volatile memory device R to the first bit line BL.
  • a conduction path is formed from the body transistor P1, the second switch transistor N5, the second non-volatile memory device RN to the second bit line BLN, and the voltages of the storage nodes Q and QN increase. Due to the different resistance values of the non-volatile memory devices on both sides, the voltage on the high-resistance side increases faster, and the voltage on the low-resistance side increases slower, and a voltage difference ⁇ VQ is generated between the storage nodes Q and QN.
  • the positive feedback effect of the cross-coupled inverter in the volatile memory sub-unit is amplified, and the voltages of the storage nodes Q and QN are pulled to voltages VDD and VSS, respectively, and the data is restored from the non-volatile memory sub-unit to the volatile memory sub-unit.
  • the power line CVDD voltage is set to voltage VDD
  • the word line WL voltage is set to voltage VSS
  • the first control line CWLN voltage is set to voltage VSS
  • the first bit line BL and the second bit line BLN voltage are set to voltage VDD
  • the first switch transistor N4 and the second switch transistor N5 are turned off
  • the first access transistor N2 and the second access transistor N3 are turned off, and the data recovery operation is completed.
  • the SRAM memory cell Since the SRAM memory cell has a bistable structure, during the data recovery operation, if the connection between the SRAM memory cell and the power line is not cut off, a small voltage difference will make it difficult to change the storage state of the SRAM memory cell. By cutting off the power supply of the volatile storage sub-cell through the power switch component and destroying the bistable storage state of the SRAM, the success rate of data recovery can be improved.
  • At least one embodiment of the present disclosure further provides an electronic device, which includes any storage array described in any of the above embodiments.
  • the electronic device can be, for example, any product or component including the storage array or used in conjunction with the storage array, such as a storage device or a computer.
  • the technical effects of the electronic device can refer to the technical effects of the storage array described in the above embodiments, which will not be repeated here.
  • At least one embodiment of the present disclosure provides a method for operating a storage array, which can be used for the storage array of any of the above embodiments.
  • a storage array shown in FIG3 as an example, the NVSRAM storage unit in the storage array is shown in FIG5.
  • FIG. 9 is a flow chart of a method for operating a storage array provided by at least one embodiment of the present disclosure.
  • the operation method of the storage array includes the following steps:
  • Step S101 Select the i-th row of NVSRAM storage cells in the memory array.
  • Step S102 the NVSRAM storage units in the i-th row perform data backup or data recovery according to the control signal, where i is a positive integer, 1 ⁇ i ⁇ m.
  • the data read and write operations of the memory array with m rows and n columns as shown in FIG. 3 are consistent with the data read and write operations of the memory array based on the SRAM memory cell of FIG. 1 , and will not be described in detail.
  • the i-th row to the (i+k-1)-th row may be selected to perform operations simultaneously, where i and k are positive integers, 1 ⁇ i ⁇ m, 1 ⁇ k ⁇ m and 1 ⁇ (i+k-1) ⁇ m.
  • a data backup operation may be performed with a word as the smallest unit, or may be performed with a row as the smallest unit; for example, a data recovery operation may be performed with a row as the smallest unit.
  • Performing an operation with a word as the smallest unit means that each time an operation is performed on a non-volatile storage sub-unit, all non-volatile storage sub-units in a selected word or multiple words are operated at the same time.
  • Performing an operation with a row as the smallest unit means that each time an operation is performed on a non-volatile storage sub-unit, all non-volatile storage sub-units in a selected row or multiple rows of storage units are operated at the same time. Taking the operation with a row as the smallest unit as an example, the operation method of data backup and data recovery is introduced.
  • the operation method of the memory array of at least one embodiment of the present disclosure for example, multiple rows or all non-volatile static memory storage units in the memory array are selected sequentially or simultaneously; then data backup or data recovery is performed on the selected multiple rows or all non-volatile static memory storage units according to control signals in the same operation, for example, the same operation is an operation step performed according to the same control signal.
  • the data backup operation there are two data backup operation methods according to whether the SET operation and the RESET operation are performed simultaneously:
  • the first method is a two-step data backup operation method, that is, the SET operation and RESET operation in the data backup operation are divided into two steps. There is no requirement for the operation order of the SET operation or the RESET operation.
  • the RESET operation can be performed first and then the SET operation, or the SET operation can be performed first and then the RESET operation.
  • FIG. 10 is a schematic diagram of a flow chart of performing a dual-step data backup operation on a storage array according to at least one embodiment of the present disclosure.
  • the unit operation steps of performing a RESET operation first and then a SET operation are as follows:
  • Step S001 Perform RESET operation on all selected cells
  • Step S002 Perform SET operation on all selected cells.
  • the double-step data backup operation method does not require additional data reading control or other external data interaction control, has a simple circuit structure, and is easy and convenient to operate.
  • the operation method can perform data backup operations with words as the smallest unit, or with rows as the smallest unit, and can perform data backup operations on multiple rows or all rows of the entire array at the same time.
  • FIG. 11 is a schematic diagram of a process of performing a single-step data backup operation on a storage array according to at least one embodiment of the present disclosure. In the process, a SET operation and a RESET operation are performed simultaneously.
  • the second method is a single-step data backup operation method, and the steps are as follows:
  • Step S011 reading the data stored in the SRAM of the selected unit
  • Step S012 setting the bit line according to the read data to output a corresponding voltage
  • bit line voltage on the side corresponding to the storage node "0" is VSET, and the bit line voltage on the side corresponding to the storage node "1" is 0;
  • Step S013 all selected cells perform RESET operation and SET operation simultaneously.
  • the data of the storage nodes in the SRAM of all selected NVSRAM storage units are read; then the bit lines are set according to the read data to output corresponding voltages respectively, the voltage of the bit line corresponding to the low potential side of the storage node is set to VSET, and the voltage of the bit line corresponding to the high potential side of the storage node is set to 0; then, the bit lines BL and BLN output corresponding voltages, and all selected units perform RESET and SET operations at the same time; the non-volatile memory device on the side of the storage node with a low potential performs a SET operation, and the non-volatile memory device on the side of the storage node with a high potential performs a RESET operation.
  • the SET and RESET operations are performed simultaneously, which can improve the operation speed of the array.
  • the single-step data backup operation method can perform data backup operations with words as the minimum unit, or it can perform data backup operations with rows, but when operating with rows, data backup operations can be performed on at most one row at a time.
  • the row operation timing of the storage array can be divided into two methods according to the difference in the row operation timing.
  • Mode 1 is a row-by-row operation, wherein, during array operation, after completing a single operation on all cells in the currently selected row or rows of the array, a single operation is performed on the next row or rows.
  • a single operation may include a data backup operation or a data recovery operation, and during the data backup operation and the data recovery operation, the sequence number (i) or the number of rows (k) of the selected row may be the same or different.
  • Method 2 is a full-film operation, in which the first step is first performed on the entire film in a row-by-row operation mode, and then the second step is performed on the entire film in a row-by-row operation mode.
  • the row operation sequence of the storage array adopts a row-by-row operation, and at most only one row of storage cells is selected at a time for the data backup operation.
  • FIG. 12 is a flow chart of at least one embodiment of the present disclosure of a dual-step data backup operation on a storage array using a row-by-row operation method.
  • the steps of the operation method are as follows:
  • the first step is to select rows from i to i+k-1;
  • the second step is to perform RESET operation on the selected k rows at the same time
  • the third step is to perform SET operations on the selected k rows simultaneously;
  • the fourth step is to determine whether all data has been backed up. If not, update i to equal i plus k and return to the first step; if yes, end this process.
  • i and k are positive integers, 1 ⁇ i ⁇ m, 1 ⁇ k ⁇ m and 1 ⁇ (i+k-1) ⁇ m.
  • the value 1 is usually selected when i is initialized, that is, the operation starts from the first row of the array, and it can also be not 1, that is, the operation starts from any row in the array; when the data backup operation is performed on the mth row, the whole process ends.
  • this operation method performs data backup, no additional data reading control and other external data interaction controls are required, the circuit structure is simple, does not occupy the data bus, and the operation is simple and convenient.
  • FIG. 13 is a flowchart of a method for performing data backup on a storage array using separate full-chip operations of RESET and SET according to at least one embodiment of the present disclosure.
  • the steps of the operation method are as follows:
  • the first step is to select rows from i to i+k-1;
  • the second step is to perform RESET operation on the selected k rows at the same time
  • Step 3 Check whether all rows have been reset. If so, proceed to step 4. Otherwise, update i to equal i plus k and return to step 1.
  • Step 4 Select rows from x to x+y-1;
  • Step 5 Perform SET operation on the selected y rows at the same time
  • Step 6 Determine whether all rows have been SET. If so, the data backup operation ends. Otherwise, update x to equal x plus y and return to step 4.
  • i and k are positive integers, 1 ⁇ i ⁇ m, 1 ⁇ k ⁇ m and 1 ⁇ (i+k-1) ⁇ m; x and y are positive integers, 1 ⁇ x ⁇ m, 1 ⁇ y ⁇ m and 1 ⁇ (x+y-1) ⁇ m; wherein i and x can be the same or different; k and y can be the same or different.
  • the voltage conversion of the power line CVDD, the first bit line BL, and the second bit line BLN is only performed once after the SET or RESET operation of the entire array is completed, which reduces the frequency of voltage conversion and reduces the dynamic power consumption of the circuit.
  • FIG. 14 is a flow chart of a single-step data backup operation on a storage array using a row-by-row operation method according to at least one embodiment of the present disclosure.
  • the steps of the data backup method are as follows:
  • the first step is to select the i-th row
  • the second step is to read the i-th row of data
  • the third step is to encode the bit lines according to the read data
  • Step 4 Perform RESET and SET operations on the selected i-th row at the same time
  • the fifth step is to determine whether the data backup is completed. If so, the data backup operation is completed, i is increased by 1, and the process returns to the first step.
  • the RESET operation and the SET operation are performed simultaneously, thereby increasing the speed of data backup.
  • the data recovery operation adopts a row-by-row operation method.
  • FIG15 is a flow chart of a method for recovering data from a storage array according to at least one embodiment of the present disclosure. As shown in FIG15 , the steps of the data recovery method are as follows:
  • the first step is to select rows from i to i+k-1;
  • the second step is to perform data recovery operations on the selected k rows simultaneously;
  • the third step is to determine whether the data recovery is complete. If not, update i to be equal to i+k and return to the first step; if yes, end the data recovery operation.
  • At least one embodiment of the present disclosure provides a storage array, an electronic device, and an operation method of the storage array.
  • the power lines of all NVSRAM storage cells in the same column are connected and routed along the column direction of the array.
  • the power lines of all columns are short-circuited along the row direction of the array.

Landscapes

  • Engineering & Computer Science (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Computer Hardware Design (AREA)
  • Static Random-Access Memory (AREA)

Abstract

At least one embodiment of the present disclosure provides a memory array, an electronic device, and an operation method for a memory array. The memory array comprises a plurality of non-volatile static memory storage units, a plurality of power lines, and a plurality of ground lines. The plurality of non-volatile static memory storage units are arranged into a plurality of rows and a plurality of columns and are configured to perform data storage and data backup and recovery. The plurality of power lines are configured to provide the plurality of non-volatile static memory storage units with a first power supply voltage, the plurality of power lines each being electrically connected to a corresponding column of storage units in a first direction, and the plurality of power lines being shorted in a second direction. The plurality of ground lines are configured to provide the plurality of non-volatile static memory storage units with a second power supply voltage, the plurality of ground lines each being electrically connected to a corresponding column of storage units in the first direction, and the plurality of ground lines being shorted in the second direction. According to the described memory array, when data recovery is performed in one row of storage units at the same time, the voltages of the power lines can be kept stable.

Description

存储器阵列、电子装置及存储器阵列的操作方法Memory array, electronic device, and memory array operation method

本申请要求于2023年11月27日递交的中国专利申请第202311595782.3号的优先权,在此全文引用上述中国专利申请公开的内容以作为本申请的一部分。This application claims priority to Chinese Patent Application No. 202311595782.3 filed on November 27, 2023. The contents of the above-mentioned Chinese patent application disclosure are hereby cited in their entirety as a part of this application.

技术领域Technical Field

本公开的实施例涉及一种存储器阵列、电子装置及存储器阵列的操作方法。Embodiments of the present disclosure relate to a memory array, an electronic device, and a method for operating the memory array.

背景技术Background Art

存储器阵列在进行数据操作时,在存储单元中可能形成从电源到地的导电通道,如果存储器阵列中的同一电源线同时连接在多个需要同时进行数据操作的存储单元上,此时则可能会导致在进行数据操作时出现电源电流过大,电源供电能力不足的问题,这进而可能导致数据操作失败。When the memory array is performing data operations, a conductive channel from the power supply to the ground may be formed in the memory cell. If the same power line in the memory array is simultaneously connected to multiple memory cells that need to perform data operations simultaneously, this may cause problems such as excessive power current and insufficient power supply capacity during data operations, which in turn may cause data operation failure.

发明内容Summary of the invention

本公开的一些实施例提供一种存储器阵列,所述存储器阵列包括:多个非易失性静态存储器存储单元,排列为多行多列且被配置为执行数据存储以及数据备份与恢复;多条电源线,被配置为给所述多个非易失性静态存储器存储单元提供第一电源电压,其中,所述多条电源线分别在第一方向与对应的存储单元列电连接,所述多条电源线在第二方向短接,所述第一方向与所述第二方向不同;多条地线,被配置为给所述多个非易失性静态存储器存储单元提供第二电源电压,其中,所述多条地线分别在所述第一方向与对应的存储单元列电连接,所述多条地线在所述第二方向短接。Some embodiments of the present disclosure provide a memory array, which includes: a plurality of non-volatile static memory storage cells, arranged in a plurality of rows and columns and configured to perform data storage as well as data backup and recovery; a plurality of power lines, configured to provide a first power supply voltage to the plurality of non-volatile static memory storage cells, wherein the plurality of power lines are electrically connected to corresponding storage cell columns in a first direction, respectively, and the plurality of power lines are short-circuited in a second direction, and the first direction is different from the second direction; a plurality of ground lines, configured to provide a second power supply voltage to the plurality of non-volatile static memory storage cells, wherein the plurality of ground lines are electrically connected to corresponding storage cell columns in the first direction, respectively, and the plurality of ground lines are short-circuited in the second direction.

例如,在本公开一些实施例提供的一种存储器阵列还包括:多条位线,分别在所述第一方向上与对应的所述非易失性静态存储器存储单元列电连接,以传输数据信号;多条第一控制线,分别在所述第二方向上与对应的所述非易失性静态存储器存储单元行电连接,以传输第一控制信号;多条字线,分别在所述第二方向上与对应的所述非易失性静态存储器存储单元行电连接,以传输字线信号。For example, a memory array provided in some embodiments of the present disclosure also includes: a plurality of bit lines, respectively electrically connected to the corresponding columns of the non-volatile static memory storage cells in the first direction to transmit data signals; a plurality of first control lines, respectively electrically connected to the corresponding rows of the non-volatile static memory storage cells in the second direction to transmit first control signals; and a plurality of word lines, respectively electrically connected to the corresponding rows of the non-volatile static memory storage cells in the second direction to transmit word line signals.

例如,在本公开一些实施例提供的一种存储器阵列中,所述多个非易失性静态存储器存储单元的每个包括易失性存储子单元以及非易失性存储子单元;所述易失性存储子单元被配置为将存储的第一数据和/或第二数据传输至所述非易失性存储子单元以进行所述数据备份,或接收所述非易失性存储子单元传输的第三数据和/或第四数据以进行所述数据恢复;所述非易失性存储子单元被配置为将存储的所述第三数据和/或第四数据传输至所述易失性存储子单元以进行所述数据恢复,或接收所述易失性存储子单元传输的所述第一数据和/或第二数据以进行所述数据备份。For example, in a memory array provided in some embodiments of the present disclosure, each of the multiple non-volatile static memory storage units includes a volatile storage sub-unit and a non-volatile storage sub-unit; the volatile storage sub-unit is configured to transfer the stored first data and/or second data to the non-volatile storage sub-unit for the data backup, or receive the third data and/or fourth data transmitted by the non-volatile storage sub-unit for the data recovery; the non-volatile storage sub-unit is configured to transfer the stored third data and/or fourth data to the volatile storage sub-unit for the data recovery, or receive the first data and/or second data transmitted by the volatile storage sub-unit for the data backup.

例如,在本公开一些实施例提供的一种存储器阵列中,所述非易失性存储子单元包括第一非易失性存储器件、第二非易失性存储器件、第一开关晶体管以及第二开关晶体管;所述第一非易失性存储器件经所述第一开关晶体管与所述易失性存储子单元连接;所述第二非易失性存储器件经所述第二开关晶体管与所述易失性存储子单元连接。For example, in a memory array provided in some embodiments of the present disclosure, the non-volatile storage sub-unit includes a first non-volatile storage device, a second non-volatile storage device, a first switching transistor and a second switching transistor; the first non-volatile storage device is connected to the volatile storage sub-unit via the first switching transistor; the second non-volatile storage device is connected to the volatile storage sub-unit via the second switching transistor.

例如,在本公开一些实施例提供的一种存储器阵列中,所述第一非易失性存储器件配置为存储所述第三数据;所述第二非易失性存储器件配置为存储所述第四数据;所述第三数据和第四数据配置为差分信号;所述第一非易失性存储器件以及所述第二非易失性存储器件为阻变存储器件或相变存储器件或磁阻存储器件。例如,在本公开一些实施例提供的一种存储器阵列中,所述多条第一控制线与对应的所述非易失性静态存储器存储单元行中每个存储单元的第一开关晶体管的栅极以及第二开关晶体管的栅极电连接。For example, in a memory array provided in some embodiments of the present disclosure, the first non-volatile memory device is configured to store the third data; the second non-volatile memory device is configured to store the fourth data; the third data and the fourth data are configured as differential signals; the first non-volatile memory device and the second non-volatile memory device are resistive memory devices or phase change memory devices or magnetoresistive memory devices. For example, in a memory array provided in some embodiments of the present disclosure, the plurality of first control lines are electrically connected to the gate of the first switch transistor and the gate of the second switch transistor of each memory cell in the corresponding non-volatile static memory cell row.

例如,在本公开一些实施例提供的一种存储器阵列中,对于每列非易失性静态存储器存储单元,所述多条位线包括第一位线和第二位线,所述第一位线与所述每列非易失性静态存储器存储单元中每个存储单元的第一非易失性存储器件电连接,所述第二位线与所述每列非易失性静态存储器存储单元中每个存储单元的第二非易失性存储器件电连接。For example, in a memory array provided in some embodiments of the present disclosure, for each column of non-volatile static memory storage cells, the multiple bit lines include a first bit line and a second bit line, the first bit line is electrically connected to the first non-volatile memory device of each storage cell in each column of the non-volatile static memory storage cells, and the second bit line is electrically connected to the second non-volatile memory device of each storage cell in each column of the non-volatile static memory storage cells.

例如,在本公开一些实施例提供的一种存储器阵列中,所述易失性存储子单元为静态随机存取存储单元。For example, in a memory array provided in some embodiments of the present disclosure, the volatile storage sub-unit is a static random access storage unit.

例如,在本公开一些实施例提供的一种存储器阵列中,所述静态随机存取存储单元包括第一反相器、第二反相器、第一存取晶体管以及第二存取晶体管;所述第一反相器和所述第二反相器连接在与所在的非易失性静态存储器存储单元对应的电源线和地线之间;所述第一反相器的输出端与所述第二反相器的输入端连接,所述第一反相器的输入端与所述第二反相器的输出端连接;所述第一存取晶体管的第一源漏极与所述第一反相器的输出端连接;所述第二存取晶体管的第一源漏极与所述第二反相器的输出端连接。For example, in a memory array provided in some embodiments of the present disclosure, the static random access memory cell includes a first inverter, a second inverter, a first access transistor and a second access transistor; the first inverter and the second inverter are connected between a power line and a ground line corresponding to the non-volatile static memory storage cell; the output end of the first inverter is connected to the input end of the second inverter, and the input end of the first inverter is connected to the output end of the second inverter; the first source and drain of the first access transistor are connected to the output end of the first inverter; and the first source and drain of the second access transistor are connected to the output end of the second inverter.

例如,在本公开一些实施例提供的一种存储器阵列中,对于每列非易失性静态存储器存储单元,所述多条位线包括第一位线和第二位线,所述第一位线与所述每列非易失性静态存储器存储单元中每个存储单元的第一存取晶体管的第二源漏极电连接,所述第二位线与所述每列非易失性静态存储器存储单元中每个存储单元的第二存取晶体管的第二源漏极电连接。For example, in a memory array provided by some embodiments of the present disclosure, for each column of non-volatile static memory storage cells, the multiple bit lines include a first bit line and a second bit line, the first bit line is electrically connected to the second source and drain of the first access transistor of each storage cell in each column of the non-volatile static memory storage cells, and the second bit line is electrically connected to the second source and drain of the second access transistor of each storage cell in each column of the non-volatile static memory storage cells.

例如,在本公开一些实施例提供的一种存储器阵列中,所述第一反相器和所述第二反相器通过电源开关组件连接在与所在的非易失性静态存储器存储单元对应的电源线和地线之间。For example, in a memory array provided in some embodiments of the present disclosure, the first inverter and the second inverter are connected between a power line and a ground line corresponding to the non-volatile static memory storage unit through a power switch component.

例如,在本公开一些实施例提供的一种存储器阵列中,所述电源开关组件包括第三开关晶体管和第四开关晶体管,所述第一反相器经所述第三开关晶体管与所述电源线电连接,所述第二反相器经所述第四开关晶体管与所述电源线电连接;或者,所述电源开关组件包括第三开关晶体管,所述第一反相器以及第二反相器经所述第三开关晶体管与所述电源线电连接。For example, in a memory array provided in some embodiments of the present disclosure, the power switch component includes a third switching transistor and a fourth switching transistor, the first inverter is electrically connected to the power line via the third switching transistor, and the second inverter is electrically connected to the power line via the fourth switching transistor; or, the power switch component includes a third switching transistor, and the first inverter and the second inverter are electrically connected to the power line via the third switching transistor.

例如,在本公开一些实施例提供的一种存储器阵列还包括:多条第二控制线,分别在所述第二方向上与对应的非易失性静态存储器存储单元行每个存储单元的所述电源开关组件电连接,以传输第二控制信号,所述第二控制信号用于控制所述电源开关组件的开关状态。For example, a memory array provided in some embodiments of the present disclosure also includes: multiple second control lines, which are electrically connected to the power switch component of each storage cell in the corresponding non-volatile static memory storage cell row in the second direction to transmit a second control signal, and the second control signal is used to control the switching state of the power switch component.

例如,在本公开一些实施例提供的一种存储器阵列中,所述多条字线与对应的非易失性静态存储器存储单元行中每个存储单元的第一存取晶体管的栅极以及第二存取晶体管的栅极电连接。For example, in a memory array provided by some embodiments of the present disclosure, the plurality of word lines are electrically connected to the gate of the first access transistor and the gate of the second access transistor of each memory cell in the corresponding nonvolatile static memory cell row.

例如,在本公开一些实施例提供的一种存储器阵列中,所述多条字线还与对应的所述电源开关组件电连接,以传输第二控制信号,所述第二控制信号用于控制所述电源开关组件的开关状态。For example, in a memory array provided in some embodiments of the present disclosure, the plurality of word lines are also electrically connected to the corresponding power switch components to transmit a second control signal, and the second control signal is used to control the switching state of the power switch components.

例如,在本公开一些实施例提供的一种存储器阵列中,所述多条电源线在所述第二方向上在所述存储器阵列的一端或两端短接;和/或所述多条地线在所述第二方向上在所述存储器阵列的一端或两端短接。For example, in a memory array provided in some embodiments of the present disclosure, the multiple power lines are short-circuited at one or both ends of the memory array in the second direction; and/or the multiple ground lines are short-circuited at one or both ends of the memory array in the second direction.

本公开一些实施例提供一种电子装置,所述电子装置包括上述任一实施例所述的存储器阵列。Some embodiments of the present disclosure provide an electronic device, which includes the memory array described in any of the above embodiments.

本公开一些实施例提供一种存储器阵列的操作方法,用于上述任一实施例所述的存储器阵列,所述方法包括:选择所述存储器阵列中的第i行非易失性静态存储器存储单元;对所述第i行非易失性静态存储器存储单元根据控制信号进行数据备份或数据恢复,其中,I为正整数。Some embodiments of the present disclosure provide a method for operating a memory array, which is used for the memory array described in any of the above embodiments, and the method includes: selecting the i-th row of non-volatile static memory storage cells in the memory array; performing data backup or data recovery on the i-th row of non-volatile static memory storage cells according to a control signal, wherein I is a positive integer.

例如,在本公开一些实施例提供的一种存储器阵列的操作方法中,选择所述存储器阵列中的多行或全部非易失性静态存储器存储单元;对选中的所述多行或全部非易失性静态存储器存储单元在同一操作中根据控制信号进行数据备份或数据恢复。For example, in a memory array operation method provided in some embodiments of the present disclosure, multiple rows or all non-volatile static memory storage cells in the memory array are selected; data backup or data recovery is performed on the selected multiple rows or all non-volatile static memory storage cells according to control signals in the same operation.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本公开实施例的技术方案,下面将对实施例的附图作简单地介绍,显而易见地,下面描述中的附图仅仅涉及本公开的一些实施例,而非对本公开的限制。In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings of the embodiments will be briefly introduced below. Obviously, the drawings in the following description only relate to some embodiments of the present disclosure, but are not intended to limit the present disclosure.

图1为一种6T-SRAM的结构示意图;FIG1 is a schematic diagram of the structure of a 6T-SRAM;

图2为一种易失性存储子单元与非易失性存储子单元的组合示意图;FIG2 is a schematic diagram of a combination of a volatile storage subunit and a non-volatile storage subunit;

图3为本公开至少一实施例提供的一种存储阵列的示意图;FIG3 is a schematic diagram of a storage array provided by at least one embodiment of the present disclosure;

图4为本公开至少一实施例提供的一种非易失性静态存储器(NVSRAM)存储单元的结构示意图;FIG4 is a schematic diagram of the structure of a non-volatile static RAM (NVSRAM) storage unit provided by at least one embodiment of the present disclosure;

图5为本公开至少一实施例提供的一种NVSRAM存储单元的示意图;FIG5 is a schematic diagram of an NVSRAM storage unit provided by at least one embodiment of the present disclosure;

图6为本公开至少一实施例提供的又一种NVSRAM存储单元的示意图;FIG6 is a schematic diagram of another NVSRAM storage unit provided by at least one embodiment of the present disclosure;

图7为本公开至少一实施例提供的NVSRAM存储单元进行数据备份操作的时序示意图;FIG7 is a timing diagram of a data backup operation performed by an NVSRAM storage unit according to at least one embodiment of the present disclosure;

图8为本公开至少一实施例提供的NVSRAM存储单元进行数据恢复操作的时序示意图;FIG8 is a timing diagram of a data recovery operation performed by an NVSRAM storage unit according to at least one embodiment of the present disclosure;

图9为本公开至少一实施例提供的一种存储阵列的操作方法的流程示意图;FIG9 is a schematic flow chart of a method for operating a storage array according to at least one embodiment of the present disclosure;

图10为本公开至少一实施例提供的一种对存储阵列进行数据备份时SET操作和RESET操作分别进行的流程示意图;FIG10 is a schematic diagram of a flow chart of a SET operation and a RESET operation respectively performed when backing up data on a storage array according to at least one embodiment of the present disclosure;

图11为本公开至少一实施例提供的一种对存储阵列进行数据备份时SET操作和RESET操作同时进行的流程示意图;FIG11 is a schematic diagram of a flow chart of simultaneously performing a SET operation and a RESET operation when backing up data on a storage array according to at least one embodiment of the present disclosure;

图12为本公开至少一实施例提供的一种对存储阵列进行数据备份采用RESET与SET分开逐行操作方法的流程示意图;FIG12 is a flowchart of a method for performing data backup on a storage array by using separate row-by-row operations of RESET and SET, provided by at least one embodiment of the present disclosure;

图13为本公开至少一实施例提供的一种对存储阵列进行数据备份采用RESET与SET分开全片操作方法的流程示意图;FIG13 is a flow chart of a method for performing data backup on a storage array using separate RESET and SET full-chip operations, provided by at least one embodiment of the present disclosure;

图14为本公开至少一实施例提供的一种对存储阵列采用RESET和SET同时进行逐行操作的数据备份方法流程示意图;以及FIG14 is a flow chart of a data backup method for performing row-by-row operations on a storage array using RESET and SET simultaneously, provided by at least one embodiment of the present disclosure; and

图15为本公开至少一实施例提供的一种对存储阵列进行数据恢复的流程图示意。FIG. 15 is a flowchart illustrating a method of recovering data from a storage array according to at least one embodiment of the present disclosure.

具体实施方式DETAILED DESCRIPTION

为使本领域技术人员更好地理解本公开的技术方案,下面将结合附图对本公开实施例作进一步地详细描述,此处描述的具体实施例和附图仅仅用于解释本公开,而非对公开实施例的限定,在不冲突的情况下,本公开的各实施例及实施例中的各特征可相互组合,为便于描述,本公开实施例的附图中仅示出了与本公开实施例相关的部分,而与本公开实施例无关的部分未在附图中示出。本公开的实施例中所涉及的每个单元、模块可仅对应一个实体结构,也可由多个实体结构组成,或者,多个单元、模块也可集成为一个实体结构。在不冲突的情况下,本公开实施例的流程图和框图中所标注的功能、步骤可按照不同于附图中所标注的顺序发生。本公开实施例的流程图和框图中,示出了按照本公开各实施例的系统、装置、设备、方法的可能实现的体系架构、功能和操作。其中,流程图或框图中的每个方框可代表一个单元、模块、程序段、代码,其包含用于实现规定的功能的可执行指令。而且,框图和流程图中的每个方框或方框的组合,可用实现规定的功能的基于硬件的系统实现,也可用硬件与计算机指令的组合来实现。In order to enable those skilled in the art to better understand the technical solution of the present disclosure, the embodiments of the present disclosure will be further described in detail in conjunction with the accompanying drawings. The specific embodiments and drawings described herein are only used to explain the present disclosure, rather than to limit the disclosed embodiments. In the absence of conflict, the various embodiments of the present disclosure and the various features in the embodiments can be combined with each other. For ease of description, the drawings of the embodiments of the present disclosure only show the parts related to the embodiments of the present disclosure, and the parts not related to the embodiments of the present disclosure are not shown in the drawings. Each unit and module involved in the embodiments of the present disclosure may correspond to only one entity structure, or may be composed of multiple entity structures, or multiple units and modules may be integrated into one entity structure. In the absence of conflict, the functions and steps marked in the flowcharts and block diagrams of the embodiments of the present disclosure may occur in an order different from that marked in the drawings. The flowcharts and block diagrams of the embodiments of the present disclosure show the possible architecture, functions and operations of the systems, devices, equipment and methods according to the embodiments of the present disclosure. Among them, each box in the flowchart or block diagram may represent a unit, module, program segment, code, which contains executable instructions for implementing the specified functions. Furthermore, each block or combination of blocks in the block diagrams and flow charts may be implemented by a hardware-based system that implements the specified functions, or may be implemented by a combination of hardware and computer instructions.

除非另外定义,本公开使用的技术术语或者科学术语应当为本公开所属领域内具有一般技能的人士所理解的通常意义。本公开中使用的“第一”、“第二”以及类似的词语并不表示任何顺序、数量或者重要性,而只是用来区分不同的组成部分。“包括”或者“包含”等类似的词语意指出现该词前面的元件或者物件涵盖出现在该词后面列举的元件或者物件及其等同,而不排除其他元件或者物件。“连接”或者“相连”等类似的词语并非限定于物理的或者机械的连接,而是可以包括电性的连接,不管是直接的还是间接的。“上”、“下”、“左”、“右”等仅用于表示相对位置关系,当被描述对象的绝对位置改变后,则该相对位置关系也可能相应地改变。Unless otherwise defined, the technical terms or scientific terms used in the present disclosure should be understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

下面通过几个具体的实施例对本公开进行说明。为了保持本公开实施例的以下说明清楚且简明,可省略已知功能和已知部(元)件的详细说明。当本公开实施例的任一部(元)件在一个以上的附图中出现时,该部(元)件在每个附图中由相同或类似的参考标号表示。The present disclosure is described below through several specific embodiments. In order to keep the following description of the embodiments of the present disclosure clear and concise, the detailed description of known functions and known components (elements) may be omitted. When any part (element) of the embodiments of the present disclosure appears in more than one figure, the part (element) is represented by the same or similar reference numeral in each figure.

存储器是计算机结构的重要组成部分,用来存储例如程序代码、数据等。基本的存储器可以按照存储介质的特性分为易失性存储器和非易失性存储器。易失性存储器指断电之后存储的数据将丢失的存储器,相应地非易失性存储器则是指断电之后存储的数据不会丢失的存储器。通常,易失性存储器操作速度快,而非易失性存储器保存时间长。Memory is an important part of computer structure, used to store program code, data, etc. Basic memory can be divided into volatile memory and non-volatile memory according to the characteristics of the storage medium. Volatile memory refers to memory in which the stored data will be lost after power failure, while non-volatile memory refers to memory in which the stored data will not be lost after power failure. Generally, volatile memory operates quickly, while non-volatile memory has a long storage time.

例如,易失性存储器可以为DRAM(动态随机存取存储器)或SRAM(静态随机存取存储器)。例如,DRAM可以使用一个晶体管和一个电容器来存储一个比特的数据,DRAM里面所储存的数据就需要周期性地更新;SRAM可以使用多个晶体管来存储一个比特的数据,SRAM只要保持通电,就可以持久保存存储的数据。For example, the volatile memory may be DRAM (dynamic random access memory) or SRAM (static random access memory). For example, DRAM may use one transistor and one capacitor to store one bit of data, and the data stored in DRAM needs to be updated periodically; SRAM may use multiple transistors to store one bit of data, and SRAM can permanently save the stored data as long as it remains powered on.

例如,SRAM还可以有多种类型,例如6T-SRAM(即六晶体管类型的SRAM)、7T-SRAM(即七晶体管类型的SRAM)、8T-SRAM(即八晶体管类型的SRAM)等多晶体管类型的SRAM。For example, SRAM can also have multiple types, such as 6T-SRAM (i.e., six-transistor type SRAM), 7T-SRAM (i.e., seven-transistor type SRAM), 8T-SRAM (i.e., eight-transistor type SRAM) and other multi-transistor type SRAM.

图1为一种6T-SRAM存储单元的示例性结构示意图。FIG. 1 is a schematic diagram showing an exemplary structure of a 6T-SRAM memory cell.

如图1所示,该6T-SRAM存储单元包括晶体管P0、晶体管P1、晶体管N0、晶体管N1、晶体管N2、晶体管N3以及用于操作该存储单元的位线BL、位线BLN、字线WL、电源线CVDD、地线VSS,对此该存储单元内具有存储节点Q以及存储节点QN,其中,上述N代表晶体管的类型为NMOS(N-Metal-Oxide-Semiconductor,N型金属-氧化物-半导体)晶体管,P代表晶体管的类型为PMOS(P型金属-氧化物-半导体)晶体管。位线BL以及位线BLN用于读写数据,字线WL用于控制读写操作,晶体管P0、晶体管N0构成一个反相器,而晶体管P1、晶体管N1构成另一个反相器,两个反相器交叉连接由此提供存储节点Q以及存储节点QN。该SRAM存储单元具有双稳态结构。存储节点Q为高电平时,则存储节点QN为低电平,此时可以被选择认为存储的数据为“1”,对应地,存储节点Q为低电平时,则存储节点QN为高电平,此时可以被选择认为存储的数据为“0”;晶体管N2以及晶体管N3受字线WL控制来导通或关闭存储单元。As shown in FIG1 , the 6T-SRAM memory cell includes transistors P0, P1, N0, N1, N2, N3, and bit lines BL, BLN, WL, CVDD, and VSS for operating the memory cell. The memory cell has a storage node Q and a storage node QN, wherein N represents that the type of transistor is NMOS (N-Metal-Oxide-Semiconductor) transistor, and P represents that the type of transistor is PMOS (P-type metal-oxide-semiconductor) transistor. The bit lines BL and BLN are used to read and write data, and the word line WL is used to control the read and write operations. The transistors P0 and N0 form an inverter, and the transistors P1 and N1 form another inverter. The two inverters are cross-connected to provide storage nodes Q and QN. The SRAM memory cell has a bistable structure. When the storage node Q is at a high level, the storage node QN is at a low level, and the stored data can be selected as "1". Correspondingly, when the storage node Q is at a low level, the storage node QN is at a high level, and the stored data can be selected as "0". Transistor N2 and transistor N3 are controlled by the word line WL to turn on or off the storage unit.

上述SRAM存储单元可以有三种状态:数据保持、读以及写。在数据保持状态时,字线WL保持低电平,晶体管N2以及晶体管N3关闭,两组反相器与相应的位线隔离并保持原状态。The above SRAM storage cell can have three states: data retention, reading and writing. In the data retention state, the word line WL maintains a low level, the transistor N2 and the transistor N3 are turned off, and the two sets of inverters are isolated from the corresponding bit lines and maintain the original state.

在读操作时,假设存储的数据为1时,则存储节点Q为高电平,存储节点QN为低电平,先将位线BL以及位线BLN预先充电至高电位,随后将字线WL置为高电平,使得晶体管N2、晶体管N3导通,由于存储节点QN为低电平使得晶体管P0导通,位线BL通过晶体管N2以及晶体管P0连接至电源线CVDD,位线BL的电平(高电平)和存储节点Q(高电平)的存储状态保持不变;存储节点Q的高电平使得晶体管N1导通,位线BLN通过晶体管N3、晶体管N1连接至地线VSS,位线BLN放电,电平降低,但是存储节点QN(低电平)的存储状态保持不变。由此,通过读取位线BL和BLN上的电压差(差值为正),可以得知存储单元当前存储的是“1”。During the read operation, assuming that the stored data is 1, the storage node Q is at a high level and the storage node QN is at a low level. The bit lines BL and BLN are first precharged to a high potential, and then the word line WL is set to a high level, so that the transistors N2 and N3 are turned on. Since the storage node QN is at a low level, the transistor P0 is turned on, and the bit line BL is connected to the power line CVDD through the transistors N2 and P0. The level of the bit line BL (high level) and the storage state of the storage node Q (high level) remain unchanged; the high level of the storage node Q turns on the transistor N1, and the bit line BLN is connected to the ground line VSS through the transistors N3 and N1. The bit line BLN discharges and the level decreases, but the storage state of the storage node QN (low level) remains unchanged. Therefore, by reading the voltage difference between the bit lines BL and BLN (the difference is positive), it can be known that the storage cell currently stores "1".

假设存储的数据为0时,则存储节点Q为低电平,存储节点QN为高电平,先将位线BL以及位线BLN预先充电至高电位,随后将字线WL置为高电平,使得晶体管N2、晶体管N3导通,由于存储节点QN为高电平使得晶体管N0导通,位线BL通过晶体管N2以及晶体管N0连接至地线VSS,则位线BL放电,电平降低,但是存储节点Q(低电平)的存储状态保持不变;存储节点Q的低电平使得晶体管P1导通,位线BLN通过晶体管N3、晶体管P1连接至电源线CVDD,位线BLN的电平(高电平)和存储节点QN(高电平)的存储状态保持不变。由此,通过读取位线BL和BLN上的电压差(差值为负),可以得知存储单元当前存储的是“0”。Assuming that the stored data is 0, the storage node Q is at a low level, and the storage node QN is at a high level. First, the bit line BL and the bit line BLN are pre-charged to a high potential, and then the word line WL is set to a high level, so that the transistor N2 and the transistor N3 are turned on. Since the storage node QN is at a high level, the transistor N0 is turned on, and the bit line BL is connected to the ground line VSS through the transistor N2 and the transistor N0. Then the bit line BL is discharged and the level is reduced, but the storage state of the storage node Q (low level) remains unchanged; the low level of the storage node Q turns on the transistor P1, and the bit line BLN is connected to the power line CVDD through the transistor N3 and the transistor P1. The level of the bit line BLN (high level) and the storage state of the storage node QN (high level) remain unchanged. Therefore, by reading the voltage difference between the bit lines BL and BLN (the difference is negative), it can be known that the storage cell currently stores "0".

在写操作时,需要把写入的状态加载到位线BL以及位线BLN,以修改存储单元中的存储节点Q和QN的电平。例如,如果要写入数据1,则需要使得存储节点Q变为高电平,对应地存储节点QN变为低电平。此时,设置位线BL为高电平,设置位线BLN为低电平,随后将字线WL置为高电平,使得晶体管N2、晶体管N3导通,位线BL的高电平将存储节点Q设置为高电平,位线BLN的低电平将存储节点QN设置为低电平,由此晶体管P0、晶体管N1导通而晶体管N0、晶体管P1关闭,由此电源线CVDD经晶体管P0将存储节点Q保持在高电平,地线VSS经晶体管N1将存储节点QN保持在低电平,由此实现数据1的写入以及数据1在不断电情形的持续存储。During the write operation, the written state needs to be loaded to the bit line BL and the bit line BLN to modify the levels of the storage nodes Q and QN in the storage unit. For example, if data 1 is to be written, the storage node Q needs to be changed to a high level, and the corresponding storage node QN needs to be changed to a low level. At this time, the bit line BL is set to a high level, the bit line BLN is set to a low level, and then the word line WL is set to a high level, so that the transistors N2 and N3 are turned on, the high level of the bit line BL sets the storage node Q to a high level, and the low level of the bit line BLN sets the storage node QN to a low level, thereby turning on the transistors P0 and N1 and turning off the transistors N0 and P1, thereby the power line CVDD keeps the storage node Q at a high level through the transistor P0, and the ground line VSS keeps the storage node QN at a low level through the transistor N1, thereby realizing the writing of data 1 and the continuous storage of data 1 in the case of power failure.

例如,如果要写入数据0,则需要使得存储节点Q变为低电平,对应地存储节点QN变为低电平。此时,设置位线BL为低电平,设置位线BLN为高电平,随后将字线WL置为高电平,使得晶体管N2、晶体管N3导通,位线BL的低电平将存储节点Q设置为低电平,位线BLN的高电平将存储节点QN设置为高电平,由此晶体管N0、晶体管P1导通而晶体管P0、晶体管N1关闭,由此电源线CVDD经晶体管P1将存储节点QN保持在高电平,地线VSS经晶体管N0将存储节点Q保持在低电平,由此实现数据0的写入以及数据0在不断电情形的持续存储。For example, if data 0 is to be written, the storage node Q needs to be changed to a low level, and the storage node QN correspondingly changes to a low level. At this time, the bit line BL is set to a low level, the bit line BLN is set to a high level, and then the word line WL is set to a high level, so that the transistors N2 and N3 are turned on, the low level of the bit line BL sets the storage node Q to a low level, and the high level of the bit line BLN sets the storage node QN to a high level, thereby the transistors N0 and P1 are turned on and the transistors P0 and N1 are turned off, thereby the power line CVDD keeps the storage node QN at a high level through the transistor P1, and the ground line VSS keeps the storage node Q at a low level through the transistor N0, thereby realizing the writing of data 0 and the continuous storage of data 0 in the case of power failure.

例如,非易失性存储器可以是RRAM(Resistive Random Access Memory,阻变随机存储器)、PRAM(Phase-Change Random Access Memory,相变随机存储器)、MRAM(Magnetoresistive Random Access Memory,磁阻存储器)、闪存(Flash)等,例如,RRAM以及PRAM通过改变阻值的方式来存储数据。例如,阻变随机存储器利用薄膜材料在不同外加电压条件下的电阻处于不同电阻状态——高阻态(HRS)和低阻态(LRS)——来实现数据存储的。由不同的高低组态的外在表现来表示逻辑“1”和逻辑“0”,从而实现数据存储,且能够在切断电源后长时间保持。阻变随机存储器由高阻态(HRS)转变到低阻态(LRS)的这个过程被称为SET过程,也可以叫置位过程。由低组态转变到高阻态被称为RESET过程,也可以叫复位过程。For example, non-volatile memory can be RRAM (Resistive Random Access Memory), PRAM (Phase-Change Random Access Memory), MRAM (Magnetoresistive Random Access Memory), Flash, etc. For example, RRAM and PRAM store data by changing resistance. For example, RRAM uses the resistance of thin film materials under different applied voltage conditions to be in different resistance states - high resistance state (HRS) and low resistance state (LRS) - to achieve data storage. The external manifestations of different high and low configurations represent logical "1" and logical "0", thereby achieving data storage, and can be maintained for a long time after the power is cut off. The process of RRAM changing from high resistance state (HRS) to low resistance state (LRS) is called SET process, which can also be called setting process. The change from low configuration to high resistance state is called RESET process, which can also be called reset process.

通常非易失性存储包括非易失性存储器件和一个或多个开关晶体管,开关晶体管可以是能够实现控制电流通断的晶体管或多个晶体管的组合。非易失性存储器操作速度通常比较慢且需要较大的操作电流或电压。Typically, nonvolatile memory includes a nonvolatile memory device and one or more switch transistors, where the switch transistor can be a transistor or a combination of multiple transistors that can control the on and off of current. Nonvolatile memory typically operates at a relatively slow speed and requires a relatively large operating current or voltage.

如上所述,SRAM(Static Random Access Memory)是易失性存储器,掉电后数据丢失,因而需要一直提供电源以维持SRAM的数据存储,这会消耗不少能量,不利于进行系统低功耗设计。另一方面,非易失性存储器操作速度通常比较慢且需要较大的操作电流或电压。因此,人们提出了非易失静态随机存储器(Nonvolatile Static random Access Memory,NVSRAM),结合了上述两种类型的存储器的优点,将非易失性存储器(Nonvolatile Memory,NVM)与SRAM存储器整合,利用非易失性存储器对SRAM存储的数据进行备份,既能够保留SRAM高速工作的优点,又能够实现掉电后数据保存在非易失性存储器中并且上电后数据能够恢复到SRAM中,从而实现处理器低功耗设计,是未来移动终端、个人计算机和服务器的一种理想存储器。As mentioned above, SRAM (Static Random Access Memory) is a volatile memory. After power failure, data is lost. Therefore, power needs to be supplied all the time to maintain the data storage of SRAM, which consumes a lot of energy and is not conducive to low-power design of the system. On the other hand, non-volatile memory usually operates slowly and requires a large operating current or voltage. Therefore, people have proposed non-volatile static random access memory (NVSRAM), which combines the advantages of the above two types of memory, integrates non-volatile memory (NVM) with SRAM memory, and uses non-volatile memory to back up the data stored in SRAM. It can not only retain the advantages of SRAM high-speed operation, but also save data in non-volatile memory after power failure and restore data to SRAM after power-on, thereby realizing low-power design of processors. It is an ideal memory for future mobile terminals, personal computers and servers.

图2是一种易失性存储子单元与非易失性存储子单元的组合得到非易失静态随机存储器存储单元(NVSRAM)的示意图,其中易失性存储子单元是与图1所示相同的6T-SRAM,非易失性存储子单元包括阻变随机存储器件(RRAM)R、阻变随机存储器件RN、晶体管N4以及晶体管N5。非易失性存储子单元通过差分的方式连接在易失性存储子单元上,阻变随机存储器件R通过晶体管N4连接在存储节点Q上,阻变随机存储器件RN通过晶体管N5连接在存储节点QN上,晶体管N4和晶体管N5的栅极与控制线CWLN连接,通过控制线CWLN控制晶体管N4和N5的开关状态,例如,将阻变随机存储器件R的电阻大于阻变随机存储器件RN的电阻的状态设定为数据“1”,反之则设定为数据“0”。FIG2 is a schematic diagram of a non-volatile static random access memory storage unit (NVSRAM) obtained by combining a volatile storage subunit with a non-volatile storage subunit, wherein the volatile storage subunit is the same 6T-SRAM as shown in FIG1 , and the non-volatile storage subunit includes a resistive random access memory device (RRAM) R, a resistive random access memory device RN, a transistor N4, and a transistor N5. The non-volatile storage subunit is connected to the volatile storage subunit in a differential manner, the resistive random access memory device R is connected to the storage node Q through the transistor N4, the resistive random access memory device RN is connected to the storage node QN through the transistor N5, the gates of the transistors N4 and N5 are connected to the control line CWLN, and the switch states of the transistors N4 and N5 are controlled by the control line CWLN, for example, the state where the resistance of the resistive random access memory device R is greater than the resistance of the resistive random access memory device RN is set as data "1", and vice versa, it is set as data "0".

在其他形式中,非易失性存储子单元除采用差分的连接方式连接在易失性存储子单元上之外,还可以采用单端的连接方式,例如将仅包括阻变随机存储器件R与晶体管N4。并且,非易失性存储子单元处使用RRAM之外,还可以使用相变随机存储器(PRAM)等。In other forms, the non-volatile memory sub-unit may be connected to the volatile memory sub-unit in a differential connection manner or in a single-ended connection manner, for example, only including the resistive random access memory device R and the transistor N4. In addition, in addition to using RRAM at the non-volatile memory sub-unit, a phase change random access memory (PRAM) or the like may also be used.

目前NVSRAM存储阵列中,电源线沿着行方向走线并电连接至该行的存储单元,同一行存储单元连接至同一条电源线,这种情况下一整行的存储单元同时进行数据恢复时,该条电源线的总电流为一整行存储单元的电源电流之和,电流过大容易造成电源供电能力不足,电源电压不稳或降低,导致数据恢复失败。In current NVSRAM storage arrays, power lines are routed along the row direction and electrically connected to the storage cells in the row. The storage cells in the same row are connected to the same power line. In this case, when data is recovered from a whole row of storage cells at the same time, the total current of the power line is the sum of the power currents of the whole row of storage cells. Excessive current can easily cause insufficient power supply capacity, unstable or reduced power supply voltage, and lead to data recovery failure.

至少针对上述问题,本公开的至少一个实施例提供了一种存储器阵列,包括:多个非易失性静态存储器(NVSRAM)存储单元、多条电源线和多条地线。该多个NVSRAM存储单元排列为多行多列且被配置为执行数据存储以及数据备份与恢复;多条电源线被配置为给多个NVSRAM存储单元提供第一电源电压,其中,多条电源线分别在第一方向与对应的存储单元列电连接,多条电源线在第二方向短接,第一方向与第二方向不同;多条地线被配置为给多个NVSRAM存储单元提供第二电源电压,其中,多条地线分别在第一方向与对应的存储单元列电连接,多条地线在第二方向短接。At least in view of the above problems, at least one embodiment of the present disclosure provides a memory array, including: a plurality of non-volatile static memory (NVSRAM) storage cells, a plurality of power lines, and a plurality of ground lines. The plurality of NVSRAM storage cells are arranged in a plurality of rows and columns and are configured to perform data storage and data backup and recovery; the plurality of power lines are configured to provide a first power supply voltage to the plurality of NVSRAM storage cells, wherein the plurality of power lines are electrically connected to the corresponding storage cell columns in a first direction, and the plurality of power lines are short-circuited in a second direction, and the first direction is different from the second direction; the plurality of ground lines are configured to provide a second power supply voltage to the plurality of NVSRAM storage cells, wherein the plurality of ground lines are electrically connected to the corresponding storage cell columns in a first direction, and the plurality of ground lines are short-circuited in a second direction.

在本公开上述实施例提供的存储器阵列的结构中,当一行存储单元同时进行数据恢复时,每一条第一方向的电源线的电流仅为一个存储单元的电源电流,每一条第一方向的地线电流仅为一个存储单元的地线电流,因此电源线以及地线上的总电流较低,电源电压以及地线电压保持稳定,能够提高数据恢复成功率。In the structure of the memory array provided in the above-mentioned embodiment of the present disclosure, when data is recovered simultaneously in a row of memory cells, the current of each power line in the first direction is only the power current of one memory cell, and the current of each ground line in the first direction is only the ground current of one memory cell. Therefore, the total current on the power line and the ground line is low, the power supply voltage and the ground line voltage remain stable, and the success rate of data recovery can be improved.

图3是本公开至少一实施例提供的一种存储器阵列示意图。FIG. 3 is a schematic diagram of a memory array provided by at least one embodiment of the present disclosure.

如图3所示,该存储器阵列包括排列为m行n列的多个NVSRAM存储单元,n条电源线CVDD以及n条地线VSS,每条电源线CVDD与一列NVSRAM存储单元电连接,并且所有电源线CVDD在行方向上短接,每条地线与一列NVSRAM存储单元电连接,并且所有地线VSS在行方向上短接。因此,当一行存储单元同时进行数据恢复时,每一条第一方向的电源线CVDD的电流仅为一个存储单元的电源电流,因此电源线CVDD上的总电流较低,电源电压保持稳定,能够提高数据恢复成功率。例如,第一方向为列方向,第二方向为行方向。As shown in FIG3 , the memory array includes a plurality of NVSRAM memory cells arranged in m rows and n columns, n power lines CVDD and n ground lines VSS, each power line CVDD is electrically connected to a column of NVSRAM memory cells, and all power lines CVDD are short-circuited in the row direction, each ground line is electrically connected to a column of NVSRAM memory cells, and all ground lines VSS are short-circuited in the row direction. Therefore, when a row of memory cells is simultaneously recovering data, the current of each power line CVDD in the first direction is only the power current of one memory cell, so the total current on the power line CVDD is low, the power supply voltage remains stable, and the success rate of data recovery can be improved. For example, the first direction is the column direction, and the second direction is the row direction.

该存储器阵列还包括多条位线、多条第一控制线CWLN和多条字线WL。多条位线包括多条第一位线BL以及多条第二位线BLN,每对位线BL和BLN分别在第一方向上与对应的NVSRAM存储单元列电连接,以传输数据信号,该数据信号用于控制NVSRAM存储单元中的易失性存储子单元以及非易失性存储子单元(参见下文所述);多条第一控制线CWLN分别在第二方向上与对应的NVSRAM存储单元行电连接,以传输第一控制信号,例如,该第一控制信号用于控制NVSRAM存储单元中的非易失存储子单元(参见下文所述);多条字线WL分别在第二方向上与对应的NVSRAM存储单元行电连接,以传输字线信号,该字线信号用于控制NVSRAM存储单元中的易失性存储子单元(参见下文所述)。The memory array further includes a plurality of bit lines, a plurality of first control lines CWLN, and a plurality of word lines WL. The plurality of bit lines include a plurality of first bit lines BL and a plurality of second bit lines BLN, each pair of bit lines BL and BLN being electrically connected to a corresponding NVSRAM memory cell column in a first direction to transmit a data signal, which is used to control a volatile memory sub-unit and a non-volatile memory sub-unit in the NVSRAM memory cell (see below); the plurality of first control lines CWLN are electrically connected to a corresponding NVSRAM memory cell row in a second direction to transmit a first control signal, for example, the first control signal is used to control a non-volatile memory sub-unit in the NVSRAM memory cell (see below); the plurality of word lines WL are electrically connected to a corresponding NVSRAM memory cell row in a second direction to transmit a word line signal, which is used to control a volatile memory sub-unit in the NVSRAM memory cell (see below).

在图3中,WLi表示第i条字线,例如WL1表示第1条字线;CWLNi表示第i条第一控制线,例如CWLN1表示第1条第一控制线;BLi以及BLNi分别表示第i条第一位线以及第i条第二位线,例如BL1以及BLN1分别表示第1条第一位线以及第1条第二位线;NVSRAMij表示第i行第j列NVSRAM存储单元,例如NVSRAM11表示第1行第1列NVSRAM存储单元,其中,i、j为正整数,1≤i≤m,1≤j≤n;在存储器阵列中,通过控制第一位线BL、第二位线BLN、第一控制线CWLN以及字线WL上的电压,可以实现对NVSRAM存储单元上各个器件状态的控制。In Figure 3, WLi represents the i-th word line, for example, WL1 represents the 1st word line; CWLNi represents the i-th first control line, for example, CWLN1 represents the 1st first control line; BLi and BLNi represent the i-th first bit line and the i-th second bit line, for example, BL1 and BLN1 represent the 1st first bit line and the 1st second bit line, respectively; NVSRAMij represents the i-th row and j-th column NVSRAM storage cell, for example, NVSRAM11 represents the 1st row and 1st column NVSRAM storage cell, wherein i and j are positive integers, 1≤i≤m, 1≤j≤n; in the memory array, by controlling the voltages on the first bit line BL, the second bit line BLN, the first control line CWLN and the word line WL, the control of the state of each device on the NVSRAM storage cell can be achieved.

在本实施例中,多条电源线CVDD在行方向上例如可以在存储器阵列的一端或两端短接,多条地线VSS在行方向上例如可以在存储器阵列的一端或两端短接。在存储器阵列的两端都将电源线CVDD和地线VSS进行短接可以避免其中一端用于短接的线路出现故障时,存储器阵列出现数据备份和恢复失败的情况。In this embodiment, a plurality of power lines CVDD may be short-circuited at one or both ends of the memory array in the row direction, and a plurality of ground lines VSS may be short-circuited at one or both ends of the memory array in the row direction. Short-circuiting the power line CVDD and the ground line VSS at both ends of the memory array can prevent data backup and recovery failure of the memory array when a line used for shorting at one end fails.

例如,图4是根据本公开至少一实施例的一种NVSRAM存储单元的结构示意图。如图4所示,在一个示例中,多个NVSRAM存储单元每个包括易失性存储子单元以及非易失性存储子单元;易失性存储子单元被配置为将存储的第一数据和/或第二数据传输至非易失性存储子单元以进行数据备份,或接收非易失性存储子单元传输的第三数据和/或第四数据以进行数据恢复;非易失性存储子单元被配置为将存储的第三数据和/或第四数据传输至易失性存储子单元以进行数据恢复,或接收易失性存储子单元传输的第一数据和/或第二数据以进行数据备份。For example, FIG4 is a schematic diagram of the structure of an NVSRAM storage unit according to at least one embodiment of the present disclosure. As shown in FIG4, in one example, each of the multiple NVSRAM storage units includes a volatile storage subunit and a non-volatile storage subunit; the volatile storage subunit is configured to transfer the stored first data and/or second data to the non-volatile storage subunit for data backup, or receive the third data and/or fourth data transmitted by the non-volatile storage subunit for data recovery; the non-volatile storage subunit is configured to transfer the stored third data and/or fourth data to the volatile storage subunit for data recovery, or receive the first data and/or second data transmitted by the volatile storage subunit for data backup.

例如,第三数据和/或第四数据可以是非易失性存储器件通过数据备份获取的易失性存储器件中的第一数据和/或第二数据,也可以是非易失性存储器件中固有的数据或通过其他方式存入非易失性存储器件中的数据。For example, the third data and/or the fourth data may be the first data and/or the second data in the volatile memory device obtained by the nonvolatile memory device through data backup, or may be data inherent in the nonvolatile memory device or data stored in the nonvolatile memory device by other means.

例如,在一个示例中,易失性存储子单元为静态随机存取存储(SRAM)单元,该SRAM单元可以是6T-SRAM、7T-SRAM或其他能够实现静态随机存取存储功能的SRAM结构。For example, in one example, the volatile storage sub-unit is a static random access memory (SRAM) unit, and the SRAM unit may be a 6T-SRAM, a 7T-SRAM, or other SRAM structures capable of implementing a static random access memory function.

例如,在一个示例中,非易失性存储子单元可以包括RRAM以及开关晶体管,其中,RRAM通过开关晶体管与易失性存储子单元电连接。For example, in one example, the non-volatile memory sub-cell may include an RRAM and a switch transistor, wherein the RRAM is electrically connected to the volatile memory sub-cell through the switch transistor.

例如,图5是本公开至少一实施例提供的一种NVSRAM存储单元的示意图。For example, FIG5 is a schematic diagram of an NVSRAM storage unit provided by at least one embodiment of the present disclosure.

如图5所示,该NVSRAM存储单元的非易失性存储子单元包括第一非易失性存储器件R、第二非易失性存储器件RN、第一开关晶体管N4以及第二开关晶体管N5;第一非易失性存储器件R经第一开关晶体管N4与易失性存储子单元连接;第二非易失性存储器件RN经第二开关晶体管N5与易失性存储子单元连接。As shown in Figure 5, the non-volatile storage sub-unit of the NVSRAM storage unit includes a first non-volatile storage device R, a second non-volatile storage device RN, a first switching transistor N4 and a second switching transistor N5; the first non-volatile storage device R is connected to the volatile storage sub-unit via the first switching transistor N4; the second non-volatile storage device RN is connected to the volatile storage sub-unit via the second switching transistor N5.

该NVSRAM存储单元的静态随机存取存储单元包括第一反相器V1、第二反相器V2、第一存取晶体管N2以及第二存取晶体管N3;第一反相器V1和第二反相器V2连接在与所在的NVSRAM存储单元对应的电源线CVDD和地线VSS之间;第一反相器V1的输端出与第二反相器V2的输入端连接,第一反相器V1的输入端与第二反相器V2的输出端连接;第一存取晶体管N2与第一反相器V1的输出端连接;第二存取晶体管N3与第二反相器V2的输出端连接。The static random access memory cell of the NVSRAM memory cell includes a first inverter V1, a second inverter V2, a first access transistor N2 and a second access transistor N3; the first inverter V1 and the second inverter V2 are connected between a power line CVDD and a ground line VSS corresponding to the NVSRAM memory cell; the output end of the first inverter V1 is connected to the input end of the second inverter V2, and the input end of the first inverter V1 is connected to the output end of the second inverter V2; the first access transistor N2 is connected to the output end of the first inverter V1; and the second access transistor N3 is connected to the output end of the second inverter V2.

例如,该静态随机存取存储单元为6T-SRAM,第一反相器V1和第二反相器V2通过电源开关组件连接在与所在的NVSRAM存储单元对应的电源线CVDD和地线VSS之间。For example, the static random access memory cell is a 6T-SRAM, and the first inverter V1 and the second inverter V2 are connected between a power line CVDD and a ground line VSS corresponding to the NVSRAM memory cell through a power switch component.

该电源开关组件包括第三开关晶体管P2和第四开关晶体管P3,第一反相器V1经第三开关晶体管P2与电源线CVDD电连接,第二反相器V2经第四开关晶体管P3与电源线CVDD电连接。The power switch assembly includes a third switch transistor P2 and a fourth switch transistor P3. The first inverter V1 is electrically connected to the power line CVDD via the third switch transistor P2. The second inverter V2 is electrically connected to the power line CVDD via the fourth switch transistor P3.

第一反相器V1包括晶体管P0和晶体管N0,第二反相器V2包括晶体管P1和晶体管N1,第三开关晶体管P2的栅极与第四开关晶体管P3的栅极连接,并连接至第二控制线RECP,第三开关晶体管P2以及第四开关晶体管P3的源极连接至电源线CVDD,第三开关晶体管P2的漏极连接至晶体管P0的源极,第四开关晶体管P3的漏极连接至晶体管P1的漏极;第二控制线RECP连接至电源开关组件中晶体管的栅极,同时可以和字线WL连接,也可以单独为电源开关组件提供电压。The first inverter V1 includes a transistor P0 and a transistor N0, the second inverter V2 includes a transistor P1 and a transistor N1, the gate of the third switch transistor P2 is connected to the gate of the fourth switch transistor P3, and is connected to the second control line RECP, the source of the third switch transistor P2 and the fourth switch transistor P3 is connected to the power line CVDD, the drain of the third switch transistor P2 is connected to the source of the transistor P0, and the drain of the fourth switch transistor P3 is connected to the drain of the transistor P1; the second control line RECP is connected to the gate of the transistor in the power switch component, and can be connected to the word line WL at the same time, and can also provide voltage to the power switch component alone.

该6T-SRAM的存储节点包括存储节点Q和QN,可以通过读取存储节点Q以及QN的电压以得到该静态随机存取存储单元存储的第一数据和/或第二数据。例如,存储节点Q中存储第一数据,存储节点QN中存储第二数据;例如,假设存储的数据为1时,则存储节点Q为高电平,存储节点QN为低电平,先将位线BL以及位线BLN预先充电至高电位,随后将字线WL置为高电平,使得晶体管N2、晶体管N3导通,由于存储节点QN为低电平使得晶体管P0导通,位线BL通过晶体管N2以及晶体管P0连接至电源线CVDD,位线BL的电平(高电平)和存储节点Q(高电平)的存储状态保持不变;存储节点Q的高电平使得晶体管N1导通,位线BLN通过晶体管N3、晶体管N1连接至地线VSS,位线BLN放电,电平降低,但是存储节点QN(低电平)的存储状态保持不变。由此,通过读取位线BL和BLN上的电压差(差值为正),可以得知存储单元当前存储的是“1”。The storage nodes of the 6T-SRAM include storage nodes Q and QN, and the voltages of the storage nodes Q and QN can be read to obtain the first data and/or the second data stored in the static random access memory cell. For example, the first data is stored in the storage node Q, and the second data is stored in the storage node QN; for example, assuming that the stored data is 1, the storage node Q is at a high level, and the storage node QN is at a low level. The bit line BL and the bit line BLN are first precharged to a high potential, and then the word line WL is set to a high level, so that the transistor N2 and the transistor N3 are turned on. Since the storage node QN is at a low level, the transistor P0 is turned on, and the bit line BL is connected to the power line CVDD through the transistor N2 and the transistor P0, and the level of the bit line BL (high level) and the storage state of the storage node Q (high level) remain unchanged; the high level of the storage node Q turns on the transistor N1, and the bit line BLN is connected to the ground line VSS through the transistor N3 and the transistor N1, and the bit line BLN is discharged, and the level is reduced, but the storage state of the storage node QN (low level) remains unchanged. Therefore, by reading the voltage difference between the bit lines BL and BLN (the difference is positive), it can be known that the memory cell currently stores "1".

由于SRAM单元是双稳态结构,存储节点Q以及QN相互钳制,因此它们的电平不易改变,这也导致带电恢复数据成功率较低,通过电源开关组件的开关状态,可以实现在数据恢复时,将易失性存储子单元与电源线之间的导电通道关闭,能够在数据恢复时自由控制断电与供电的时机,提高数据恢复成功率。Since the SRAM cell is a bistable structure, the storage nodes Q and QN are mutually clamped, so their levels are not easy to change, which also leads to a low success rate of data recovery under power. By changing the switching state of the power switch component, the conductive channel between the volatile storage sub-unit and the power line can be closed during data recovery, so that the timing of power off and power on can be freely controlled during data recovery, thereby improving the success rate of data recovery.

在上述6T-SRAM中,晶体管P0的栅极和晶体管N0的栅极连接以作为第一反相器V1的输入端,晶体管P1的栅极和晶体管N1的栅极连接以作为第二反相器V2的输入端,晶体管P0的漏极和晶体管N0的漏极分别连接至存储节点Q以作为第一反相器V1的输出端,晶体管P1的漏极和晶体管N1的漏极分别连接至存储节点QN以作为第二反相器V2的输出端。第一存取晶体管N2的源极连接至存储节点Q,第二存取晶体管的源极连接至存储节点QN。In the above 6T-SRAM, the gate of transistor P0 and the gate of transistor N0 are connected to serve as the input of the first inverter V1, the gate of transistor P1 and the gate of transistor N1 are connected to serve as the input of the second inverter V2, the drain of transistor P0 and the drain of transistor N0 are respectively connected to the storage node Q to serve as the output of the first inverter V1, the drain of transistor P1 and the drain of transistor N1 are respectively connected to the storage node QN to serve as the output of the second inverter V2. The source of the first access transistor N2 is connected to the storage node Q, and the source of the second access transistor is connected to the storage node QN.

例如,第一非易失性存储器件R以及第二非易失性存储器件RN可以配置以单端式或差分式的连接方式与易失性存储子单元的存储节点连接。如上所述,例如,第一非易失性存储器件R以及第二非易失性存储器件RN可以为阻变存储器件,也可以是具有阻值可变特性的相变存储器件、磁阻存储器件等的非易失性存储器件。例如,每个阻变随机存储器件包括夹置在两个电极(例如称为上电极和下电极)的阻变存储层,通过在这两个电极上施加操作电压来改变阻变存储层的阻值。For example, the first non-volatile memory device R and the second non-volatile memory device RN can be configured to be connected to the storage node of the volatile memory subunit in a single-ended or differential connection mode. As described above, for example, the first non-volatile memory device R and the second non-volatile memory device RN can be a resistive memory device, or a non-volatile memory device such as a phase change memory device, a magnetoresistive memory device, etc. having a variable resistance property. For example, each resistive random access memory device includes a resistive memory layer sandwiched between two electrodes (for example, an upper electrode and a lower electrode), and the resistance of the resistive memory layer is changed by applying an operating voltage to the two electrodes.

例如,第一非易失性存储器件R和第二非易失性存储器件RN为阻变随机存储器件,且第一非易失性存储器件R存储第三数据,第二非易失性存储器件RN存储第四数据,第三数据和第四数据配置为差分信号。存储器件R的下电极连接至第一开关晶体管N4的漏极,存储器件RN的下电极连接至第二开关晶体管N5的漏极,第一开关晶体管N4的源极连接至存储节点Q,第二开关晶体管N5的源极连接至存储节点QN。For example, the first nonvolatile memory device R and the second nonvolatile memory device RN are resistive random access memory devices, and the first nonvolatile memory device R stores third data, the second nonvolatile memory device RN stores fourth data, and the third data and the fourth data are configured as differential signals. The lower electrode of the memory device R is connected to the drain of the first switch transistor N4, the lower electrode of the memory device RN is connected to the drain of the second switch transistor N5, the source of the first switch transistor N4 is connected to the storage node Q, and the source of the second switch transistor N5 is connected to the storage node QN.

例如,当第一非易失性存储器件R或第二非易失性存储器件RN的两端电压差大于第一非易失性存储器件R或第二非易失性存储器件RN的操作阈值电压时,根据第一非易失性存储器件R以及第二非易失性存储器件RN两端电压为置位电压或复位电压来改变第一非易失性存储器件R或第二非易失性存储器件RN的阻态,例如,置位电压为正向电压,即第一非易失性存储器件R或第二非易失性存储器件RN靠近位线一端的电压大于靠近存储节点一端的电压;复位电压为反向电压,即第一非易失性存储器件R或第二非易失性存储器件RN靠近位线一端的电压小于靠近存储节点一端的电压,当第一非易失性存储器件R或第二非易失性存储器件RN的两端电压为复位电压以执行RESET操作时,第一非易失性存储器件R或第二非易失性存储器件RN转为高阻态;当第一非易失性存储器件R或第二非易失性存储器件RN的两端电压为置位电压以执行SET操作时,第一非易失性存储器件R或第二非易失性存储器件RN转为低阻态;当第一非易失性存储器件R或第二非易失性存储器件RN的两端电压差为0或者小于操作阈值电压时,第一非易失性存储器件R或第二非易失性存储器件RN的阻态不发生改变,阻变存储器以阻态的形式存储数据。For example, when the voltage difference between the two ends of the first nonvolatile memory device R or the second nonvolatile memory device RN is greater than the operation threshold voltage of the first nonvolatile memory device R or the second nonvolatile memory device RN, the resistance state of the first nonvolatile memory device R or the second nonvolatile memory device RN is changed according to whether the voltage between the two ends of the first nonvolatile memory device R and the second nonvolatile memory device RN is a set voltage or a reset voltage. For example, the set voltage is a forward voltage, that is, the voltage of the first nonvolatile memory device R or the second nonvolatile memory device RN close to the bit line is greater than the voltage of the end close to the storage node; the reset voltage is a reverse voltage, that is, the voltage of the first nonvolatile memory device R or the second nonvolatile memory device RN close to the bit line is less than the voltage of the end close to the storage node. When the voltage across the first nonvolatile memory device R or the second nonvolatile memory device RN is a reset voltage to perform a RESET operation, the first nonvolatile memory device R or the second nonvolatile memory device RN turns to a high resistance state; when the voltage across the first nonvolatile memory device R or the second nonvolatile memory device RN is a set voltage to perform a SET operation, the first nonvolatile memory device R or the second nonvolatile memory device RN turns to a low resistance state; when the voltage difference across the first nonvolatile memory device R or the second nonvolatile memory device RN is 0 or less than the operation threshold voltage, the resistance state of the first nonvolatile memory device R or the second nonvolatile memory device RN does not change, and the resistive memory stores data in the form of a resistance state.

当存储器件R或RN的上下电极两端正向电压差较大时,R或RN转为低阻态;当存储器件R或RN的上下电极两端反向电压差较大时,R或RN转为高阻态;当存储器件R或RN的上下电极两端电压差为0或者小于操作阈值电压时,存储器件R或RN的阻态不发生改变,阻变存储器以阻态的形式存储数据。When the forward voltage difference between the upper and lower electrodes of the storage device R or RN is large, R or RN turns into a low resistance state; when the reverse voltage difference between the upper and lower electrodes of the storage device R or RN is large, R or RN turns into a high resistance state; when the voltage difference between the upper and lower electrodes of the storage device R or RN is 0 or less than the operating threshold voltage, the resistance state of the storage device R or RN does not change, and the resistive memory stores data in the form of a resistance state.

例如,在一个示例中,多条第一控制线CWLN与对应的NVSRAM存储单元行中每个存储单元的第一开关晶体管N4以及第二开关晶体管N5电连接。第一控制线CWLN连接在第一开关晶体管N4的栅极与第二开关晶体管N5的栅极,通过控制第一控制线CWLN的电压,可以实现控制第一开关晶体管N4与第二开关晶体管N5的开关状态。当第一控制线CWLN电压满足第一开关晶体管N4与第二开关晶体管N5的导通条件时,第一开关晶体管N4与第二开关晶体管N5为打开状态,否则,第一开关晶体管N4与第二开关晶体管N5关闭。当第一开关晶体管N4与第二开关晶体管N5状态为打开时,可以实现将存储节点与非易失性存储器件的连接,例如可以将存储节点中存储的第一数据和/或第二数据传输到非易失性存储子单元中,或可以将非易失性存储子单元中的第三数据和/或第四数据传输到存储节点中。For example, in one example, a plurality of first control lines CWLN are electrically connected to the first switch transistor N4 and the second switch transistor N5 of each storage cell in the corresponding NVSRAM storage cell row. The first control line CWLN is connected to the gate of the first switch transistor N4 and the gate of the second switch transistor N5. By controlling the voltage of the first control line CWLN, the switch state of the first switch transistor N4 and the second switch transistor N5 can be controlled. When the voltage of the first control line CWLN meets the conduction condition of the first switch transistor N4 and the second switch transistor N5, the first switch transistor N4 and the second switch transistor N5 are in the open state, otherwise, the first switch transistor N4 and the second switch transistor N5 are closed. When the first switch transistor N4 and the second switch transistor N5 are in the open state, the connection between the storage node and the non-volatile storage device can be realized, for example, the first data and/or the second data stored in the storage node can be transferred to the non-volatile storage sub-unit, or the third data and/or the fourth data in the non-volatile storage sub-unit can be transferred to the storage node.

例如,在一个示例中,对于每列NVSRAM存储单元,第一位线BL与每列NVSRAM存储单元中每个存储单元的第一存取晶体管N2电连接,第二位线BLN与每列NVSRAM存储单元中每个存储单元的第二存取晶体管N3电连接。此外,第一位线BL与每列NVSRAM存储单元中每个存储单元的第一非易失性存储器件R电连接,第二位线BLN与每列NVSRAM存储单元中每个存储单元的第二非易失性存储器件RN电连接。由此,位线BL和BLN既可以用于操作SRAM存储单元,也可以用于操作非易失性存储器件。For example, in one example, for each column of NVSRAM memory cells, the first bit line BL is electrically connected to the first access transistor N2 of each memory cell in each column of NVSRAM memory cells, and the second bit line BLN is electrically connected to the second access transistor N3 of each memory cell in each column of NVSRAM memory cells. In addition, the first bit line BL is electrically connected to the first non-volatile memory device R of each memory cell in each column of NVSRAM memory cells, and the second bit line BLN is electrically connected to the second non-volatile memory device RN of each memory cell in each column of NVSRAM memory cells. Thus, the bit lines BL and BLN can be used to operate both SRAM memory cells and non-volatile memory devices.

例如,在一个示例中,多条字线WL与对应的NVSRAM存储单元行中每个存储单元的第一存取晶体管N2以及第二存取晶体管N3电连接。字线WL连接在第一存取晶体管N2与第二存取晶体管N3的栅极,通过控制字线WL的电压,可以实现控制第一存取晶体管N2与第二存取晶体管N3的导通状态。当字线WL电压满足第一存取晶体管N2与第二存取晶体管N3的导通条件时,第一存取晶体管N2与第二存取晶体管N3导通,否则,第一存取晶体管N2与第二存取晶体管N3不导通。For example, in one example, a plurality of word lines WL are electrically connected to the first access transistor N2 and the second access transistor N3 of each memory cell in the corresponding NVSRAM memory cell row. The word line WL is connected to the gates of the first access transistor N2 and the second access transistor N3, and the conduction state of the first access transistor N2 and the second access transistor N3 can be controlled by controlling the voltage of the word line WL. When the word line WL voltage meets the conduction condition of the first access transistor N2 and the second access transistor N3, the first access transistor N2 and the second access transistor N3 are turned on, otherwise, the first access transistor N2 and the second access transistor N3 are not turned on.

图6是本公开至少一实施例的另一种NVSRAM存储单元的示意图。FIG. 6 is a schematic diagram of another NVSRAM storage cell according to at least one embodiment of the present disclosure.

与图5相比,图6所示的NVSRAM存储单元的电源开关组件包括第三开关晶体管P2,第一反相器V1以及第二反相器V2经第三开关晶体管P2与电源线电连接,其余器件的连接方式与图5所示的NVSRAM存储单元相同。此时第三开关晶体管P2的源极连接至电源线CVDD,漏极连接至晶体管P0以及晶体管P1的源极,栅极连接至第二控制线RECP,第二控制线RECP用于传输第二控制信号以控制第三开关晶体管P2的开关状态。Compared with FIG5 , the power switch component of the NVSRAM storage unit shown in FIG6 includes a third switch transistor P2, the first inverter V1 and the second inverter V2 are electrically connected to the power line via the third switch transistor P2, and the connection method of the remaining devices is the same as that of the NVSRAM storage unit shown in FIG5 . At this time, the source of the third switch transistor P2 is connected to the power line CVDD, the drain is connected to the source of the transistor P0 and the transistor P1, and the gate is connected to the second control line RECP, and the second control line RECP is used to transmit a second control signal to control the switching state of the third switch transistor P2.

图6所示的NVSRAM存储单元排列成的存储器阵列还包括多条第二控制线RECP,分别在第二方向上与对应的NVSRAM存储单元行中每个存储单元的电源开关组件电连接,以传输第二控制信号。第二控制线RECP连接至电源开关组件中晶体管的栅极,同时可以和字线WL连接,也可以单独为电源开关组件提供电压。The memory array formed by arranging the NVSRAM memory cells shown in FIG6 further includes a plurality of second control lines RECP, which are electrically connected to the power switch components of each memory cell in the corresponding NVSRAM memory cell row in the second direction to transmit a second control signal. The second control line RECP is connected to the gate of the transistor in the power switch component, and can be connected to the word line WL at the same time, or can provide voltage to the power switch component alone.

如图5所示的NVSRAM存储单元进行数据备份以及数据恢复的过程可以如下所示:The process of performing data backup and data recovery for the NVSRAM storage unit shown in FIG. 5 can be as follows:

数据备份操作分为对非易失性存储器件进行SET以及RESET操作:根据易失性存储子单元中存储节点的数据选择其中一个非易失性存储器件进行SET操作,另一个进行RESET操作。The data backup operation is divided into SET and RESET operations on the non-volatile storage device: one of the non-volatile storage devices is selected to perform a SET operation and the other to perform a RESET operation according to the data of the storage node in the volatile storage subunit.

以易失性存储子单元存储的数据为0为例,此时,存储节点Q为低电平,存储节点QN为高电平。此时对非易失性存储器件R进行SET操作,对非易失性存储器件RN进行RESET操作。For example, the data stored in the volatile storage subunit is 0. At this time, the storage node Q is at a low level, and the storage node QN is at a high level. At this time, the non-volatile storage device R is SET operated, and the non-volatile storage device RN is RESET operated.

图7是图5所示的NVSRAM存储单元进行数据备份操作的时序示意图。FIG. 7 is a timing diagram of the data backup operation performed by the NVSRAM storage unit shown in FIG. 5 .

进行SET操作时(图中右侧),将电源线CVDD电压设为电压VDD,字线WL电压设为VSS,第一控制线CWLN电压设为电压VDD,第一位线BL以及第二位线BLN的电压设为电压VSET(即进行SET操作的电压)。此时存储节点Q为低电平(即VSS),且第一开关晶体管N4导通,非易失性存储器件R两端的电压差VR为VSET且大于SET操作阈值电压,因此对非易失性存储器件R进行SET操作,将其变为低阻态;存储节点QN为高电平(即VDD),第二开关晶体管N5关闭,非易失性存储器件RN两端的电压差VR为0,因此对非易失性存储器件RN不进行操作,其阻值不变。When performing a SET operation (right side of the figure), the voltage of the power line CVDD is set to the voltage VDD, the voltage of the word line WL is set to VSS, the voltage of the first control line CWLN is set to the voltage VDD, and the voltages of the first bit line BL and the second bit line BLN are set to the voltage VSET (i.e., the voltage for performing a SET operation). At this time, the storage node Q is at a low level (i.e., VSS), and the first switch transistor N4 is turned on, the voltage difference VR across the non-volatile memory device R is VSET and is greater than the SET operation threshold voltage, so the SET operation is performed on the non-volatile memory device R, turning it into a low resistance state; the storage node QN is at a high level (i.e., VDD), the second switch transistor N5 is turned off, and the voltage difference VR across the non-volatile memory device RN is 0, so the non-volatile memory device RN is not operated, and its resistance value remains unchanged.

进行RESET操作时(图中左侧),将电源线CVDD电压设为VRST(即进行RESET操作的电压),字线WL电压设为VSS,第一控制线CWLN电压设为电压VDDH,第一位线BL以及第二位线BLN的电压设为电压VSS,其中电压VDDH高于或等于电压VDD。此时存储节点Q为低电平(即VSS),第一开关晶体管N4导通,非易失性存储器件R两端的电压差VR为0,非易失性存储器件R的阻态不发生改变;存储节点QN为高电平(即VRST),第二开关晶体管N5导通,非易失性存储器件RN两端的电压差VR为VRST和VDDH-VTN之间的低值,其中,VTN为第二开关晶体管N5的阈值电压;通过预设VRST和VDDH使得VRST和VDDH-VTN均大于RESET操作所需的反向阈值电压,此时对非易失性存储器件RN进行RESET操作,将其变为高阻态。When performing a RESET operation (left side of the figure), the voltage of the power line CVDD is set to VRST (i.e., the voltage for performing a RESET operation), the voltage of the word line WL is set to VSS, the voltage of the first control line CWLN is set to voltage VDDH, and the voltages of the first bit line BL and the second bit line BLN are set to voltage VSS, wherein voltage VDDH is higher than or equal to voltage VDD. At this time, the storage node Q is at a low level (i.e., VSS), the first switch transistor N4 is turned on, the voltage difference VR across the non-volatile memory device R is 0, and the resistance state of the non-volatile memory device R does not change; the storage node QN is at a high level (i.e., VRST), the second switch transistor N5 is turned on, and the voltage difference VR across the non-volatile memory device RN is a lower value between VRST and VDDH-VTN, wherein VTN is the threshold voltage of the second switch transistor N5; by presetting VRST and VDDH, VRST and VDDH-VTN are both greater than the reverse threshold voltage required for the RESET operation, and at this time, the RESET operation is performed on the non-volatile memory device RN to change it to a high resistance state.

如图6所示的NVSRAM存储单元进行数据备份以及数据恢复的过程与图5所示NVSRAM存储单元进行数据备份的过程相同,这里不再赘述。The process of performing data backup and data recovery by the NVSRAM storage unit shown in FIG. 6 is the same as the process of performing data backup by the NVSRAM storage unit shown in FIG. 5 , and will not be described in detail here.

图8是如图5所示的NVSRAM存储单元进行数据恢复操作的时序示意图。FIG. 8 is a timing diagram of a data recovery operation performed by the NVSRAM storage unit shown in FIG. 5 .

数据恢复操作将非易失性存储器件R以及RN(以差分方式)存储的数据恢复到SRAM器件中,将非易失性存储器件R以及RN中高阻态一侧对应存储节点恢复为高电平,而将低阻态一侧对应存储节点恢复为低电平。The data recovery operation restores the data stored in the non-volatile memory devices R and RN (in a differential manner) to the SRAM device, restores the storage nodes corresponding to the high-resistance side of the non-volatile memory devices R and RN to a high level, and restores the storage nodes corresponding to the low-resistance side to a low level.

如图5所示的NVSRAM存储单元进行数据恢复操作分为以下三个阶段:The data recovery operation of the NVSRAM storage unit shown in Figure 5 is divided into the following three stages:

第一阶段:设置电源线CVDD电压为电压VDD,字线WL电压为电压VDD,第一控制线CWLN电压为电压VDD,第一位线BL和第二位线BLN的电压为电压VSS,此时第三开关晶体管P2和第四开关晶体管P3关断,切断SRAM存储单元的电源,由此破坏SRAM存储单元的双稳态状态,存储节点Q电压通过第一开关晶体管N4和晶体管N2通路放电至电压VSS,存储节点QN电压通过第二开关晶体管N5和晶体管N3通路放电至电压VSS。Phase 1: Set the voltage of the power line CVDD to voltage VDD, the voltage of the word line WL to voltage VDD, the voltage of the first control line CWLN to voltage VDD, the voltage of the first bit line BL and the second bit line BLN to voltage VSS. At this time, the third switch transistor P2 and the fourth switch transistor P3 are turned off, cutting off the power supply of the SRAM memory cell, thereby destroying the bistable state of the SRAM memory cell, and the voltage of the storage node Q is discharged to voltage VSS through the first switch transistor N4 and transistor N2, and the voltage of the storage node QN is discharged to voltage VSS through the second switch transistor N5 and transistor N3.

第二阶段:设置电源线CVDD电压为电压VDD,字线WL电压为电压VSS,第一控制线CWLN电压为电压VDD,第一位线BL和第二位线BLN的电压为电压VSS,此时,第一开关晶体管N4和第二开关晶体管N5以及第三开关晶体管P2和第四开关晶体管P3均处于导通状态,从电源线CVDD经过第三开关晶体管P2、晶体管P0、晶体管N4、第一非易失性存储器件R到第一位线BL形成导通通路,以及从电源线CVDD经过第四开关晶体管P3、晶体管P1、第二开关晶体管N5、第二非易失性存储器件RN到第二位线BLN形成导通通路,电路产生电流,存储节点Q和QN的电压升高,由于两侧非易失性存储器件阻值不同,因此高阻态一侧电压升高得快,低阻态一侧电压升高得慢,存储节点Q和QN之间产生电压差ΔVQ,经过易失性存储子单元中的交叉耦合的反相器的正反馈作用被放大,存储节点Q和QN的电压被拉至VDD和VSS,数据从非易失性存储子单元恢复至SRAM存储单元。The second stage: the voltage of the power line CVDD is set to the voltage VDD, the voltage of the word line WL is set to the voltage VSS, the voltage of the first control line CWLN is set to the voltage VDD, and the voltage of the first bit line BL and the second bit line BLN is set to the voltage VSS. At this time, the first switch transistor N4 and the second switch transistor N5 and the third switch transistor P2 and the fourth switch transistor P3 are all in the on state, and a conduction path is formed from the power line CVDD through the third switch transistor P2, the transistor P0, the transistor N4, the first non-volatile memory device R to the first bit line BL, and a conduction path is formed from the power line CVDD through the fourth switch transistor P3, transistor P1, the second switching transistor N5, the second non-volatile memory device RN to the second bit line BLN form a conduction path, the circuit generates current, and the voltage of the storage nodes Q and QN increases. Since the resistance values of the non-volatile memory devices on both sides are different, the voltage on the high-resistance side increases faster and the voltage on the low-resistance side increases slower, and a voltage difference ΔVQ is generated between the storage nodes Q and QN. The positive feedback effect of the cross-coupled inverter in the volatile storage sub-unit is amplified, and the voltage of the storage nodes Q and QN is pulled to VDD and VSS, and the data is restored from the non-volatile storage sub-unit to the SRAM storage unit.

第三阶段,设置电源线CVDD电压为电压VDD,字线WL电压为电压VSS,第一控制线CWLN电压为电压VSS,第一位线BL和第二位线BLN电压为电压VDD,第一开关晶体管N4和第二开关晶体管N5关断,第一存取晶体管N2和第二存取晶体管N3关断,数据恢复操作结束。In the third stage, the power line CVDD voltage is set to voltage VDD, the word line WL voltage is set to voltage VSS, the first control line CWLN voltage is set to voltage VSS, the first bit line BL and the second bit line BLN voltage are set to voltage VDD, the first switch transistor N4 and the second switch transistor N5 are turned off, the first access transistor N2 and the second access transistor N3 are turned off, and the data recovery operation is completed.

如图6所示的NVSRAM存储单元进行数据恢复操作的时序示意图与图8相同,如图6所示的NVSRAM存储单元进行数据恢复操作分为以下三个阶段:The timing diagram of the data recovery operation of the NVSRAM storage unit shown in FIG6 is the same as FIG8 . The data recovery operation of the NVSRAM storage unit shown in FIG6 is divided into the following three stages:

第一阶段:设置电源线CVDD电压为电压VDD,字线WL电压为电压VDD,第一控制线CWLN电压为电压VDD,第一位线BL和第二位线BLN的电压为电压VSS,此时第三开关晶体管P2关断,切断易失性存储子单元的电源,破坏SRAM存储单元的双稳态状态,存储节点Q的电压通过第一开关晶体管N4和晶体管N2通路放电至电压VSS,存储节点QN的电压通过第二开关晶体管N5和晶体管N3通路放电至电压VSS。Phase 1: Set the voltage of the power line CVDD to voltage VDD, the voltage of the word line WL to voltage VDD, the voltage of the first control line CWLN to voltage VDD, the voltage of the first bit line BL and the second bit line BLN to voltage VSS. At this time, the third switch transistor P2 is turned off, cutting off the power supply of the volatile storage sub-unit, destroying the bistable state of the SRAM storage unit, and the voltage of the storage node Q is discharged to voltage VSS through the first switch transistor N4 and transistor N2, and the voltage of the storage node QN is discharged to voltage VSS through the second switch transistor N5 and transistor N3.

第二阶段:设置电源线CVDD电压为电压VDD,字线WL电压为VSS,第一控制线CWLN电压为电压VDD,第一位线BL第二位线BLN的电压为电压VSS,此时,第一开关晶体管N4和第二开关晶体管N5以及第三开关晶体管P2处于导通状态,从电源线CVDD经过第三开关晶体管P2、晶体管P0、晶体管N4、第一非易失性存储器件R到第一位线BL形成导通通路,以及从电源线CVDD经过第三开关晶体管P2、晶体管P1、第二开关晶体管N5、第二非易失性存储器件RN到第二位线BLN形成导通通路,存储节点Q和QN的电压升高,由于两侧非易失性存储器件阻值不同,高阻态一侧电压升高得快,低阻态一侧电压升高得慢,存储节点Q和QN之间产生电压差ΔVQ,经过易失性存储子单元中的交叉耦合的反相器的正反馈作用被放大,存储节点Q和QN的电压分别被拉至电压VDD和VSS,数据从非易失性存储子单元恢复至易失性存储子单元。The second stage: the voltage of the power line CVDD is set to the voltage VDD, the voltage of the word line WL is set to the voltage VSS, the voltage of the first control line CWLN is set to the voltage VDD, the voltage of the first bit line BL and the second bit line BLN is set to the voltage VSS, at this time, the first switch transistor N4, the second switch transistor N5 and the third switch transistor P2 are in the on state, and a conduction path is formed from the power line CVDD through the third switch transistor P2, the transistor P0, the transistor N4, the first non-volatile memory device R to the first bit line BL, and a conduction path is formed from the power line CVDD through the third switch transistor P2, the transistor P0, the transistor N4, the first non-volatile memory device R to the first bit line BL. A conduction path is formed from the body transistor P1, the second switch transistor N5, the second non-volatile memory device RN to the second bit line BLN, and the voltages of the storage nodes Q and QN increase. Due to the different resistance values of the non-volatile memory devices on both sides, the voltage on the high-resistance side increases faster, and the voltage on the low-resistance side increases slower, and a voltage difference ΔVQ is generated between the storage nodes Q and QN. The positive feedback effect of the cross-coupled inverter in the volatile memory sub-unit is amplified, and the voltages of the storage nodes Q and QN are pulled to voltages VDD and VSS, respectively, and the data is restored from the non-volatile memory sub-unit to the volatile memory sub-unit.

第三阶段,设置电源线CVDD电压为电压VDD,字线WL电压为电压VSS,第一控制线CWLN电压为电压VSS,第一位线BL和第二位线BLN的电压为电压VDD,第一开关晶体管N4和第二开关晶体管N5关断,第一存取晶体管N2和第二存取晶体管N3关断,数据恢复操作结束。In the third stage, the power line CVDD voltage is set to voltage VDD, the word line WL voltage is set to voltage VSS, the first control line CWLN voltage is set to voltage VSS, the first bit line BL and the second bit line BLN voltage are set to voltage VDD, the first switch transistor N4 and the second switch transistor N5 are turned off, the first access transistor N2 and the second access transistor N3 are turned off, and the data recovery operation is completed.

由于SRAM存储单元具有双稳态结构,数据恢复操作时,如果不切断SRAM存储单元与电源线的连接,则较小的电压差难以改变SRAM存储单元的存储状态,通过电源开关组件切断易失性存储子单元电源,破坏的SRAM的双稳态存储状态,可以提高数据恢复的成功率。Since the SRAM memory cell has a bistable structure, during the data recovery operation, if the connection between the SRAM memory cell and the power line is not cut off, a small voltage difference will make it difficult to change the storage state of the SRAM memory cell. By cutting off the power supply of the volatile storage sub-cell through the power switch component and destroying the bistable storage state of the SRAM, the success rate of data recovery can be improved.

本公开至少一实施例还提供一种电子装置,该电子装置包括上述任一实施例描述的任一存储阵列。该电子装置例如可以是存储设备、计算机等任何包括该存储阵列或者与该存储阵列配套使用的产品或部件。该电子装置的技术效果,可参见上述实施例描述的存储阵列的技术效果,在此不再赘述。At least one embodiment of the present disclosure further provides an electronic device, which includes any storage array described in any of the above embodiments. The electronic device can be, for example, any product or component including the storage array or used in conjunction with the storage array, such as a storage device or a computer. The technical effects of the electronic device can refer to the technical effects of the storage array described in the above embodiments, which will not be repeated here.

本公开至少一实施例提供了一种存储阵列的操作方法,该操作方法例如可以用于上述任一实施例的存储阵列。以图3示出的存储阵列为例进行介绍,存储阵列中的NVSRAM存储单元如图5所示。At least one embodiment of the present disclosure provides a method for operating a storage array, which can be used for the storage array of any of the above embodiments. Taking the storage array shown in FIG3 as an example, the NVSRAM storage unit in the storage array is shown in FIG5.

图9为本公开上述至少一实施例提供的存储阵列的操作方法的流程图。FIG. 9 is a flow chart of a method for operating a storage array provided by at least one embodiment of the present disclosure.

如图9所示,存储阵列的操作方法包括以下步骤:As shown in FIG9 , the operation method of the storage array includes the following steps:

步骤S101:选择存储器阵列中的第i行NVSRAM存储单元。Step S101: Select the i-th row of NVSRAM storage cells in the memory array.

步骤S102:第i行NVSRAM存储单元根据控制信号进行数据备份或数据恢复,其中,i为正整数,1≤i≤m。Step S102: the NVSRAM storage units in the i-th row perform data backup or data recovery according to the control signal, where i is a positive integer, 1≤i≤m.

在上述实施例中,对如图3所示的规模为m行n列的存储阵列的数据读写操作与基于图1的SRAM存储单元的存储阵列的数据读写操作一致,不再具体说明。In the above embodiment, the data read and write operations of the memory array with m rows and n columns as shown in FIG. 3 are consistent with the data read and write operations of the memory array based on the SRAM memory cell of FIG. 1 , and will not be described in detail.

例如,可以选择第i行至第(i+k-1)行同时进行操作,其中,i、k为正整数,1≤i≤m,1≤k≤m且1≤(i+k-1)≤m。当k=1时,选择1行进行数据备份或数据恢复操作;当1<k<m时,选择多行同时进行数据备份或数据恢复操作;当i=1且k=m时,对m行阵列的所有行同时进行数据备份或数据恢复操作。For example, the i-th row to the (i+k-1)-th row may be selected to perform operations simultaneously, where i and k are positive integers, 1≤i≤m, 1≤k≤m and 1≤(i+k-1)≤m. When k=1, one row is selected for data backup or data recovery operations; when 1<k<m, multiple rows are selected for data backup or data recovery operations simultaneously; when i=1 and k=m, all rows of the m-row array are simultaneously backed up or restored.

在本公开的实施例中,例如,数据备份操作可以以字为最小单位进行操作,也可以以行为最小单位进行操作;例如,数据恢复操作以行为最小单位进行操作。以字为最小单位进行操作指每次进行对非易失存储子单元操作时,选中的一个字或多个字中所有非易失存储子单元同时进行操作。以行为最小单位进行操作指每次对非易失存储子单元进行操作时,选中的一行或多行存储单元中所有非易失存储子单元同时进行操作。以所述以行为最小单位进行操作为例,介绍数据备份和数据恢复的操作方法。In the embodiments of the present disclosure, for example, a data backup operation may be performed with a word as the smallest unit, or may be performed with a row as the smallest unit; for example, a data recovery operation may be performed with a row as the smallest unit. Performing an operation with a word as the smallest unit means that each time an operation is performed on a non-volatile storage sub-unit, all non-volatile storage sub-units in a selected word or multiple words are operated at the same time. Performing an operation with a row as the smallest unit means that each time an operation is performed on a non-volatile storage sub-unit, all non-volatile storage sub-units in a selected row or multiple rows of storage units are operated at the same time. Taking the operation with a row as the smallest unit as an example, the operation method of data backup and data recovery is introduced.

在本公开的至少一个实施例的存储器阵列的操作方法中,例如,依次或同时选择所述存储器阵列中的多行或全部非易失性静态存储器存储单元;然后对选中选择的所述多行或全部非易失性静态存储器存储单元在同一操作中根据控制信号进行数据备份或数据恢复,例如该同一操作例如为根据相同的控制信号进行的操作步骤。进行数据备份操作时,根据SET操作和RESET操作是否同时进行可以分为两种数据备份操作方法:In the operation method of the memory array of at least one embodiment of the present disclosure, for example, multiple rows or all non-volatile static memory storage units in the memory array are selected sequentially or simultaneously; then data backup or data recovery is performed on the selected multiple rows or all non-volatile static memory storage units according to control signals in the same operation, for example, the same operation is an operation step performed according to the same control signal. When performing the data backup operation, there are two data backup operation methods according to whether the SET operation and the RESET operation are performed simultaneously:

第一种方法为双步骤数据备份操作方法,即数据备份操作中的SET操作和RESET操作分为两个步骤操作,对SET操作或RESET操作的操作顺序没有要求,可以先进行RESET操作后进行SET操作,也可以先进行SET操作后进行RESET操作。The first method is a two-step data backup operation method, that is, the SET operation and RESET operation in the data backup operation are divided into two steps. There is no requirement for the operation order of the SET operation or the RESET operation. The RESET operation can be performed first and then the SET operation, or the SET operation can be performed first and then the RESET operation.

图10是本公开至少一实施例的对存储阵列进行双步骤数据备份操作的流程示意图。FIG. 10 is a schematic diagram of a flow chart of performing a dual-step data backup operation on a storage array according to at least one embodiment of the present disclosure.

如图10所示,先进行RESET操作后进行SET操作的单元操作步骤如下:As shown in FIG10 , the unit operation steps of performing a RESET operation first and then a SET operation are as follows:

步骤S001:对所有选中单元进行RESET操作;Step S001: Perform RESET operation on all selected cells;

步骤S002:对所有选中单元进行SET操作。Step S002: Perform SET operation on all selected cells.

双步骤数据备份操作方法不需要额外的数据读取控制等与外部数据交互控制,电路结构简单,操作简单方便。该操作方法可以以字为最小单位进行数据备份操作,也可以以行为最小单位进行数据备份操作,并可以同时对多行或者整个阵列的所有行进行数据备份操作。The double-step data backup operation method does not require additional data reading control or other external data interaction control, has a simple circuit structure, and is easy and convenient to operate. The operation method can perform data backup operations with words as the smallest unit, or with rows as the smallest unit, and can perform data backup operations on multiple rows or all rows of the entire array at the same time.

图11是本公开至少一实施例的对存储阵列进行单步骤数据备份操作的流程示意图,在该流程中,SET操作和RESET操作同时进行。FIG. 11 is a schematic diagram of a process of performing a single-step data backup operation on a storage array according to at least one embodiment of the present disclosure. In the process, a SET operation and a RESET operation are performed simultaneously.

如图11所示,第二种方法为单步骤数据备份操作方法,步骤如下:As shown in FIG. 11 , the second method is a single-step data backup operation method, and the steps are as follows:

步骤S011:读取选中单元的SRAM中存储的数据;Step S011: reading the data stored in the SRAM of the selected unit;

步骤S012:根据读取的数据对位线进行设置以输出对应电压;Step S012: setting the bit line according to the read data to output a corresponding voltage;

对应存储节点为“0”侧位线电压为VSET,存储节点为“1”侧位线电压为0;The bit line voltage on the side corresponding to the storage node "0" is VSET, and the bit line voltage on the side corresponding to the storage node "1" is 0;

步骤S013:所有选中单元同时进行RESET操作和SET操作。Step S013: all selected cells perform RESET operation and SET operation simultaneously.

在上述实施例中,对NVSRAM存储单元进行单步骤数据备份操作时,读取选中的所有NVSRAM存储单元的SRAM中存储节点的数据;再根据读取的数据对位线进行设置分别输出对应电压,对应存储节点为低电位一侧的位线的电压被设置为VSET,存储节点为高电平一侧的位线的电压被设置为0;然后,位线BL以及BLN输出相应的电压,所有选中单元同时进行RESET和SET操作;存储节点为低电位的一侧的非易失性存储器件进行SET操作,存储节点数据为高电位的一侧的非易失性存储器件进行RESET操作。SET和RESET操作同时进行,可以提高阵列的操作速度。单步骤数据备份操作方法可以以字为最小单位进行数据备份操作,也可以以行为单位进行数据备份操作,但以行为单位进行操作时,一次最多只可以对一行进行数据备份操作。In the above embodiment, when performing a single-step data backup operation on the NVSRAM storage unit, the data of the storage nodes in the SRAM of all selected NVSRAM storage units are read; then the bit lines are set according to the read data to output corresponding voltages respectively, the voltage of the bit line corresponding to the low potential side of the storage node is set to VSET, and the voltage of the bit line corresponding to the high potential side of the storage node is set to 0; then, the bit lines BL and BLN output corresponding voltages, and all selected units perform RESET and SET operations at the same time; the non-volatile memory device on the side of the storage node with a low potential performs a SET operation, and the non-volatile memory device on the side of the storage node with a high potential performs a RESET operation. The SET and RESET operations are performed simultaneously, which can improve the operation speed of the array. The single-step data backup operation method can perform data backup operations with words as the minimum unit, or it can perform data backup operations with rows, but when operating with rows, data backup operations can be performed on at most one row at a time.

对于双步骤数据备份操作或者数据恢复操作,根据行操作时序的不同,存储阵列的行操作时序可以分为两种方法。For a two-step data backup operation or a data recovery operation, the row operation timing of the storage array can be divided into two methods according to the difference in the row operation timing.

方式一为逐行操作,其中,阵列操作时,对阵列当前选中行或多行中所有单元完成单次操作后,再对下一行或多行进行单次操作。单次操作可以包括数据备份操作或数据恢复操作,且在数据备份操作和数据恢复操作时,选中的行的序号(i)或行数(k)可以相同或不同。Mode 1 is a row-by-row operation, wherein, during array operation, after completing a single operation on all cells in the currently selected row or rows of the array, a single operation is performed on the next row or rows. A single operation may include a data backup operation or a data recovery operation, and during the data backup operation and the data recovery operation, the sequence number (i) or the number of rows (k) of the selected row may be the same or different.

方法二为全片操作,其中,先通过逐行操作方式对全片完成第一个步骤,再通过逐行操作方式对全片完成第二个步骤。Method 2 is a full-film operation, in which the first step is first performed on the entire film in a row-by-row operation mode, and then the second step is performed on the entire film in a row-by-row operation mode.

对于单步骤数据备份操作,存储阵列的行操作时序采用逐行操作,且一次最多仅同时选中一行存储单元进行数据备份操作。For a single-step data backup operation, the row operation sequence of the storage array adopts a row-by-row operation, and at most only one row of storage cells is selected at a time for the data backup operation.

图12是本公开至少一实施例对存储阵列采用逐行操作方法进行双步骤数据备份操作的流程示意图。FIG. 12 is a flow chart of at least one embodiment of the present disclosure of a dual-step data backup operation on a storage array using a row-by-row operation method.

如图12所示,该操作方法的步骤如下:As shown in FIG12 , the steps of the operation method are as follows:

第一步,选中第i至第i+k-1行;The first step is to select rows from i to i+k-1;

第二步,对选中的k行同时进行RESET操作;The second step is to perform RESET operation on the selected k rows at the same time;

第三步,对选中的k行同时进行SET操作;The third step is to perform SET operations on the selected k rows simultaneously;

第四步,判断是否全部数据备份完毕,若否则更新i等于i加k,并返回第一步;若是,则结束此流程。The fourth step is to determine whether all data has been backed up. If not, update i to equal i plus k and return to the first step; if yes, end this process.

其中,i、k为正整数,1≤i≤m,1≤k≤m且1≤(i+k-1)≤m。当k=1时,选择1行进行数据备份或数据恢复操作;当1<k<m时,选择多行同时进行数据备份或数据恢复操作;当i=1且k=m时,对m行阵列的所有行同时进行数据备份或数据恢复操作。在实际进行操作时,i初始化时通常选取数值1,即从阵列的第1行开始操作,也可以不为1,即从阵列中的任意行开始操作;当第m行执行完数据备份操作,全流程结束。这种操作方法进行数据备份时,不需要额外的数据读取控制等与外部数据交互控制,电路结构简单,不占用数据总线,操作简单方便。Wherein, i and k are positive integers, 1≤i≤m, 1≤k≤m and 1≤(i+k-1)≤m. When k=1, select 1 row for data backup or data recovery operation; when 1<k<m, select multiple rows for data backup or data recovery operation at the same time; when i=1 and k=m, perform data backup or data recovery operation on all rows of the m-row array at the same time. In actual operation, the value 1 is usually selected when i is initialized, that is, the operation starts from the first row of the array, and it can also be not 1, that is, the operation starts from any row in the array; when the data backup operation is performed on the mth row, the whole process ends. When this operation method performs data backup, no additional data reading control and other external data interaction controls are required, the circuit structure is simple, does not occupy the data bus, and the operation is simple and convenient.

图13是本公开至少一实施例的对存储阵列进行数据备份采用RESET与SET分开全片操作方法的流程示意图。13 is a flowchart of a method for performing data backup on a storage array using separate full-chip operations of RESET and SET according to at least one embodiment of the present disclosure.

如图13所示,该操作方法的步骤如下:As shown in FIG13 , the steps of the operation method are as follows:

第一步,选中第i至第i+k-1行;The first step is to select rows from i to i+k-1;

第二步,对选中的k行同时进行RESET操作;The second step is to perform RESET operation on the selected k rows at the same time;

第三步,判断是否所有行RESET完毕,若是则进行第四步,否则更新i等于i加k,返回第一步;Step 3: Check whether all rows have been reset. If so, proceed to step 4. Otherwise, update i to equal i plus k and return to step 1.

第四步,选中x至x+y-1行;Step 4: Select rows from x to x+y-1;

第五步,对选中的y行同时进行SET操作;Step 5: Perform SET operation on the selected y rows at the same time;

第六步,判断是否所有行SET完毕,若是则数据备份操作结束,否则更新x等于x加y,并返回第四步。Step 6: Determine whether all rows have been SET. If so, the data backup operation ends. Otherwise, update x to equal x plus y and return to step 4.

其中,i、k为正整数,1≤i≤m,1≤k≤m且1≤(i+k-1)≤m;x、y为正整数,1≤x≤m,1≤y≤m且1≤(x+y-1)≤m;其中i和x可以相同或不同;k和y可以相同或不同。该操作方法中由于SET、RESET操作都是全片进行,因此电源线CVDD、第一位线BL、第二位线BLN的电压转换仅在整个阵列的SET或RESET操作完成后进行一次,减少了电压转换的频率,降低了电路的动态功耗。Wherein, i and k are positive integers, 1≤i≤m, 1≤k≤m and 1≤(i+k-1)≤m; x and y are positive integers, 1≤x≤m, 1≤y≤m and 1≤(x+y-1)≤m; wherein i and x can be the same or different; k and y can be the same or different. In this operation method, since the SET and RESET operations are all performed on the whole chip, the voltage conversion of the power line CVDD, the first bit line BL, and the second bit line BLN is only performed once after the SET or RESET operation of the entire array is completed, which reduces the frequency of voltage conversion and reduces the dynamic power consumption of the circuit.

图14是本公开至少一实施例对存储阵列采用逐行操作方法进行单步骤数据备份操作的流程示意图。FIG. 14 is a flow chart of a single-step data backup operation on a storage array using a row-by-row operation method according to at least one embodiment of the present disclosure.

如图14所示,该数据备份方法的步骤如下:As shown in FIG. 14 , the steps of the data backup method are as follows:

第一步,选中第i行;The first step is to select the i-th row;

第二步,读取第i行数据;The second step is to read the i-th row of data;

第三步,根据读取的数据对位线进行编码;The third step is to encode the bit lines according to the read data;

第四步,对选中的第i行同时进行RESET操作和SET操作;Step 4: Perform RESET and SET operations on the selected i-th row at the same time;

第五步,判断是否数据备份完毕,若是则数据备份操作结束,i加1,并返回第一步。The fifth step is to determine whether the data backup is completed. If so, the data backup operation is completed, i is increased by 1, and the process returns to the first step.

采用单步骤数据备份操作方法对数据进行备份时,RESET操作和SET操作同时进行,提高了数据备份的速度。When backing up data using the single-step data backup operation method, the RESET operation and the SET operation are performed simultaneously, thereby increasing the speed of data backup.

例如,上述实施例中,数据恢复操作采用逐行操作的办法。For example, in the above embodiment, the data recovery operation adopts a row-by-row operation method.

图15是本公开至少一实施例的对存储阵列进行数据恢复方法的流程示意图。如图15所示,该数据恢复方法的步骤如下:FIG15 is a flow chart of a method for recovering data from a storage array according to at least one embodiment of the present disclosure. As shown in FIG15 , the steps of the data recovery method are as follows:

第一步,选中第i至i+k-1行;The first step is to select rows from i to i+k-1;

第二步,对选中的k行同时进行数据恢复操作;The second step is to perform data recovery operations on the selected k rows simultaneously;

第三步,判断是否数据恢复完毕,若否则更新i等于i+k,并返回第一步;若是,则结束数据恢复操作。The third step is to determine whether the data recovery is complete. If not, update i to be equal to i+k and return to the first step; if yes, end the data recovery operation.

本公开至少一实施例提供的存储阵列、电子装置以及存储阵列的操作方法,同一列所有NVSRAM存储单元的电源线相连并且沿阵列的列方向走线,所有列的电源线沿阵列的行方向进行短接,当一整行存储单元同时进行数据恢复时,每一条列方向的电源线的电流仅为一个NVSRAM存储单元的电源电流,因此电源线上总电流降低,电源电压保持稳定,能够提高数据恢复成功率。At least one embodiment of the present disclosure provides a storage array, an electronic device, and an operation method of the storage array. The power lines of all NVSRAM storage cells in the same column are connected and routed along the column direction of the array. The power lines of all columns are short-circuited along the row direction of the array. When a whole row of storage cells is simultaneously recovering data, the current of each power line in the column direction is only the power current of one NVSRAM storage cell. Therefore, the total current on the power line is reduced, the power voltage remains stable, and the data recovery success rate can be improved.

可以理解的是,以上实施方式仅仅是为了说明本公开的原理而采用的示例性实施方式,然而本公开并不局限于此。对于本领域内的普通技术人员而言,在不脱离本公开的精神和实质的情况下,可以做出各种变型和改进,这些变型和改进也视为本公开的保护范围。It is to be understood that the above embodiments are merely exemplary embodiments used to illustrate the principles of the present disclosure, but the present disclosure is not limited thereto. For those of ordinary skill in the art, various modifications and improvements can be made without departing from the spirit and substance of the present disclosure, and these modifications and improvements are also considered to be within the scope of protection of the present disclosure.

Claims (19)

一种存储器阵列,包括:A memory array comprising: 多个非易失性静态存储器存储单元,排列为多行多列且被配置为执行数据存储以及数据备份与恢复;a plurality of non-volatile static memory storage cells arranged in a plurality of rows and columns and configured to perform data storage and data backup and recovery; 多条电源线,被配置为给所述多个非易失性静态存储器存储单元提供第一电源电压,其中,所述多条电源线分别在第一方向与对应的存储单元列电连接,所述多条电源线在第二方向短接,所述第一方向与所述第二方向不同;A plurality of power lines configured to provide a first power supply voltage to the plurality of nonvolatile static memory storage cells, wherein the plurality of power lines are electrically connected to corresponding storage cell columns in a first direction, respectively, and the plurality of power lines are short-circuited in a second direction, and the first direction is different from the second direction; 多条地线,被配置为给所述多个非易失性静态存储器存储单元提供第二电源电压,其中,所述多条地线分别在所述第一方向与对应的存储单元列电连接,所述多条地线在所述第二方向短接。A plurality of ground lines are configured to provide a second power supply voltage to the plurality of nonvolatile static memory storage cells, wherein the plurality of ground lines are electrically connected to corresponding storage cell columns in the first direction respectively, and the plurality of ground lines are short-circuited in the second direction. 根据权利要求1所述的存储器阵列,还包括:The memory array according to claim 1, further comprising: 多条位线,分别在所述第一方向上与对应的所述非易失性静态存储器存储单元列电连接,以传输数据信号;a plurality of bit lines, respectively electrically connected to corresponding columns of storage cells of the nonvolatile static memory in the first direction to transmit data signals; 多条第一控制线,分别在所述第二方向上与对应的所述非易失性静态存储器存储单元行电连接,以传输第一控制信号;a plurality of first control lines, respectively electrically connected to corresponding rows of the nonvolatile static memory cells in the second direction to transmit a first control signal; 多条字线,分别在所述第二方向上与对应的所述非易失性静态存储器存储单元行电连接,以传输字线信号。A plurality of word lines are electrically connected to corresponding nonvolatile static memory storage unit rows in the second direction to transmit word line signals. 根据权利要求2所述的存储器阵列,其中,所述多个非易失性静态存储器存储单元的每个包括易失性存储子单元以及非易失性存储子单元;The memory array according to claim 2, wherein each of the plurality of non-volatile static memory storage cells comprises a volatile storage sub-cell and a non-volatile storage sub-cell; 所述易失性存储子单元被配置为将存储的第一数据和/或第二数据传输至所述非易失性存储子单元以进行所述数据备份,或接收所述非易失性存储子单元传输的第三数据和/或第四数据以进行所述数据恢复;The volatile storage subunit is configured to transfer the stored first data and/or second data to the non-volatile storage subunit to perform the data backup, or receive the third data and/or fourth data transmitted by the non-volatile storage subunit to perform the data recovery; 所述非易失性存储子单元被配置为将存储的所述第三数据和/或第四数据传输至所述易失性存储子单元以进行所述数据恢复,或接收所述易失性存储子单元传输的所述第一数据和/或第二数据以进行所述数据备份。The non-volatile storage subunit is configured to transfer the stored third data and/or fourth data to the volatile storage subunit for data recovery, or receive the first data and/or second data transmitted by the volatile storage subunit for data backup. 根据权利要求3所述的存储器阵列,其中,所述非易失性存储子单元包括第一非易失性存储器件、第二非易失性存储器件、第一开关晶体管以及第二开关晶体管;The memory array according to claim 3, wherein the nonvolatile memory subunit comprises a first nonvolatile memory device, a second nonvolatile memory device, a first switch transistor, and a second switch transistor; 所述第一非易失性存储器件经所述第一开关晶体管与所述易失性存储子单元连接;The first non-volatile memory device is connected to the volatile memory subunit via the first switch transistor; 所述第二非易失性存储器件经所述第二开关晶体管与所述易失性存储子单元连接。The second non-volatile memory device is connected to the volatile memory sub-unit via the second switch transistor. 根据权利要求4所述的存储器阵列,其中,所述第一非易失性存储器件配置为存储所述第三数据;The memory array according to claim 4, wherein the first non-volatile memory device is configured to store the third data; 所述第二非易失性存储器件配置为存储所述第四数据;The second non-volatile memory device is configured to store the fourth data; 所述第三数据和所述第四数据配置为差分信号;The third data and the fourth data are configured as differential signals; 所述第一非易失性存储器件以及所述第二非易失性存储器件为阻变存储器件或相变存储器件或磁阻存储器件。The first nonvolatile memory device and the second nonvolatile memory device are resistive memory devices, phase change memory devices, or magnetoresistive memory devices. 根据权利要求4或5所述的存储器阵列,其中,所述多条第一控制线与对应的所述非易失性静态存储器存储单元行中每个存储单元的第一开关晶体管的栅极以及第二开关晶体管的栅极电连接。The memory array according to claim 4 or 5, wherein the plurality of first control lines are electrically connected to the gate of the first switch transistor and the gate of the second switch transistor of each memory cell in the corresponding row of the nonvolatile static memory cells. 根据权利要求4-6任一项所述的存储器阵列,其中,对于每列非易失性静态存储器存储单元,所述多条位线包括第一位线和第二位线,The memory array according to any one of claims 4 to 6, wherein for each column of non-volatile static memory storage cells, the plurality of bit lines comprises a first bit line and a second bit line, 所述第一位线与所述每列非易失性静态存储器存储单元中每个存储单元的第一非易失性存储器件电连接,The first bit line is electrically connected to the first non-volatile memory device of each memory cell in each column of the non-volatile static memory memory cells. 所述第二位线与所述每列非易失性静态存储器存储单元中每个存储单元的第二非易失性存储器件电连接。The second bit line is electrically connected to the second non-volatile memory device of each memory cell in each column of the non-volatile static memory memory cells. 根据权利要求3-7任一项所述的存储器阵列,其中,所述易失性存储子单元为静态随机存取存储单元。The memory array according to any one of claims 3 to 7, wherein the volatile storage sub-unit is a static random access storage unit. 根据权利要求8所述的存储器阵列,其中,所述静态随机存取存储单元包括第一反相器、第二反相器、第一存取晶体管以及第二存取晶体管;The memory array according to claim 8, wherein the static random access memory cell comprises a first inverter, a second inverter, a first access transistor, and a second access transistor; 所述第一反相器和所述第二反相器连接在与所在的非易失性静态存储器存储单元对应的电源线和地线之间;The first inverter and the second inverter are connected between a power line and a ground line corresponding to the non-volatile static memory storage unit; 所述第一反相器的输出端与所述第二反相器的输入端连接,所述第一反相器的输入端与所述第二反相器的输出端连接;The output end of the first inverter is connected to the input end of the second inverter, and the input end of the first inverter is connected to the output end of the second inverter; 所述第一存取晶体管的第一源漏极与所述第一反相器的输出端连接;A first source and drain of the first access transistor are connected to an output terminal of the first inverter; 所述第二存取晶体管的第一源漏极与所述第二反相器的输出端连接。A first source and a drain of the second access transistor are connected to an output terminal of the second inverter. 根据权利要求9所述的存储器阵列,其中,对于每列非易失性静态存储器存储单元,所述多条位线包括第一位线和第二位线,The memory array of claim 9, wherein for each column of nonvolatile static memory cells, the plurality of bit lines comprises a first bit line and a second bit line, 所述第一位线与所述每列非易失性静态存储器存储单元中每个存储单元的第一存取晶体管的第二源漏极电连接,The first bit line is electrically connected to the second source and drain of the first access transistor of each memory cell in each column of the non-volatile static memory memory cells. 所述第二位线与所述每列非易失性静态存储器存储单元中每个存储单元的第二存取晶体管的第二源漏极电连接。The second bit line is electrically connected to the second source and drain of the second access transistor of each memory cell in each column of the non-volatile static memory cells. 根据权利要求9或10所述的存储器阵列,其中,所述第一反相器和所述第二反相器通过电源开关组件连接在与所在的非易失性静态存储器存储单元对应的电源线和地线之间。The memory array according to claim 9 or 10, wherein the first inverter and the second inverter are connected between a power line and a ground line corresponding to the non-volatile static memory storage cell through a power switch component. 根据权利要求11所述的存储器阵列,其中,所述电源开关组件包括第三开关晶体管和第四开关晶体管,所述第一反相器经所述第三开关晶体管与所述电源线电连接,所述第二反相器经所述第四开关晶体管与所述电源线电连接;或者,The memory array according to claim 11, wherein the power switch component comprises a third switch transistor and a fourth switch transistor, the first inverter is electrically connected to the power line via the third switch transistor, and the second inverter is electrically connected to the power line via the fourth switch transistor; or 所述电源开关组件包括第三开关晶体管,所述第一反相器以及第二反相器经所述第三开关晶体管与所述电源线电连接。The power switch component includes a third switch transistor, and the first inverter and the second inverter are electrically connected to the power line via the third switch transistor. 根据权利要求12所述的存储器阵列,还包括:The memory array of claim 12, further comprising: 多条第二控制线,分别在所述第二方向上与对应的非易失性静态存储器存储单元行每个存储单元的所述电源开关组件电连接,以传输第二控制信号,a plurality of second control lines, respectively electrically connected to the power switch components of each storage unit of the corresponding non-volatile static memory storage unit row in the second direction to transmit a second control signal, 所述第二控制信号用于控制所述电源开关组件的开关状态。The second control signal is used to control the switching state of the power switch component. 根据权利要求9-13任一项所述的存储器阵列,其中,所述多条字线与对应的非易失性静态存储器存储单元行中每个存储单元的第一存取晶体管的栅极以及第二存取晶体管的栅极电连接。The memory array according to any one of claims 9 to 13, wherein the plurality of word lines are electrically connected to a gate of a first access transistor and a gate of a second access transistor of each memory cell in a corresponding row of nonvolatile static memory cells. 根据权利要求14所述的存储器阵列,其中,所述多条字线还与对应的所述电源开关组件电连接,以传输第二控制信号,The memory array according to claim 14, wherein the plurality of word lines are further electrically connected to the corresponding power switch components to transmit a second control signal, 所述第二控制信号用于控制所述电源开关组件的开关状态。The second control signal is used to control the switching state of the power switch component. 根据权利要求1-15任一项所述的存储器阵列,其中,The memory array according to any one of claims 1 to 15, wherein: 所述多条电源线在所述第二方向上在所述存储器阵列的一端或两端短接;和/或The plurality of power lines are short-circuited at one or both ends of the memory array in the second direction; and/or 所述多条地线在所述第二方向上在所述存储器阵列的一端或两端短接。The plurality of ground lines are short-circuited at one or both ends of the memory array in the second direction. 一种电子装置,包括如权利要求1-16任一项所述的存储器阵列。An electronic device comprising the memory array according to any one of claims 1 to 16. 一种用于权利要求1-16任一项所述的存储器阵列的操作方法,包括:A method for operating a memory array according to any one of claims 1 to 16, comprising: 选择所述存储器阵列中的第i行非易失性静态存储器存储单元;Selecting an i-th row of non-volatile static memory cells in the memory array; 对所述第i行非易失性静态存储器存储单元根据控制信号进行数据备份或数据恢复,Performing data backup or data recovery on the non-volatile static memory storage units in the i-th row according to the control signal, 其中,i为正整数。Wherein, i is a positive integer. 根据权利要求18所述的存储器阵列的操作方法,其中,The method for operating a memory array according to claim 18, wherein: 选择所述存储器阵列中的多行或全部非易失性静态存储器存储单元;selecting a plurality of rows or all of the non-volatile static memory cells in the memory array; 对选择的所述多行或全部非易失性静态存储器存储单元在同一操作中根据控制信号进行数据备份或数据恢复。Data backup or data recovery is performed on the selected multiple rows or all non-volatile static memory storage cells according to the control signal in the same operation.
PCT/CN2024/134501 2023-11-27 2024-11-26 Memory array, electronic device, and operation method for memory array Pending WO2025113431A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202311595782.3 2023-11-27
CN202311595782.3A CN117636953A (en) 2023-11-27 2023-11-27 Memory array, electronic device and method of operating memory array

Publications (1)

Publication Number Publication Date
WO2025113431A1 true WO2025113431A1 (en) 2025-06-05

Family

ID=90026420

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2024/134501 Pending WO2025113431A1 (en) 2023-11-27 2024-11-26 Memory array, electronic device, and operation method for memory array

Country Status (2)

Country Link
CN (1) CN117636953A (en)
WO (1) WO2025113431A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2025218808A1 (en) * 2024-04-19 2025-10-23 清华大学 Storage apparatus, electronic device, and storage apparatus control method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101866686A (en) * 2004-09-15 2010-10-20 瑞萨电子株式会社 Semiconductor integrated circuit device
CN102411983A (en) * 2010-09-21 2012-04-11 智原科技股份有限公司 Random access memory powered according to data dynamics
US20120320658A1 (en) * 2011-06-15 2012-12-20 Industrial Technology Research Institute Nonvolatile static random access memory cell and memory circuit
CN105849809A (en) * 2013-12-06 2016-08-10 英派尔科技开发有限公司 Non-volatile sram with multiple storage states
US20200035303A1 (en) * 2018-07-24 2020-01-30 Stmicroelectronics (Rousset) Sas Non-volatile static random access memory architecture having single non-volatile bit per volatile memory bit

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101866686A (en) * 2004-09-15 2010-10-20 瑞萨电子株式会社 Semiconductor integrated circuit device
CN102411983A (en) * 2010-09-21 2012-04-11 智原科技股份有限公司 Random access memory powered according to data dynamics
US20120320658A1 (en) * 2011-06-15 2012-12-20 Industrial Technology Research Institute Nonvolatile static random access memory cell and memory circuit
CN105849809A (en) * 2013-12-06 2016-08-10 英派尔科技开发有限公司 Non-volatile sram with multiple storage states
US20200035303A1 (en) * 2018-07-24 2020-01-30 Stmicroelectronics (Rousset) Sas Non-volatile static random access memory architecture having single non-volatile bit per volatile memory bit

Also Published As

Publication number Publication date
CN117636953A (en) 2024-03-01

Similar Documents

Publication Publication Date Title
US9734905B2 (en) Non-volatile memory using bi-directional resistive elements
US7599210B2 (en) Nonvolatile memory cell, storage device and nonvolatile logic circuit
US8792275B2 (en) Non-volatile static random access memory (NVSRAM) device
US7038938B2 (en) Phase change resistor cell and nonvolatile memory device using the same
US8238138B2 (en) Semiconductor memory device and its operation method
US9666276B2 (en) Non-volatile memory using bi-directional resistive elements
US10706928B2 (en) Non-volatile static random access memory architecture having single non-volatile bit per volatile memory bit
US7266010B2 (en) Compact static memory cell with non-volatile storage capability
WO2025113431A1 (en) Memory array, electronic device, and operation method for memory array
CN109935260B (en) Average 7T1R unit circuit using multiple multiplexing strategy
CN101996677A (en) Non-Volatile Static Random Access Memory Elements
US10395700B1 (en) Integrated level translator
US10867665B1 (en) Reset before write architecture and method
US9842991B2 (en) Memory cell with redundant carbon nanotube
CN110415747B (en) Non-volatile memory and memory unit thereof
CN117594089A (en) Storage unit, electronic device and method of operating the storage unit
US20160293251A1 (en) Semiconductor memory device
CN117238342A (en) Memory cell, electronic device and operation method of memory cell
TWI855368B (en) Memory and method of operation of memory device
CN119252301B (en) In-situ storage NVSRAM cell based on charge trapping programming method
TWI453745B (en) Non-volatile static random access memory device
CN113921058B (en) An 8T2R non-volatile SRAM unit circuit
Yadav et al. Design and Comparative Power Analysis
KR20250143227A (en) 10T2R nvSRAM structure and its operation method

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: 24896519

Country of ref document: EP

Kind code of ref document: A1