Memory array and in-memory computing circuit
By designing a centrally symmetric 2T2R structure in the memory array, the problem of asymmetric weight reading in traditional memory arrays is solved, the recognition accuracy and integration density are improved, power consumption is reduced, and the accuracy and reliability of in-memory computing are enhanced.
Patent Information
- Application Number
- CN202311662692.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-06
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2043-12-06
AI Technical Summary
There is an asymmetric weight reading problem in traditional memory arrays, which results in reduced recognition accuracy. It cannot meet the recognition accuracy of in-memory computing arrays of transistors with small gate width/gate length ratios, and has low power consumption and reliability.
Design a memory array that uses complementary first storage structures and second storage structures, and forms a centrally symmetric 2T2R structure through isolation settings to ensure symmetrical electrical connection relationships, eliminate asymmetric weight reading problems, and improve computing accuracy.
The centrally symmetric 2T2R structure eliminates the problem of asymmetric weight reading, improves the recognition accuracy and integration density of the memory array, reduces power consumption, and enhances the accuracy and reliability of in-memory computing.
Smart Images

Figure CN117809701B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of memory technology, and more specifically, to a memory array and an in-memory computing circuit. Background Art
[0002] In recent years, the artificial intelligence market has achieved significant growth, especially in areas such as speech recognition and machine vision. At the same time, with the increasing popularity of smart terminals such as smartphones, watches, and bracelets, the market demand for energy-efficient hardware is also increasing. However, traditional computing architectures rely on the von Neumann architecture, which separates the processor and memory, retrieves data from the memory for processing, and then stores the data back to the memory. This process requires a large amount of data transfer between the processor and the memory, resulting in a significant increase in energy consumption and time delay.
[0003] At present, in order to alleviate the above problems, the conventional solution is to use new devices such as resistive memory, phase change memory, magnetic memory and ferroelectric memory to realize data in-memory computing. These new resistive memory devices use the resistance value of the device to store data, allowing multiple bits to be stored in a single cell. In an array, the new resistive memory can use Ohm's law and Kirchhoff's law to perform multiplication and accumulation operations in the analog domain, thereby accelerating artificial intelligence calculations. Therefore, in-memory computing chips based on new resistive memories have been widely studied in recent years.
[0004] Among them, one of the keys to the new resistive memory to perform multiplication and accumulation is the weight mapping scheme, which maps algorithm parameters (such as weights in a neural network) into resistance values and stores them in a resistive memory array. However, due to the asymmetric electrical connection relationship between transistors and storage in traditional resistive memory arrays, there is an asymmetric weight reading problem in in-memory computing applications. The asymmetric weight reading problem makes the gate voltage of transistors on the 1T1R structure that store the positive and negative parts of the weight unstable, which degrades the recognition accuracy of in-memory computing arrays with transistors with relatively small gate width / gate length (W / L).
[0005] It can be seen that in traditional array structures, as well as in-memory computing systems whose basic storage units are composed of transistors and resistive devices integrated in series, such as resistive memory, phase change memory, magnetic memory and ferroelectric memory, they will face the problem of asymmetric weight reading, resulting in reduced accuracy. Enlarging the size of transistors or overdriving transistors cannot completely save the loss of accuracy, and may also lead to higher power consumption and reduced reliability. Summary of the invention
[0006] In view of the above problems, the present invention provides a memory array and an in-memory computing circuit to solve the problems existing in existing memory devices, such as asymmetric weight reading, resulting in reduced accuracy and inability to meet the recognition accuracy of the in-memory computing array of transistors with relatively small gate width / gate length.
[0007] The memory array provided by the present invention comprises memory cells distributed in an array, wherein the memory cells comprise a complementary first memory structure and a second memory structure; wherein the first memory structure comprises a first transistor and a first memory connected to the drain of the first transistor; the second memory structure comprises a second transistor and a second memory connected to the drain of the second transistor; the first memory structure and the second memory structure are isolated from each other, and the first memory structure and the second memory structure are centrally symmetrical.
[0008] In addition, an optional technical solution is to set the current direction to flow from the second storage structure to the first storage structure, wherein the gate of the first transistor is connected to the word line WL - The source of the first transistor is connected to the bit line BL - The first memory is connected to the source line SL; the gate of the second transistor is connected to the word line WL + The source of the second transistor is connected to the source line SL, and the second memory is connected to the bit line BL + connect.
[0009] In addition, an optional technical solution is that when an external input signal is applied to the word line WL - and word line WL + When the input signal is "1", the voltage applied to the gate of the second storage structure is: V ref +V G , the voltage applied to the gate of the first storage structure is: V ref +V G -V read ; If the input signal is "0", the voltage applied to the gate of the second storage structure is: V ref , the voltage applied to the gate of the first storage structure is: V ref -V read ; Among them, V read Indicates the read voltage, V ref Indicates the reference voltage, V G Represents the designed gate voltage; V ref and V G is a fixed value.
[0010] In addition, an optional technical solution is that the read voltage is applied to the bit line BL- and the bit line BL+, and the bit line BL - The voltage on the BL - =V ref -Vread , bit line BL + The voltage on the BL + =V ref +V read ; Among them, V read Indicates the read voltage, V ref Indicates the reference voltage.
[0011] In addition, an optional technical solution is that when an external input signal is applied to the bit line BL - and bit line BL + When the voltage applied to the gate of the second storage structure is: V ref +V G , the voltage applied to the gate of the first storage structure is: V ref +V G -V read ; Among them, V read Indicates the read voltage, V ref Indicates the reference voltage, V G Represents the designed gate voltage; V ref and V G is a fixed value.
[0012] In addition, an optional technical solution is that if the input signal is "0", the bit line BL - and bit line BL + The voltage on the BL + =V BL - =V ref ; If the input signal is x, the voltage on the bit line BL+ is: V BL + =V ref +V in , bit line B L - The voltage on the BL - =V ref -V in ; Among them, V in = x·V read .
[0013] In addition, an optional technical solution is that the first transistor and the second transistor are metal oxide semiconductor field effect transistors; the first memory and the second memory include resistive memory, phase change memory, ferroelectric memory and magnetic memory.
[0014] In addition, an optional technical solution is that the channel type of the first transistor and the second transistor is the same.
[0015] On the other hand, the present invention also provides an in-memory computing circuit, comprising the above-mentioned memory array.
[0016] By utilizing the above-mentioned memory array and in-memory computing circuit, a complementary first storage structure and a second storage structure are set, and the first storage structure and the second storage structure are isolated and set so that they have electrically symmetrical properties. When the memory array performs cumulative calculations, the problem of asymmetric weight reading can be eliminated. At the same time, the accuracy of the calculation can be improved, and a small transistor gate width / gate length can be maintained, thereby improving the integration density of the array and the overall performance of the memory.
[0017] In order to achieve the above and related purposes, one or more aspects of the present invention include the features that will be described in detail later. The following description and the accompanying drawings describe some exemplary aspects of the present invention in detail. However, these aspects indicate only some of the various ways in which the principles of the present invention can be used. In addition, the present invention is intended to include all these aspects and their equivalents. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] By referring to the following description in conjunction with the accompanying drawings, and with a more comprehensive understanding of the present invention, other objects and results of the present invention will become more apparent and easy to understand. In the accompanying drawings:
[0019] Figure 1 is a schematic diagram of the structure of a memory array according to Embodiment 1 of the present invention;
[0020] Figure 2 is a voltage schematic diagram according to Embodiment 1 of the present invention;
[0021] Figure 3 is a schematic diagram of the structure of a memory array according to a second embodiment of the present invention;
[0022] Figure 4 FIG. 4 is a voltage schematic diagram according to the second embodiment of the present invention.
[0023] The same reference numerals throughout the drawings indicate similar or corresponding features or functions. DETAILED DESCRIPTION
[0024] In the following description, for the purpose of illustration, in order to provide a comprehensive understanding of one or more embodiments, many specific details are set forth. However, it is apparent that these embodiments may also be implemented without these specific details. In other examples, for ease of describing one or more embodiments, known structures and devices are shown in the form of block diagrams.
[0025] In the description of the present invention, it is to be understood that the terms “center”, “longitudinal”, “lateral”, “length”, “width”, “thickness”, “up”, “down”, “front”, “back”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, “clockwise”, “counterclockwise”, “axial”, “radial”, “circumferential”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.
[0026] In order to solve the problems existing in existing memory solutions, such as asymmetric weight reading, which leads to reduced accuracy and inability to meet the recognition accuracy of in-memory computing arrays of transistors with relatively small gate widths / gate lengths, the present invention provides a memory array and an in-memory computing circuit, which are provided with complementary first and second storage structures, and the first and second storage structures are isolated to form a centrally symmetrical 2T2R structure, so that it has a symmetrical property of electrical connection relationship, and can eliminate the problem of asymmetric weight reading when the memory array performs multiplication and addition calculations. At the same time, it can also improve the accuracy of the calculation, and can be applicable to transistors with smaller widths / gate lengths, thereby improving the integration density of the array and the overall performance of the memory.
[0027] To describe the memory array and the in-memory computing circuit of the present invention in detail, specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
[0028] Figure 1 FIG. 4 shows a schematic structure of a memory array according to a first embodiment of the present invention. Figure 2 The voltage schematic principle of the memory array of the first embodiment is shown.
[0029] like Figure 1 and Figure 2 As shown together, the memory array of an embodiment of the present invention includes a plurality of memory cells distributed in an array, wherein each memory cell further includes a complementary first memory structure and a second memory structure; wherein the first memory structure includes a first transistor and a first memory connected to the drain of the first transistor; the second memory structure includes a second transistor and a second memory connected to the drain of the second transistor, and the first memory structure and the second memory structure are isolated from each other, so that the first memory structure and the second memory structure are centrally symmetrical, weight symmetrical, or topologically symmetrical, thereby overcoming the weight reading problem existing in the asymmetric 2T2R structure.
[0030] Specifically, in the memory array of the embodiment of the present invention, the direction of the current is set as shown by the arrow, flowing from the second storage structure to the first storage structure, then the gate of the first transistor and the word line WL - The source of the first transistor is connected to the bit line BL - The first memory is arranged on the drain side and connected to the source line SL; the gate of the second transistor is connected to the word line WL + The source of the second transistor is connected to the source line SL, and the second memory is set at the drain and connected to the bit line BL + connect.
[0031] It can be seen that when the resistive random access memory performs multiplication and accumulation operations, the key process is the weight mapping scheme, which maps the algorithm parameters into resistance values and stores them in the memory array. For example, in a typical feedforward neural network, the connection strength between each neuron is determined by the weight between them. The weights have both positive and negative values. Therefore, the actual weight-to-resistance mapping process is usually achieved by subtracting the resistance values of two storage structures (W+ and W-), that is, the weight storage is achieved by a 2T2R array.
[0032] Specifically, the traditional 2T2R array mainly stores W+ and W- on different bit lines (BL), and the input signal is input from the bit line, which can be binary or multi-valued. The difference between the storage states of the memory on two adjacent bit lines represents the weight in the neural network. However, since the read voltages applied on adjacent bit lines of the traditional 2T2R array are inconsistent in positive and negative, the 1T1R structure storing W+ and W- has an asymmetric topological connection relationship, which makes the traditional 2T2R array have an asymmetric weight reading problem. The asymmetric weight reading problem makes the gate voltage of the transistor on the 1T1R structure storing W+ and W- unstable, resulting in the degradation of the recognition accuracy of the in-memory computing array of transistors with relatively small gate width / gate length (W / L). However, the present invention can make the 2T2R structure have a complete electrical symmetry property by isolating and improving the 1T1R structure in the storage unit, thereby enhancing the accuracy and integration of the memory array in the in-memory computing application.
[0033] In a specific embodiment of the present invention, an external input signal is applied to the word line WL - and word line WL + If the input signal is "1", the word line WL + The input signal on the word line WL is +1. - The input signal on is -1. At this time, the second storage structure (W + ) is applied to the gate voltage: V ref +V G , the first storage structure (W - )'s gate voltage is: V ref +VG -V read ; If the input signal is "0", the word line WL + and word line WL - The input signals on the second storage structure are all 0, and the voltage applied to the gate of the second storage structure is: V ref , the voltage applied to the gate of the first storage structure is: V ref -V read ; Among them, V read Indicates the read voltage, V ref Indicates the reference voltage, V G Represents the designed gate voltage; V ref and V G is a fixed value, since V gs =V G +V ref , and V G and V ref The value is constant, so V gs The value is also constant and does not change with changes in current and resistance.
[0034] Among them, the read voltage V read Applied to bit line BL- and bit line BL+, bit line BL - The voltage on the BL - =V ref -V read , bit line BL + The voltage on the BL + =V ref +V read ; Among them, V read Indicates the read voltage, V ref represents the reference voltage, so the asymmetric weight reading can be cancelled by the memory cell structure and biasing.
[0035] It should be noted that, in order to achieve symmetry as much as possible, the transistors of the first storage structure and the second storage structure in the above-mentioned storage unit need to be isolated, which can be achieved by additional N-wells and deep N-wells, or by deep trenches, isolation dielectrics or other processes. In addition, different substrate voltages (V sub ), the width of the transistor can be designed according to the minimum W / L allowed by the technology node, thereby improving the integration advantage while ensuring the calculation accuracy.
[0036] Figure 3 FIG. 4 shows a distributed structure of a memory array according to another embodiment of the present invention. Figure 4 FIG. 2 shows a voltage schematic diagram of a memory array according to another embodiment of the present invention.
[0037] like Figure 3 and Figure 4 As shown, the memory array of this embodiment of the present invention includes a plurality of memory cells distributed in an array, wherein each memory cell further includes a complementary first memory structure and a second memory structure; wherein the first memory structure includes a first transistor and a first memory connected to the drain of the first transistor; the second memory structure includes a second transistor and a second memory connected to the drain of the second transistor, and the first memory structure and the second memory structure are isolated by an N-well, a deep trench, a medium or other processes, so that the first memory structure and the second memory structure are distributed in a central symmetric, weight symmetric or topological symmetric manner, thereby overcoming the asymmetric weight reading problem existing in the conventional 2T2R structure.
[0038] Specifically, in this embodiment, an external input signal is applied to the bit line BL - and bit line BL + The voltage applied to the gate of the second storage structure is: V ref +V G , the voltage applied to the gate of the first storage structure is: V ref +V G -V read ; Among them, V read Indicates the read voltage, V ref Indicates the reference voltage, V G Represents the designed gate voltage; V ref and V G is a fixed value.
[0039] If the input signal is "0", the bit line BL - and bit line BL + The voltage on the BL + =V BL - =V ref ; If the input signal is x, the bit line BL - and bit line BL + The input signals are x and -x respectively. At this time, the voltage on the bit line BL+ is: V BL + =V ref +V in , bit line B L - The voltage on the BL - =V ref -V in ; Among them, V in = x·V readIt can be seen that although this embodiment changes the input position of the input signal, it can still eliminate the asymmetric weight reading.
[0040] It should be noted that applying the input signal to the above-mentioned two bit lines can support binary input and analog input. During the input process, the mapping of parameter weights to device conductance is reasonably designed to match the linear region of the transistor so that the input voltage and output current of the transistor roughly follow Ohm's law.
[0041] In the above two specific embodiments of the present invention, the default transistors are all N-channel transistors. If P-channel transistors are used, the current direction will change, but the above-mentioned asymmetric weight reading problem can still be solved. Therefore, the channel type of the specific transistor is not limited, and it is sufficient to ensure that the channel type of the first transistor and the second transistor is the same.
[0042] In addition, the first transistor and the second transistor are preferably metal oxide semiconductor field effect transistors compatible with the CMOS process, and of course other transistors that can meet the requirements of the in-memory computing architecture can also be used; similarly, the first memory and the second memory are preferably memories made of resistive materials compatible with the CMOS process, and other devices that store information through resistance can also be used, such as resistive memory, phase change memory, ferroelectric memory, magnetic memory, and any other memory device that uses resistance to distinguish different storage states.
[0043] In the specific application process, the output current of the W+ and W- units of the traditional 2T2R array structure with transistors of different W / L is quite different. Ideally, the output current of W+ and W- in two rows with the same W / L should be the same because they represent the same absolute weight. However, through simulation and experimental structures, it can be seen that when W / L becomes larger (W / L>13), there is a significant deviation between the output currents of the two units.
[0044] However, in the memory array structure of the present invention, ie, the centrosymmetric 2T2R structure, it can be concluded from simulation results and measured experimental data that the deviation of the output currents of the two cells is eliminated, thereby successfully solving the problem of asymmetric weight reading.
[0045] Specifically, according to the network simulation results, in the traditional 2T2R structure, when W / L=3, all networks show a serious reduction in recognition accuracy; this problem still exists when W / L=13; when W / L=27, although the recognition accuracy is restored, there is still a 1-2% reduction in recognition accuracy compared with the ideal situation. However, in the centrosymmetric 2T2R structure of the present invention, all networks have high recognition accuracy, and even at extremely small W / L, the network can still achieve high recognition accuracy, and can achieve dense integration of in-memory computing arrays by reducing W / L. Under the condition of maintaining similar recognition accuracy, the integration density of the memory can be increased by 42.2% compared with the traditional 2T2R structure.
[0046] On the other hand, the present invention further provides an in-memory computing circuit, comprising the above-mentioned memory array. It should be noted that the embodiments of the in-memory computing circuit of the memory array can refer to the description of the memory array embodiment, which will not be repeated here.
[0047] According to the above-mentioned scheme of the memory array and the in-memory computing circuit of the present invention, a centrally symmetrical 2T2R structure is adopted, and the 2T2R is composed of two complementary 1T1R structures. Each resistive memory structure is integrated at the drain end of the topological structure of the corresponding transistor, ensuring that the source of the transistor in the centrally symmetrical 2T2R is always connected to a fixed voltage potential. At the same time, in order to achieve complete symmetry, the transistors in the centrally symmetrical 2T2R need to be isolated by an accessory N-well and a deep N-well, a dielectric or a deep trench, etc., so as to eliminate the asymmetric weight reading problem faced by the traditional structure when performing multiplication, addition and accumulation calculations, improve the network accuracy while maintaining a very small W / L, and improve the array integration density of the in-memory computing chip.
[0048] The memory array and the in-memory computing circuit according to the present invention are described as examples with reference to the accompanying drawings. However, it should be understood by those skilled in the art that various improvements can be made to the memory array and the in-memory computing circuit proposed by the present invention without departing from the content of the present invention. Therefore, the protection scope of the present invention should be determined by the content of the attached claims.
Claims
1. A memory array, characterized in that: The invention comprises storage units distributed in an array, wherein the storage units include a complementary first storage structure and a second storage structure; wherein, The first storage structure includes a first transistor and a first memory connected to the drain of the first transistor; The second storage structure includes a second transistor and a second memory connected to the drain of the second transistor; The first storage structure and the second storage structure are isolated from each other, and the topological structures of the first storage structure and the second storage structure are centrally symmetrical; the current direction is set to flow from the second storage structure to the first storage structure, wherein, The gate of the first transistor is connected to the word line WL-, the source of the first transistor is connected to the bit line BL-, and the first memory is connected to the source line SL; The gate of the second transistor is connected to the word line WL + The source of the second transistor is connected to the source line SL, and the second memory is connected to the bit line BL + connect.
2. The memory array according to claim 1, wherein: When an external input signal is applied to the word line WL- and the word line WL + On time, If the input signal is "1", the voltage applied to the gate of the second storage structure is: V ref +V G , the voltage applied to the gate of the first storage structure is: V ref +V G -V read ; If the input signal is "0", the voltage applied to the gate of the second storage structure is: V ref , the voltage applied to the gate of the first storage structure is: V ref -V read ; Among them, V read Indicates the read voltage, V ref Indicates the reference voltage, V G Represents the designed gate voltage; V ref and V G is a fixed value.
3. The memory array according to claim 2, wherein: The read voltage is applied to the bit line BL- and the bit line BL+, and the voltage on the bit line BL- is: V BL - =V ref -V read , the bit line BL + The voltage on the BL + =V ref +V read ; Among them, V read Indicates the read voltage, V ref Indicates the reference voltage.
4. The memory array according to claim 1, wherein: When an external input signal is applied to the bit line BL - and the bit line BL + On time, The voltage applied to the gate of the second storage structure is: V ref +V G , the voltage applied to the gate of the first storage structure is: V ref +V G -V read ; Among them, V read Indicates the read voltage, V ref Indicates the reference voltage, V G Represents the designed gate voltage; V ref and V G is a fixed value.
5. The memory array according to claim 4, characterized in that: If the input signal is "0", the bit line BL - and the bit line BL + The voltage on the BL + =V BL - =V ref ; If the input signal is x, the voltage on the bit line BL+ is: V BL + =V ref +V in , the bit line B L - The voltage on the BL - =V ref -V in ; Among them, V in = x·V read .
6. The memory array according to claim 1, wherein: The first transistor and the second transistor are metal oxide semiconductor field effect transistors; The first memory and the second memory include resistive memory, phase change memory, ferroelectric memory and magnetic memory.
7. The memory array according to claim 1, wherein: The first transistor and the second transistor have the same channel type.
8. An in-memory computing circuit, characterized in that: Comprising a memory array as claimed in any one of claims 1 to 7.
Citation Information
Patent Citations
A Ferroelectic Memory array and Methods of operatingthereof
KR1020010068698A
Symmetric memory cell and BNN circuit
US20230267990A1
