Bit line sense amplifier for bit line-storage node decoupling, storage and calculation integrated internal memory and in-situ matrix calculation method
Through the bit line-storage node decoupled sense amplifier and cascade feedback architecture, the area and delay overhead problems caused by bit line current accumulation are solved, efficient vector matrix multiplication calculation is realized, and sensing efficiency and hardware resources are improved. Utilization.
Patent Information
- Application Number
- CN202410814184.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2044-06-24
AI Technical Summary
In the existing technology, bit line current accumulation leads to area and delay overhead caused by vector matrix multiplication result buffering and sensing, and the subarray microarchitecture without ADC cannot efficiently support the operation of activating multiple consecutive word lines at one time, resulting in hardware utilization. insufficient and extended sensing latency.
A bit line-storage node decoupled sense amplifier is designed, including an unbalancer, an equalizer and a latch. Through the bit line sense amplifier architecture of cascade feedback, "precharge once, read multiple times" is realized. "effective bit" function and enables multiple bit line sense amplifiers in the same row cycle, improving sensing efficiency and parallelism.
The tRCD delay overlap of multiple valid bits is achieved, shortening the overall sensing delay, improving the execution performance of vector matrix multiplication, and improving the execution efficiency of vector matrix multiplication in open bit line ReRAM.
Smart Images

