CN113838504B - Single-bit memory computing circuit based on ReRAM - Google Patents

Single-bit memory computing circuit based on ReRAM Download PDF

Info

Publication number
CN113838504B
CN113838504B CN202111416378.6A CN202111416378A CN113838504B CN 113838504 B CN113838504 B CN 113838504B CN 202111416378 A CN202111416378 A CN 202111416378A CN 113838504 B CN113838504 B CN 113838504B
Authority
CN
China
Prior art keywords
pipe
row
random access
voltage
module
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.)
Active
Application number
CN202111416378.6A
Other languages
Chinese (zh)
Other versions
CN113838504A (en
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.)
Zhongke Nanjing Intelligent Technology Research Institute
Original Assignee
Zhongke Nanjing Intelligent Technology Research Institute
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 Zhongke Nanjing Intelligent Technology Research Institute filed Critical Zhongke Nanjing Intelligent Technology Research Institute
Priority to CN202111416378.6A priority Critical patent/CN113838504B/en
Publication of CN113838504A publication Critical patent/CN113838504A/en
Application granted granted Critical
Publication of CN113838504B publication Critical patent/CN113838504B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C13/00Digital stores characterised by the use of storage elements not covered by groups G11C11/00, G11C23/00, or G11C25/00
    • G11C13/0002Digital stores characterised by the use of storage elements not covered by groups G11C11/00, G11C23/00, or G11C25/00 using resistive RAM [RRAM] elements
    • G11C13/0021Auxiliary circuits
    • G11C13/0023Address circuits or decoders
    • G11C13/0026Bit-line or column circuits
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C13/00Digital stores characterised by the use of storage elements not covered by groups G11C11/00, G11C23/00, or G11C25/00
    • G11C13/0002Digital stores characterised by the use of storage elements not covered by groups G11C11/00, G11C23/00, or G11C25/00 using resistive RAM [RRAM] elements
    • G11C13/0021Auxiliary circuits
    • G11C13/0023Address circuits or decoders
    • G11C13/0028Word-line or row circuits
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C13/00Digital stores characterised by the use of storage elements not covered by groups G11C11/00, G11C23/00, or G11C25/00
    • G11C13/0002Digital stores characterised by the use of storage elements not covered by groups G11C11/00, G11C23/00, or G11C25/00 using resistive RAM [RRAM] elements
    • G11C13/0021Auxiliary circuits
    • G11C13/0038Power supply circuits
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C13/00Digital stores characterised by the use of storage elements not covered by groups G11C11/00, G11C23/00, or G11C25/00
    • G11C13/0002Digital stores characterised by the use of storage elements not covered by groups G11C11/00, G11C23/00, or G11C25/00 using resistive RAM [RRAM] elements
    • G11C13/0021Auxiliary circuits
    • G11C13/004Reading or sensing circuits or methods
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C13/00Digital stores characterised by the use of storage elements not covered by groups G11C11/00, G11C23/00, or G11C25/00
    • G11C13/0002Digital stores characterised by the use of storage elements not covered by groups G11C11/00, G11C23/00, or G11C25/00 using resistive RAM [RRAM] elements
    • G11C13/0021Auxiliary circuits
    • G11C13/0069Writing or programming circuits or methods
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention relates to a single-bit memory computing circuit based on a ReRAM (random access memory), which comprises a memory array module, a row decoding and input driving module, a column decoding and bit line source line driving module, a column selection module and a current-voltage conversion and reading module, wherein the row decoding and input driving module is connected with the row decoding and input driving module; the memory array module comprises a plurality of rows and a plurality of columns of resistive random access memory units; the row decoding and input driving module is connected with word lines in each row of resistive random access memory units in the memory array module, and the column decoding and bit line source line driving module is connected with bit lines and source lines in each column of resistive random access memory units in the memory array module; the column selection module is connected with the bit lines in the resistance change memory units in each column in the memory array module; the current-voltage conversion and reading module is connected with the column selection module and is used for converting the bit line current corresponding to one column selected by the column selection module into voltage and comparing the converted voltage with ten voltage comparators to output ten-bit output data. The invention reduces the occupied area and power consumption of memory calculation.

