Data storage operation method and corresponding storage unit
By using specific signal control and switch design in the static random access memory circuit, the problem of poor stability of SRAM data storage is solved, and stable data storage and communication protocol matching in a high-speed environment are achieved.
Patent Information
- Application Number
- CN202311236067.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-22
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2043-09-22
AI Technical Summary
Existing SRAM data storage has poor stability and is prone to data flipping or failure to store data, resulting in data operation failure in a high-speed storage environment.
By using specific word line and bit line signal logic state flipping methods in static random memory circuits, combined with delay units and NOR gates, switches are set to control potential coupling, prevent data rebound and establish a positive feedback trend to ensure stable data storage enter.
It effectively improves the stability of data storage, ensures that the speed of data matches the communication protocol, and avoids data operation failures and storage errors.
Smart Images

Figure CN117149089B_ABST
Abstract
Description
Technical Field
[0001] The present invention mainly relates to the technical field of data storage, and more specifically, to a data storage unit and a data storage operation method thereof which can avoid data being unable to be written or being written incorrectly during data storage. Background Art
[0002] In consumer electronics, so-called SRAM and DRAM are usually indispensable. They both belong to the category of memory that requires real-time data operation speed for data access. This is different from SSD or mechanical hard disk, for example, cache memory and memory memory are used in high-speed access scenarios.
[0003] Compared with DRAM (Dynamic Random Access Memory), SRAM does not need a refresh circuit to save the data stored inside. DRAM needs to be refreshed and charged every once in a while, otherwise the internal data will disappear. Therefore, SRAM has higher performance, but SRAM also has its disadvantages, that is, its integration is low and its power consumption is higher than DRAM. DRAM memory of the same capacity can be designed to be smaller in size, but SRAM requires a large volume. In terms of basic storage, SRAM should try to compress unnecessary circuits but must ensure that there are no functional defects.
[0004] Static random access memory (SRAM), as a member of memory, has the advantages of high speed, low power consumption and compatibility with standard processes, and is widely used in PCs, personal communications, smart electronic products, smart cards, digital cameras, multimedia players and other fields. For example, many subsystems of industrial science and automotive electronics use SRAM. For example, many modern devices are embedded with several megabytes of SRAM or several kilobytes of SRAM.
[0005] The current SRAM data storage stability is poor, and it is easy to cause the stored data to flip or fail to store data during data storage operations. Therefore, how to improve the stability of SRAM data storage has become a problem that needs to be solved urgently by technicians in this field. The read and write functions of the storage circuit still need to be improved. Data storage is not completed instantly for the memory. When a single storage unit is selected through the word line and the bit line, there is a flipping time for the potential change on the word line and the bit line, and there is a persistent time for the potential maintenance on the word line and the bit line. If the aforementioned time is set to be longer during data operation in order to ensure that the data can be stored smoothly, the problem that follows is that the mismatched write operation time or read operation time in a high-speed storage environment will cause an imbalance with the data communication protocol, resulting in data operation failure. For example, the excessive data read and write time of a single storage unit will not match the speed specified by the data protocol. Summary of the invention
[0006] The present application relates to a data storage operation method, which is characterized by comprising:
[0007] In the stage of storing data in the static random access memory circuit, the static random access memory circuit to be stored is selected by the word line signal of the first logic state and the first bit line signal:
[0008] A first bit line signal of a first logic state turns on a bit line switch that controls a bit line potential, and latches the first potential into a first storage node through the bit line, and a second bit line signal of a second logic state turns off a bit line non-switch that controls a bit line non-potential, and latches the second potential into a second storage node complementary to the first storage node through the bit line non-, thereby replacing the original data previously stored with the designated data and refreshing or storing it into the static random access memory circuit to be stored;
[0009] When the first bit line signal flips from the first logic state to the second logic state and closes the bit line switch, the second storage node is transiently coupled to the second potential once to prevent the designated data from rebounding back to the original data.
[0010] In the above method, after the static random access memory circuit performs data refresh, the word line signal and the first bit line signal are both flipped from the first logic state to the second logic state to exit the data storage operation of the static random access memory circuit to be stored.
[0011] In the above method, a switch is set between the second storage node and the bit line; the first bit line signal is divided into two branches after inversion, one is coupled to an input end of an NOR gate through a delay unit and the other is coupled to the other input end of the NOR gate through an inverter, the output of the NOR gate controls the turning off or on of the switch, and couples the second potential to the second storage node once by turning on the switch at the flipping moment.
[0012] In the above method, the output of the NOR gate controls the switch to be turned off or on through an AND gate; an enable signal is simultaneously input to the AND gate, and the enable signal is enabled and effective during the stage of storing data in the static random access memory circuit, otherwise the enable signal is not enabled and becomes invalid.
[0013] In the above method, at the flipping moment, the second potential transiently couples the second storage node, causing the second storage node to tend to oscillate close to the second potential but not yet to the second potential, and the first storage node to tend to oscillate close to the first potential but not yet to the first potential, toward establishing a positive feedback trend oscillation between the first storage node and the second storage node.
[0014] In the above method, the first logic state is a high level and the second logic state is a low level, or the first logic state is a low level and the second logic state is a high level.
[0015] In the above method, the original data stored by the first storage node and the second storage node include data 1, and the designated data refreshed by them include data 0.
[0016] In the above method, the first potential is a reference ground voltage, and the second potential is an operating voltage of a static random access memory circuit or a power supply voltage.
[0017] The present application relates to a data storage operation method, which is characterized by comprising:
[0018] In the stage of storing data in the static random access memory circuit, the static random access memory circuit to be stored is selected by a word line signal of a first logic state and a second bit line signal:
[0019] The second bit line signal of the first logic state turns on the bit line non-switch controlling the bit line non-potential, and latches the first potential into the second storage node through the bit line non-potential; and the first bit line signal of the second logic state turns off the bit line switch controlling the bit line potential, and latches the second potential into the first storage node complementary to the second storage node through the bit line, thereby replacing the original data stored previously with the designated data and refreshing or storing it into the static random access memory circuit to be stored;
[0020] When the second bit line signal flips from the first logic state to the second logic state and closes the bit line non-switch, the first storage node is transiently coupled to the second potential once to prevent the designated data from rebounding back to the original data.
[0021] In the above method, after the static random access memory circuit performs data refresh, the word line signal and the second bit line signal are both flipped from the first logic state to the second logic state to exit the data storage operation of the static random access memory circuit to be stored.
[0022] In the above method, a switch is set between the first storage node and the bit line; the second bit line signal is inverted and divided into two branches, one of which is coupled to an input end of an NOR gate through a delay unit and the other is coupled to the other input end of the NOR gate through an inverter, and the output of the NOR gate controls the turning off or on of the switch, and couples the second potential to the first storage node once by turning on the switch at the flipping moment.
[0023] In the above method, the output of the NOR gate controls the switch to be turned off or on through an AND gate; an enable signal is simultaneously input to the AND gate, and the enable signal is enabled and effective during the stage of storing data in the static random access memory circuit, otherwise the enable signal is not enabled and becomes invalid.
[0024] In the above method, at the flipping moment, the second potential is transiently coupled to the first storage node, so that the second storage node tends to oscillate close to the first potential but has not yet reached the first potential, and the first storage node tends to oscillate close to the second potential but has not yet reached the second potential, and oscillates towards establishing a positive feedback trend between the first storage node and the second storage node.
[0025] In the above method, the first logic state is a high level and the second logic state is a low level, or the first logic state is a low level and the second logic state is a high level.
[0026] In the above method, the first potential is a reference ground voltage, and the second potential is a power supply voltage or an operating voltage for supplying power to a static random access memory circuit.
[0027] In the above method, the original data stored in the first storage node and the second storage node include data 0, and the designated data refreshed by them include data 1.
[0028] The present application relates to a storage unit, characterized in that it comprises:
[0029] A plurality of static random access memory circuits sharing bit lines and bit line non-signals, wherein the first bit line signal controls the turning off or on of a bit line switch to adjust the potential of the bit line, the second bit line signal controls the turning off or on of a bit line non-signal to adjust the potential of the bit line non-signals, and any static random access memory circuit is selected by a word line signal matching the static random access memory circuit;
[0030] a first switch disposed between the second storage node and a bit line non;
[0031] The first bit line signal is inverted and divided into two branches, one of which is coupled to one input end of the first NOR gate through a delay unit and the other is coupled to the other input end of the first NOR gate through an inverter. The output of the first NOR gate controls the turning off or on of the first switch, wherein at the moment when the first bit line signal flips from the first logic state to the second logic state and the bit line switch is closed, the second potential is coupled to the second storage node once by turning on the first switch, thereby preventing the specified data refreshed or stored in the static random access memory circuit from bouncing back to the original data.
[0032] The above-mentioned memory cell: a second switch arranged between the first memory node and the bit line;
[0033] The second bit line signal is inverted and divided into two branches, one of which is coupled to one input of the second NOR gate through a delay unit and the other is coupled to the other input of the second NOR gate through an inverter. The output of the second NOR gate controls the turning off or on of the second switch, wherein at the moment when the second bit line signal flips from the first logic state to the second logic state and closes the bit line switch, the second potential is coupled to the first storage node once by turning on the second switch, thereby preventing the specified data refreshed or stored in the static random access memory circuit from bouncing back to the original data.
[0034] The above-mentioned storage unit: the output of the first NOR gate controls the turning off or on of the first switch through a first AND gate, and the output of the second NOR gate controls the turning off or on of the second switch through a second AND gate; an enable signal is simultaneously input to the first AND gate and the second AND gate, and the enable signal is enabled and valid during the stage of storing data in the static random access memory circuit, otherwise the enable signal is not enabled and becomes invalid.
[0035] The purpose of this application is to solve the problems of poor stability of SRAM data storage, easy data flipping or inability to store data during data storage operations. For example, data storage is not actually stored in the storage unit, and uncontrollable factors may cause the stored data to flip to the desired state but may also flip to an unknown state. Considering that each bit of data storage operation takes time: when any single storage unit is selected through the word line and the bit line, the potential change on the word line and the bit line has a flipping time and the potential maintenance on the word line and the bit line also has a continuation time. Typically, assuming that data storage is performed in a high-speed secondary cache, for example, if the previous storage result is an unstable state, the subsequent high-speed storage or retrieval based on the previous storage result is implemented on the basis of erroneous data, which is obviously not allowed.
[0036] The example introduced in the context of this application has the advantage that during the data storage operation, no matter whether it is a word line or a bit line, data can be stored smoothly and successfully without too long a flip time and a duration time, so the potential change of the word line and the bit line can match the data operation time limit of high-speed communication. Even if the flip time and the duration time of the word line and the bit line cause the instability of the stored data, this application can correct it. The storage unit no longer has to sacrifice the data operation speed in order to match the high-speed communication protocol with which it communicates, and it is not necessary to reduce the frequency of the data operation of the storage circuit. The success rate of the data storage operation is guaranteed and the data storage operation can match the data operation speed specified by the communication protocol. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to make the above purposes, features and advantages more understandable, the following text will explain the specific implementation methods in detail in conjunction with the drawings. After reading the following description and referring to the following drawings, the features and advantages of the present application will become apparent.
[0038] Figure 1 This is a schematic diagram of the transistor-level circuit structure of a static random access memory commonly used in the industry.
[0039] Figure 2 This is a schematic diagram of a storage array composed of a combination of static random access memories commonly used in the industry.
[0040] Figure 3 Static random access memory uses single-side error correction or double-side error correction to suppress data errors.
[0041] Figure 4 The word line and the bit line are selected to select the static random access memory circuit to be stored and implement unilateral error correction.
[0042] Figure 5 It is to replace the original data with a zero bit value and refresh it into the static random access memory circuit to be stored.
[0043] Figure 6 The word line and the bit line are selected to select the static random access memory circuit to be stored and implement unilateral error correction.
[0044] Figure 7 It is to replace the original data with a one-bit value and refresh it into the static random access memory circuit to be stored.
[0045] Figure 8 The word line and the bit line are selected to select the static random access memory circuit to be stored and implement bilateral error correction. DETAILED DESCRIPTION
[0046] The technical solutions disclosed in the present application will be clearly and completely described below in conjunction with specific embodiments. However, the embodiments described are only embodiments used for narrative explanation in the present application and are not all embodiments. Based on these embodiments, technicians in this field should realize that any solution obtained without creative work falls within the scope of protection of the present application.
[0047] See also Figure 1 The static random access memory SRAM cell of the prior art is usually a 6T structure, where T in the static random access memory is the abbreviation of transistor. The common 6T structure SRAM cell usually includes a storage cell and some read-write cells, which are not fully shown in the figure. The storage cell includes T1 and T3 connected in series between the VCC power supply voltage and the reference voltage VSS, and T2 and T4 connected in series between VCC and VSS. The storage node N1 of the storage cell is coupled to the gates of both T2 and T4, the storage node N2 is coupled to the gates of both T1 and T3, and the storage nodes N1 and N2 are used to store 1 signals or 0 signals respectively.
[0048] See also Figure 1 The gates of transistors T5 and T6 are coupled to the word line W. If the word line W is selected, the pair of transistors T5 and T6 can be turned on. Transistors T5 and T6 are also called switch transistors or transmission transistors or access transistors. After the access transistors are turned on, storage operations can be performed on storage nodes N1 and N2 according to the potential conditions of word lines B1 or B2. After the access transistors are turned on, storage operations can be performed on storage nodes N1 and N2 according to the signal conditions of storage nodes N1 and N2.
[0049] See also Figure 1 , the storage nodes N1 and N2 are complementary, ie, their logic states are opposite. The transistors T1 and T3 are both interconnected to the storage node N1, and the transistors T2 and T4 are both interconnected to the storage node N2.
[0050] See also Figure 1 One end of the transistor T5 is connected to the storage node N1 of the memory cell and the other end of the transistor T5 is connected to the bit line B1 for performing read and write operations on the memory cell.
[0051] See also Figure 1 One end of the transistor T6 is connected to the storage node N2 of the memory cell and the other end of the transistor T6 is connected to the bit line B2 for performing read and write operations on the memory cell.
[0052] See also Figure 1 , among which T3, T4, T5, and T6 are NMOS, and T1 and T2 are PMOS. It should be noted that the relative driving capabilities of these two transistors with different doping types in the same storage circuit are originally quite different. However, as the process node of the semiconductor process is reduced, such as the critical dimension CD shrinking from hundreds or tens of nanometers to several nanometers, the difference in the relative driving capabilities of the two transistors with different doping types in the same storage circuit is gradually reduced. For example, during the period of latching and writing data, the transistor may inadvertently be turned on unexpectedly by itself or slightly turned on, resulting in data latch errors.
[0053] See also Figure 1 , where T1 and T3, T2 and T4 form an inverter in pairs, which can invert the signal and then use it as input to another inverter. For example, the first inverter (T1 and T3) can invert the signal 1 or 0 and then use it as input to the second inverter (T2 and T4). These two inverters are connected through input and output to form a latch to store the required information. The reference voltage VSS can be called the reference ground voltage.
[0054] See also Figure 1 Regardless of the type of SRAM or the variation of the SRAM shown in the figure, the basic principle is to latch data through two inverters connected end to end, where the two inverters roughly form positive feedback, so that the storage unit circuit always tends to return to the desired stable state.
[0055] See also Figure 1 In terms of function, the aforementioned transistors T5 and T6 realize access, which is used to read or store data. For example, assuming that the access transistor is turned on by the word line (W), the storage data is transmitted from the bit lines (B1 and B2) to the peripheral reading circuit. The inverter and the access circuit form an SRAM cell.
[0056] See also Figure 1 The storage unit of the present application is different from the traditional storage unit. Figure 3 , but there are also common parts described above. The storage unit or storage circuit mentioned in this application can be called T-UNIT, which is used to characterize static random access memory circuit or static random access memory unit, etc.
[0057] See also Figure 1 , the key technology nodes of semiconductors have been following a trend of gradual shrinkage, such as from the early hundreds of nanometers to tens of nanometers, and now more than ten nanometers or even several nanometers. When the key technology nodes of transistors develop to the stage of more than ten nanometers or even several nanometers, the natural manufacturing process errors of transistors and the gradually reduced operating voltage with the process nodes make the data storage operation of the storage circuit T-UNIT extremely difficult. The difficulties of this data operation will be explained in detail below.
[0058] See also Figure 2 In a storage array formed by integrating many individual storage circuits, different storage circuits store different data or information. The word lines W0-WN and the bit lines B1-B6 are selected to perform data storage operations or data reading operations on the selected storage circuits.
[0059] See also Figure 2 , assuming that word line W0 and bit lines B1-B2 are selected, the position of the individually selected storage circuit in the entire storage array is determined, and the logic data stored therein is 1, which is recorded as LOGIC_1.
[0060] See also Figure 2 , assuming that the word line WK and the bit lines B1-B2 are selected, the position of the individually selected storage circuit in the entire storage array is determined, and the logic data stored therein is 0, which is recorded as LOGIC_0.
[0061] See also Figure 2 For example, if the word line WN and the bit line B1-B2 are selected, the position of the individually selected storage circuit in the entire storage array is determined, and the logic data stored in the storage circuit is 1, which is recorded as LOGIC_1.
[0062] See also Figure 2, assuming that word line W0 and bit lines B3-B4 are selected, the position of the individually selected storage circuit in the entire storage array is determined, and the logic data stored therein is 0, recorded as LOGIC_0.
[0063] See also Figure 2 , assuming that the word line WK and the bit lines B3-B4 are selected, the position of the individually selected storage circuit in the entire storage array is determined, and the logic data stored therein is 1, which is recorded as LOGIC_1.
[0064] See also Figure 2 For example, if the word line WN and the bit lines B3-B4 are selected, the position of the individually selected storage circuit in the entire storage array is determined, and the logic data stored in the storage circuit is 0, which is recorded as LOGIC_0.
[0065] See also Figure 2 , the explanation of the logic data being 1 (LOGIC_1): the voltage of the storage node N1 is high, for example, its voltage potential is equal to or close to the power supply voltage or the working voltage VCC, the voltage of the storage node N2 is low, for example, its voltage potential is equal to or close to the ground voltage or the reference voltage VSS, and the value or data stored in the static random access memory 6T unit at this time is logic 1. The state of the storage nodes N1-N2 is DATA[1:0].
[0066] See also Figure 2 , the explanation of the logic data being 0 (LOGIC_0): the voltage of the storage node N2 is high, for example, its voltage potential is equal to or close to the power supply voltage or the working voltage VCC, the voltage of the storage node N1 is low, for example, its voltage potential is equal to or close to the ground voltage or the reference voltage VSS, and the value or data stored in the static random access memory 6T unit at this time is logic 0. The state of the storage nodes N1-N2 is DATA[0:1].
[0067] See also Figure 3 ,In the traditional scheme, if data 0 is stored, the original data is 1, which means that the state of the storage node N1-N2 changes from DATA[1:0] to DATA[0:1] ,in this data storage phase.
[0068] See also Figure 3 , of the two bit lines B1 and B2, B1 is a bit line and B2 can be called a bit line NOT or a bit line IN. If they are not pulled down to VSS, VCC can be added or loaded to both bit lines by default. However, if VSS is added or loaded to any bit line, then the VCC on that bit line is removed at the same time.
[0069] See also Figure 3, the specific operation of changing from DATA[1:0] to DATA[0:1] is as follows: first, the word line W is charged to a high voltage, for example, usually equal to the power supply voltage or the operating voltage VCC, at which time transistors T5 and T6 are turned on.
[0070] See also Figure 3 , the specific operation of changing from DATA[1:0] to DATA[0:1]: Secondly, the voltage of the bit line B1 is pulled down from the power supply voltage VCC to the ground voltage VSS, while the voltage of the bit line B2 is maintained at the power supply voltage VCC. Note that at this time, since the transistor T5 is turned on, the storage node N1 tends to be pulled down to the ground voltage VSS by the bit line B1.
[0071] See also Figure 3 , the specific operation of changing from DATA[1:0] to DATA[0:1]: Furthermore, the storage node N1 will be pulled down to a lower voltage such as close to VSS by the bit line B1 connected to it. After the voltage of the storage node N1 is reduced, it will drive the voltage of the storage node N2 to rise. Note that the increase in the voltage of the storage node N2 will further promote the decrease in the voltage of the storage node N1, so a positive feedback will be established between the storage nodes N1-N2.
[0072] See also Figure 3 , the specific operation of changing from DATA[1:0] to DATA[0:1]: Finally, the above positive feedback process will always pull down the voltage of the storage node N1 to the ground voltage VSS, and pull up the voltage of the storage node N2 to the power supply voltage VCC. In this way, the logic state stored in the 6T cell is changed from 1 to 0. The doubt is that as the process node is reduced, the driving capabilities of the PMOS transistors T1-T2 and the NMOS transistors T3-T6 do not change in the same proportion during the reduction of the key size. For example, when N1 is pulled down by B1, the low voltage of N2 may also turn on the PMOS transistor T1 with unstable driving capability, and the voltage of the storage node N1 will show various random results under the state of uncertainty. Because VCC can charge N1 through the PMOS transistor T1, although the access tube also tries to couple the bit line B1 voltage to the storage node N1 at this time. In an uncertain state, its random result may be that the storage circuit completes the change from DATA[1:0] to DATA[0:1]. In an uncertain state, the random result may be that the storage circuit completes the change from DATA[1:0] to DATA[1:0], for example, the voltage of the storage node N1 rebounds back to the initial high voltage after being slightly lowered, and the storage node N2 rebounds back to the initial low voltage. Under larger critical size conditions, the driving capability of NMOS in the static random access memory circuit is much stronger than that of PMOS. Under smaller critical size conditions, the driving capability of NMOS in the static random access memory circuit becomes weaker than that of PMOS.
[0073] See also Figure 3 If there is no accident, the change from DATA[1:0] to DATA[0:1] stores 0. If an accident occurs, the change from DATA[1:0] to DATA[0:1] is uncertain, and whether 0 is stored is uncertain, which is one of the reasons why the storage circuit cannot store correct data or stores wrong data.
[0074] See also Figure 3 In the traditional scheme, if the data 1 is stored and written, the original data is 0. In this data storage stage, it means that the state of the storage node N1-N2 changes from DATA[0:1] to DATA[1:0].
[0075] See also Figure 3 , the specific operation of changing from DATA[0:1] to DATA[1:0] is as follows: first, the word line W is charged to a high voltage, for example, usually equal to the power supply voltage or the operating voltage VCC, at which time transistors T5 and T6 are turned on.
[0076] See also Figure 3 , the specific operation of changing from DATA[0:1] to DATA[1:0]: Secondly, the voltage of the bit line B2 is pulled down from the power supply voltage VCC to the ground voltage VSS, while the voltage of the bit line B1 is maintained at the power supply voltage VCC. Note that at this time, since the transistor T6 is turned on, the storage node N2 tends to be pulled down to the ground voltage VSS by the bit line B2.
[0077] See also Figure 3 , the specific operation of changing from DATA[0:1] to DATA[1:0]: Furthermore, the storage node N2 will be pulled down to a lower voltage such as close to VSS by the bit line B2 connected to it. After the voltage of the storage node N2 is reduced, it will drive the voltage of the storage node N1 to rise. Note that the increase in the voltage of the storage node N1 will further promote the decrease in the voltage of the storage node N2, so a positive feedback will be established between the storage nodes N1-N2.
[0078] See also Figure 3, the specific operation of changing from DATA[0:1] to DATA[1:0]: Finally, the above positive feedback process will always pull down the voltage of the storage node N2 to the ground voltage VSS, and pull up the voltage of the storage node N1 to the power supply voltage VCC. In this way, the logic state stored in the 6T cell is changed from 0 to 1. The doubt is that as the process node is reduced, the driving capabilities of the PMOS transistors T1-T2 and the NMOS transistors T3-T6 do not change in the same proportion during the reduction of the key size. For example, when N2 is pulled down by B2, the low voltage of N1 may also turn on the PMOS transistor T2 with unstable driving capability, and the voltage of the storage node N2 will show various random results under the state of uncertainty. Because VCC can charge N2 through the PMOS transistor T2, although the access tube also tries to couple the bit line B2 voltage to the storage node N2 at this time. In an uncertain state, its random result may be that the storage circuit completes the change from DATA[0:1] to DATA[1:0]. In an uncertain state, the random result may be that the storage circuit completes the change from DATA[0:1] to DATA[0:1], for example, the voltage of the storage node N2 rebounds back to the initial high voltage after being slightly lowered, and the storage node N1 rebounds back to the initial low voltage.
[0079] See also Figure 3 If there is no accident, the change from DATA[0:1] to DATA[1:0] stores 1. If an accident occurs, the change from DATA[0:1] to DATA[1:0] is uncertain, and whether 1 is stored is uncertain, which is one of the reasons why the storage circuit cannot write correct data or writes wrong data.
[0080] See also Figure 3 A switch T6A is set between the second storage node N2 and the bit line non-B2. The switch T6A is connected in parallel with the transistor T6 mentioned above, but the switch T6A is different from T6. The switch T6A is not controlled by the word line, and it is not allowed to affect the normal operation of the word line and the controlled transistor T6, otherwise it will negatively affect the word line selection right.
[0081] See also Figure 3, the first bit line signal such as the control signal CTL_B1 is inverted and divided into two branches. The first bit line signal is inverted by an inverter IV1 in the figure. The first bit line signal is inverted and divided into two branches. One of the two branches is coupled to an input end of an NOR gate NR1 through a delay unit D1, and the other of the two branches is coupled to the other input end of the NOR gate NR1 through an inverter I1. The output of the NOR gate NR1 is used to control the switch T6A to be turned off or on. In this example, at the moment when the first bit line signal such as the control signal CTL_B1 flips from the first logic state to the second logic state and closes the bit line switch such as the transistor TB1, the second potential such as VCC is coupled to the second storage node N2 once by turning on the switch T6A.
[0082] See also Figure 3 In an optional embodiment, the first logic state is a high level voltage and the second logic state is a low level voltage, or the first logic state is a low level voltage and the second logic state is a high level.
[0083] See also Figure 3 In an optional embodiment, after the static random access memory circuit performs data refresh, the word line signal and the first bit line signal, such as W0 and CTL_B1, are flipped from the first logic state to the second logic state, thereby exiting the data storage operation of the static random access memory circuit to be stored.
[0084] See also Figure 3 In an optional embodiment, at the moment when the first bit line signal such as the control signal CTL_B1 flips from the first logic state to the second logic state and closes the bit line switch such as the transistor TB1, the second potential such as VCC is transiently coupled to the second storage node N2, so that the second storage node N2 tends to approach the second potential such as VCC but has not yet reached the oscillation of the second potential, and the first storage node N1 tends to approach the first potential such as VSS but has not yet reached the oscillation of the first potential, forcibly oscillating towards the establishment of a positive feedback trend between the first storage node N1 and the second storage node N2.
[0085] See also Figure 3 , in unilateral error correction, combined with Figure 8, the output of the NOR gate NR1 controls the switch T6A to be turned off or on through an AND gate AN1. An enable signal EN is simultaneously input to the AND gate AN1. The enable signal EN is enabled and effective in the stage of storing data in the static random access memory circuit, otherwise the enable signal EN is not enabled and invalid, for example, in the non-data storage stage of the static random access memory circuit. The enable signal EN can be set independently. Or in an optional embodiment, the enable signal EN can be associated with the first bit line signal such as the control signal CTL_B1, assuming that the first bit line signal such as the control signal CTL_B1 can also be used as the enable signal EN after delay. Whether independent or not, as long as the enable signal EN is enabled in the stage of storing data in the static random access memory circuit, and the enable signal EN is not enabled in the non-data storage stage of the static random access memory circuit. The significance of the enable signal EN can at least be reflected in: the switch T6A is allowed to be turned on only during the period when the data of the first and second storage nodes are stored, and the switch T6A is turned off during the word line selection stage to avoid inadvertently selecting a storage circuit that should not be selected in the storage array, and erroneously changing or erasing the storage information of the static random access storage circuit that should not be selected. In addition, the more important significance of the enable signal EN is to prevent the glitch of the first bit line signal such as the control signal CTL_B1 from mixing and releasing the data or charge stored at the second storage node N2 through the switch T6A, and at the same time causing the data of the first storage node to be reversed. In a highly integrated digital circuit, different types of signals are usually coupled to each other's transmission channels. For example, the level jump or logic state transient of the second bit line signal may generate an extremely narrow pulse glitch coupled to the first bit line signal.
[0086] See also Figure 3 In unilateral error correction, as the name implies, only unilateral data correction is used. Components related to bit lines other than B2, such as IV2, D2, I2, NR2, and T5A, can be directly discarded from the diagram.
[0087] See also Figure 3 A switch T5A is also provided between the first storage node N1 and the bit line B1. The switch T5A is connected in parallel with the transistor T5 mentioned above, but the switch T5A is different from T5 in that the switch T5A is not controlled by the word line, and it is not allowed to affect the normal operation of the word line and the controlled transistor T5, otherwise it will negatively affect the word line selection right.
[0088] See also Figure 3, the second bit line signal such as the control signal CTL_B2 is inverted and divided into two branches. The second bit line signal is inverted by an inverter IV2 in the figure. The second bit line signal is inverted and divided into two branches. One of the two branches is coupled to an input end of an NOR gate NR2 through a delay unit D2, and the other of the two branches is coupled to the other input end of the NOR gate NR2 through an inverter I2. The output of the NOR gate NR2 is used to control the switch T5A to be turned off or on. In this example, at the moment when the second bit line signal such as the control signal CTL_B2 flips from the first logic state to the second logic state and closes the bit line non-switch such as the transistor TB2, the switch T5A can be turned on and the second potential such as VCC is coupled to the first storage node N1 once.
[0089] See also Figure 3 In an optional embodiment, after the static random access memory circuit performs data refresh, the word line signal and the second bit line signal, such as W0 and CTL_B2, are flipped from the first logic state to the second logic state, thereby exiting the data storage operation of the static random access memory circuit to be stored.
[0090] See also Figure 3 In an optional embodiment, the second bit line signal such as the control signal CTL_B2 flips from the first logic state to the second logic state to close the bit line non-switch such as the transistor TB2, and the second potential such as VCC is transiently coupled to the first storage node N1, so that the second storage node N2 tends to approach the first potential such as VSS but has not yet reached the oscillation of the first potential, and the first storage node N1 tends to approach the second potential such as VCC but has not yet reached the oscillation of the second potential, forcibly oscillating towards the establishment of a positive feedback trend between the first storage node N1 and the second storage node N2.
[0091] See also Figure 3 , in unilateral error correction, combined with Figure 8, the output of the NOR gate NR2 controls the switch T5A to be turned off or on through an AND gate AN2. An enable signal EN is simultaneously input to the AND gate AN2. The enable signal EN is enabled and effective in the stage where the static random access memory circuit stores data, otherwise the enable signal EN is not enabled and becomes invalid, for example, in the non-data storage stage of the static random access memory circuit. The enable signal EN can be set independently. Or in an optional embodiment, the enable signal EN can be associated with a second bit line signal such as the control signal CTL_B2, assuming that the second bit line signal such as the control signal CTL_B2 can also be used as the enable signal EN after a delay. Whether independent or not, as long as the enable signal EN is enabled in the stage where the static random access memory circuit stores data, and the enable signal EN is not enabled in the non-data storage stage of the static random access memory circuit. The significance of the enable signal EN can at least be reflected in: the switch T5A is allowed to be turned on only during the period when the data of the first and second storage nodes are stored, and the switch T5A is turned off during the word line selection stage to avoid inadvertently selecting a storage circuit that should not be selected in the storage array, and erroneously changing or erasing the storage information of the static random access storage circuit that should not be selected. In addition, the more important significance of the enable signal EN is to prevent the glitch of the mixing on the second bit line signal such as the control signal CTL_B2 from releasing the data or charge stored at the first storage node N1 through the switch T5A, and at the same time causing the data of the second storage node to be inverted. In a highly integrated digital circuit, different types of signals are usually coupled to each other's transmission channels. For example, the level jump or logic state transient of the first bit line signal may generate an extremely narrow pulse glitch coupled to the second bit line signal.
[0092] See also Figure 3 In unilateral error correction, as the name implies, only unilateral data correction is used, so the components related to the bit line B1, such as IV1, D1, I1, NR1 and T6A, can be directly discarded from the figure.
[0093] See also Figure 4 , taking word line W0 as an example, word line W0 applies a high level to turn on transistors T5-T6, and usually other transistors T5-T6 not mounted on word line W0 are not turned on. For example, if word line WN does not apply a high level, other transistors T5-T6 mounted on word line WN are not turned on. Word line W0 can be charged to a high voltage, such as usually equal to the power supply voltage or the working voltage VCC. It is intended to store data 0 in the storage circuit.
[0094] See also Figure 4, taking the bit line B1 as an example, the control signal CTL_B1 flips from a low level to a high level so that the transistor TB1 can be turned on and the voltage of the bit line B1 is pulled down from the power supply voltage VCC to the ground voltage VSS. It should be noted that the control signal CTL_B2 is still at a low level at this time, so the voltage of the bit line B2 is maintained at the power supply voltage VCC. At this time, since the transistor T5 is turned on, the storage node N1 tends to be pulled down to the ground voltage VSS by the bit line B1 as shown in the dotted line. Under normal circumstances, the high level of the word line W0 will release the high level as soon as possible and switch to a low level after the data is flushed.
[0095] See also Figure 4 Taking the bit line B1 as an example, the transistor TB1 is turned on and the transistor TB2 is turned off, and the storage node N1 will be pulled down to a lower voltage such as close to VSS by the bit line B1 connected to it. After the voltage of the storage node N1 decreases, it will drive the voltage of the storage node N2 to rise. Note that the rise in the voltage of the storage node N2 will further promote the decrease in the voltage of the storage node N1, so an attempt is made to establish a positive feedback between the storage nodes N1-N2.
[0096] See also Figure 5 , taking the bit line B1 as an example, the control signal CTL_B1 flips from a low level to a high level and slightly delays the high level until the bit line B1 is pulled down to a lower voltage such as close to VSS. The control signal CTL_B1 cannot maintain a high level for a long time, and the word line W0 cannot maintain a high level for a long time, otherwise it will be unbalanced with the data writing or reading speed required by the data communication protocol. Moreover, the driving capabilities of PMOS transistors and NMOS transistors are not the same, and they do not change in the same proportion during the reduction of key dimensions. So the doubt is: after the voltage of the storage node N1 is slightly pulled down by the turned-on transistor TB1 and the bit line B1, the voltage of the storage node N1 rebounds back to the original high voltage when the control signal CTL_B1 flips from a high level to a low level. For the same reason, the positive feedback between the storage nodes N1-N2 will cause the storage node N2 to rebound back to the original low voltage. Data storage failed.
[0097] See also Figure 5, using switch T6A. The control signal CTL_B1 flips from a low level to a high level and slightly delays the high level until the bit line B1 is pulled down to a lower voltage such as close to VSS. In the present application, no matter how short the high level of the control signal CTL_B1 is required by the data communication protocol, when the control signal CTL_B1 flips from a high level to a low level, the switch T6A will be turned on once transiently. At this time, the transistor TB1 is turned off. The turned-on switch T6A will couple the power supply voltage of the bit line such as VCC to the second storage node N2, preventing the voltage of the storage node N2 from rebounding, and preventing the positive feedback between the storage nodes N1-N2 caused by this rebound from causing the storage nodes N1 / N2 to self-oscillate back to the initial voltage. The original data 1 is successfully replaced with the newly stored data 0. From DATA[1:0] to DATA[0:1]. The switch T6A is turned on transiently once, which means that the switch T6A will immediately return to its normal state of being turned off after being turned on once.
[0098] See also Figure 6 , taking word line W0 as an example, word line W0 applies a high level to turn on transistors T5-T6, and usually other transistors T5-T6 not mounted on word line W0 are not turned on. For example, if word line WN does not apply a high level, other transistors T5-T6 mounted on word line WN are not turned on. Word line W0 can be charged to a high voltage, such as usually equal to the power supply voltage or the working voltage VCC. It is intended to store data 1 in the storage circuit.
[0099] See also Figure 6 , take the bit line non B2 as an example, the control signal CTL_B2 flips from low level to high level so that the transistor TB2 can be turned on and the voltage of the bit line non B2 is pulled down from the power supply voltage VCC to the ground voltage VSS. It should be noted that the control signal CTL_B1 is still at a low level at this time, so the voltage of the bit line B1 is maintained at the power supply voltage VCC. At this time, since the transistor T6 is turned on, the storage node N2 tends to be pulled to the ground voltage VSS by the bit line non B2 as shown by the dotted line. Under normal circumstances, the high level of the word line W0 will release the high level as soon as possible and switch to a low level after the data is flushed.
[0100] See also Figure 6 Taking the bit line non-B2 as an example, the transistor TB2 is turned on and the transistor TB1 is turned off, and the storage node N2 will be pulled down to a lower voltage such as close to VSS by the bit line non-B2 connected to it. After the voltage of the storage node N2 is reduced, it will drive the voltage of the storage node N1 to rise. Note that the voltage rise of the storage node N1 will further promote the voltage drop of the storage node N2, so an attempt is made to establish a positive feedback between the storage nodes N1-N2.
[0101] See also Figure 7, take the bit line non B2 as an example, the control signal CTL_B2 flips from low level to high level and slightly delays the high level until the bit line non B2 is pulled down to a lower voltage such as close to VSS. The control signal CTL_B2 cannot maintain a high level for a long time and the word line W0 cannot maintain a high level for a long time, otherwise it will be unbalanced with the data writing or reading speed required by the data communication protocol. Moreover, the driving capabilities of PMOS transistors and NMOS transistors are not the same and they do not change in the same proportion during the reduction of key dimensions. So the problem is: after the voltage of the storage node N2 is slightly pulled down by the turned-on transistor TB2 and the bit line non B2, the voltage of the storage node N2 rebounds back to the original high voltage when the control signal CTL_B2 flips from high level to low level. For the same reason, the positive feedback between the storage nodes N1-N2 will cause the storage node N1 to rebound back to the original low voltage. Data storage failed.
[0102] See also Figure 7 , using switch T5A. The control signal CTL_B2 flips from a low level to a high level and slightly delays the high level until the bit line non-B2 is pulled down to a lower voltage such as close to VSS. In the present application, no matter how short the high level of the control signal CTL_B2 is required by the data communication protocol, when the control signal CTL_B2 flips from a high level to a low level, the switch T5A will be turned on once transiently. At this time, the transistor TB2 is turned off. The turned-on switch T5A will couple the power supply voltage at the bit line, such as VCC, to the first storage node N1, to prevent the voltage of the storage node N1 from rebounding, and to prevent the positive feedback between the storage nodes N1-N2 caused by this rebound from causing the storage nodes N1 / N2 to self-oscillate back to the initial voltage. The original data 0 is successfully replaced with the newly stored data 1. From DATA[0:1] to DATA[1:0]. The switch T5A is turned on transiently once, which means that the switch T5A will immediately return to its normal state of being turned off after being turned on once.
[0103] See also Figure 3 In the single-side error correction, data correction and data rebound suppression are performed only on the bit line B1 side, but data correction and data rebound suppression may not be performed on the bit line non-B2 side. It can be seen that the components used for data correction related to the bit line non-B2, such as IV2, D2, I2 and NR2 (or AN2) and T5A, can all be discarded. If there is a strong positive feedback condition between the first and second storage nodes N1-N2 of the storage circuit, the single-side error correction combined with the positive feedback condition can achieve better data correction results and data rebound suppression effects (for example, only on the bit line B1 side).
[0104] See also Figure 3In the single-side error correction, data correction and data rebound suppression are performed only on the non-B2 side of the bit line, but data correction and data rebound suppression may not be performed on the B1 side of the bit line. It can be seen that the components for data correction related to the bit line B1, such as IV1, D1, I1 and NR1 (or AN1) and T6A, can all be discarded. If there is a strong positive feedback condition between the first and second storage nodes N1-N2 of the storage circuit, the single-side error correction combined with the positive feedback condition can achieve better data correction results and data rebound suppression effects (such as only on the non-B2 side of the bit line).
[0105] See also Figure 8 In the bilateral error correction, as shown in the cross-coupling circuit topology, the components related to the bit line B1 for data correction, such as IV1, D1, I1 and NR1 (or AN1) and T6A, are all retained.
[0106] See also Figure 8 In the bilateral error correction, as shown in the cross-coupling circuit topology, the components used for data correction related to the bit line other than B2, such as IV2, D2, I2, NR2 (or AN2) and T5A, are all retained.
[0107] See also Figure 8 In the bilateral error correction, not only the data correction and data rebound suppression are implemented on the bit line B1 side, but also the row data correction and data rebound suppression are implemented on the bit line non-B2 side. For example Figure 8 The advantage of single-side error correction is that it uses fewer transistors and saves precious silicon area, and the timing control of switch T5A or T6A is simpler and easier to implement and less prone to errors. The advantage of double-side error correction is that the row data correction is performed intermittently and crosswise on both the first storage node and the second storage node, respectively, and the effect of suppressing data rebound is better than that of single-side, but more transistors will be used and the timing control of switches T5A and T6A will be more complicated. For example, in terms of timing control, if the enable signal EN is associated with the first bit line signal such as the control signal CTL_B1, and is also associated with the second bit line signal such as the control signal CTL_B2, in a relatively rough design, then CTL_B1 and CTL_B2 perform an OR logic operation to serve as the enable signal EN, and in a slightly improved design, or CTL_B1 and CTL_B2 are each delayed and then perform an OR logic operation to serve as the enable signal EN. Of course, the enable signal EN can also be designed independently and not be directly associated with the first bit line signal and the second bit line signal, which has been explained in the previous text.
[0108] See also Figure 8 The memory cell includes: a plurality of static random access memory circuits sharing a bit line B1 and a bit line B2, and the word lines where the plurality of memory circuits are located can be represented by W0 to WN, respectively.
[0109] See also Figure 8 In the memory cell, a first bit line signal, such as a control signal CTL_B1, is used to control the turning off or on of a bit line switch, such as a transistor TB1, so as to adjust the potential of the bit line B1.
[0110] See also Figure 8 In the memory cell, the second bit line signal, for example, the control signal CTL_B2, is used to control the turning off or on of the bit line non-switch, for example, the transistor TB2, so as to adjust the potential of the bit line non-B2.
[0111] See also Figure 8 , any static random access memory circuit is selected by a word line signal (W0-WN) matching any static random access memory circuit. For example, in a column of static random access memory circuits shown in the figure, the first static random access memory circuit is selected by a word line signal W0 matching the first static random access memory circuit, or the Kth static random access memory circuit is selected by a word line signal WK matching the Kth static random access memory circuit, or the Nth static random access memory circuit is selected by a word line signal WN matching the Nth static random access memory circuit.
[0112] See also Figure 8 , a first switch such as switch T6A is set between the second storage node N2 and the bit line non B2.
[0113] See also Figure 8 , in the storage unit: the first bit line signal such as the control signal CTL_B1 is inverted by the inverter IV1 and then divided into two branches, one of the two branches is coupled to one input end of the first NOR gate such as NR1 through the delay unit D1, and the other branch is coupled to the other input end of the first NOR gate such as NR1 through the inverter I1.
[0114] See also Figure 8 , the output of the first NOR gate such as NR1 controls the turning off or on of the first switch such as T6A, wherein at the moment when the first bit line signal such as the control signal CTL_B1 flips from the first logic state to the second logic state and closes the bit line switch such as the transistor TB1, the first switch such as T6A is turned on to couple the second potential such as VCC to the aforementioned second storage node N2 once. One of the purposes of this embodiment is to prevent the designated data refreshed to the static random access memory circuit from rebounding back to the original data. Figure 3 , AND gate AN1 is optional and not required.
[0115] See also Figure 8 , a second switch such as switch T5A is set between the first storage node N1 and the bit line B1.
[0116] See also Figure 8, in the storage unit: the second bit line signal such as the control signal CTL_B2 is inverted by the inverter IV2 and then divided into two branches, one of the two branches is coupled to an input end of the second NOR gate such as NR2 through the delay unit D2, and the other branch is coupled to the other input end of the second NOR gate such as NR2 through the inverter I2.
[0117] See also Figure 8 , the output of the second NOR gate such as NR2 controls the turning off or on of the second switch such as T5A, wherein at the moment when the second bit line signal such as the control signal CTL_B2 flips from the first logic state to the second logic state and closes the bit line non-switch such as the transistor TB2, the second potential such as VCC is coupled to the aforementioned first storage node N1 once by turning on the second switch such as T5A. One of the purposes of this embodiment is to prevent the specified data refreshed to the static random access memory circuit from rebounding back to the original data. Figure 3 , AND gate AN2 is optional and not required.
[0118] See also Figure 8 , in the storage unit: if the AND gates AN1-AN2 are used, the output of the first NOR gate such as NR1 controls the turning off / on of the first switch such as T6A through a first AND gate such as AN1. The output of the first NOR gate such as NR1 and the enable signal EN are respectively input to the two input terminals of the first AND gate such as AN1, and the output of the first AND gate such as AN1 is used to control the turning off or on of the first switch such as T6A.
[0119] See also Figure 8 , in the storage unit: if the AND gates AN1-AN2 are used, the output of the second NOR gate such as NR2 controls the turning off / on of the second switch such as T5A through a second AND gate such as AN2. The output of the second NOR gate such as NR2 and the enable signal EN are respectively input to the two input terminals of the second AND gate such as AN2, and the output of the second AND gate such as AN2 is used to control the turning off or on of the second switch such as T5A.
[0120] See also Figure 8 In the bilateral error correction, as mentioned above, based on the alternating cross error correction, the enable signal EN is simultaneously input to the first AND gate and the second AND gate, such as AN1-AN2. In the stage of storing data in the static random access memory circuit, the enable signal is enabled and valid, otherwise the enable signal is not enabled and invalid (typically, in the non-data storage stage of the static random access memory circuit, the enable signal EN is required to be not enabled, that is, disabled and invalid).
[0121] See also Figure 8In the bilateral error correction, if the first bit line signal such as CTL_B1 generates the aforementioned flip, then the second storage node N2 is forced to perform VCC coupling (using T6A) to suppress data rebound. In this embodiment, alternating cross error correction is used. If the second bit line signal such as CTL_B2 generates the aforementioned flip, then the first storage node N1 is forced to perform VCC coupling (using T5A) to suppress data rebound. The second storage node performs the next round after the previous round, and the first bit line signal such as CTL_B1 generates the aforementioned flip again, then the second storage node N2 is forced to perform VCC coupling (using T6A) to suppress data rebound. The first storage node performs the next round after the previous round, and the second bit line signal such as CTL_B2 generates the aforementioned flip again, then the first storage node N1 is forced to perform VCC coupling (using T5A) to suppress data rebound. The first storage node and the second storage node perform the next round of error correction after performing the previous round of error correction, and the cycle is repeated.
[0122] See also Figure 5 , data storage operation: in the stage of storing data in the static random access memory circuit, the static random access memory circuit to be stored is selected by the word line signal such as W0 and the first bit line signal such as CTL_B1 of the first logic state: the bit line switch such as TB1 controlling the potential of the bit line B1 is turned on by the first bit line signal such as CTL_B1 of the first logic state, and the first potential such as the reference ground voltage VSS is latched into the first storage node N1 through the bit line B1, and the bit line non-switch such as TB2 controlling the potential of the bit line non-B2 is turned off by the second bit line signal such as CTL_B2 of the second logic state, and the second potential such as the power supply voltage VCC is latched into the second storage node N2 through the bit line non-B2. In this way, the designated data replaces the original data stored previously and is refreshed to the static random access memory circuit to be stored. At the moment when the first bit line signal such as CTL_B1 flips from the first logic state to the second logic state and closes the bit line switch such as TB1, the second storage node N2 is transiently coupled to the second potential such as the power supply voltage VCC once to prevent the designated data from rebounding back to the original data.
[0123] See also Figure 5 , as mentioned above, if the written data is 0 and the original data is 1, in this data writing phase it means that the state of the storage node N1-N2 changes from DATA[1:0] to DATA[0:1].
[0124] See also Figure 5 , the specific operation of changing from DATA[1:0] to DATA[0:1] is as follows: first, the word line W0 is charged to a high voltage, for example, usually equal to the power supply voltage or the operating voltage VCC, at which time transistors T5 and T6 are turned on.
[0125] See also Figure 5, the specific operation of changing from DATA[1:0] to DATA[0:1]: Secondly, the voltage of bit line B1 is pulled down from the power supply voltage VCC to the ground voltage VSS, while the voltage of bit line B2 is maintained at the power supply voltage VCC. Note that transistor T5 is turned on at this time. The high-level control signal CTL_B1 drives transistor TB1 to turn on and the storage node N1 tends to be pulled down to the ground voltage VSS by the pulled-down bit line B1. The control signal CTL_B1 then jumps to a low potential.
[0126] See also Figure 5 , the specific operation of changing from DATA[1:0] to DATA[0:1]: Furthermore, the storage node N1 will be pulled down to a lower voltage such as close to VSS by the bit line B1 connected to it. After the voltage of the storage node N1 is reduced, it will drive the voltage of the storage node N2 to rise. Note that the increase in the voltage of the storage node N2 will further promote the decrease in the voltage of the storage node N1, so an attempt is made to establish a positive feedback between the storage nodes N1-N2.
[0127] See also Figure 5 , the specific operation of changing from DATA[1:0] to DATA[0:1]: Finally, the above positive feedback process will always pull the voltage of the storage node N1 down to the ground voltage VSS, and pull the voltage of the storage node N2 up to the power supply voltage VCC. In this way, the logic state stored in the 6T unit is changed from 1 to 0. The doubt is that as the process node is reduced, the driving capabilities of the PMOS transistors T1-T2 and the NMOS transistors T3-T6 do not change in the same proportion during the reduction of the key size. For example, when N1 is pulled down by B1, the oscillation voltage of N2 may also turn on the PMOS transistor T1 with unstable driving capability, and the voltage of the storage node N1 will show various random results under the state of uncertainty. For example, a high level of CTL_B1 that is too short will cause the voltage of N1 to rebound.
[0128] See also Figure 5 , the control signal CTL_B1 then jumps to a low potential to turn off TB1, and then turns from a high level to a low level, which will turn on the switch T6A instantaneously. At this time, the transistor TB1 is turned off, and the turned-on T6A will couple the power supply voltage VCC shown in the figure to the storage node N2, preventing the voltage of the storage node N1 from rebounding, and preventing the storage node N1 / N2 from self-oscillating back to the initial voltage due to the positive feedback between the storage nodes N1-N2 caused by the rebound.
[0129] See also Figure 5, the data storage operation or the corresponding storage unit functions as described below. In the stage of high-frequency data operation (for example, to cater to high-speed communication protocols), based on the condition that the driving capabilities of PMOS and NMOS in the static random access memory circuit are similar, at the flipping moment (the flipping moment when the first bit line signal flips from the first logic state to the second logic state and closes the bit line switch), the second potential is transiently coupled to the second storage node, so that the first storage node tends to oscillate close to the first potential but not to the first potential, and the second storage node tends to oscillate close to the second potential but not to the second potential, and oscillates toward the establishment of a positive feedback trend between the first and second storage nodes, rather than breaking the balance of positive feedback and causing the first storage node to oscillate to the second potential or the second storage node to oscillate to the first potential. Figure 7 The relevant embodiments of Figure 5 The various technical implementation schemes mentioned. The negative impact of the convergence of driving capabilities of PMOS and NMOS in static random access memory cells is manifested in that the first storage node may be pulled to the second potential level by the second storage node during the oscillation phase when it approaches the first potential, and the second storage node may be pulled to the first potential level by the first storage node during the oscillation phase when it approaches the second potential, and negative feedback is formed between the first storage node and the second storage node. The smaller the critical dimensions used for PMOS and NMOS, the more serious this consequence is. Single-side error correction or double-side error correction provides a better solution to this problem.
[0130] See also Figure 5 Therefore, the first storage node N1 is suppressed from continuously oscillating repeatedly between the first potential VSS and the second potential VCC, and the second storage node N2 is also suppressed from continuously oscillating repeatedly between the first potential VSS and the second potential VCC. During the oscillation period, the second storage node N2 is actively guided to the second potential VCC, and during the oscillation period, the first storage node N1 is indirectly guided to the first potential VSS through positive feedback.
[0131] See also Figure 7, data storage operation: in the stage of storing data in the static random access memory circuit, the word line signal of the first logic state, such as W0, and the second bit line signal, such as CTL_B2, select the static random access memory circuit to be stored: the second bit line signal of the first logic state, such as CTL_B2, turns on the bit line non-switch TB2 that controls the potential of the bit line non-B2, and latches the first potential, such as the reference ground voltage VSS, into the second storage node N2 through the bit line non-B2, and the first bit line signal of the second logic state, such as CTL_B1, turns off the bit line switch, such as transistor TB1, that controls the potential of the bit line B1, and latches the second potential, such as the power supply voltage VCC, into the first storage node N1 through the bit line B1. In this way, the designated data replaces the original data stored before and is refreshed to the static random access memory circuit to be stored. At the moment when the second bit line signal, such as CTL_B2, flips from the first logic state to the second logic state and turns off the bit line non-switch, such as TB2, the first storage node N1 is transiently coupled to the second potential, such as the power supply voltage VCC, once to prevent the designated data from rebounding back to the original data.
[0132] See also Figure 7 , as mentioned above, if the written data is 1 and the original data is 0, in this data writing phase it means that the state of the storage node N1-N2 changes from DATA[0:1] to DATA[1:0].
[0133] See also Figure 7 , the specific operation of changing from DATA[0:1] to DATA[1:0] is as follows: first, the word line W0 is charged to a high voltage, for example, usually equal to the power supply voltage or the operating voltage VCC, at which time transistors T5 and T6 are turned on.
[0134] See also Figure 7 , the specific operation of changing from DATA[0:1] to DATA[1:0]: Secondly, the voltage of the bit line non B2 is pulled down from the power supply voltage VCC to the ground voltage VSS, while the voltage of the bit line B1 is maintained at the power supply voltage VCC. Note that the transistor T6 is turned on at this time. The high-level control signal CTL_B2 drives the transistor TB2 to turn on and the storage node N2 tends to be pulled down to the ground voltage VSS by the pulled-down bit line non B2. The control signal CTL_B2 then jumps to a low potential.
[0135] See also Figure 7 , the specific operation of changing from DATA[0:1] to DATA[1:0]: Furthermore, the storage node N2 will be pulled down to a lower voltage such as close to VSS by the bit line non-B2 connected to it. After the voltage of the storage node N2 is reduced, it will drive the voltage of the storage node N1 to rise. Note that the increase in the voltage of the storage node N1 will further promote the decrease in the voltage of the storage node N2, so an attempt is made to establish a positive feedback between the storage nodes N1-N2.
[0136] See also Figure 7 , the specific operation of changing from DATA[0:1] to DATA[1:0]: Finally, the above positive feedback process will always pull the voltage of the storage node N2 down to the ground voltage VSS, and pull the voltage of the storage node N1 up to the power supply voltage VCC. In this way, the logic state stored in the 6T unit is changed from 0 to 1. The doubt is that as the process node is reduced, the driving capabilities of the PMOS transistors T1-T2 and the NMOS transistors T3-T6 do not change in the same proportion during the reduction of the key size. For example, when N2 is pulled down by B2, the oscillation voltage of N1 may also turn on the PMOS transistor T2 with unstable driving capability, and the voltage of the storage node N2 will show various random results under the state of uncertainty. For example, a high level of CTL_B2 that is too short will cause the voltage of N2 to rebound.
[0137] See also Figure 7 , the control signal CTL_B2 then jumps to a low potential to turn off TB2, and then flips from a high level to a low level, which will turn on the switch T5A instantaneously. At this time, the transistor TB2 is turned off, and the turned-on T5A will couple the power supply voltage VCC shown in the figure to the storage node N1, preventing the voltage of the storage node N2 from rebounding, and preventing the storage node N1 / N2 from self-oscillating back to the initial voltage due to the positive feedback between the storage nodes N1-N2 caused by the rebound.
[0138] See also Figure 7 , the data storage operation or the corresponding storage unit functions as described below. In the stage of high-frequency data operation (for example, to cater to high-speed communication protocols), based on the condition that the driving capabilities of PMOS and NMOS in the static random access memory circuit are similar, at the flipping moment (the flipping moment when the second bit line signal flips from the first logic state to the second logic state and closes the bit line non-switch), the second potential is transiently coupled to the first storage node, so that the second storage node tends to oscillate close to the first potential but not to the first potential, and the first storage node tends to oscillate close to the second potential but not to the second potential, and oscillates toward the establishment of a positive feedback trend between the first and second storage nodes, rather than breaking the balance of positive feedback and causing the second storage node to oscillate to the second potential or the first storage node to oscillate to the first potential. Figure 5 The relevant embodiments of Figure 7The various technical implementation schemes mentioned. The negative impact of the convergence of the driving capabilities of PMOS and NMOS in the static random access memory cell is manifested in that the second storage node may be pulled to the level of the second potential by the first storage node during the oscillation phase when it approaches the first potential, and the first storage node may be pulled to the level of the first potential by the second storage node during the oscillation phase when it approaches the second potential, and negative feedback is formed between the first storage node and the second storage node. The smaller the critical dimensions used for PMOS and NMOS, the more serious this consequence is. Single-side error correction or double-side error correction provides a better solution to this problem.
[0139] See also Figure 7 Therefore, the second storage node N2 is suppressed from continuously oscillating repeatedly between the first potential VSS and the second potential VCC, and the first storage node N1 is also suppressed from continuously oscillating repeatedly between the first potential VSS and the second potential VCC. During the oscillation period, the first storage node N1 is actively guided to the second potential VCC, and during the oscillation period, the second storage node N2 is indirectly guided to the first potential VSS through positive feedback.
[0140] See also Figure 7 For the control signal CTL_B1 or CTL_B2, after the previous signal’s logic level is flipped and the previous data or the previous bit is written, the next data or the next bit needs to be updated, which means that there must be a logic level flip event of the next signal. The data read and write rates specified by the bus protocol commonly used in the field of cache structure of SRAM applications in data storage communication protocols are extremely high. The time between the two level flip events of the control signal CTL_B1 or CTL_B2 becomes shorter as the speed of the communication protocol increases. Therefore, the first and most difficult challenge of this article is not to affect the normal level operation of the control signals CTL_B1 and CTL_B2. Figure 5 The same is true. The limitation based on the communication protocol also means that the timing of turning on and off the switches T6A and T5A needs to be designed specifically, such as their switching actions are not allowed to affect the normal changes in the voltage and current of the bit line B1 and the bit line non-B2 during data reading and writing, nor are they allowed to affect the word line selection rights of the parallel transistors T6 and T5, but to assist in the smooth storage of normal data. The measures taken to overcome these problems are also one of the most prominent advantages of this application compared to traditional technologies. Otherwise, it will lead to negative effects on data writing: inducing unexpected changes in the voltage and current of B1 and B2 is the main reason.
[0141] See also Figure 7, the role of the data storage operation or the corresponding storage unit is as follows. In the stage of high-frequency data operation (for example, to cater to high-speed communication protocols), avoid the event that the storage state of the previous data storage action has not stabilized and the adjacent subsequent data storage action comes again, resulting in the inability to store data and the storage of erroneous data, and prevent the subsequent data storage action from being constructed under the unstable data conditions of the previous data storage action. Otherwise, starting from a wrong storage action, all subsequent stored data have reasons to be questioned as being wrong, because the previous unstable data is inaccurate, and the subsequent data storage is established under inaccurate data conditions. Obviously, the present application can avoid the event that the data cannot be accurately stored or the erroneous data is stored due to the extremely narrow time between the previous data storage action and the adjacent subsequent data storage action. In the industry, SRAM-based caches often require the use of high-speed communication protocols to perform data operations. Typical negative events include: the state of the previous data storage has not stabilized, such as the data of the first storage node and the second storage node are still oscillating and not stable, and the high-frequency subsequent data storage comes next, so the subsequent data storage is wrong. For example, when the CPU executes a task and uses cache and memory interaction, the related task is prone to crash or run errors during execution. When the first bit line signal flips from the first logic state to the second logic state and closes the bit line switch, the second potential is transiently coupled to N2 once; when the second bit line signal flips from the first logic state to the second logic state and closes the bit line non-switch, the second potential is transiently coupled to N1 once. When the next data is stored, the self-oscillation of the first storage node and the second storage node caused by the previous data storage has stabilized. It can be guaranteed that the adjacent next data storage action is in the stable storage state period of the previous data storage action, and it can also be guaranteed that the next data storage action is constructed under the data stability condition of the previous data storage action. The time between the previous data storage action and the adjacent next data storage action decreases with the increase of data storage speed. Usually, the subsequent data storage action and the previous data storage action are absolutely not allowed to overlap in time. However, the previous data storage action can be set to overlap or partially overlap with the subsequent data storage action in time by coupling the second potential to the bit line or coupling to the bit line. Especially under high storage speed conditions. The advantages of this solution are obvious. It not only meets the requirements of high-speed storage, but also avoids the negative events of being unable to store data or storing wrong data. Figure 5 The relevant embodiments of Figure 7 Various technical implementation schemes mentioned.
[0142] See also Figure 8In bilateral error correction, it can be seen that the first storage node N1 and the second storage node N2 perform cross-error correction alternately, and one of them performs error correction and then alternately performs error correction by the other. The advantage is that the probability of data error can be reduced to almost zero by correcting the stored data cycle by cycle (data storage cycle) without affecting normal data storage. According to the working mechanism, bilateral error correction is performed once for each bit written, and no single bit of data will be missed. This advantage is not available in traditional 6T or improved SRAM.
[0143] The above description and drawings provide typical embodiments of specific structures of specific embodiments, and the above invention provides existing preferred embodiments, but these contents are not intended to be limiting. For those skilled in the art, various changes and modifications will undoubtedly be obvious after reading the above description. Therefore, the attached claims should be regarded as covering all changes and modifications to the true intent and scope of the present invention. Any and all equivalent scopes and contents within the scope of the claims should be considered to still be within the intent and scope of the present invention.
Claims
1. A data storage operation method, characterized in that: include: In the stage of storing data in the static random access memory circuit, the static random access memory circuit to be stored is selected by the word line signal of the first logic state and the first bit line signal: A first bit line signal of a first logic state turns on a bit line switch that controls a bit line potential, and latches the first potential into a first storage node through the bit line, and a second bit line signal of a second logic state turns off a bit line non-switch that controls a bit line non-potential, and latches the second potential into a second storage node complementary to the first storage node through the bit line non-, thereby replacing the original data previously stored with the designated data and refreshing the static random access memory circuit to be stored; At the moment of flipping the first bit line signal from the first logic state to the second logic state and closing the bit line switch, the second storage node is transiently coupled to the second potential once to prevent the designated data from rebounding back to the original data; Disposing a switch between the second storage node and the bit line; The first bit line signal is inverted and divided into two branches, one of which is coupled to one input of a NOR gate through a delay unit and the other is coupled to the other input of the NOR gate through an inverter. The output of the NOR gate controls the turning off or on of the switch and couples the second potential to the second storage node once by transiently turning on the switch at the flipping moment.
2. The method according to claim 1, characterized in that: After the static random access memory circuit executes data refresh, the word line signal and the first bit line signal are both flipped from the first logic state to the second logic state to exit the data storage operation of the static random access memory circuit to be stored.
3. The method according to claim 1, characterized in that: At the flipping moment, the second potential is transiently coupled to the second storage node, causing the second storage node to tend to oscillate close to the second potential but not yet to the second potential, and the first storage node to tend to oscillate close to the first potential but not yet to the first potential, oscillating towards establishing a positive feedback trend between the first storage node and the second storage node.
4. The method according to claim 1, characterized in that: The first logic state is a high level and the second logic state is a low level, or the first logic state is a low level and the second logic state is a high level.
5. A data storage operation method, characterized in that: include: In the stage of storing data in the static random access memory circuit, the static random access memory circuit to be stored is selected by a word line signal of a first logic state and a second bit line signal: The bit line non-switch controlling the bit line non-potential is turned on by the second bit line signal of the first logic state, and the first potential is latched into the second storage node through the bit line non-potential; and the bit line switch controlling the bit line potential is turned off by the first bit line signal of the second logic state, and the second potential is latched into the first storage node complementary to the second storage node through the bit line, thereby replacing the original data stored previously with the designated data and refreshing it to the static random access memory circuit to be stored; When the second bit line signal flips from the first logic state to the second logic state and closes the flipping moment of the bit line non-switch, the first storage node is transiently coupled to the second potential once to prevent the designated data from rebounding back to the original data; Disposing a switch between the first storage node and the bit line; The second bit line signal is inverted and divided into two branches, one of which is coupled to one input of a NOR gate through a delay unit and the other is coupled to the other input of the NOR gate through an inverter. The output of the NOR gate controls the turning off or on of the switch and couples the second potential to the first storage node once by transiently turning on the switch at the flipping moment.
6. The method according to claim 5, characterized in that: At the flipping moment, the transient coupling of the second potential to the first storage node causes the second storage node to tend to oscillate close to the first potential but not to the first potential, and the first storage node to tend to oscillate close to the second potential but not to the second potential, oscillating towards establishing a positive feedback trend between the first storage node and the second storage node.
7. The method according to claim 5, characterized in that: After the static random access memory circuit executes data refresh, the word line signal and the second bit line signal are both flipped from the first logic state to the second logic state to exit the data storage operation of the static random access memory circuit to be stored.
8. A storage unit, characterized in that: include: A plurality of static random access memory circuits sharing bit lines and bit line non-signals, wherein the first bit line signal controls the turning off or on of a bit line switch to adjust the potential of the bit line, the second bit line signal controls the turning off or on of a bit line non-signal to adjust the potential of the bit line non-signals, and any static random access memory circuit is selected by a word line signal matching the static random access memory circuit; A first bit line signal of a first logic state turns on a bit line switch that controls a bit line potential, and latches the first potential into a first storage node through the bit line, and a second bit line signal of a second logic state turns off a bit line negative switch that controls a bit line negative potential, and latches the second potential into a second storage node complementary to the first storage node through the bit line negative. a first switch disposed between the second storage node and a bit line non; The first bit line signal is inverted and divided into two branches, one of which is coupled to one input end of the first NOR gate through a delay unit and the other is coupled to the other input end of the first NOR gate through an inverter. The output of the first NOR gate controls the turning off or on of the first switch, wherein at the moment when the first bit line signal flips from the first logic state to the second logic state and the bit line switch is closed, the second potential is coupled to the second storage node once by transiently turning on the first switch, thereby preventing the specified data refreshed to the static random access memory circuit from bouncing back to the original data.
9. The storage unit according to claim 8, characterized in that: The second bit line signal of the first logic state turns on the bit line non-switch controlling the bit line non-potential, and latches the first potential into the second storage node through the bit line non-potential; and the first bit line signal of the second logic state turns off the bit line switch controlling the bit line potential, and latches the second potential into the first storage node complementary to the second storage node through the bit line; a second switch disposed between the first storage node and the bit line; The second bit line signal is inverted and divided into two branches, one of which is coupled to one input of the second NOR gate through a delay unit and the other is coupled to the other input of the second NOR gate through an inverter. The output of the second NOR gate controls the turning off or on of the second switch, wherein at the moment when the second bit line signal flips from the first logic state to the second logic state and closes the bit line non-switch, the second potential is coupled to the first storage node once by transiently turning on the second switch, thereby preventing the specified data refreshed to the static random access memory circuit from bouncing back to the original data.
10. The storage unit according to claim 9, characterized in that: The output of the first NOR gate controls the turning off or on of the first switch through a first AND gate; The output of the second NOR gate controls the turning off or on of the second switch through a second AND gate; An enable signal is simultaneously input to the first AND gate and the second AND gate. The enable signal is enabled and effective when the static random access memory circuit stores data. Otherwise, the enable signal is not enabled and becomes invalid.