Figure CN118748031A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of storage-computing integration, and more specifically, relates to a bit line sensing amplifier with bit line-storage node decoupling, a storage-computing integration memory micro-architecture, and an in-situ matrix calculation method. Background Art
[0002] Resistive RAM (ReRAM) can perform vector-matrix multiplication (VMM) in-situ in the cell array and is expected to achieve efficient iterative solution of linear systems derived from mathematical physics equations, including electromagnetics, power networks, semiconductor devices, and circuit simulation. However, when multiple rows are activated simultaneously, the bit line current accumulation will cause significant area and delay overhead for VMM result buffering and sensing, which has become a system bottleneck. Previous works use sample-and-hold (S&H) for each bit line to buffer the output results and set up multiple analog-to-digital converters (ADCs) to obtain the results from the sample-and-hold for sensing, such as Figure 1 As shown in (a) in the figure. This design of separating the sample-hold and the analog-to-digital converter increases the delay and energy overhead of bit line sensing. In addition, since a general ADC is used in previous works, the ADC occupies a large part of the bit line side spacing. Therefore, at least 8 or more bit lines must share one ADC for sensing, which greatly limits the parallelism and performance of column access.
[0003] In order to solve the problems of traditional separate designs, researchers proposed Figure 1 FIG. 5 is a subarray microarchitecture without ADC as shown in (b), in which bitline sense amplifiers (BLSA) are provided at the top and bottom of the subarray, and the storage nodes of the top and bottom bitline sense amplifiers are collectively called subarray row buffers, where the even bitlines and odd bitlines are connected to the bottom bitline sense amplifier and the top bitline sense amplifier, respectively.
[0004] By activating multiple consecutive word lines at one time, the subarray operation efficiency can be improved. Accordingly, the number of bit line sense amplifiers connected to a bit line needs to be increased. The above-mentioned ADC-free subarray microarchitecture can effectively alleviate the problems existing in the traditional microarchitecture in which the sample-and-hold is separated from the ADC. However, due to the limitations of the sensing structure and the corresponding sensing mechanism, it is not possible to efficiently support the operation of activating multiple consecutive word lines at one time. Specifically, in the existing ADC-free subarray microarchitecture, the structure of BLSA is as follows: Figure 2 For ease of display, only the sense amplifier (denoted as MSB-SA) corresponding to the most significant bit (MSB) is shown in the figure. Figure 2It can be seen that the existing BLSA has a structure similar to a latch, in which the bit line and the reference line are directly connected to the storage nodes SN and When MSB-SA is enabled, MSB-SA flips. However, MSB-SA injects charge into the bit line and restores the bit line voltage to twice the reference line voltage or ground according to the comparison result between the bit line voltage and the reference line voltage. At the same time, the reference line voltage will also be restored to the opposite side through MSB-SA. Therefore, through this flip-based restoration process, the established bit line voltage and the constant reference line voltage are both destroyed. This means that when MSB-SA is stable enough and ready to be read from its storage node, the CSB-SA and LSB-SA corresponding to the subsequent valid bits CSB and LSB cannot be sensed in the same voltage establishment period because the established bit line voltage has been destroyed by MSB-SA, resulting in the "precharge once, read out a single bit" function limitation of the VMM. As a result, the tRCD delays corresponding to MSB, CSB, and LSB must be completed separately in multiple row cycles in a serial manner, which makes the hardware underutilized and prolongs the overall sensing delay. Summary of the invention
[0005] In view of the defects of the prior art and the need for improvement, the present invention provides a bit line sense amplifier with bit line-storage node decoupling, a storage-computation-in-one memory micro-architecture, and an in-situ matrix calculation method. The purpose is to propose a new bit line sense amplifier for open bit line ReRAM to improve the execution efficiency of vector-matrix multiplication in open bit line ReRAM.
[0006] To achieve the above object, according to one aspect of the present invention, a sense amplifier with bit line-storage node decoupling is provided, which is applied to sensing of bit lines in an open bit line ReRAM subarray, and includes: a PMOS transistor P1, a latch, an equalizer, an unbalancer, and an NMOS transistor N1;
[0007] The drain of P1 is connected to the positive read voltage V dd_RD , the gate of P1 is used as Signal input terminal;
[0008] The latch includes: PMOS transistors PU1 and PU2, and NMOS transistors PD1 and PD2; the drain of PU1 is connected to the drain of PU2 to form a node SAP, and the source of P1 is connected to the node SAP; the source of PU1 is connected to the drain of PD1 to form a first node; the gate of PU1 is connected to the gate of PD1 to form a second node; the source of PU2 is connected to the drain of PD2 to form a third node; the gate of PU2 is connected to the gate of PD2 to form a fourth node; the first node is connected to the third node as a storage node SN, and the second node is connected to the fourth node as a storage node Storage node SN and The stored signals are opposite to each other;
[0009] The equalizer includes: an NMOS transistor EQZ and an NMOS transistor Bridge; the drain and source of EQZ are connected to the gates of PD1 and PD2 respectively, the gate of EQZ serves as an EQL signal input terminal; the gate of Bridge serves as a LOCKL signal input terminal;
[0010] The unbalancer includes: NMOS transistors N2 and N3; the drain of N2 is connected to the source of PD1 to form a node V P ; The drain of N3 is connected to the source of PD2, forming a node V Q ; The sources of N2 and N3 are connected to form a node SAN; the drain and source of Bridge are connected to the node V P and V Q The gate of N2 is used as a reference voltage input terminal, and the gate of N3 is used as a bit line voltage input terminal;
[0011] The drain of N1 is connected to the node SAN, the source of N1 is grounded, and the gate of N1 serves as the input terminal of the SAEN signal;
[0012] in, The signal is opposite to the SAEN signal, which is used to enable the sense amplifier; the EQL signal is the equalization line signal, and the LOCKL signal is the lock line signal.
[0013] According to another aspect of the present invention, there is provided a cascade feedback bit line sense amplifier, comprising: sense amplifiers MSB-SA, CSB-SA and LSB-SA, global reference voltage generators GRVG2, GRVG1 and GRVG0, four-way decoder D0 and two-way decoder D1, selectors S0, S1 and S2, and NMOS transistors SAPG0, SAPG1 and SAPG2;
[0014] The sensing amplifiers MSB-SA, CSB-SA and LSB-SA are all the above-mentioned bit line-storage node decoupling sensing amplifiers provided by the present invention;
[0015] The gates of SAPG0, SAPG1 and SAPG2 are connected to the CSL_LSB signal, the CSL_CSB signal and the CSL_MSB signal respectively, and the sources of SAPG0, SAPG1 and SAPG2 are all connected to the local word line LDL; the drain of SAPG2 is connected to the storage node SN of MSB-SA, the drain of SAPG1 is connected to the storage node SN of CSB-SA, and the drain of SAPG0 is connected to the storage node SN of LSB-SA;
[0016] The first input terminals of S0, S1 and S2 are all connected to the SASL signal, the second input terminals of S0, S1 and S2 are all connected to the bit line, and the third input terminals of S0, S1 and S2 are all connected to the complement bit line; the output terminals of S0, S1 and S2 are respectively connected to the bit line voltage input terminals of LSB-SA, CSB-SA and MSB-SA;
[0017] GRVG2 is used to generate the reference voltage V ref3 , GRVG1 is used to generate the reference voltage V ref1 and V ref5 , GRVG1 is used to generate the reference voltage V ref0 、V ref2 、V ref4 and V ref6 ; V ref0 ~V ref6 Increase successively;
[0018] The output terminal of GRVG2 is connected to the reference voltage input terminal of MSB-SA;
[0019] The first input terminal of D1 is connected to the output terminal of GRVG1, the second input terminal of D1 is connected to the storage node SN of MSB-SA, and the output terminal of D1 is connected to the reference voltage input terminal of CSB-SA; D1 is used to change the voltage signal at the storage node SN of MSB-SA from V ref1 and V ref5 Select one to input CSB-SA;
[0020] The first input terminal of D0 is connected to the output terminal of GRVG0, the second input terminal of D0 is connected to the storage node SN of CSB-SA, and the output terminal of D0 is connected to the reference voltage input terminal of LSB-SA; D0 is used to change the voltage signal at the storage node SN of CSB-SA from V ref0 、V ref2 、V ref4 and V ref6 Select one input LSB-SA;
[0021] Among them, the SASL signal is used to select the sense amplifier, the CSL_LSB signal is used to select the LSB-SA, the CSL_CSB signal is used to select the CSB-SA, and the CSL_MSB signal is used to select the MSB-SA.
[0022] Further, the selector includes: a PMOS transistor P4 and an NMOS transistor N4;
[0023] The gate of P4 is connected to the gate of N4, and the connection terminal serves as a first input terminal of a bit line sense amplifier;
[0024] The drain of P4 serves as the second input terminal of the bit line sense amplifier;
[0025] The source of N4 serves as the third input terminal of the bit line sense amplifier;
[0026] The source of P4 is connected to the drain of N4, and the connection terminal serves as the output terminal of the bit line sense amplifier.
[0027] According to another aspect of the present invention, a memory-computing-in-one memory micro-architecture based on an open bit line ReRAM is provided, wherein in a subarray of the ReRAM, the bit line sense amplifier connected to each bit line is a cascade feedback bit line sense amplifier provided by the present invention, and the bit line sense amplifiers connected to all bit lines constitute a row buffer of the subarray;
[0028] In a subarray, the bit line sense amplifier connected to the odd-numbered bit lines is located at the top of the edge of the subarray, called the top bit line sense amplifier, and the bit line sense amplifier connected to the even-numbered bit lines is located at the bottom of the edge of the subarray, called the bottom bit line sense amplifier; in two adjacent subarrays, the bottom bit line sense amplifier of the previous subarray also serves as the top bit line sense amplifier of the next subarray.
[0029] According to another aspect of the present invention, there is provided an in-situ matrix calculation method for the above-mentioned storage-computation-in-body memory micro-architecture based on open bitline ReRAM, comprising:
[0030] Step R1: Sending a row activation command ACTP to the target subarray to activate the word lines with non-zero input in the accessed page in the target subarray; the execution of the row activation command ACTP includes:
[0031] disabling the precharger in the target subarray to float the bit lines;
[0032] The word line voltage of the accessed page with non-zero input changes from V BBW Rising to V PP , so that the sub-array row buffer senses the content of the row unit and takes it out into the storage node of the row buffer;
[0033] Step R2: Sending a precharge command PREP to the target subarray to close all word lines in the accessed page in the target subarray; the execution of the precharge command PREP includes:
[0034] The word line voltage in the accessed page is turned on from V PP Discharge to V BBW , so that the word line returns to a fully closed state; at the same time, the precharger is used to charge the bit line to V dd_RD , so that the bit line returns to the pre-charge state;
[0035] Step R3: Sending a column VMM command to the target sub-array to gradually fetch the sensing results in the row buffer of the target sub-array to the memory burst buffer, and transmit it outward through the global I / O data line to complete data reading; the memory burst buffer includes a fixed number of I / O sense amplifiers, and the I / O sense amplifiers are connected to the bit line sense amplifiers in the I / O sense amplifiers through the shared local data line; the process of transmitting the sensing results in each bit line sense amplifier to the memory burst buffer includes:
[0036] Step R31: select MSB-SA through the SASL signal, and drive the sensing data of MSB-SA to be transmitted to the corresponding I / O sensing amplifier in the memory bank burst buffer through the local data line, and start to trigger the flipping of the I / O sensing amplifier, and release the local data line at the same time;
[0037] Step R32: After the sensing data transmission of MSB-SA is completed, CSB-SA is selected through the SASL signal, and the sensing data of CSB-SA is driven to be transmitted to the corresponding I / O sensing amplifier in the memory burst buffer through the local data line, and the flipping of the I / O sensing amplifier is triggered, and the local data line is released at the same time;
[0038] Step R33: After the sensing data transmission of CSB-SA is completed, CSB-SA is selected through the SASL signal, and the sensing data of LSB-SA is driven to be transmitted to the corresponding I / O sensing amplifier in the memory burst buffer through the local data line, and the flipping of the I / O sensing amplifier is triggered, and the local data line is released at the same time;
[0039] Among them, V BBW is the word line voltage in the fully off state, V PP is the word line voltage in the fully open state, V dd_RD Indicates a positive voltage read.
[0040] Furthermore, the in-situ matrix calculation method provided by the present invention, that is, the matrix operands are stored in the array without being moved, in step R1, the word line voltage with non-zero input in the accessed page is changed from V BBW Rising to V PP During the process, when the read voltage margin of each MSB-SA in the row buffer of the target sub-array is formed, the corresponding word line is turned off.
[0041] Furthermore, the in-situ matrix calculation method provided by the present invention, after step R33, further includes: if the subarray adjacent to the target subarray receives a column VMM command, after the sensing data transmission of LSB-SA is completed, MSB-SA is selected through the SASL signal to sense the result in MSB-SA.
[0042] In general, the above technical solutions conceived by the present invention can achieve the following beneficial effects:
[0043] (1) The bit line-storage node decoupling sense amplifier provided by the present invention is mainly composed of an unbalancer, an equalizer and a latch, wherein the storage node SN and They are located on both sides of the latch respectively, and the bit line reference voltage is input through the gates of the two NMOS units in the unbalancer respectively. The latch and the unbalancer are isolated by the equalizer. Based on this structure, the content stored in the latch will not be disturbed by the further attenuation of the bit line voltage. Therefore, there is no need to precharge again, and the bit line voltage can be used for sensing lower valid bits, realizing the function of "precharging once and reading out multiple valid bits of the result", which allows the tRCD delays of multiple valid bits to overlap, effectively shortening the overall sensing delay, improving the sensing efficiency, and further improving the execution performance of vector-matrix multiplication in open bit line ReRAM.
[0044] (2) The cascade feedback bit line sensing amplifier provided by the present invention realizes a cascade feedback bit line sensing architecture by cascading three bit line-storage node decoupled sensing amplifiers. The three SAs in the sensing architecture can sense the results of three bits, and the three SAs can be enabled in the same row cycle, and the busy periods of the three SAs overlap, thereby realizing parallelism of the sensing amplifier level, effectively saving overall delay and improving sensing efficiency.
[0045] (3) In the memory-computing-in-one memory micro-architecture based on the open bit line ReRAM provided by the present invention, the bit line sense amplifier connected to each bit line in the ReRAM subarray is the cascade feedback bit line sense amplifier provided by the present invention. With such an architecture, each bit line is equipped with a three-bit bit line sense amplifier and a total of seven reference voltages, which can activate 2 3 = 8 adjacent word lines, which effectively improves the execution efficiency of subsequent operations compared to the near-memory processing paradigm of traditional open bit line ReRAM that only activates one word line at a time.
[0046] (4) The in-situ matrix calculation method provided by the present invention is based on the storage-computation-in-one memory micro-architecture based on open bit line ReRAM provided by the present invention. When executing vector-matrix multiplication calculation, all word lines with non-zero inputs in the accessed page are activated at one time, and then all opened word lines are closed at one time, and the bit lines are pre-charged. Since 8 adjacent word lines can be activated at one time in a sub-array of the storage-computation-in-one memory based on open bit line ReRAM provided by the present invention, when the result of the vector-matrix multiplication calculation is burst read out from the row buffer, the three-bit sensing results in the same bit line sensing amplifier can be continuously transmitted without recharging, thereby realizing a sensing mechanism with effective bit interleaving, saving data lines and improving data bus efficiency while maintaining the same total bandwidth.
[0047] (5) In the preferred embodiment of the in-situ matrix calculation method provided by the present invention, when activating a word line, the word line is not closed until the word line is charged to a fully open voltage. Instead, the corresponding word line is closed when the read voltage margin of the MSB-SA is formed, thereby realizing an early word line closing mechanism. Compared with a fully open word line, under the early word line closing mechanism, the word line has a lower voltage when it is closed, which makes the bit line have a slower decay rate during the word line closing period, thereby allowing subsequent CSB-SA and LSB-SA to use reference voltages with similar read margins and share the same voltage decay process in a single activation cycle, thereby reducing the energy consumption of the sub-word line driver used to drive the sub-word line and the power consumption of the local word line and the corresponding access transistor.
[0048] (6) In the preferred embodiment of the in-situ matrix calculation method provided by the present invention, based on the characteristics of sharing some bit line sense amplifiers between adjacent sub-arrays, after the sensing data transmission of LSB-SA in the previous array is completed, MSB-SA is selected through the SASL signal to sense the result in MSB-SA again, so that the calculation result in the adjacent sub-array can be read out, thereby realizing the page interleaving execution mechanism between sub-arrays, that is, the activation of two pages falling in adjacent sub-arrays is interleaved, and the row cycles of two page accesses in two sub-arrays falling in the same group are overlapped, which further improves the data transmission rate and improves the overall execution efficiency of the in-situ matrix calculation. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 Schematic diagram of a subarray microarchitecture in an existing open bit line ReRAM; (a) is a subarray microarchitecture in which a sample-and-hold is separated from an ADC, and (b) is a subarray microarchitecture without an ADC;
[0050] Figure 2 A schematic diagram of a bit line sense amplifier in a conventional sub-array micro-architecture without an ADC;
[0051] Figure 3 A schematic diagram of an existing storage-computing-in-one memory microarchitecture based on open bitline ReRAM;
[0052] Figure 4 A schematic diagram of a hexagonal layout of an existing open bit line ReRAM;
[0053] Figure 5 A schematic diagram of a bit line-storage node decoupled sense amplifier and a cascade feedback bit line sense amplifier provided by an embodiment of the present invention;
[0054] Figure 6 A schematic diagram of the principle of implementing data sensing by a sense amplifier with bit line-storage node decoupling provided by an embodiment of the present invention;
[0055] Figure 7 A timing diagram of different operations provided by an embodiment of the present invention;
[0056] Figure 8 A timing diagram of page accesses in two sub-arrays under the interleaving execution mechanism of pages between sub-arrays provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0057] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0058] In the present invention, the terms "first", "second", etc. (if any) in the present invention and the accompanying drawings are used to distinguish similar objects but not necessarily to describe a specific order or sequence.
[0059] Before explaining the technical solution of the present invention in detail, the architecture of the open bit line ReRAM and the related operation mechanism are explained first.
[0060] The term ReRAM used in the present invention refers to any memory technology that uses non-volatile resistors to store information, and is an abstraction of devices and circuits at the microarchitecture level. The present invention takes a subcategory called metal oxide ReRAM as an example, which has a metal-insulator-metal (MIM) device structure, but is not limited to metal oxide ReRAM, and also includes PCRAM, MRAM, etc.
[0061] like Figure 3As shown in the figure, ReRAM consists of multiple memory ranks. A rank is a group of chips working simultaneously to serve a single command issued by the controller. Each chip consists of memory banks that can be accessed in parallel and independently. Each memory bank is divided into multiple blocks to reduce the RC delay of long lines. In the memory bank, each block is called a tile. A tile includes peripheral core circuits and cell arrays. The structure of the cell array is as follows: Figure 4 As shown, each cell uses a high conductance state to store "1" and a low conductance state to store "0". The peripheral core includes a sub-wordline driver (SWD), a bitline sense amplifier (BLSA), a precharger, and a column access connection circuit. A row of tiles in a memory bank is called a subarray, and a row in a subarray refers to a row of cells. The sub-wordline driver can span two rows through the staggered organization of local wordlines. Only one subarray can be accessed at a time in a storage memory bank. In a subarray, each bitline is connected to a bitline sense amplifier. The bitline sense amplifiers connected to the same subarray are distributed at the top and bottom of the subarray. The even bitlines and odd bitlines in the subarray are connected to the bottom bitline sense amplifier and the top bitline sense amplifier respectively. The bitline sense amplifiers connected to all bitlines in the same subarray together constitute the row buffer (SRB) of the subarray. Multiple rows (usually 8 in size) in a subarray that are activated simultaneously to execute VMM are called a page.
[0062] Corresponding to the DDR5 memory bus technology, each sub-array consists of 1024 rows of normal cells and 8192 normal bitlines, as well as dummy global wordlines and corresponding cells on both sides (the number of dummy global wordlines is usually 8 or 16) to tolerate the overdriven insulated gate PMOS transistor in a normal sub-wordline driver at V PP A hard error occurs under bias (the voltage when the word line is fully turned on), causing an entire row of cells to fail and be replaced. In order to save the area of the decoder, the sub-word line driver uses a two-level decoding method to parse the row address. Specifically, for the sub-word line driver, the sub-array row address is hierarchically decoded into 128 global word lines (7 bits). ) and 8 pre-decoded row address lines (3-bit ) to trigger the SWD to drive the sub-word line.
[0063] SWD is actually an AND gate with inverted input. In the subarray, a column select line (CSL) is shared between the SA storage nodes of 128 consecutive bit lines. One column consists of 128 consecutive BLSAs, that is, the column size or word size is 128. The storage nodes of these BLSAs are selected together through a single CSL at a time to transfer data to the 128 IOSAs (I / O sense amplifiers) of the memory bank. These 128 IOSAs form the bank burst buffer (BBB) of the subarray. At the rising and falling edges of the clock, the BBB outputs data with 8 global I / O data lines (GDL) in burst mode, and the burst length (BL) is 16.
[0064] Figure 4 The hexagonal layout of the open bitline ReRAM is shown, where the cylindrical ReRAM is stacked on top of the storage element contacts on the bitline, and the top metal electrode is connected to the common ground plane. The open bitline architecture is characterized by an interdigitated layout of odd and even bitlines connected to the top and bottom bitline sense amplifiers at the edge of the subarray, respectively, and each BLSA is connected to two bitlines from two adjacent subarrays. For the open bitline organization, there are two additional redundant dummy subarrays at the top and bottom edges of the memory bank, which are used as reference complementary bitlines. To match the normal parasitic capacitance of the bit line in the 0th and (N-1)th sub-arrays, N represents the number of sub-arrays. The open bit line architecture can achieve 6F 2 The cell area is 8F, where F is the feature size. The folded cell array architecture has an area to accommodate bit line twisting and twice the word line length, with a minimum of 8F. 2 Therefore, at the same feature size, the open bit line architecture is 25% denser than the folded bit line architecture.
[0065] In an open bitline ReRAM, for bipolar write access, the bitline is biased at a negative SET voltage and a positive RESET voltage, and 1 and 0 are written respectively by enabling the write driver. For read access, the bitline is first precharged to a positive read voltage (V dd_RD ) to prepare for voltage development by floating the bit line.
[0066] To ensure the integrity of analog signals, the timing parameters of the memory row access and column access commands on the controller side are as follows:
[0067] 1) Row Activation (ACT) on a subarray. The ACT command accompanied by the row address first disables the precharger to float the bit line and pulls the word line from V BBW Open to V PP, and as the bit line parasitic capacitance discharges to ground through the turned-on cells, the precharged bit line voltage begins to drop, where V PP is the voltage when the word line is fully turned on, V BBW is the voltage when the word line is completely turned off, corresponding to the DDR5 bus transmission standard. Typically, V PP =2.5V, V BBW = -0.2V. The subarray row buffer (BLSA) can then sense the contents of the entire row of cells and fetch them into the row buffer storage node. The delay from the issuance of the ACT command to the stabilization of the subarray row buffer is called Delay time (tRCD).
[0068] 2) Row Precharge (PRE) on the subarray. The PRE command with row address starts at V PP The word line that has been turned on in the state is turned off back to the fully turned off state (V BBW The PRE command also enables the precharger to bias the bit line back to V dd_RD The PRE command is a sub-array initialization command, and the delay of the whole process is called Precharge time (tRP). The time interval from the issuance of the ACT command to the issuance of the PRE command is called Time (tRAS), tRAS plus tRP are together called the row cycle time (tRC).
[0069] 3) Column read access (RD) on the row buffer storage node. When the row buffer storage node and the bit line are sufficiently stable during activation, the RD command issues a column address to enable a specific column select line (CSL) and transfer a strip of data (that is, read "SRAM", usually 128 bits) from the sub-array row buffer storage node through the local data line (LDL) and write to the bank burst buffer (BBB) composed of 128 I / O sense amplifiers (IOSA). Then, at the rising and falling edges of the clock, the BBB outputs data with 8 global I / O data lines (GDL) in burst mode with a burst length (BL) of 16. Therefore, the data rate of the external GDL is 32 times the data rate of the internal core clock frequency. The delay from issuing the RD command to the BBB being stable and outputting the first data bit to the GDL is called the read operation. Delay time (tAA), the burst delay of GDL is calculated as BL / 2*tCK, where tCK is the clock period of GDL. Note that tAA is larger than the busy cycle time of the subarray row buffer because the bit line readout only occupies one stage in the memory bank pipeline. The latency is CL, the latency of a write operation The delay is CWL, and CL is longer than CWL. The delay between two adjacent column commands to the same entity is called Delay time (tCCD_L).
[0070] For the vector matrix multiplication operation, each bit line performs a column-by-column dot product calculation. The bit line is first precharged to a positive read voltage V by the PRE command. dd_RD , similar to the read-bitline in a dual-port single-ended 3T DRAM. When the wordline in a page is turned on, the charge in the parasitic capacitance of the bitline leaks through the turned-on cells. Using binary inputs to the wordline gate, the decay of the bitline voltage in a given time By dot product ∑ i V i G ij Determine, where if V wordline_i =V PP , then V i =V dd_RD ; If V wordline_i =V BBW , then V i = 0. Here, G ij is the cell conductance at the ith word line and jth bit line, V wordline_i represents the input voltage of the word line in row i, V i represents the bias voltage value of the i-row cell. For different calculation results, the generated bit line voltage is different. If the bit line dot product result current is larger, the bit line voltage decays faster (ie, the bit line parasitic capacitance discharges), resulting in a lower post-drop bit line voltage.
[0071] Based on open bit line ReRAM, it consists of 7 bits and 3 digits The present invention finds that if one activation is made up of a The corresponding eight adjacent sub-word lines can effectively improve the computational efficiency of the tiles in the sub-array. To this end, each bit line needs to be equipped with a three-bit BLSA and a total of seven reference voltages. Based on the hierarchical sensing of binary search, the most significant bit (MSB) is first sensed given the third reference potential. Then, the center significant bit (CSB) is sensed given the first and fifth reference levels. Finally, the least significant bit (LSB) is read out given the 0th, 2nd, 4th and 6th reference levels.
[0072] However, in Figure 2 In the conventional BLSA structure shown in FIG. 1 , the bit line and the reference line are directly connected to the storage nodes SN and SN of the BLSA, respectively. The above scheme of activating 8 word lines at a time results in a long sensing delay. Specifically, when the MSB-SA is enabled, the MSB-SA flips, the MSB-SA injects charge into the bit line, and restores the bit line voltage to twice the reference line voltage or ground according to the comparison result between the bit line voltage and the reference line voltage. At the same time, the reference line voltage will also be restored to the opposite side through the MSB-SA. Therefore, through this flip-based recovery process, both the established bit line voltage and the constant reference line voltage are destroyed. This means that when the MSB-SA is stable enough and ready to be read from its storage node, the subsequent CSB-SA and LSB-SA cannot perform result sensing in the same voltage establishment period because the established bit line voltage has been destroyed by the MSB-SA. This leads to the "precharge once, read a single bit" function limitation of the VMM. In this case, after reading the MSB-SA result, the bit line voltage should be initialized by a precharge operation before the next activation command can be issued for the re-establishment of the bit line voltage, and then the CSB SA sensing is performed. As a result, the tRCD delays for the MSB, CSB, and LSB must be separated and completed in a serial manner over multiple line cycles, which underutilizes the hardware and increases the overall delay.
[0073] In addition, for traditional designs in which the bit lines are directly connected to the SA storage nodes, the subarray row buffers should be disabled when the bit line precharge begins. In traditional bit line-storage node connection designs, there is a column conflict between bit line precharge and VMM column access. Since both the precharger and the SA storage node are directly connected to the bit lines, and they drive the bit lines to different target voltages, the precharger and the SA storage node are mutually exclusive and cannot work at the same time. During bit line precharge, the SA storage node voltage changes with the bit line and becomes invalid. Precharging the bit line destroys the data in the SA storage node, so the CSL cannot read the data from the SA storage node to the local data line by issuing a VMM column access. In this case, the bit line precharge command should be issued after the CSL signal of the LSB falls, and the delay overhead is significant.
[0074] In general, efficient and low-cost subarray sensing is a key hardware challenge for high-performance in-situ vector-matrix multiplication calculations performed on ReRAM cell arrays. To solve this problem, the present invention first proposes a bitline-storage node decoupled sense amplifier to completely isolate the bitline voltage establishment process from the SA flip, while realizing buffering and sensing in one, which can achieve conflict-free column access; further proposes a cascade feedback bitline sensing architecture, in which each bitline sense amplifier BLSA is cascaded by the aforementioned bitline-storage node decoupled sense amplifiers, and the architecture enables the function of precharging once and reading multiple bits (charge one read multiple, PORM) within a single row cycle time, which is used to overlap the tRCD delay of different valid result bits sensed on the same bitline. Further, a cross-level interleaving mechanism centered on the sense amplifier is proposed for continuous column VMM access, which improves the underlying hardware resource utilization by utilizing the open bitline topology layout between adjacent subarrays. The proposed subarray VMM sensing mechanism and memory-level parallelization technology can significantly improve the overall module performance and execution efficiency of modern scientific parallel computing limited by memory.
[0075] The following are examples.
[0076] Embodiment 1:
[0077] A sense amplifier with bit line-storage node decoupling, such as Figure 5 As shown, it is applied to the sensing of the bit line in the open bit line ReRAM subarray, including: a PMOS transistor P1, a latch, an equalizer, an unbalancer and an NMOS transistor N1;
[0078] The drain of P1 is connected to the positive read voltage V dd_RD , the gate of P1 is used as Signal input terminal;
[0079] The latch includes: PMOS transistors PU1 and PU2, and NMOS transistors PD1 and PD2; the drain of PU1 is connected to the drain of PU2 to form a node SAP, and the source of P1 is connected to the node SAP; the source of PU1 is connected to the drain of PD1 to form a first node; the gate of PU1 is connected to the gate of PD1 to form a second node; the source of PU2 is connected to the drain of PD2 to form a third node; the gate of PU2 is connected to the gate of PD2 to form a fourth node; the first node is connected to the third node as a storage node SN, and the second node is connected to the fourth node as a storage node Storage node SN and The stored signals are opposite to each other;
[0080] The equalizer includes: an NMOS transistor EQZ and an NMOS transistor Bridge; the drain and source of EQZ are connected to the gates of PD1 and PD2 respectively, the gate of EQZ serves as an EQL signal input terminal; the gate of Bridge serves as a LOCKL signal input terminal;
[0081] The unbalancer includes: NMOS transistors N2 and N3; the drain of N2 is connected to the source of PD1 to form a node V P ; The drain of N3 is connected to the source of PD2, forming a node V Q ; The sources of N2 and N3 are connected to form a node SAN; the drain and source of Bridge are connected to the node V P and V Q The gate of N2 is used as a reference voltage input terminal, and the gate of N3 is used as a bit line voltage input terminal;
[0082] The drain of N1 is connected to the node SAN, the source of N1 is grounded, and the gate of N1 serves as the input terminal of the SAEN signal;
[0083] in, The EQL signal is the opposite of the SAEN signal, which is used to enable the sense amplifier; the EQL signal is the equalization line signal, and the LOCKL signal is the lock line signal.
[0084] This embodiment is proposed to completely isolate the line voltage establishment process from the SA flip. The sensing amplifier SA provided in this embodiment is VMM sensing, which is inspired by the Wheatstone bridge and mainly includes three parts: unbalancer, equalizer and latch. Its sensing process is as follows Figure 6 As shown, when both the EQL signal and the LOCKL signal are disabled, the noise voltage, that is, the difference between the bit line voltage and the reference voltage, is injected into the right foot position of the latch through the unbalancer, triggering the latch to flip; when the storage node of the SA reaches a sufficiently stable threshold state, the result bit is stably stored in the latch of the SA, at which time the corresponding latch line (LOCKL) is enabled to decouple the latch from the unbalancer. At this time, the conformation of the SA changes, and the N2 and N3 transistors are now connected in parallel through a balancing mechanism. Therefore, the content stored in the SA latch will not be disturbed by the further attenuation of the bit line voltage, and the bit line voltage can be used for sensing by the less significant SA. This embodiment realizes a folded differential layout by forming a differential pair input through N2 and N3, so that the proposed SA can be adapted to an open bit line layout with a bit line spacing of twice that of 6F, which ensures that in the sub-array, each bit line can be connected to the BLSA, so the bit lines are completely parallel.
[0085] The decoupling functions implemented by the SA provided in this embodiment include three aspects:
[0086] First, when the SA is turned on, the floating bit line is not biased by the storage node of the SA being flipped, so the generated bit line voltage is not restored and destroyed by the SA. The SA of the less significant bit can compare the bit line voltage with its reference voltage for sensing in the same row cycle, and the tRCD delays of different significant bits sensed on the same bit line can overlap, enabling the charge-one-read-many (PORM) function.
[0087] Second, since the bit line voltage continues to decay over time during the bit line voltage build-up period, if the resulting bit to be sensed is zero, the bit line voltage may be lower than the corresponding reference voltage during that period. Without a built-in equalizer, changes in the unbalanced gate input of the SA may reverse the position of the legs of the opposing CMOS inverter arms in the latch and may cause unwanted flipping. By introducing a Wheatstone bridge as a built-in equalizer, the continuous voltage decay of the floating bit line does not affect the voltage of the storage node of the SA when the bridge is enabled.
[0088] Third, the SA is completely decoupled from the precharger through the unbalanced gate input. The bitline precharge process does not affect the read process of the SA storage node. Therefore, the row buffer storage node can be enabled during the bitline precharge period. Now the bitline precharge process can be parallel with the VMM column access within the subarray in a conflict-free manner, such as Figure 7 shown.
[0089] This embodiment can optimize the bit line voltage establishment for result sensing and the SA flip final state for storage node readout by decoupling the bit line from the SA storage node. By decoupling the bit line from the SA storage node, the SA storage node flip speed is increased because the parasitic capacitance connected to the SA storage node is reduced.
[0090] Embodiment 2:
[0091] A cascade feedback bit line sense amplifier, such as Figure 5 As shown, it includes: sense amplifiers MSB-SA, CSB-SA and LSB-SA, global reference voltage generators GRVG2, GRVG1 and GRVG0, four-way decoder D0 and two-way decoder D1, selectors S0, S1 and S2, and NMOS transistors SAPG0, SAPG1 and SAPG2;
[0092] The sensing amplifiers MSB-SA, CSB-SA and LSB-SA are all the above-mentioned bit line-storage node decoupling sensing amplifiers provided by the present invention;
[0093] The gates of SAPG0, SAPG1 and SAPG2 are connected to the CSL_LSB signal, the CSL_CSB signal and the CSL_MSB signal respectively, and the sources of SAPG0, SAPG1 and SAPG2 are all connected to the local word line LDL; the drain of SAPG2 is connected to the storage node SN of MSB-SA, the drain of SAPG1 is connected to the storage node SN of CSB-SA, and the drain of SAPG0 is connected to the storage node SN of LSB-SA;
[0094] The first input terminals of S0, S1 and S2 are all connected to the SASL signal, the second input terminals of S0, S1 and S2 are all connected to the bit line, and the third input terminals of S0, S1 and S2 are all connected to the complement bit line; the output terminals of S0, S1 and S2 are respectively connected to the bit line voltage input terminals of LSB-SA, CSB-SA and MSB-SA;
[0095] GRVG2 is used to generate the reference voltage V ref3 , GRVG1 is used to generate the reference voltage V ref1 and V ref5 , GRVG1 is used to generate the reference voltage V ref0 、V ref2 、V ref4 and V ref6 ; V ref0 ~V ref6 Increase successively, such as Figure 7 As shown;
[0096] The output end of GRVG2 is connected to the reference voltage input end of MSB-SA; the connection line between the output end of GRVG2 and the reference voltage input end of MSB-SA serves as a global reference line (GRL);
[0097] The first input terminal of D1 is connected to the output terminal of GRVG1, the second input terminal of D1 is connected to the storage node SN of MSB-SA, and the output terminal of D1 is connected to the reference voltage input terminal of CSB-SA; D1 is used to change the voltage signal at the storage node SN of MSB-SA from V ref1 and V ref5 Select one to input CSB-SA;
[0098] The first input terminal of D0 is connected to the output terminal of GRVG0, the second input terminal of D0 is connected to the storage node SN of CSB-SA, and the output terminal of D0 is connected to the reference voltage input terminal of LSB-SA; D0 is used to change the voltage signal at the storage node SN of CSB-SA from V ref0 、V ref2 、V ref4 and V ref6 Select one input LSB-SA;
[0099] Among them, the SASL signal is used to select the sense amplifier, the CSL_LSB signal is used to select the LSB-SA, the CSL_CSB signal is used to select the CSB-SA, and the CSL_MSB signal is used to select the MSB-SA.
[0100] In this embodiment, the selector is used to select the bit line or the complementary bit line voltage as the input of SA under the control of SASL; optionally, Figure 5 As shown, the selector includes: a PMOS transistor P4 and an NMOS transistor N4;
[0101] The gate of P4 is connected to the gate of N4, and the connection terminal serves as a first input terminal of a bit line sense amplifier;
[0102] The drain of P4 serves as the second input terminal of the bit line sense amplifier;
[0103] The source of N4 serves as the third input terminal of the bit line sense amplifier;
[0104] The source of P4 is connected to the drain of N4, and the connection terminal serves as the output terminal of the bit line sense amplifier.
[0105] The cascade feedback bit line sense amplifier provided in this embodiment is proposed to construct a bit-accurate row buffer and store the sensed result bit directly in the SA, which includes three cascaded sense amplifiers, and each sense amplifier is a sense amplifier with bit line-storage node decoupling provided in the above-mentioned embodiment 1, each SA latches a result, and the latch output of each SA is fed back to select the reference voltage input of the lower-level SA. Since the SA realizes the decoupling of the bit line and the storage node, in the same BLSA, the MSB-SA, CSB-SA and LSB-SA can be enabled successively. By constructing a feedback link structure, the precise reference value of the subsequent lower-significant bit SA can be determined, so that the bit-by-bit buffering can be performed by using cascade feedback in the SA structure, and the VMM column access for obtaining the MSB-SA sensing result can be parallel with the CSB-SA sensing, and the busy periods of the MSB-SA, CSB-SA and LSB-SA overlap, thereby saving the overall delay, such as Figure 7 As shown, the parallelism of the sense amplifier level is achieved. In the case of a traditional architecture without cascade feedback, the MSB result bit can only be output after all bits are sensed. In contrast, this embodiment can effectively save overall delay and improve sensing efficiency.
[0106] Embodiment 3:
[0107] A memory-computing-in-one microarchitecture based on open bitline ReRAM, such as Figure 5As shown, in the sub-array of the ReRAM, the bit line sense amplifier connected to each bit line is the cascade feedback bit line sense amplifier provided in the above-mentioned embodiment 2, and the bit line sense amplifiers connected to all the bit lines constitute a row buffer of the sub-array;
[0108] Based on the architectural characteristics of open bit line ReRAM, in a subarray, the bit line sense amplifier connected to the odd-numbered bit lines is located at the top of the subarray edge, called the top bit line sense amplifier, and the bit line sense amplifier connected to the even-numbered bit lines is located at the bottom of the subarray edge, called the bottom bit line sense amplifier; in two adjacent subarrays, the bottom bit line sense amplifier of the previous subarray also serves as the top bit line sense amplifier of the next subarray.
[0109] Based on the cascade feedback bit line sense amplifier provided in the above embodiment 2, each bit line is equipped with a three-bit bit line sense amplifier and a total of seven reference voltages, and the sensing results in the three SAs can be read out in sequence after one precharge, so that two bit lines can be activated at one time. 3 = 8 adjacent word lines, compared to the traditional open bit line ReRAM which activates one word line at a time, the execution efficiency of subsequent operations is effectively improved.
[0110] Embodiment 4:
[0111] The above-mentioned in-situ matrix calculation method of the storage-computation-in-body memory micro-architecture based on the open bitline ReRAM is proposed to improve the bitline VMM sensing efficiency, and mainly includes a PROM mechanism for VMM access and a cross-level interleaved execution scheme.
[0112] Based on the bit line sensing architecture of cascade feedback, when the binary voltage is used as the word line input of the gate of the access transistor and the memory configuration of one bit per cell, the VMM operation is actually a read access. This embodiment modifies the row ACT and PRE commands and introduces VMM as a column command to support memory bank VMM access.
[0113] This embodiment specifically includes:
[0114] Step R1: Send a row activation command ACTP to the target subarray to activate the word lines with non-zero input in the accessed page in the target subarray; in this embodiment, the ACTP command is similar to the native ACT command, except that the word lines with non-zero input in the accessed page are turned on to V PP Specifically, the execution of the row activation command ACTP includes:
[0115] disabling the precharger in the target subarray to float the bit lines;
[0116] The word line voltage of the accessed page with non-zero input changes from V BBW Rising to VPP , so that the sub-array row buffer senses the content of the row unit and takes it out into the storage node of the row buffer;
[0117] Step R2: Send a precharge command PREP to the target subarray to close all word lines in the accessed page in the target subarray; in this embodiment, the precharge command PREP is similar to the native command PRE, except that all opened word lines in the accessed page are closed to V BBW Specifically, the execution of the precharge command PREP includes:
[0118] The word line voltage in the accessed page is turned on from V PP Discharge to V BBW , so that the word line returns to a fully closed state; at the same time, the precharger is used to charge the bit line to V dd_RD , so that the bit line returns to the pre-charge state;
[0119] Step R3: Send a column VMM command to the target sub-array to gradually fetch the sensing results in the row buffer of the target sub-array to the memory burst buffer, and transmit it outward through the global I / O data line to complete data reading; the memory burst buffer includes a fixed number of I / O sensing amplifiers, and the I / O sensing amplifiers are connected to the bit line sensing amplifiers in the I / O sensing amplifiers through shared local data lines; in this embodiment, the column VMM command is similar to the native column RD command, except that the column VMM command fetches the sensing results of 128 bit lines from the sub-array row buffer storage node to the BBB, and transmits it out in bursts for global shift accumulation; during the column VMM access operation, the SA storage node must be enabled. Here, this embodiment introduces three versions of VMM commands, namely VMMM, VMMC and VMML, which are used to obtain the sensing results of MSB-SA, CSB-SA and LSB-SA respectively. There are 64 CSL groups in total in a designed memory bank, and one group includes CSL_M, CSL_C, and CSL_L. Specifically, the process of transmitting the sensing result in each bit line sense amplifier to the memory bank burst buffer includes:
[0120] Step R31: select MSB-SA through the SASL signal, and drive the sensing data of MSB-SA to be transmitted to the corresponding I / O sensing amplifier in the memory burst buffer through the local data line, and start to trigger the flipping of the I / O sensing amplifier, and release the local data line at the same time; Step R31 corresponds to the execution of the VMMM command;
[0121] Step R32: After the sensing data transmission of MSB-SA is completed, CSB-SA is selected through the SASL signal, and the sensing data of CSB-SA is driven to be transmitted to the corresponding I / O sensing amplifier in the memory burst buffer through the local data line, and the flipping of the I / O sensing amplifier is triggered, and the local data line is released at the same time; Step R32 corresponds to the execution of the VMMC command;
[0122] Step R33: After the sensing data transmission of CSB-SA is completed, CSB-SA is selected through the SASL signal, and the sensing data of LSB-SA is driven to be transmitted to the corresponding I / O sensing amplifier in the memory burst buffer through the local data line, and the flipping of the I / O sensing amplifier is triggered, and the local data line is released at the same time; Step R33 corresponds to the execution of the VMML command;
[0123] Among them, V BBW is the word line voltage in the fully off state, V PP is the word line voltage in the fully open state, V dd_RD Indicates a positive voltage read.
[0124] SA plus SA pass gate transistor (SAPG) is actually an SRAM cell. In this embodiment, it is observed that the column select line CSL is actually the word line of SA, and the local data line LDL is actually the bit line of SA. LDL is first precharged to V dd_RD . When CSL is enabled, in order to prevent read disturbance and maintain the read static noise margin (RSNM) of the SA storage node, the SA storage node should be more decoupled from the local data line LDL, so the resistance of the SAPG transistor should be much larger than the resistance of the SA pull-down (PD) transistor. To ensure this, in this embodiment, the width-to-length ratio of the SAPG transistor is set to four times the width-to-length ratio of the pull-down transistor in the SA, that is, the β ratio of the "SRAM cell" is four. The large channel resistance of the SAPG transistor causes a large delay. During the "SRAM read access" driven by the CSL signal, the turn-on / off delay of the small SAPG is 3.75ns, which suppresses the column cycle time tCCD_L and tAA of the VMM column access. Although the SA access circuit can be designed as in a dual-port 8T SRAM cell without read disturbance, this will increase the layout area.
[0125] In order to hide the latency of the frequently turned-on SAPG and improve the data bus efficiency, in this embodiment, when executing the column VMM command to burst read the VMM result bits from the BLSA, the result bits sensed in the MSB-SA, CSB-SA, and LSB-SA are transmitted from the row buffer to the memory bank burst buffer in an interleaved manner, thereby realizing a valid bit interleaving scheme, based on which VMM column accesses of different valid bits are partially parallelized, and the peripheral column access latency overlaps, such as Figure 7 shown.
[0126] like Figure 5 As shown in the figure, a bit-interleaved column access connector (BIC) is designed in the BLSA. The MSB is first transferred outward to the corresponding MSB IOSA in the memory bank burst buffer through the local data line LDL, and starts to trigger the flip of the single-ended IOSA. At this time, the shared local data line is released by disconnecting the IOSA, and it is ready for the CSB-SA to be transferred outward to the corresponding IOSA. Finally, after the LSB is transferred to the memory bank burst buffer, the reading of the MSB SA result can start again. The result bits stored in the MSB-SA, CSB-SA, and LSB-SA are stabilized in turn, so they can be burst-transferred by time-division multiplexing a single local data line. The data transmission from different valid bit SAs to the memory bank burst buffer is controlled separately by different CSLs. The data rate of the local data line LDL is three times the CSL enabling frequency. For performing column access, compared with the design of allocating data lines for each SA, this data burst by different valid bits saves data lines and improves the data bus efficiency while maintaining the same total bandwidth.
[0127] The open bitline ReRAM has odd-even staggered bitlines without bitline isolation transistors. In the conventional SA design where the bitlines are directly connected to the storage nodes, when the jth SA is enabled, the (2j+1)th complement bitline in the (2k+1)th subarray is occupied as the voltage reference line for the 2jth bit line in the 2kth subarray, and both the bit line voltage and the corresponding complement bit line voltage are restored by the SA. Then the complement bit line cannot be sensed again by the same SA in the same row cycle. When the corresponding bit line LSB result sensing is completed, this dependency prevents the SA from switching to the sensing of the complement bit line MSB result.
[0128] Taking into account the above characteristics of the open bit line ReRAM architecture, in order to further improve the efficiency of the data bus, the present embodiment further proposes a page interleaving scheme between subarrays. Specifically, a pair of bit lines and complement lines are decoupled by introducing a global reference voltage generator (GRVG) and a global reference line (GRL) between two adjacent subarrays. The global reference line GRL is input to the gate of the unbalancer of the SA to cooperate with the proposed design of decoupling the bit line from the SA storage node; in this embodiment, the local data line (LDL) is shared between two adjacent subarrays. Through the decoupling mechanism, the GRL voltage will not be destroyed by the flipping of the SA. In this way, two dummy edge subarrays are not required to construct complement lines for reference. After the LSB of the bit line result is sensed and the LSB SA becomes idle, SASL is switched to connect the complement line to the MSB SA to sense its MSB result. In this way, the activation of two pages falling in adjacent subarrays is interleaved, and the row cycles of two page accesses in two subarrays falling in the same group overlap, for example, Figure 8 In the embodiment, the row period between subarray [2k] and its adjacent subarray [2k+1] overlaps. The inter-subarray page interleaving scheme proposed in this embodiment enables the bit lines and the complementary bit lines to share the same BLSA and enable burst transmission, which further doubles the data rate of the local data line LDL.
[0129] In the conventional design, the accessed word line starts to be turned off immediately when the PRE command is issued to the sub-array, and the accessed word line is completely turned off to V BBW After that, bit line precharge begins. For ReRAM bit line sensing, the decay rate of the bit line voltage during the word line off period is slower than when the word line is kept at V PP This is because the word line is directly connected to the gate of a row of access transistors. The transistor channel resistance increases as the word line is turned off, and the charge leakage path through the bit line of the ReRAM cell being turned off is gradually cut off, so the speed of the bit line voltage decay slows down as the word line is turned off. Finally, when the word line is completely turned off to V BBW When the word line is turned off, the bit line voltage is clamped to a constant. This word line closing process prevents the bit line voltage from falling further to prevent the voltage drop from reaching the GND potential at the maximum (for the "111" sensing result). If the result potential of "110" also reaches GND, the two result states are indistinguishable.
[0130] In order to reduce power consumption, this embodiment proposes an Early Sub-Wordline Closing (ESWC) mechanism for the execution of the row activation command ACTPD. Specifically, in step R1, the sub-wordline voltage with non-zero input in the accessed page is increased from V BBW Rising to V PPDuring the process, when the read voltage margin of each MSB-SA in the row buffer of the target sub-array is formed, the corresponding word line is turned off. Usually, when the sub-word line voltage is charged to 0.975V PP When the MSB-SA read voltage margin is formed, the opened sub-word line is closed without waiting for the subsequent precharge command. Taking MSB SA as an example, the early sub-word line closing mechanism helps the subsequent CSB and LSB sensing. This bit line voltage clamping based on the sub-word line closing allows the subsequent CSB-SA and LSB-SA to use a reference voltage with a similar read margin and share the same voltage decay process in a single activation cycle. At the same time, when the MSB-SA read voltage margin is formed, that is, when the SA latch is about to flip, the sub-word line driver turns off the word line, thereby reducing the energy consumption of the sub-word line driver and the power consumption of the sub-word line and the corresponding access transistor.
[0131] In general, the present embodiment can implement a charge-one-read-many (PORM) function in a single row cycle, improve the efficiency of vector-matrix multiplication calculations, and improve the utilization of hardware resources.
[0132] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A sense amplifier with bit line-storage node decoupling, applied to sensing bit lines in an open bit line ReRAM subarray, characterized in that: include: A PMOS transistor P1, a latch, an equalizer, an unbalancer, and an NMOS transistor N1; The drain of P1 is connected to the positive reading voltage V dd_RD , the gate of P1 is used as Signal input terminal; The latch comprises: PMOS transistors PU1 and PU2, and NMOS transistors PD1 and PD2; the drain of PU1 is connected to the drain of PU2 to form a node SAP, and the source of P1 is connected to the node SAP; the source of PU1 is connected to the drain of PD1 to form a first node; the gate of PU1 is connected to the gate of PD1 to form a second node; the source of PU2 is connected to the drain of PD2 to form a third node; the gate of PU2 is connected to the gate of PD2 to form a fourth node; the first node is connected to the third node as a storage node SN, and the second node is connected to the fourth node as a storage node Storage node SN and The stored signals are opposite to each other; The equalizer includes: an NMOS transistor EQZ and an NMOS transistor Bridge; the drain and source of EQZ are connected to the gates of PD1 and PD2 respectively, the gate of EQZ serves as an EQL signal input terminal; the gate of Bridge serves as a LOCKL signal input terminal; The unbalancer includes: NMOS transistors N2 and N3; the drain of N2 is connected to the source of PD1 to form a node V P ; The drain of N3 is connected to the source of PD2, forming a node V Q ; The sources of N2 and N3 are connected to form a node SAN; the drain and source of Bridge are connected to the node V P and V Q The gate of N2 is used as a reference voltage input terminal, and the gate of N3 is used as a bit line voltage input terminal; The drain of N1 is connected to the node SAN, the source of N1 is grounded, and the gate of N1 serves as the input terminal of the SAEN signal; in, The signal is opposite to the SAEN signal, which is used to enable the sense amplifier; the EQL signal is the equalization line signal, and the LOCKL signal is the lock line signal.
2. A cascade feedback bit line sense amplifier, characterized in that: include: Sense amplifiers MSB-SA, CSB-SA and LSB-SA, global reference voltage generators GRVG2, GRVG1 and GRVG0, four-way decoder D0 and two-way decoder D1, selectors S0, S1 and S2, and NMOS transistors SAPG0, SAPG1 and SAPG2; The sense amplifiers MSB-SA, CSB-SA and LSB-SA are all the sense amplifiers with bit line-storage node decoupling as claimed in claim 1; The gates of SAPG0, SAPG1 and SAPG2 are connected to the CSL_LSB signal, the CSL_CSB signal and the CSL_MSB signal respectively, and the sources of SAPG0, SAPG1 and SAPG2 are all connected to the local word line LDL; the drain of SAPG2 is connected to the storage node SN of MSB-SA, the drain of SAPG1 is connected to the storage node SN of CSB-SA, and the drain of SAPG0 is connected to the storage node SN of LSB-SA; The first input terminals of S0, S1 and S2 are all connected to the SASL signal, the second input terminals of S0, S1 and S2 are all connected to the bit line, and the third input terminals of S0, S1 and S2 are all connected to the complement bit line; the output terminals of S0, S1 and S2 are respectively connected to the bit line voltage input terminals of LSB-SA, CSB-SA and MSB-SA; GRVG2 is used to generate the reference voltage V ref3 , GRVG1 is used to generate the reference voltage V ref1 and V ref5 , GRVG1 is used to generate the reference voltage V ref0 、V ref2 、V ref4 and V ref6 ; V ref0 ~V ref6 Increase successively; The output terminal of GRVG2 is connected to the reference voltage input terminal of MSB-SA; The first input terminal of D1 is connected to the output terminal of GRVG1, the second input terminal of D1 is connected to the storage node SN of MSB-SA, and the output terminal of D1 is connected to the reference voltage input terminal of CSB-SA; D1 is used to change the voltage signal at the storage node SN of MSB-SA from V ref1 and V ref5 Select one path to input to CSB-SA; The first input terminal of D0 is connected to the output terminal of GRVG0, the second input terminal of D0 is connected to the storage node SN of CSB-SA, and the output terminal of D0 is connected to the reference voltage input terminal of LSB-SA; D0 is used to change the voltage signal at the storage node SN of CSB-SA from V ref0 、V ref2 、V ref4 and V ref6 Select one path to input to LSB-SA; Among them, the SASL signal is used to select the sense amplifier, the CSL_LSB signal is used to select the LSB-SA, the CSL_CSB signal is used to select the CSB-SA, and the CSL_MSB signal is used to select the MSB-SA.
3. The bit line sense amplifier of the cascade feedback as claimed in claim 1, characterized in that the selector include: A PMOS transistor P4 and an NMOS transistor N4; The gate of P4 is connected to the gate of N4, and the connection terminal serves as the first input terminal of the bit line sense amplifier; The drain of P4 serves as the second input terminal of the bit line sense amplifier; The source of N4 serves as the third input terminal of the bit line sense amplifier; The source of P4 is connected to the drain of N4, and the connection end serves as the output end of the bit line sense amplifier.
4. A storage-computation-in-body memory microarchitecture based on open bitline ReRAM, characterized in that: In the subarray of the ReRAM, the bitline sense amplifier connected to each bitline is the cascade feedback bitline sense amplifier as claimed in claim 2 or 3, and the bitline sense amplifiers connected to all the bitlines constitute a row buffer of the subarray; In a subarray, the bit line sense amplifier connected to the odd-numbered bit lines is located at the top of the edge of the subarray, called the top bit line sense amplifier, and the bit line sense amplifier connected to the even-numbered bit lines is located at the bottom of the edge of the subarray, called the bottom bit line sense amplifier; in two adjacent subarrays, the bottom bit line sense amplifier of the previous subarray also serves as the top bit line sense amplifier of the next subarray.
5. The in-situ matrix calculation method of the storage-computation-in-body memory micro-architecture based on open bitline ReRAM as claimed in claim 4, characterized in that: include: Step R1: sending a row activation command ACTP to the target subarray to activate a word line with a non-zero input in an accessed page in the target subarray; The execution of the row activation command ACTP includes: disabling the precharger in the target subarray to float the bit line; The word line voltage of the accessed page with non-zero input changes from V BBW Rising to V PP , so that the sub-array row buffer senses the content of the row unit and takes it out into the storage node of the row buffer; Step R2: sending a precharge command PREP to the target subarray to close all word lines in the accessed page in the target subarray; the execution of the precharge command PREP includes: The word line voltage in the accessed page is turned on from V PP Discharge to V BBW , so that the word line returns to a fully closed state; at the same time, the precharger is used to charge the bit line to V dd_RD , so that the bit line returns to the pre-charge state; Step R3: Sending a column VMM command to the target subarray to gradually fetch the sensing results in the row buffer of the target subarray to the memory burst buffer, and transmitting it outward through the global I / O data line to complete data reading; the memory burst buffer includes a fixed number of I / O sensing amplifiers, and the I / O sensing amplifiers are connected to the bit line sensing amplifiers in the I / O sensing amplifiers through the shared local data line; the process of transmitting the sensing results in each bit line sensing amplifier to the memory burst buffer includes: Step R31: select MSB-SA through the SASL signal, and drive the sensing data of MSB-SA to be transmitted to the corresponding I / O sensing amplifier in the memory bank burst buffer through the local data line, and start to trigger the flipping of the I / O sensing amplifier, and release the local data line at the same time; Step R32: After the sensing data transmission of MSB-SA is completed, CSB-SA is selected through the SASL signal, and the sensing data of CSB-SA is driven to be transmitted to the corresponding I / O sensing amplifier in the memory burst buffer through the local data line, and the flipping of the I / O sensing amplifier is triggered, and the local data line is released at the same time; Step R33: After the sensing data transmission of CSB-SA is completed, CSB-SA is selected through the SASL signal, and the sensing data of LSB-SA is driven to be transmitted to the corresponding I / O sensing amplifier in the memory burst buffer through the local data line, and the flipping of the I / O sensing amplifier is triggered, and the local data line is released at the same time; Among them, V BBW is the word line voltage in the fully off state, V PP is the word line voltage in the fully open state, V dd_RD Indicates a positive voltage reading.
6. The in-situ matrix calculation method according to claim 5, characterized in that: In step R1, the word line voltage with non-zero input in the accessed page is changed from V BBW Rising to V PP During the process, when the read voltage margin of each MSB-SA in the row buffer of the target sub-array is formed, the corresponding word line is turned off.
7. The in-situ matrix calculation method according to claim 6, characterized in that: After step R33, the method further includes: if a subarray adjacent to the target subarray receives a column VMM command, after the sensing data transmission of LSB-SA is completed, selecting MSB-SA through a SASL signal to sense the result in MSB-SA.
Citation Information
Patent Citations
Memory and control method
CN118038934A
Latched sense amplifier
KR1020020085952A
Apparatuses and methods for reducing row address to column address delay
US20200027490A1
Sense amplifier with overdrive and regulated bitline voltage
US6347058B1