Description

Single-bit memory computing circuit based on ReRAM
Technical Field
The invention relates to the field of memory computing, in particular to a single-bit memory computing circuit based on a ReRAM.
Background
Deep Convolutional Neural Networks (DCNNs) continue to demonstrate improved inference accuracy, and deep learning is moving towards edge computing. This development has facilitated the work of low-resource machine learning algorithms and their accelerated hardware. The most common operation in DCNNs is Multiply and Accumulate (MAC), which controls power and delay. The MAC operation has high regularity and parallelism, and is therefore very suitable for hardware acceleration. However, the amount of memory access severely limits the energy efficiency of conventional digital accelerators. Therefore, memory Computing (CIM) is increasingly attractive for DCNN acceleration.
In the current designs of memory computing, the memory storage media are divided into SRAM-based designs and new nonvolatile memory-based designs. The design technology based on the SRAM is mature, but the area power consumption is overlarge.
Disclosure of Invention
The invention aims to provide a single-bit memory computing circuit based on a ReRAM (random access memory), which reduces the occupied area and power consumption of memory computing.
In order to achieve the purpose, the invention provides the following scheme:
a ReRAM-based single bit memory computing circuit comprising: the device comprises a storage array module, a row decoding and input driving module, a column decoding and bit line source line driving module, a column selection module and a current-voltage conversion and readout module;
the memory array module comprises a plurality of rows and a plurality of columns of resistive random access memory units; the row decoding and input driving module is connected with word lines in each row of resistive random access memory units in the memory array module, and the column decoding and bit line source line driving module is connected with bit lines and source lines in each column of resistive random access memory units in the memory array module; the column selection module is connected with the bit lines in the resistive random access memory units in each column in the memory array module and is used for selecting one column in the memory array module for calculation; the current-voltage conversion and reading module is connected with the column selection module, and is used for converting the bit line current corresponding to one column selected by the column selection module into voltage and comparing the converted voltage with ten voltage comparators to output ten-bit output data;
the resistive random access memory unit comprises a Re device and an NMOS tube N0, one end of the Re device is connected with a bit line, the other end of the Re device is connected with a source electrode of the NMOS tube N0, a drain electrode of the NMOS tube N0 is connected with a source line, a grid electrode of the NMOS tube N0 is connected with word lines, the word lines of the resistive random access memory units in each row are collinear, the bit lines of the resistive random access memory units in each row are collinear, and the source lines of the resistive random access memory units in each row are collinear.
Optionally, a weight writing resistive random access memory unit mode and a binary multiply-accumulate calculation mode are included;
when the single-bit memory computing circuit based on the ReRAM writes a resistive random access memory cell mode for the weight, the row decoding and input driving module decodes row address signals of preset storage data, an ith row word line in the memory array module is conducted according to decoding results of the row address signals, the column decoding and bit line source line driving module decodes column address signals of the preset storage data, and a bit line and a source line of a jth column of resistive random access memory cells in the memory array module are selected according to decoding results of the column address signals; when a weight value is written into 1, the word line of the ith row is set at a high level, an NMOS (N-channel metal oxide semiconductor) tube N0 in the resistive random access memory unit of the jth row and jth column of the ith row is conducted, the row decoding and bit line source line driving module controls the voltage of a bit line of the resistive random access memory unit of the jth column to be a preset voltage, the row decoding and bit line source line driving module controls a source line of the resistive random access memory unit of the jth column to be grounded, and an Re (Re) device in the resistive random access memory unit of the ith row and jth column is in a low-resistance state; when the weight value is written into 0, the word line of the ith row is set at a high level, an NMOS tube N0 in the resistive random access memory unit of the ith row and the jth column is conducted, the row decoding and bit line source line driving module controls the bit line of the resistive random access memory unit of the jth column to be grounded, the row decoding and bit line source line driving module controls the source line of the resistive random access memory unit of the jth column to be a set voltage, and the Re device in the resistive random access memory unit of the ith row and the jth column is in a high-resistance state;
when the single-bit memory computing circuit based on the ReRAM is in the binary multiply-accumulate computing mode, input data are input into the row decoding and input driving module, a row of resistive random access memory units are selected by the row selection module, current in bit lines corresponding to the selected row of resistive random access memory units flows through Re devices and NMOS tubes N0 corresponding to the resistive random access memory units to corresponding source lines, and the source lines corresponding to the selected row of resistive random access memory units are grounded.
Optionally, the current-voltage conversion and readout module includes a current-voltage conversion unit and a voltage comparison output unit, the current-voltage conversion unit is configured to convert a current input by the column selection module into a voltage, the voltage comparison output unit includes ten voltage comparators, each of the voltage comparators inputs the converted voltage and outputs a one-bit voltage comparison value, and reference voltages input by each of the voltage comparators are different.
Optionally, the current-voltage conversion unit includes a pipe P1, a pipe P2, a pipe P3, a pipe N1, a pipe N2, and a capacitor Cc; the source electrode of the pipe P1 is connected with a power supply voltage, the drain electrode of the pipe P1 is connected with the column selection module, the grid electrode of the pipe P1 is connected with the drain electrode of the pipe P1 and the drain electrode of the pipe N1, the source electrode of the pipe N1 is respectively connected with the drain electrode of the pipe P3 and the grid electrode of the pipe P2, the grid electrode of the pipe N1 is connected with the enable signal S1, the source electrode of the pipe P3 is connected with the power supply voltage, the grid electrode of the pipe P3 is connected with the enable signal S0, the source electrode of the pipe P2 is connected with the power supply voltage, the drain electrode of the pipe P2 is respectively connected with the drain electrode of the pipe N2 and one end of the capacitor Cc, the other end of the capacitor Cc is grounded, the source electrode of the pipe N2 is grounded, the grid electrode of the pipe N2 is connected with the enable signal S2, and the drain electrode of the pipe P2 is the output end of the current-voltage conversion unit.
Optionally, the pipe P1, the pipe P2, and the pipe P3 are PMOS pipes, and the pipe N1 and the pipe N2 are NMOS pipes.
Optionally, the voltage comparator comprises a tube N3, a tube N4, a capacitor Ci, an inverter I1, an inverter I2, and an inverter I3; the output end of the current-voltage conversion unit is respectively connected with the drain electrode of the tube N3 and one end of the capacitor Ci, the source electrode of the tube N3 is connected with a reference voltage, the grid electrode of the tube N3 is connected with an enabling signal S3, the other end of the capacitor Ci is respectively connected with the source electrode of the tube N4 and the input end of the phase inverter I1, the output end of the phase inverter I1 is respectively connected with the input end of the phase inverter I2 and the drain electrode of the tube N4, the grid electrode of the tube N4 is connected with the enabling signal S4, and the output end of the phase inverter I2 is connected with the output end of the phase inverter I3.
Optionally, the transistors N3 and N4 are NMOS transistors.
Optionally, the memory array module includes 256 rows × 64 columns of resistive random access memory cells.
According to the specific embodiment provided by the invention, the invention discloses the following technical effects:
the memory cell is a resistance change memory cell, so that the occupied area and power consumption of memory calculation are reduced, and the current-voltage conversion circuit converts current into a voltage mode and is easy to read; ten voltage comparators are connected in the rear to read the calculation result, thereby simplifying the structure of a reading circuit.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
FIG. 1 is a schematic diagram of a single-bit-memory computing circuit based on ReRAM according to the present invention;
FIG. 2 is a schematic diagram of a current-to-voltage conversion and readout module according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention aims to provide a single-bit memory computing circuit based on a ReRAM (random access memory), which reduces the occupied area and power consumption of memory computing.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Fig. 1 is a schematic diagram of a single-bit memory computing circuit based on ReRAM according to the present invention, and as shown in fig. 1, a single-bit memory computing circuit based on ReRAM includes: the circuit comprises a memory array module 1, a row decoding and input driving module 2, a column decoding and bit line source line driving module 3, a column selection module 4 and a current-voltage conversion and readout module 5.
The storage array module 1 is used for storing the weights.
The memory array module 1 comprises a plurality of rows and a plurality of columns of resistive random access memory units; the row decoding and input driving module 2 is connected with word lines in each row of resistive random access memory units in the memory array module 1, and the column decoding and bit line source line driving module 3 is connected with bit lines and source lines in each column of resistive random access memory units in the memory array module 1; the column selection module 4 is connected with the bit line in each row of the resistance change memory units in the memory array module 1, and the column selection module 4 is used for selecting one row in the memory array module 1 for calculation; the current-voltage conversion and readout module 5 is connected to the column selection module 4, and the current-voltage conversion and readout module 5 is configured to convert a bit line current corresponding to a column selected by the column selection module 4 into a voltage, and compare the converted voltage with ten voltage comparators to output ten-bit output data.
The memory array module 1 comprises 256 rows of resistive random access memory units and 64 columns of resistive random access memory units. In fig. 1, cell represents a resistance change memory Cell.
The row decoding and input driving module 2 controls the word lines of the memory array in the memory array module 1 for storing the weight when performing row decoding, and the row decoding and input driving module 2 applies the input data of 256 external bits to WL (0) -WL (255) (WL [0] -WL [255] in FIG. 1) when performing driving input.
The column decoding and bit line source line driving block 3 acts on the bit line BL (i) and the source line SL (i) at the time of column decoding, writes the weights, and grounds the source line SL (i) at the time of calculation.
The column selection module 4 is used for selecting one of the 64 columns for calculation.
The current-voltage conversion and readout module 5 converts the current into a voltage pattern, and a voltage value is compared with a reference voltage by internal ten voltage comparators to read the calculation result, and the outputs of the ten voltage comparators constitute a 10-bit output result (output data) (OUT [9 ].
The resistance change memory unit comprises an Re device and an NMOS tube N0, one end of the Re device is connected with a bit line, the other end of the Re device is connected with a source electrode of the NMOS tube N0, a drain electrode of the NMOS tube N0 is connected with a source line, a grid electrode of the NMOS tube N0 is connected with word lines, the word lines of each row of resistance change memory units are collinear, the bit lines of each row of resistance change memory units are collinear, and the source lines of each row of resistance change memory units are collinear.
The current-voltage converting and reading module 5 includes a current-voltage converting unit 51 and a voltage comparison output unit 52, the current-voltage converting unit 51 is configured to convert the current input by the column selection module 4 into a voltage, the voltage comparison output unit 52 includes ten voltage comparators, each voltage comparator inputs the converted voltage and outputs a one-bit voltage comparison value, and the reference voltages input by each voltage comparator are different.
As shown in fig. 2, the current-voltage conversion unit 51 includes a pipe P1, a pipe P2, a pipe P3, a pipe N1, a pipe N2, and a capacitor Cc; the source electrode of the tube P1 is connected to a power supply voltage, the drain electrode of the tube P1 is connected to the column selection module 4, the gate electrode of the tube P1 is connected to the drain electrode of the tube P1 and the drain electrode of the tube N1, the source electrode of the tube N1 is respectively connected to the drain electrode of the tube P3 and the gate electrode of the tube P2, the gate electrode of the tube N1 is connected to the enable signal S1, the source electrode of the tube P3 is connected to the power supply voltage, the gate electrode of the tube P3 is connected to the enable signal S0, the source electrode of the tube P2 is connected to the power supply voltage, the drain electrode of the tube P2 is respectively connected to the drain electrode of the tube N2 and one end of the capacitor Cc, the other end of the capacitor Cc is grounded, the source electrode of the tube N2 is grounded, the gate electrode of the tube N2 is connected to the enable signal S2, and the drain electrode of the tube P2 is the output end of the current-voltage conversion unit 51.
The pipe P1, the pipe P2 and the pipe P3 are PMOS pipes, and the pipe N1 and the pipe N2 are NMOS pipes.
As shown in fig. 2, the voltage comparator comprises a tube N3, a tube N4, a capacitor Ci, an inverter I1, an inverter I2 and an inverter I3; the output end of the current-voltage conversion unit 51 is respectively connected with the drain electrode of the tube N3 and one end of the capacitor Ci, the source electrode of the tube N3 is connected with a reference voltage, the grid electrode of the tube N3 is connected with the enable signal S3, the other end of the capacitor Ci is respectively connected with the source electrode of the tube N4 and the input end of the phase inverter I1, the output end of the phase inverter I1 is respectively connected with the input end of the phase inverter I2 and the drain electrode of the tube N4, the grid electrode of the tube N4 is connected with the enable signal S4, and the output end of the phase inverter I2 is connected with the output end of the phase inverter I3.
The tube N3 and the tube N4 are NMOS tubes.
A single-bit memory computing circuit based on a ReRAM comprises a weight writing resistive random access memory unit mode and a binary multiply-accumulate computing mode.
When a single-bit memory computing circuit based on a ReRAM writes a resistive random access memory cell mode for weight, a row decoding and input driving module 2 decodes row address signals of preset storage data, an ith row word line in a memory array module 1 is gated according to the decoding result of the row address signals, a column decoding and bit line source line driving module 3 decodes column address signals of the preset storage data, and a bit line and a source line of a jth column of resistive random access memory cells in the memory array module 1 are selected according to the decoding result of the column address signals; when a weight value is written into 1, the word line of the ith row is set at a high level, an NMOS tube N0 in the resistive random access memory unit of the ith row and the jth column is conducted, the column decoding and bit line source line driving module 3 controls the voltage of a bit line of the jth resistive random access memory unit to be a preset voltage, the column decoding and bit line source line driving module 3 controls a source line of the jth resistive random access memory unit to be grounded, and a Re device in the resistive random access memory unit of the ith row and the jth column is in a low-resistance state, so that the writing of the weight value into 1 is completed; when the weight value is written into 0, the word line of the ith row is set at a high level, an NMOS (N-channel metal oxide semiconductor) tube N0 in the resistive random access memory unit of the jth row and the jth column of the ith row is conducted, the row decoding and bit line source line driving module 3 controls the bit line of the resistive random access memory unit of the jth column to be grounded, the row decoding and bit line source line driving module 3 controls the source line of the resistive random access memory unit of the jth column to be a set voltage, and an Re (Re) device in the resistive random access memory unit of the ith row and the jth column to be in a high-resistance state, so that the writing of the weight value into 0 is completed. The set voltage was 1.5V. When the Re device is in a low-resistance state, the circuit where the Re device is located is conducted, and when the Re device is in a high-resistance state, the circuit where the Re device is located is not conducted.
When the single-bit memory computing circuit based on the ReRAM is in a binary multiply-accumulate computing mode, input data are input into a row decoding and input driving module 2, 256 rows of input data are driven to WL (0) -WL (255), a row of resistance change memory cells are selected by a row selection module 4, current in bit lines corresponding to the selected row of resistance change memory cells flows through Re devices and NMOS tubes N0 corresponding to the resistance change memory cells to corresponding source lines, and the source lines corresponding to the selected row of resistance change memory cells are grounded. When the input data is 1, WL (i) is high, when the input data is 0, WL (i) is low, when the weight value is 1, the storage node is in a low-resistance state, and when the weight value is 0, the storage node is in a high-resistance state. When the calculation is started, the column selection module 4 selects the calculated column, WL (i) is enabled, the channel is opened, the current flows from BL (j) to SL (j) through the resistance change device Re and the MOS tube and then is grounded, IDL is the current obtained by multiplying and accumulating the whole column, the S0 control tube P3 is closed while the column selection is carried out, the S1 control tube N1 is opened, the S2 control tube N2 is disconnected, the P2 tube is conducted and the IDL is copied and charged to the capacitor Cc, and the current obtained by multiplying and accumulating is converted into VSUMThen S0 controls the pipe P3 to be opened, S1 controls the pipe N1 to be disconnected, S2 controls the pipe N2 to be disconnected, and V reading is started after calculation is finishedSUM
FIG. 2 is a schematic diagram of the current-voltage conversion and readout module 5, V being in the reading stageSUMAnd ten reference voltages VREF[9:0]Ten voltage comparators are used for comparison to obtain ten bitsResult OUT [9]. The reading is divided into two steps: step one, when calculation starts, the S3 controls the tube N2 to be closed, the S4 controls the tube N4 to be opened, at the moment, the two ends of the phase inverter I1 are in a short circuit state in a high gain state, and the left end potential of the capacitor Ci is a calculation result VSUM(ii) a Step two, when the calculation is finished, the S3 controls the tube N2 to be opened, the S4 controls the tube N4 to be closed, the reference voltage is supplied at the moment, and if V isSUM>VREFIf Ci is left-side discharged and right-side sensed as low level, the inverter I1 outputs a high level to obtain the result OUT (I) =1, if V isSUM<VREFCi charges on the left and senses on the right to output a low level for the high level inverter I1, and as a result OUT (I) =0. The outputs OUT (i) -OUT (9) of the ten voltage comparators form the output result of the current-voltage conversion and readout module.
In the invention, a nonvolatile ReRAM storage unit is adopted as a storage module in the memory computing device, and the ReRAM unit has the advantages of small area and low power consumption; the current-voltage conversion circuit converts the current into a voltage mode, so that the current mode is easy to read; ten voltage comparators are connected in the rear of the array to read the calculation result, so that the structure of a reading circuit is simplified, 64 columns of the array share one reading circuit through a column selection module, and the area of a reading part in the whole circuit is reduced.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The principle and the embodiment of the present invention are explained by applying specific examples, and the above description of the embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed. In view of the foregoing, the description is not to be taken in a limiting sense.

Claims (5)

1. A single-bit memory computing circuit based on a ReRAM is characterized by comprising a memory array module, a row decoding and input driving module, a column decoding and bit line source line driving module, a column selection module and a current-voltage conversion and reading module;
the memory array module comprises a plurality of rows and a plurality of columns of resistive random access memory units; the row decoding and input driving module is connected with word lines in resistive random access memory units in each row in the memory array module, and the column decoding and bit line source line driving module is connected with bit lines and source lines in resistive random access memory units in each column in the memory array module; the column selection module is connected with the bit lines in the resistive random access memory units in each column in the memory array module and is used for selecting one column in the memory array module for calculation; the current-voltage conversion and reading module is connected with the column selection module, and is used for converting the bit line current corresponding to one column selected by the column selection module into voltage and comparing the converted voltage with ten voltage comparators to output ten-bit output data;
the resistance change memory unit comprises a Re device and an NMOS tube N0, one end of the Re device is connected with a bit line, the other end of the Re device is connected with a source electrode of the NMOS tube N0, a drain electrode of the NMOS tube N0 is connected with a source line, a grid electrode of the NMOS tube N0 is connected with word lines, the word lines of each row of the resistance change memory unit are collinear, the bit lines of each row of the resistance change memory unit are collinear, and the source lines of each row of the resistance change memory unit are collinear;
the current-voltage conversion and readout module comprises a current-voltage conversion unit and a voltage comparison output unit, the current-voltage conversion unit is used for converting the current input by the column selection module into voltage, the voltage comparison output unit comprises ten voltage comparators, each voltage comparator inputs the converted voltage and outputs a one-bit voltage comparison value, and the reference voltages input by the voltage comparators are different;
the voltage comparator comprises a tube N3, a tube N4, a capacitor Ci, an inverter I1, an inverter I2 and an inverter I3; the output end of the current-voltage conversion unit is respectively connected with the drain electrode of the tube N3 and one end of the capacitor Ci, the source electrode of the tube N3 is connected with reference voltage, the grid electrode of the tube N3 is connected with an enabling signal S3, the other end of the capacitor Ci is respectively connected with the source electrode of the tube N4 and the input end of the phase inverter I1, the output end of the phase inverter I1 is respectively connected with the input end of the phase inverter I2 and the drain electrode of the tube N4, the grid electrode of the tube N4 is connected with the enabling signal S4, and the output end of the phase inverter I2 is connected with the output end of the phase inverter I3;
the memory array module comprises 256 rows and 64 columns of resistive random access memory units.
2. The ReRAM-based single-bit memory computing circuit according to claim 1, comprising a weight write resistive random access memory cell mode and a binary multiply-accumulate calculation mode;
when the single-bit memory computing circuit based on the ReRAM writes a resistive random access memory cell mode for the weight, the row decoding and input driving module decodes row address signals of preset storage data, an ith row word line in the memory array module is conducted according to decoding results of the row address signals, the column decoding and bit line source line driving module decodes column address signals of the preset storage data, and a bit line and a source line of a jth column of resistive random access memory cells in the memory array module are selected according to decoding results of the column address signals; when a weight value is written into 1, the word line of the ith row is set at a high level, an NMOS tube N0 in the resistive random access memory unit of the ith row and the jth column is conducted, the row decoding and bit line source line driving module controls the voltage of a bit line of the jth row of resistive random access memory unit to be a preset voltage, the row decoding and bit line source line driving module controls the source line of the jth row of resistive random access memory unit to be grounded, and an Re device in the resistive random access memory unit of the ith row and the jth column is in a low-resistance state; when the weight value is written into 0, the word line of the ith row is set at a high level, an NMOS tube N0 in the resistive random access memory unit of the ith row and the jth column is conducted, the row decoding and bit line source line driving module controls the bit line of the resistive random access memory unit of the jth column to be grounded, the row decoding and bit line source line driving module controls the source line of the resistive random access memory unit of the jth column to be a set voltage, and the Re device in the resistive random access memory unit of the ith row and the jth column is in a high-resistance state;
when the single-bit memory computing circuit based on the ReRAM is in the binary multiply-accumulate computing mode, input data are input into the row decoding and input driving module, a row of resistive random access memory units is selected by the row selecting module, current in bit lines corresponding to the selected row of resistive random access memory units flows through Re devices and NMOS tubes N0 corresponding to the resistive random access memory units to corresponding source lines, and the source lines corresponding to the selected row of resistive random access memory units are grounded.
3. The ReRAM-based single bit memory computing circuit of claim 1, wherein the current-to-voltage conversion unit comprises a pipe P1, a pipe P2, a pipe P3, a pipe N1, a pipe N2, and a capacitance Cc; the source electrode of the pipe P1 is connected with a power supply voltage, the drain electrode of the pipe P1 is connected with the column selection module, the grid electrode of the pipe P1 is connected with the drain electrode of the pipe P1 and the drain electrode of the pipe N1, the source electrode of the pipe N1 is respectively connected with the drain electrode of the pipe P3 and the grid electrode of the pipe P2, the grid electrode of the pipe N1 is connected with the enable signal S1, the source electrode of the pipe P3 is connected with the power supply voltage, the grid electrode of the pipe P3 is connected with the enable signal S0, the source electrode of the pipe P2 is connected with the power supply voltage, the drain electrode of the pipe P2 is respectively connected with the drain electrode of the pipe N2 and one end of the capacitor Cc, the other end of the capacitor Cc is grounded, the source electrode of the pipe N2 is grounded, the grid electrode of the pipe N2 is connected with the enable signal S2, and the drain electrode of the pipe P2 is the output end of the current-voltage conversion unit.
4. The ReRAM-based single bit memory compute circuit of claim 3, wherein pipe P1, pipe P2, and pipe P3 are PMOS pipes and pipe N1 and pipe N2 are NMOS pipes.
5. The ReRAM-based single bit memory compute circuit of claim 1, wherein transistors N3 and N4 are NMOS transistors.
CN202111416378.6A 2021-11-26 2021-11-26 Single-bit memory computing circuit based on ReRAM Active CN113838504B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111416378.6A CN113838504B (en) 2021-11-26 2021-11-26 Single-bit memory computing circuit based on ReRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111416378.6A CN113838504B (en) 2021-11-26 2021-11-26 Single-bit memory computing circuit based on ReRAM

Publications (2)

Publication Number Publication Date
CN113838504A CN113838504A (en) 2021-12-24
CN113838504B true CN113838504B (en) 2022-11-01

Family

ID=78971432

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111416378.6A Active CN113838504B (en) 2021-11-26 2021-11-26 Single-bit memory computing circuit based on ReRAM

Country Status (1)

Country Link
CN (1) CN113838504B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113986195B (en) * 2021-12-27 2022-05-20 中科南京智能技术研究院 Delay type single-bit memory computing unit and device
CN115458010B (en) * 2022-08-19 2023-12-01 南方科技大学 Operation unit suitable for nonvolatile memory storage and calculation integrated array
CN116151343B (en) * 2023-04-04 2023-09-05 荣耀终端有限公司 Data processing circuit and electronic device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110298181A (en) * 2019-05-14 2019-10-01 北京航空航天大学 Data encryption storage method, data decryption method and encrypted memory chip
CN110597484B (en) * 2019-08-02 2021-08-13 北京航空航天大学 Multi-bit full adder based on memory calculation and multi-bit full addition operation control method
CN113484595B (en) * 2021-07-09 2022-06-10 江南大学 Current reading system and method for memory operation memory unit

Also Published As

Publication number Publication date
CN113838504A (en) 2021-12-24

Similar Documents

Publication Publication Date Title
CN113838504B (en) Single-bit memory computing circuit based on ReRAM
CN112151091B (en) 8T SRAM unit and memory computing device
CN112133348B (en) Storage unit, storage array and memory computing device based on 6T unit
CN112151092B (en) Storage unit, storage array and in-memory computing device based on 4-pipe storage
CN109979503B (en) Static random access memory circuit structure for realizing Hamming distance calculation in memory
US11783875B2 (en) Circuits and methods for in-memory computing
CN111816231B (en) Memory computing device with double-6T SRAM structure
CN113782072B (en) Multi-bit memory computing circuit
CN112992223B (en) Memory computing unit, memory computing array and memory computing device
CN113035251B (en) Digital memory computing array device
CN112558919B (en) Memory computing bit unit and memory computing device
WO2012167456A1 (en) Data readout circuit of phase change memory
CN112992232B (en) Multi-bit positive and negative single-bit memory computing unit, array and device
CN113467751B (en) Analog domain memory internal computing array structure based on magnetic random access memory
CN113823343B (en) Separated computing device based on 6T-SRAM
CN113257306A (en) Storage and calculation integrated array and accelerating device based on static random access memory
CN114300012B (en) Decoupling SRAM memory computing device
Sehgal et al. Trends in analog and digital intensive compute-in-SRAM designs
JP4805700B2 (en) Semiconductor memory device
US20230297235A1 (en) Sram-based cell for in-memory computing and hybrid computations/storage memory architecture
CN114895869B (en) Multi-bit memory computing device with symbols
CN112558922A (en) Four-transistor memory computing device based on separated word lines
Chen et al. Reconfigurable 2T2R ReRAM with split word-lines for TCAM operation and in-memory computing
CN116204490A (en) 7T memory circuit and multiply-accumulate operation circuit based on low-voltage technology
CN113391786B (en) Computing device for multi-bit positive and negative weights

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant