The present invention relates to memory circuits, and, in particular, to the detection of the completion of an operation for writing a data bit into a memory cell.
Memory cells generally take the form of a matrix of memory cells disposed in rows and columns of memory cells and connected in a differential mode between two bit lines. A conventional memory cell is shown in
The two access transistors T1 and T2 are controlled by a word line WL allowing the stored bit to be transferred towards the bit lines BLF and BLT during a read operation or the state of the lines BLF and BLT to be imposed onto the memory location during the write process. In particular, during a write operation of a logic state ‘0’ into one of the data storage nodes, the corresponding bit line, initially precharged to a high logic state, is discharged, whereas the word line WL is positioned at a high level so as to select the corresponding memory locations.
However, the switching time of a memory location from a first logic level towards a second final logic level is non-negligible due to the characteristics of the access transistors T1 and T2. Furthermore, since memory circuits are increasingly sensitive to their external environment, one of the issues for memory circuit manufacturers is to provide protections against all kinds of interference capable of producing a change of state of the memory. Such interference may either consist of a random event known as an SEU (Single Event Upset) which is generated by the impact of an energetic charged particle at a given location in an integrated circuit, or be induced by a point-like capacitive coupling between two layers of the same integrated circuit. In this case, it is referred to as a ‘glitch’.
Protection against these random events often involves the use of a capacitor C1 or C2 which will be added to the overall capacitance of the data storage nodes N1 and N2 and will thus increase the level of charge required to obtain a given voltage level. However, the presence of these capacitors C1 and C2 increases the write time, and so the memory cells are generally associated with a dummy memory cell in which the data bit stored in the main memory cell is stored and which is used to determine the completion of the write operation.
A dummy memory circuit for timing the write operation of a main memory circuit (not shown) is shown in
A detection circuit 12 is used to detect the time at which the data storage nodes switch from an initial logic level towards a final logic level. This detection circuit 12 comprises two inverters I3 and I4 connected between two data storage nodes N3 and N4 which are themselves connected to the bit lines DBLF and DBLT via access transistors T3 and T4 that are controlled by the same word line WL as that which is used to address the memory cells of the main memory circuit.
This detection circuit 12 operates in the following manner. When a data bit is stored in a memory cell of the main memory circuit, this data bit is simultaneously written into the data storage node N3 by discharging the bit line DBLF under the command of the write control circuit 10. An inverter 14, connected to the other node N4, is used to detect the change of state of this node N4. If such is the case, a reset signal R for the main memory circuit is generated to reset the bit lines and the word line of the main memory cell. Transistors N1 and P1 are then activated to reposition the nodes N3 and N4 in their initial states.
In
Accordingly, an object of the invention is to overcome this drawback by providing a memory circuit and a method for detecting the completion of a write operation that allows the drawbacks associated with the presence of the protection capacitors to be overcome.
A first aspect of the invention is a method for detecting the completion of an operation for writing a data bit into a memory cell, including, during the write operation, a data bit written in the the memory cell being stored in a dummy memory cell and a change of state of the internal nodes of the dummy memory cell is detected upon completion of the write operation.
The data bit is stored in the dummy memory cell in a storage device or means that has a lower capacitance relative to the capacitance of the memory cell. In other words, the data bit is stored in a storage device or means with no additional capacitor. It is thus possible to detect the change of state of the data storage nodes and to reset the dummy memory cell without being limited by the presence of such a capacitor.
According to another feature of the invention, the data bit written in the storage cell upon the completion of a preceding write operation is stored in the dummy memory cell and the data bit stored in the dummy memory cell upon the completion of the preceding write operation is compared with the data bit present in the dummy memory cell during the current write operation, the write operation being deemed to be completed as soon as the result of the the comparison reaches a threshold value.
In one embodiment, the dummy memory cell comprises a first data storage node and a second data storage node and inverters interconnected between the first and second storage nodes for the storage of mutually inverted data bits in the nodes, respectively, the data bit written in one of the nodes upon the completion of the preceding write operation is stored and, during the current write operation, the stored data bit is compared with the data bit stored in the other node.
According to yet another feature of the invention, the data bit written upon the completion of the preceding write operation is stored when the addressing word lines of the cell are inactive. Regarding the comparison step, this is performed when the addressing word lines are active. Advantageously, the data bits are written into the dummy memory cell alternately into one and the other data storage nodes.
Another aspect of the invention is a memory circuit comprising an array of memory cells defining data storage nodes associated with a dummy memory circuit used to determine the completion of an operation for writing a data bit into a memory cell. The dummy memory circuit comprises a storage device or means for storing a data bit that is stored in one of the storage cells, wherein the storage means have a lower capacitance than the capacitance of the storage cell.
According to another feature of this circuit, the storage device or means includes a tri-state inverter designed to cause the storage of data in the dummy memory circuit when the addressing word lines of the memory cell array are inactive. According to yet another feature of the memory circuit according to the invention, the dummy memory circuit comprises a first data storage node and a second data storage node, one being used for storing the data bit written in one of the storage cells and the other for storing a data bit written in the storage cell upon the completion of a preceding write operation, and a comparator designed to compare the data respectively stored in the storage nodes. In one embodiment, the dummy memory circuit comprises a write circuit for controlling the storage of the data bit written into one of the storage cells alternately into one and the other data storage node.
Other objects, features and advantages of the invention will become apparent upon reading the following description, presented solely as a non-limiting example and with reference to the appended drawings, in which:
With reference to
Accordingly, the dummy memory circuit shown in
For detecting the switching of the internal nodes of the dummy memory cells, the circuit shown in
An additional data storage cell 20 is used to store the data bit stored in one of the nodes, namely the node denoted by the reference N5. This locking cell is formed by the association of two inverters I7 and I8 configured as a flip-flop between two data storage nodes N7 and N8. The storing of the data bit stored in the node N5 in the additional storage cell 20 is carried out by means of a transfer gate 22, whose active or inactive state is controlled by signals WL and {overscore (WL)} that are respectively formed by the signal present on the word line WL and the other by the complement of this signal. This transfer gate 22 is, for example, formed by a tri-state inverter and is configured so as to cause the transfer of the data bit from the node N5 into the storage cell 20 when the word lines are inactive, in other words between two write phases. Instead of a tri-state inverter, any other logic element could however be used that were suitable for copying the data storage node N5 into the storage cell 20, such as a transmission gate known as ‘passgate’ or an ‘OR’ logic gate.
A comparator 24 is used for comparing the data bit stored in the node N8 of the storage cell 20, at the output of the inverter I8, and the data bit stored in the node N6 of the detection circuit 18, at the output of the inverter I5. A reset signal R′ is generated by the comparator 24 when the result of the comparison exceeds a threshold value meaning that the node N6 has changed state. This signal R′ is generated as soon as the output of the comparator 24 goes high.
As can be seen, the inverters I7 and I8 used to form the storage cell 20 and also the transfer gate 22 have no capacitors, so that the transfer of the data from the node N5 to the node N8, by way of the transfer gate and the inverters I7 and I8, is fast. It will also be noted that, where the transfer of the data from the node N5 towards the storage cell 20 is performed between two write cycles, the data bit stored in the storage cell 20 corresponds to the data bit written into the memory cell during a preceding write cycle.
Thus, the comparison, which is carried out when the word lines are active, in other words during a write phase, includes comparing the data bit stored in the node N6 and the data bit present in the node NS, in other words the data bit stored in the detection circuit 18 with the data bit that was stored there in the course of a preceding write operation. The result of the comparison now allows the completion of the current write operation to be detected by detecting the change of state at the node N6.
In
It will be noted that, to avoid having to reset the bit lines DBLT and DBLF, the data writing under the control of the write circuit 16 is performed alternately into one and the other of the data storage nodes N5 and N6. It is still possible, however, to only write the data bit into one of the nodes. In this case, the dummy memory circuit will only comprise a single bit line. However, in this case, a reset phase for the bit line used to write the data bit into the data storage node will be provided.
When data is alternately written into one and the other node N5 and N6, during the next write cycle II, the bit line DBLT is activated and is discharged under the control of the write circuit 16, causing the data bit to be stored in the node N6 then a consecutive switching of the node N5. In this case, as shown in
Number | Date | Country | Kind |
---|---|---|---|
05 04456 | May 2005 | FR | national |