Nonvolatile memory device having program driver circuit

By introducing program driver circuits and threshold generator circuits into phase change memory devices, and using limiter circuits and virtual circuits to protect transistors, the problems of memory cell damage and column decoder reliability reduction caused by open bits are solved, achieving higher memory unit stability and device reliability.

CN113724755BActive Publication Date: 2024-08-27STMICROELECTRONICS SRL
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110558365.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-05-03
Filing Date
2021-05-21
Publication Date
2024-08-27
Estimated Expiration
2041-05-21

AI Technical Summary

Technical Problem

Existing phase change memory devices are prone to open bits after a write cycle, causing damage to the memory cells, preventing programming current from flowing, and reducing column decoder reliability.

Method used

A non-volatile memory device is designed, including a program driver circuit and a threshold generator circuit. The limiter circuit cuts off the programming current when the voltage of the sensing node exceeds the reference voltage, and protects the local selection transistor and the main selection transistor to avoid overshooting. voltage stress and generate accurate reference voltages through virtual circuits.

Benefits of technology

It effectively avoids overvoltage stress on the column decoder transistor in the open-circuit position, protects the transistor, ensures normal writing and reading of the memory unit, and improves the reliability of the device and the life of the memory unit.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113724755B_ABST
    Figure CN113724755B_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure relate to a non-volatile memory device with a program driver circuit, including: an array of memory cells in rows and columns; a plurality of local bit lines, each of the memory cells in each column being coupled to a corresponding local bit line; a plurality of master bit lines, each of which can be coupled to a corresponding subset of local bit lines; a plurality of program driver circuits, each having a corresponding output node and injecting a programming current in the corresponding output node, each output node being coupled to a corresponding subset of master bit lines. Each program driver circuit also includes a corresponding limiter circuit, the corresponding limiter circuit being electrically coupled to a corresponding sensing node for each master bit line of the corresponding subset, the voltage of the corresponding sensing node depending on the voltage on the corresponding master bit line during writing. Each limiter circuit turns off the corresponding programming current when the voltage on any of the corresponding sensing nodes exceeds a reference voltage.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims the benefit of Italian Patent Application No. 102020000012070 filed on May 22, 2020, the contents of which are incorporated herein by reference. Technical Field

[0003] An embodiment of the present invention relates to a nonvolatile memory device including a program driver circuit including a voltage limiter. Background Art

[0004] As is known, non-volatile memories are widely distributed today; non-volatile memories include, for example, phase change memories (PCM). In particular, phase change memories exploit the properties of a material, which has the property of switching between phases with different electrical characteristics, in order to store information. These materials can switch between a disordered / amorphous phase and an ordered crystalline or polycrystalline phase; the different phases are characterized by different resistivity values ​​and are therefore associated with different values ​​of the stored data. For example, elements of group VI of the periodic table, such as tellurium (Te), selenium (Se) or antimony (Sb), known as "chalcogenides" or "chalcogen materials", can be used to produce phase change memory elements. In particular, alloys consisting of germanium (Ge), antimony (Sb) and tellurium (Te), known as GST (having the chemical composition Ge2Sb2Te5), are currently finding widespread use in such memory cells.

[0005] The phase change in the memory element can be obtained by locally increasing the temperature of the cell of the chalcogenide material. In particular, when the chalcogenide material of the memory cell is in an amorphous state and therefore has a high resistivity (the so-called RESET state), a current pulse (or an appropriate number of current pulses) of duration, shape and amplitude can be applied to the memory cell so as to enable the chalcogenide material to cool slowly. After this treatment, the chalcogenide material changes state and switches from a high resistivity state to a low resistivity state (the so-called SET state). Conversely, when the chalcogenide material is in the SET state, a current pulse of appropriate duration and large amplitude can be applied so as to return the chalcogenide material to the high resistivity amorphous RESET state.

[0006] During reading, the state of the chalcogenide material is detected by applying a voltage low enough so as not to cause it to heat up significantly, and then reading the value of the current flowing in the memory cell through a sense amplifier. Assuming that the current is proportional to the conductivity of the chalcogenide material, it is possible to determine which state the material is in, and therefore the data stored in the memory cell. Summary of the invention

[0007] An object of embodiments of the present invention is to provide a non-volatile memory device which will at least partially overcome the disadvantages of the prior art.

[0008] According to an embodiment of the present invention, a nonvolatile memory device is provided, comprising: a memory cell array arranged in rows and columns, each memory cell comprising a corresponding storage element and a corresponding access element; a plurality of word lines, the memory cells of each row being coupled to a corresponding word line; a plurality of local bit lines, the memory cells of each column being coupled to a corresponding local bit line; a plurality of main bit lines, each main bit line being coupleable to a corresponding local bit line subset; a plurality of program driver circuits, each program driver circuit having a corresponding output node and being configured to inject a programming current in a corresponding output node, each output node being coupleable to a corresponding main bit line subset; and a column decoder. wherein for each program driver circuit, the column decoder comprises: a corresponding main selection circuit, for each main bit line in the corresponding subset, the corresponding main selection circuit is electronically controllable to selectively couple the main bit line to the output node of the program driver circuit; and a local selection circuit, for each local bit line that can be coupled to the corresponding main bit line in the corresponding subset of main bit lines, the local selection circuit is electronically controllable to selectively couple the local bit line to the corresponding main bit line; wherein the memory device further comprises: a control unit configured to control the local selection circuit and the main selection circuit so that when writing a During the step of selecting a number of selected memory cells, each selected memory cell is coupled to an output node of a corresponding program driver circuit through a corresponding local bit line and a corresponding main bit line so as to be passed through by a corresponding programming current; wherein each program driver circuit further comprises a corresponding limiter circuit, the corresponding limiter circuit being electrically coupled to a corresponding sensing node for each main bit line in the corresponding subset, when the selected memory cell coupled to the output node of the corresponding program driver circuit is coupled to the corresponding main bit line, the voltage of the corresponding sensing node depends on the voltage on the corresponding main bit line; and wherein each limiter circuit is configured to: in response to the corresponding When the voltage on any sensing node among the sensing nodes exceeds the reference voltage, the corresponding programming current is turned off; wherein the non-volatile memory device also includes a threshold generator circuit, the threshold generator circuit including: a virtual current generator configured to inject a virtual current in the virtual node; a virtual main bit line and a virtual local bit line; a virtual memory cell including a resistor and coupled to the virtual local bit line; a virtual main selection circuit, which is equal to the main selection circuit and is electronically controllable so as to couple the virtual main bit line to the virtual node; and a virtual local selection circuit, which is equal to the local selection circuit and is electronically controllable so as to couple the virtual local bit line to the virtual main bit line.

[0009] According to an embodiment of the present invention, an electronic device is provided, comprising: a bus; a controller coupled to the bus; and a memory device coupled to the bus, the memory device comprising: a memory cell array arranged in rows and columns, each memory cell comprising a corresponding storage element and a corresponding access element; a plurality of word lines, the memory cells of each row being coupled to a corresponding word line; a plurality of local bit lines, the memory cells of each column being coupled to a corresponding local bit line; a plurality of main bit lines, each main bit line being coupleable to a corresponding local bit line subset; a plurality of program driver circuits, each program driver circuit having a corresponding output node and being configured to inject a programming voltage into the corresponding output node; wherein for each program driver circuit, the column decoder comprises: a corresponding main selection circuit, for each main bit line in the corresponding subset, the corresponding main selection circuit is electronically controllable to selectively couple the main bit line to the output node of the program driver circuit; and a local selection circuit, for each local bit line that is coupleable to the corresponding main bit line in the corresponding subset, the local selection circuit is electronically controllable to selectively couple the local bit line to the corresponding main bit line; wherein the memory device further comprises: a control unit configured to control the local selection circuit The invention relates to a method for programming a plurality of selected memory cells, wherein the program driver circuit comprises a selection circuit and a master selection circuit, so that during the step of writing a number of selected memory cells, each selected memory cell is coupled to the output node of the corresponding program driver circuit through the corresponding local bit line and the corresponding master bit line so as to be passed through by the corresponding programming current; wherein each program driver circuit further comprises a corresponding limiter circuit, the corresponding limiter circuit is electrically coupled to the corresponding sensing node for each master bit line in the corresponding subset, when the selected memory cell coupled to the output node of the corresponding program driver circuit is coupled to the corresponding master bit line, the voltage of the corresponding sensing node depends on the voltage on the corresponding master bit line; and wherein each limiter circuit is The memory device is configured to: in response to a voltage on any corresponding sensing node of the corresponding sensing nodes exceeding a reference voltage, turn off a corresponding programming current; wherein the memory device further includes a threshold generator circuit, the threshold generator circuit including: a virtual current generator configured to inject a virtual current in the virtual node; a virtual main bit line and a virtual local bit line; a virtual memory cell including a resistor and coupled to the virtual local bit line; a virtual main selection circuit equal to the main selection circuit and electronically controllable to couple the virtual main bit line to the virtual node; and a virtual local selection circuit equal to the local selection circuit and electronically controllable to couple the virtual local bit line to the virtual main bit line. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] For a better understanding of the present invention, preferred embodiments of the present invention will now be described, by way of non-limiting examples only, with reference to the accompanying drawings, in which:

[0011] Figure 1 A circuit scheme of a memory device is shown;

[0012] Figure 2 and Figure 3 Shows Figure 1 a block diagram of a portion of a memory device illustrated in;

[0013] Figure 4 Shows Figures 1 to 3 A circuit scheme of a portion of a memory device shown in;

[0014] Figures 5 to 9 A circuit scheme showing a portion of an embodiment of the present memory device; and

[0015] Fig.10 A block diagram of an electronic device including the present memory device is shown. DETAILED DESCRIPTION

[0016] Figure 1 A memory device 1 of the PCM type is shown.

[0017] The memory device 1 comprises a memory array 2 formed of a plurality of memory cells 3 arranged in rows (or word lines) and columns (or bit lines). By way of example only, Figure 1 Illustrated in are three word lines designated by WL and three bit lines designated by BL, which enable nine memory cells 3 to be addressed.

[0018] Each memory cell 3 is formed of a storage element 4a (also referred to as a phase change element (PCE)) and a selector element 4b, which are connected in series between a corresponding bit line BL and a terminal at a reference potential (eg, ground).

[0019] The memory element 4a comprises an element made of a phase-change material (for example a chalcogenide such as GST) and is therefore capable of storing data in the form of resistance levels associated with the different phases assumed by the material itself.

[0020] The selector element 4b is used as an access device and is formed by a bipolar transistor (BJT) of a PNP type, the emitter terminal of which is connected to a first terminal of the storage element 4a, and the base terminal is connected to a corresponding word line WL. The collector terminal of the bipolar transistor is grounded. In this regard, each word line WL is connected to all base terminals of the bipolar transistors aligned along the corresponding row. In addition, each bit line BL is connected to a second terminal of the storage element 4a aligned along the corresponding column.

[0021] In fact, given a memory cell 3 , the second terminal of the storage element 4 a and the base terminal of the bipolar transistor 4 b form the bit line terminal and the word line terminal of the memory cell 3 , respectively.

[0022] The memory device 1 further comprises a column decoder 8 and a row decoder 10 which enable the selection of a memory cell 3 based on an address signal received at the input (as a whole designated by AS). The address signal AS can be generated by a control logic CL which, among other things, manages the column decoder 8 and the row decoder 10 so as to enable reading and writing (also referred to as programming) of the memory cell 3 addressed by the address signal AS. The control logic CL also provides control signals to the column decoder 8 and the row decoder 10 in order to manage the read / write operations.

[0023] The column decoder 8 and the row decoder 10 enable the word line WL and the bit line BL to be biased and thus selected each time they are selected, so as to select the memory cell 3 connected to the word line WL and the bit line BL; in this way, reading and writing of the memory cell 3 are enabled.

[0024] In more detail, the row decoder 10 is designed to select a corresponding word line WL based on the address signal AS. The other word lines WL are deselected. For this purpose, the row decoder 10 includes a decoding stage 4 and a plurality of driving circuits 6.

[0025] The decoding stage 4 receives the address signal AS and manages the driver circuits 6 according to the address signal AS. Therefore, each driver circuit 6 has an input, which is connected to the decoding stage 4. Furthermore, each driver circuit 6 has an output, which is connected to the corresponding word line WL.

[0026] Each drive circuit 6 biases and thus controls the base terminal of the bipolar transistor 4b connected to the corresponding word line WL so as to select / deselect the word line WL according to the address signal AS.

[0027] As for the column decoder 8, this selects one or more bit lines BL according to the address signal AS. In fact, the column decoder 8 cooperates with the row decoder 10 in such a way that during the reading or writing step of any selected memory cell 3, a reading current or a writing current flows through the storage element 4a of this memory cell 3, respectively. In addition, when the memory cell 3 is selected, the base terminal of its bipolar transistor 4b is set to be at a voltage approximately zero; on the contrary, when the memory cell 3 is not selected, the base terminal of its bipolar transistor 4b is set to be at a positive voltage.

[0028] In particular, the column decoder 8 is configured for implementing within it two different paths for the bit lines BL towards the memory array 2 each time they are selected: a read path electrically connecting each bit line BL selected during a read step to a read stage 17; and a write path electrically connecting each bit line BL selected during a programming step to a write stage 18.

[0029] The column decoder 8 comprises, for each read and write path, appropriate selection elements (in particular transistors), which are connected so as to implement a hierarchical decoding of the address in order to select the memory cell 3 .

[0030] like Figure 2 As schematically illustrated in FIG. 1 , the memory array 2 is typically organized in a plurality of sectors S, each sector comprising a plurality of memory cells 3. Each sector S comprises a plurality of corresponding word lines WL and a plurality of corresponding local bit lines, which are again designated by BL and are different from the corresponding local bit lines of other sectors. In each sector S, the local bit lines BL are connected to the memory cells 3 of the same sector S. Furthermore, for each set formed by an integer k (e.g., thirty-two) local bit lines BL, a corresponding master bit line MBL is provided. When the master bit line MBL is selected at a higher hierarchical level, the master bit line MBL enables subsequent selection of one or more of the corresponding local bit lines BL and the corresponding memory cells 3 at a lower hierarchical level. Furthermore, different sectors S are traversed by different word lines WL.

[0031] The master bit line MBL passes through a certain number of sectors S and can be selected in a group at a hierarchical decoding level even higher than the level associated with the selection of the master bit line MBL.

[0032] In more detail, the column decoder 8 comprises: at least one corresponding first stage decoding circuit (in Figure 2 A corresponding second stage decoding circuit (designated by 11 and also referred to as a “local column decoder”) for each sector S enables the local bit line BL to be connected to the corresponding master bit line MBL both during a write operation and during a read operation; a corresponding second stage decoding circuit (designated by 13 and also referred to as a “global column decoder”) for each group of sectors S (in Figure 2 In the example of FIG. 4 , the main bit line MBL is composed of two sectors, so that the main bit line MBL can be selected both during a write operation and during a read operation.

[0033] The control logic CL sends the main column decoding signal sYN to the second stage decoding circuit 13 , these main column decoding signals are Figure 3 Based on these main column decoding signals, the second stage decoding circuit 13 activates the selected main bit line (herein MBL) via activation of the corresponding main selection switch (not shown). Specified) and the electrical path between the sense amplifier 45 of the read stage 17.

[0034] As mentioned earlier, Figure 3 Furthermore, it is shown that each main bit line MBL is How to communicate with BL<i,j> The corresponding local bit line sets are associated (ie, electrically coupled) with each other. It should be noted that for simplicity, Figure 3 The main bit lines are all MBL Indicates that even if the value of index "i" actually changes; similarly, the local bit lines are all BL<i,j> Meaning, even though in reality the index "i" depends on the index of the master bitline to which the local bitline may be coupled, and for each value of the index "i", the index "j" ranges between 0 and k-1.

[0035] Furthermore, in the case of a given sector S, due to the presence of a local selection switch (decoded by the corresponding local column signal sYO<i,j> The corresponding local column decoding signals are generated by the control logic CL and also form part of the aforementioned address signal AS), and the corresponding first-stage decoding circuit 11 is able to couple the local bit lines BL to the sectors S.<i,j> Each memory cell 3 is addressed. It should be noted that for simplicity, Figure 3 The two sets of local column decoding signals provided by the two first-stage decoding circuits 11 for the two sectors S shown in this article are both composed of sYO<i,j> This means that, even though in reality the two sets of local column decoding signals are different, the control logic CL will not simultaneously select local bit lines belonging to different sectors.

[0036] During the writing step, the first stage decoding circuit 11 and the second stage decoding circuit 13 are connected to the reference Figure 2 and Figure 3 The circuits of the first and second stage decoding circuits 11, 13 which are normally used during the reading step, may also be used during the writing step, possibly adapted to the main column decoding signal sYN as described above. and the local column decoded signal sYO<i,j> As an alternative, the first stage decoding circuit 11 and the second stage decoding circuit 13 may use different switches during the writing step than the switches used during the reading step.

[0037] In more detail, Figure 4 A portion of the write stage 18 is shown, including a program driver circuit 19 and a current programming circuit 20 .

[0038] The program driver circuit 19 comprises a current mirror 22 which in turn comprises a first mirror transistor 24 and a second mirror transistor 26 which are P-channel enriched MOS transistors and have source terminals connected to a supply node which, in use, is set at a supply voltage V equal to, for example, 5 V. DD In addition, the gate terminal of the first mirror transistor 24 is connected to the drain terminal of the first mirror transistor 24, which in turn is connected to the current programming circuit 20 so as to provide a preliminary programming current I, which is drawn by the current programming circuit 20; the preliminary programming current I is directed to the current programming circuit 20 and is of pulsed type. The gate terminal of the second mirror transistor 26 is connected to the drain terminal of the first mirror transistor 24 in such a way that in use a programming current I* flows in the second mirror transistor 26, which programming current I* is equal to w*I, where w is the mirror ratio of the current mirror 22; for example, w may be equal to ten.

[0039] The drain terminal of the second mirror transistor 26 forms the output node N of the program driver circuit 19. out , the output node N out During the writing step, the memory cell 3 that must be written is coupled (i.e., coupled to the selected memory cell 3), which is connected to the selected word line WL and the selected local bit line BL. For example, the coupling occurs by the insertion of a local selection transistor 30 and a main selection transistor 32, which are P-channel enriched MOS transistors, connected in series and form the first stage decoding circuit 11 and the second stage decoding circuit 13, respectively.

[0040] In particular, the drain terminal of the local selection transistor 30 is connected to the local bit line BL (connected to the memory cell 3), and thus it is connected to the second terminal of the storage element 4a of the memory cell 3. The source terminal of the local selection transistor 30 is connected to the main bit line MBL associated with the above-mentioned local bit line BL, and thus it is connected to the drain terminal of the main selection transistor 32. The source terminal of the main selection transistor 32 is connected to the output node N out , whose voltage is equal to, for example, 4 V due to the voltage drop along the column caused by the programming current I*. The gate terminals of the local selection transistor 30 and the main selection transistor 32 receive a corresponding local column decoding signal (designated by sYO for the sake of brevity) and a corresponding main column decoding signal (designated by sYN for the sake of brevity), respectively, which simultaneously assume the logic value '0' during the writing step and have voltages equal to, for example, 1.6 V and 2.4 V, respectively. Due to the above-mentioned voltage drops, the voltages on the main bit line MBL and on the local bit line BL can be equal to, for example, 3.5 V and 3 V, respectively.

[0041] In fact, due to the value of the above-mentioned voltage present at the gate terminal, a so-called gate-source voltage V gs and the gate-drain voltage V gd All are below 2 V. Assuming that the local selection transistor 30 and the main selection transistor 32 are formed with technology such that the corresponding oxides can withstand voltages up to 2 V, there is no risk that they will be damaged.

[0042] Unfortunately, as is well known, after a write cycle has taken place, so-called "open bits" may appear in the memory array 2, i.e., it may happen that one or more memory cells 3 are damaged, in which case the corresponding storage element 4a permanently behaves as an open circuit, thereby preventing current from flowing through the memory cell 3. In this case, it occurs that the programming current I* can no longer flow through the switched-off second mirror transistor 26, the local selection transistor 30 and the main selection transistor 32. Furthermore, the source and drain terminals of the local selection transistor 30 and the main selection transistor 32 and therefore also the main bit line MBL and the local bit line BL are set at approximately equal to the supply voltage V DD Because the gate terminals of the local selection transistor 30 and the main selection transistor 32 are still set at the above voltages equal to 1.6V and 2.4V, respectively, it occurs that in both the local selection transistor 30 and the main selection transistor 32, the gate-source voltage V gs and the gate-drain voltage V gd exceeds 2 V, thereby increasing the risk of damaging the local selection transistor 30 and the main selection transistor 32 .

[0043] In other words, in the presence of an open bit, a voltage increase occurs simultaneously with the generation of a pulse of the preliminary programming current I in the column decoder 8, thereby generating so-called overvoltage stress on the transistors of the column decoder 8. This results in a reduction in the reliability of the column decoder 8.

[0044] Figure 5 A memory device 100 is shown and, unless otherwise noted, the memory device will be referred to relative to Figures 1 to 4 The differences of the memory device 1 are described. Furthermore, unless otherwise specified, elements already present in the memory device 1 will be designated by the same reference numerals.

[0045] In detail, the program driver circuit designated by 19' includes a current generator transistor 34, which is an N-channel enriched MOS transistor. The gate terminal and the drain terminal of the current generator transistor 34 are respectively connected to the current programming circuit (designated herein by 20') and the gate terminals of the first mirror transistor 24 and the second mirror transistor 26. The current programming circuit 20' is configured to control the gate terminal of the current generator transistor 34 so that the gate terminal of the current generating transistor is passed through by the above-mentioned preliminary programming current I.

[0046] Furthermore, the program driver circuit 19' comprises a limiter circuit 35, which comprises a limiter transistor 40, which is a P-channel enriched MOS transistor. The limiter circuit 35 also comprises a control transistor 42 and a first additional transistor 43 and a second additional transistor 44, which are N-channel enriched MOS transistors, for example equal to the current generator transistor 34. The limiter circuit 35 also comprises a trigger circuit 46 and an inverter circuit 48.

[0047] In detail, the source terminal of the limit transistor 40 is connected to the output node N of the program driver circuit 19'. out , and its drain terminal forms the control node N ctrl and is connected to the drain terminal of the first additional transistor 43. The voltage V clamp Present at the gate terminal of the limiting transistor 40; voltage V clamp is generated by the threshold generator circuit 50 of the memory device 100, which will be described in more detail below. Additionally, the voltage V clamp_out Exists at control node N ctrl superior.

[0048] The gate terminal of the first additional transistor 43 is connected to the current programming circuit 20', while the source terminal of the first additional transistor 43 is connected to the drain terminal of the second additional transistor 44, the source terminal of which is grounded. The gate terminal of the second additional transistor 44 is set to the voltage V generated by the control logic CL. ON In particular, as described in more detail below, when it is intended to use the protection conferred by the limiter circuit 35 during the write step, the voltage V ON is set to a logic value '1', so that the second additional transistor 44 is turned on. For this purpose, in the following description, reference will be made to the case where the limiter circuit 35 remains functional, unless otherwise stated.

[0049] The clock input of the flip-flop circuit 46 is connected to the control node N ctrl , so that the output terminal Q of the trigger circuit 46 is increased by the voltage V clamp_out The data input terminal of the flip-flop circuit 46 is set at a secondary power supply voltage V equal to, for example, 1V. d The reset input terminal of the flip-flop circuit 46 can be controlled by a signal sRESET generated by the control logic CL. The output terminal Q of the flip-flop circuit 46 is connected to the input of an inverter circuit 48, the output of which is connected to the gate terminal of the control transistor 42; the drain terminal of the control transistor 42 is connected to the source terminal of the current generator transistor 34, and the source terminal of the control transistor 42 is grounded.

[0050] The threshold generator circuit 50 includes a virtual circuit 52, which includes a virtual local selection transistor 30*, a virtual main selection transistor 32*, a virtual main bit line MBL*, a virtual local bit line BL* and a virtual memory cell 3*, which are arranged in the same manner as the local selection transistor 30, the main selection transistor 32, the main bit line MBL, the local bit line BL and the memory cell 3, respectively, but in addition to including a virtual bipolar transistor 4b* that is equal to the bipolar transistor 4b, the virtual cell 3* also includes a virtual storage element formed by a resistor 4a*.

[0051] In addition, the threshold generator circuit 50 also includes a virtual mirror transistor 26*, which can be equal to the second mirror transistor 26. In addition, the voltage V* is set at the gate terminal of the virtual mirror transistor 26*, and the source terminal of the virtual mirror transistor 26* is set at the power supply voltage V DD The drain terminal of the virtual mirror transistor 26* forms the virtual output node N out *, the virtual output node N out * is connected to the source terminal of the dummy master selection transistor 32 *.

[0052] The voltages on the gate terminals of the virtual local selection transistor 30* and the virtual main selection transistor 32* are specified by sYO* and sYN*, respectively; when the voltages of the main column decoding signal sYN and the local column decoding signal sYO select the corresponding main bit line MBL and the corresponding local bit line BL, respectively, during a write operation, the voltages on the gate terminals of the virtual local selection transistor 30* and the virtual main selection transistor 32* are equal to the voltages of the main column decoding signal sYN and the local column decoding signal sYO, respectively. In addition, the base terminal of the virtual bipolar transistor 4b* is set at the same voltage present on the selected word line WL (for example, it is set to ground).

[0053] The threshold generator circuit 50 also includes an operational amplifier 54 , a third additional transistor 56 , an output transistor 58 , and a bias transistor 60 .

[0054] Output transistor 58 and bias transistor 60 are P-channel rich MOS transistors; furthermore, output transistor 58 is equal to limiting transistor 40. The source terminal of bias transistor 60 is set to the supply voltage V DD , while the drain terminal of the bias transistor 60 is connected to the negative input terminal of the operational amplifier 54, the positive input terminal of which is connected to the virtual output node N out *. The gate terminal of the bias transistor 60 is set at a voltage V pbias Under this condition, the voltage V pbias can be linked to the voltage present at the gate terminal of the first additional transistor 43. For example, the voltage V pbias The bias transistor 60 may be switched on and the current flowing through the bias transistor 60 and thus through the output transistor 58 is equal, by way of example only, to half the current flowing in the first additional transistor 43. In any case, the exact value of the current flowing in the bias transistor 60 is immaterial.

[0055] The source terminal of the output transistor 58 is connected to the drain terminal of the bias transistor 60 and is therefore also connected to the negative input terminal of the operational amplifier 54. The gate terminal of the output transistor 58 is connected to the output terminal of the operational amplifier 54. The drain terminal of the output transistor 58 is connected to the drain terminal of the third additional transistor 56. The source terminal of the third additional transistor 56 is grounded, while the gate terminal of the third additional transistor 56 is set to the voltage V ON , so that if open bit detection is being performed, the third additional transistor 56 is turned on during writing.

[0056] From an operational point of view, operational amplifier 54 implements a voltage follower scheme and generates a voltage V at its output terminal. clamp , which voltage controls the limiting transistor 40.

[0057] Furthermore, the voltage V* is generated by means of, for example, a dedicated current mirror (not shown; for example, formed within the current programming circuit 20') so that a virtual current I** flows through the virtual mirror transistor 26*, the virtual main selection transistor 32*, the virtual local selection transistor 30* and the resistor 4a*. Furthermore, the voltage V* can be set to a value such that the virtual current I** is equal to the maximum current that flows in the memory cell 3 to be written in the absence of an open bit during any write operation (i.e., set type or reset type). For example, the virtual current I** can be equal to the maximum current that flows in the memory cell 3 to be written during a reset operation in the event that the reset operation requires a higher current than the set operation.

[0058] Having said that, it can be shown that the following equation holds:

[0059] V clamp =V be +R*(I**)+V'+V"-V th

[0060] Where: V be is the emitter-base voltage of the virtual bipolar transistor 4b*; R is the resistance of the resistor 4a*; I** is the virtual current mentioned above; V' is the source-drain voltage of the virtual local selection transistor 30*; V" is the source-drain voltage of the virtual main selection transistor 32*; and V th is the threshold voltage of the output transistor 58.

[0061] Assuming that each storage element 4a has a resistance value that changes during a write step (due to melting of the phase change material), the value of the resistance R of resistor 4a* can be set to be equal to the maximum resistance value that can be assumed by the storage element 4a during any write step (i.e., considering either a set operation or a reset operation).

[0062] Without loss of generality, for each master bit line MBL, the memory device 100 includes a corresponding program driver circuit 19'; the program driver circuit 19' shares the current programming circuit 20' and the threshold generator circuit 50. In addition, the threshold generator circuit 50 generates a voltage V in a manner clamp , so that the voltage V clamp and the threshold voltage V of the output transistor 58 th The sum simulates the case where the open circuit bit does not exist at the output node N out Maximum allowable voltage.

[0063] Having said that, reference Figure 5 , and assuming that the control logic CL has performed a reset of the flip-flop circuit 46 by the signal sRESET so that the output terminal Q is set to '0', the following occurs.

[0064] The voltage at the output terminal Q of the flip-flop circuit 46 is referred to as voltage V int As explained previously, the voltage V int is set to '0'. Therefore, the voltage on the output of the inverter circuit 48 (hereinafter referred to as nV int ) is set to '1', so the control transistor 42 is above the threshold; therefore, the preparatory programming current I flows in the current generator transistor 34, and the programming current I* is injected into the output node N by the second mirror transistor 26 out In addition, a virtual current I** flows in the resistor 4a*.

[0065] Through the reference voltage V out To specify the output node N out The voltage on out Lower than V clamp +V th40 , the limiting transistor 40 will be turned off, where V th40 The threshold voltage of the limiting transistor 40 is specified to be equal to the voltage V th Therefore, the voltage V clamp +V th40 equal to what should be present at the output node N if the open bit does not exist out Maximum voltage on the

[0066] As described above, when the memory cell 3 functions normally (ie, the open bit does not exist), the voltage on the main bit line MBL and the local bit line BL is limited, so the limiting transistor 40 is turned off, as shown in FIG. Figure 4 Therefore, since the first additional transistor 43 and the second additional transistor 44 are above the threshold, the control node N ctrl is grounded, and the voltage V clamp_out ='0' (ie, it remains constant and its value is almost equal to 0V). Therefore, the voltage V at the output terminal Q of the flip-flop 46 is int remains equal to '0', and the voltage nV int Keep equal to '1'.

[0067] On the contrary, in the case of an open bit in memory cell 3, the voltage V out tends to rise, this is because, as referenced Figure 4 As explained above, the voltage on the main bit line MBL and the local bit line BL tends to be almost equal to the power supply voltage V without any countermeasures. DD Therefore, the voltage V out Exceeds the voltage V clamp +V th40 , and limits the transistor 40 to be turned on. Therefore, the voltage V clamp_out becomes equal to '1', thereby causing the voltage V on the output terminal Q of the flip-flop 46 to int The switching voltage V int becomes equal to '1'. In turn, this switching causes the voltage nV on the output terminal of the inverter circuit 48 to int The logic value of the control transistor 42 is switched to be equal to '0'. Therefore, the control transistor 42 is turned off, thereby also turning off the preparatory programming current I and the programming current I*. Therefore, the duration of the pulse of the programming current I* is reduced, for example, to no more than 10ns, so as to reduce the duration of the time interval in which the voltage on the main bit line MBL and on the local bit line BL may put the local selection transistor 30 and the main selection transistor 32 in danger. In this way, even in the case of an open bit in the memory cell 3, the local selection transistor 30 and the main selection transistor 32 are protected.

[0068] From another perspective, the voltage V clamp_out The comparison between the current flowing through the first additional transistor 43 and the current flowing through the limiting transistor 40 results in the current flowing through the limiting transistor 40 being substantially equal to the current flowing through the output transistor 58 and thus through the voltage V pbias is set so that the ratio between the above currents flowing through the first additional transistor 43 and the limiting transistor 40 falls within a predetermined range (for example, between 0.1 and 10). That being said, if the current flowing through the first additional transistor 43 is greater or less than the current flowing through the limiting transistor 40, respectively, the voltage V clamp_out Equal to logical value '0' or logical value '1' respectively.

[0069] according to Figure 5 In the embodiment shown in FIG. 1 , the memory device 100 includes one program driver circuit 19 ′ for each master bit line MBL. Figure 6 Another embodiment is shown in which each program driver circuit (designated by 19") is coupled to more than one master bit line. Unless otherwise specified, this embodiment will refer to Figure 5 The differences on the memory device 100 are described. Furthermore, unless otherwise stated, elements already present in the memory device 100 will be designated by the same reference numerals.

[0070] In detail, Figure 6 In the memory device (designated by 200), each program driver circuit 19" ( Figure 6 Only one is shown in FIG. 1 ) can be coupled to, for example, four main bit lines, which are respectively connected by MBL <0> To MBL <3> The corresponding four main selection transistors 32 are decoded by the main column signal sYN <0> To sYN <3> These main column decoding signals are generated by the control logic CL so that only one of these main column decoding signals is set to '1' at a time, and the other main column decoding signals are set to '0'. <1> To MBL <4> For each main bit line in , only one of the corresponding k local bit lines BL is in Figure 6 The local column decoding signals controlling the corresponding four local selection transistors 30 are respectively designated by sYO', sYO", sYO"' and sYO"".

[0071] In more detail, for each master bit line, the limiter circuit 35 includes a corresponding limit transistor; Figure 6 In FIG. 5 , four limit transistors are designated by 40 ′, 40 ″, 40 ′″, and 40 ″″, respectively. Each of the limit transistors 40 ′ to 40 ″″ is a P-channel rich MOS transistor, which is equal to the output transistor 58 .

[0072] Each of the limiting transistors 40' to 40"" has a source terminal connected to the corresponding master bit line MBL <0> To MBL <3> and a corresponding drain terminal, connected to the drain terminal of the first additional transistor 43, ie, connected to the control node N ctrl ; Control node N ctrl The voltage on the clamp_out The gate terminals of the limiting transistors 40' to 40"" receive a voltage V generated by a threshold generator (designated 250). clamp , this voltage is shared among the program driver circuit 19".

[0073] like Figure 7 As shown in FIG. , the threshold generator 250 is Figure 5 The threshold generator is the same as that shown in , but with the following differences.

[0074] In detail, the positive input terminal of the operational amplifier 54 is connected to the virtual master bit line MBL*. Therefore, the virtual master selection transistor 32* generates a voltage V clamp outside the control loop. In addition, in this case, the following equation applies:

[0075] V clamp =V be +R*(I**)+V'-V th

[0076] In fact, when the open position does not exist, the voltage V clamp With the threshold voltage V th The sum simulates the maximum allowed voltage on the main bit line MBL coupled to the selected memory cell 3.

[0077] Basically, the memory device 200 functions in the same manner as the memory device 100. In particular, as previously mentioned, at any time, the master bit line MBL is coupled to the <0> To MBL <3> Only one of the main selection transistors 32 is turned on, that is, only the main selection transistor 32 connected to the selected main bit line MBL is turned on. For example, in the following, it is assumed that the main bit line MBL <0> has been selected. In addition, the write is connected to the main bit line MBL which can be coupled to <0> If an open circuit occurs in a memory cell 3 of one of the k local bit lines BL, the main bit line MBL <0> The voltage on Figure 6 V MBL designated) tends to rise; however, when the main bit line MBL <0> The voltage on the clamp +V th40’ (Use V th40’ When the threshold voltage of the limiting transistor 40' is specified, the limiting transistor 40' is turned on; the voltage V clamp +V th40’ = is equal to the value that should exist on the main bit line MBL when the open bit does not exist <0> Therefore, the voltage V clamp_out becomes equal to '1', thereby causing the voltage V on the output terminal Q of the flip-flop circuit 46 to int The logic value of , which becomes equal to '1'. Therefore, the preparatory programming current I and the programming current I* are turned off in the same manner as described with reference to the memory device 100.

[0078] Still reference Figure 6 to Figure 7 In the embodiment, the virtual main selection transistor 32* determines the voltage V clamp The latter is not consistent with the voltage at the time, so that in the absence of an open bit, the latter better mimics the voltage that would be present on the selected main bit line MBL.

[0079] For example, other embodiments are possible. In this example, at the output node N out The mechanism for injecting programming current I* is different from the mechanism described previously.

[0080] For example, Figure 8 Shown with Figure 6 to Figure 7 An embodiment that is the same as the embodiment in but has the following differences.

[0081] In detail, the selector element of each memory cell 3 is formed by a corresponding access transistor (here designated by 5b), which is an N-channel enriched MOSFET transistor. In addition, the drain terminal of each access transistor 5b is connected to the corresponding storage element 4a, while the source terminal is grounded. In the case of selecting the corresponding word line WL, in a manner known per se, the gate terminal of any access transistor 5b is set to '1'.

[0082] The memory device (designated herein by 300) includes a current controller 20" in a program driver circuit (designated herein by 19"'; Figure 8 In addition, each program driver circuit 19'' includes a drive switch 301 and an injection transistor 302, which is a P-channel rich MOSFET transistor.

[0083] The source terminal of the injection transistor 302 is set at the power supply voltage V DD The drain terminal is connected to the output node N out The switch 301 is driven by a voltage V int 'Control, so that alternatively, i) the gate terminal of the injection transistor 302 is coupled to the current controller 20" (when V int ' is equal to the logical value '0') or ii) set it to the power supply voltage V DD (When V int ' is equal to the logic value '1'). In particular, when the gate terminal of the injection transistor 302 is coupled to the current controller 20", the injection transistor 302 is at the output node N out In contrast, when the gate terminal of the injection transistor 302 is set to the power supply voltage V DD When , the injection transistor 302 is turned off.

[0084] Furthermore, the memory device 300 further includes a cascode transistor 304 , a current generator 306 , and a latch circuit 308 .

[0085] Cascode transistor 304 is an N-channel enriched MOSFET transistor, whose drain terminal and source terminal are connected to control node N ctrl and a current generator 306 which is also grounded and configured to generate a bias current I b .

[0086] A first input of latch circuit 308 is connected to the source terminal of cascode transistor 304 , and a second input terminal of latch circuit 308 receives signal sRESET.

[0087] In use, cascode transistor 304 is electrically connected by setting its gate terminal at a voltage V casn (e.g., equal to 1.5V) is kept on by the control logic CL. In addition, the voltage V clamp_out ' is present on the first input of the latch circuit 308, which has a voltage corresponding to the control node N ctrl The voltage V clamp_out The same logical value. In particular, if the voltage V clamp_out are equal to (for example) 0V or 4.5V respectively, then due to the presence of the cascode transistor 304, the voltage V clamp_out ' are equal to 0V or 1V respectively.

[0088] The latch circuit 308 is based on the voltage V clamp_out ', and therefore according to the voltage V clamp_out , generating the above voltage V at its output int ', so that the voltage V int 'With voltage V clamp_out 'Same logical value.

[0089] A threshold generator circuit (designated herein by 350) is coupled to Figure 7 The circuits are the same, but with the following differences.

[0090] The gate terminal of the virtual mirror transistor 26* is set at a voltage V* such that the virtual current I** is equal to the maximum current flowing in the memory cell 3 to be written during any write operation, ie either of the set or reset type.

[0091] Voltage V pbias The bias transistor 60 is turned on, and the current flowing through the bias transistor 60 is equal to, for example, half of the current flowing in the current generator 306 .

[0092] Furthermore, instead of the dummy bipolar transistor 4b*, there is a dummy MOSFET transistor 5b*, which is equal to the access transistor 5b. The gate terminal of the dummy MOSFET transistor 5b* is set at a voltage V by the control logic CL. en_clamp In this case, this voltage is the same as the voltage present on the word line WL when selected, so that the dummy MOSFET transistor 5b* remains turned on.

[0093] The function of the memory device 300 is the same as that of one of the memory devices 200 .

[0094] In detail, by considering that the voltage drop across the virtual MOSFET transistor 5b* is negligible, the following equation applies:

[0095] V clamp =R*(I**)+V'-V th

[0096] In use, after the latch circuit 308 is reset by the signal sRESET, the voltage V int ' is equal to the logical value '0' so as to force the drive switch 301 to connect the gate terminal of the injection transistor 302 to the current controller 20 ' in order to generate the programming current I*.

[0097] For example, assuming that the master bit line MBL <0> has been selected, and assuming that an open bit occurs during writing of one of the memory cells 3, the memory cell being connected to one of the k local bit lines BL, which can be coupled to the main bit line MBL <0> , main bit line MBL <0> The voltage on the main bit line MBL tends to rise; however, when the main bit line MBL <0> The voltage on Figure 8 V MBL specified) exceeds the voltage V clamp +V th40’ (Where V th40’ When the threshold voltage of the limiting transistor 40' is specified, the limiting transistor 40' is turned on. Therefore, the voltage V clamp_out 、V clamp_out ' and V int ' becomes equal to '1'; therefore, the voltage V int ' Force the drive switch 301 to disconnect the gate terminal of the injection transistor 302 from the current controller 20 "and set it to the power supply voltage V DD In this way, the injection transistor 302 is turned off and the programming current I* is turned off, thereby protecting the memory device 300. From another perspective, the voltage V clamp_out ' is generated by the comparison between the current flowing through current generator 306 and the current flowing through limiting transistor 40' and cascode transistor 304, which is substantially equal to the current flowing through output transistor 58 and thus through voltage V pbias is set so that the ratio between the current flowing through the current generator 306 and the current flowing through the limiting transistor 40' falls within a predetermined range (e.g., between 0.1 and 10). That being said, if the current flowing through the current generator 306 is greater or less than the current flowing through the limiting transistor 40', respectively, the voltage V clamp_out ' is equal to logical value '0' or logical value '1' respectively.

[0098] The memory device 300 further includes an OR-type logic gate 310. Specifically, in order to detect the presence of an open bit in the memory array 2, the voltages V int '(exist Figure 8 Only one is shown in FIG. 3 ) is used as the input of logic gate 310, so that as long as the voltage V int When a voltage in ' changes to '1', the output of logic gate 310 changes to '1'. This circuit scheme can also be used in Figure 6 to Figure 7 However, by referring to the output voltage of the above-mentioned logic gate 310 as the signal OpenB_det, such a signal OpenB_det allows the occurrence of an open bit to be detected, but it does not allow the identification of the group of main bit lines MBL connected to the memory cells 3 in which an open bit has occurred during writing. In order to also provide this functionality, it is possible to implement Fig. 9 , where the memory device is designated by 400 .

[0099] Without loss of generality, under the assumption that the memory device 400 includes a first program driver circuit 19a", a second program driver circuit 19b", and a third program driver circuit 19c" arranged in sequence, each of these program driver circuits is connected to a corresponding group of four main bit lines MBL (not shown) and a corresponding control node N ctrl Related, Fig. 9 Reference examples Figure 6 to Figure 7 In other words, although not shown, each of the first program driver circuit 19a", the second program driver circuit 19b" and the third program driver circuit 19c" is connected to Figure 6 is coupled to the memory array 2 (in the same manner as shown in Fig. 9 In this regard, Fig. 9 , for each of the first program driver circuit 19a", the second program driver circuit 19b" and the third program driver circuit 19c", the corresponding parts except the corresponding inverter circuit 48 and the corresponding trigger circuit 46 are schematically shown as a box designated by 499.

[0100] The control node N of the first program driver circuit 19a", the second program driver circuit 19b", and the third program driver circuit 19c" ctrl The voltage on clamp_out_A 、V clamp_out_B and V clamp_out_C The voltages at the outputs of the inverter circuits 48 of the first program driver circuit 19a", the second program driver circuit 19b" and the third program driver circuit 19c" are respectively represented by SnV int_A 、SnV int_B and SnV int_C The voltages on the outputs of the first program driver circuit 19a", the second program driver circuit 19b" and the third program driver circuit 19c" of the trigger circuit 46 are respectively SV int_A SV int_B and SV int_C specified.

[0101] Furthermore, for each of the first program driver circuit 19 a ″, the second program driver circuit 19 b ″ and the third program driver circuit 19 c ″, the memory device 400 includes a corresponding first multiplexer 401 and a corresponding second multiplexer 402 .

[0102] In detail, the first input terminal and the second input terminal of the first multiplexer 401 of the first program driver circuit 19a" are connected to the secondary power supply voltage V d The output of the inverter circuit 48 of the second program driver circuit 19b" receives the voltage SnV int_B The first input terminal of the second multiplexer 402 of the first program driver circuit 19a" is connected to the corresponding control node N ctrl , to receive the voltage V clamp_out_A The second input terminal of the second multiplexer 402 of the first program driver circuit 19 a ″ receives the clock signal scan_ck, which may be generated by the control logic CL.

[0103] The outputs of the first multiplexer 401 and the second multiplexer 402 of the first program driver circuit 19 a ″ are connected to the data input terminal and the clock input terminal of the corresponding flip-flop circuit 46 , respectively.

[0104] The first input terminal and the second input terminal of the first multiplexer 401 of the second program driver circuit 19b" are respectively connected to the secondary power supply voltage V d and the output of the inverter circuit 48 of the third program driver circuit 19b" to receive the voltage SnV int_C The first input terminal of the second multiplexer 402 of the second program driver circuit 19b" is connected to the corresponding control node N ctrl , to receive the voltage V clamp_out_B The second input terminal of the second multiplexer 402 of the second program driver circuit 19 b ″ receives the clock signal scan_ck.

[0105] The outputs of the first multiplexer 401 and the second multiplexer 402 of the second program driver circuit 19 b ″ are connected to the data input terminal and the clock input terminal of the corresponding flip-flop circuit 46 , respectively.

[0106] The first input terminal and the second input terminal of the first multiplexer 401 of the third program driver circuit 19c" are respectively connected to the secondary power supply voltage V d The first input terminal of the second multiplexer 402 of the third program driver circuit 19c" is connected to the corresponding control node N ctrl , to receive the voltage V clamp_out_C The second input terminal of the second multiplexer 402 of the third program driver circuit 19c" receives the clock signal scan_ck.

[0107] The outputs of the first multiplexer 401 and the second multiplexer 402 of the third program driver circuit 19 c ″ are connected to the data input terminal and the clock input terminal of the corresponding flip-flop circuit 46 , respectively.

[0108] All the first multiplexers 401 and the second multiplexers 402 are controlled by a signal scan_en generated by the control logic CL, such that when the signal scan_en is equal to a logic value of '0', each of the first multiplexers 401 and the second multiplexers 402 connects its output terminal to its first input terminal, and when the signal scan_en is equal to a logic value of '1', each of the first multiplexers 401 and the second multiplexers 402 connects its output terminal to its second input terminal. For this aspect, the control logic CL can be controlled (i.e., programmed) in a manner known per se so as to set the signal scan_en equal to '0' (e.g., in normal use) or to '1' (e.g., during fault analysis).

[0109] Furthermore, the memory device 400 comprises a logic gate 410 of the OR type, which receives a voltage SV at an input. int_A SV int_B and SV int_C And the signal OpenB_det is generated.

[0110] Basically, when the control logic CL sets the signal scan_en equal to the logic value '0', the memory device 400 functions as the memory device 200. In this case, the voltage SnV int A 、SnV int_B and SnV int_C = equal to the voltage nV generated by the inverter circuits 48 of the first program driver circuit 19a", the second program driver circuit 19b", and the third program driver circuit 19c", respectively. int ; Similarly, the voltage SV int_A SV int_B and SV int_C = equal to the voltage V generated by the trigger circuit 46 of the first program driver circuit 19a", the second program driver circuit 19b" and the third program driver circuit 19c" respectively. int Thus, in the absence of an open bit, the signal OpenBit_det is equal to '0', and when an open bit is present, the signal is equal to '1', regardless of the position of the open bit.

[0111] In practice, in normal use, the signal scan_en is equal to '0' and the control logic CL can detect the presence of an open bit during a write step based on the signal OpenBit_det. For this respect, in a manner known per se, during writing, the first program driver circuit 19a", the second program driver circuit 19b" and the third program driver circuit 19c" share the same address, i.e. they select and write corresponding selected memory cells 3 having the same relative position (i.e. addressed by means of the same pair of local and main column decoding signals) at the same time. For example, by assuming that the shared address corresponds to the Uth main bit line MBL and the Lth local bit line BL, each of the first program driver circuit 19a", the second program driver circuit 19b" and the third program driver circuit 19c" selects the corresponding main bit line MBL and the corresponding local bit line BL <l>, is only coupled to the main bit line MBL The local bit line BL <l>Passed by the programming current I*.

[0112] Furthermore, as previously explained, for example, after detecting the occurrence of an open bit during a write step involving a selected local bit line BL, a selected main bit line MBL, and a selected word line WL, the control logic CL may be controlled so as to set the signal scan_en equal to '1'. When the control logic CL sets the signal scan_en equal to a logic value '1', the memory device 400 implements a scan chain as described herein below.

[0113] In detail, switching the signal scan_en to '1' implies that the voltages (in particular, the corresponding logic values) at the output terminal Q of the flip-flop 46 and therefore also at the output terminal of the inverter circuit 48 are "frozen", i.e. they do not change, until the control logic CL generates a pulse of the clock signal scan_ck, as described herein below. Therefore, the voltage SnV int_A 、SnV int_B and SnV int_C The logic value of also remains unchanged from the corresponding logic value generated during the above-mentioned writing steps, ie during the last writing step in which the signal scan_en is equal to '0', until the control logic CL generates a pulse of the clock signal scan_ck.

[0114] In addition, the logic values ​​on the data inputs of the trigger circuits 46 of the first program driver circuit 19a" and the second program driver circuit 19b" are respectively equal to the voltage SnV int_B and SnV int_C As previously described, these logic values ​​are respectively equal to the voltage nV generated by the inverter circuit 48 of the second program driver circuit 19b" and the third program driver circuit 19c" during the above-mentioned writing step (ie, when the signal scan_en is equal to '0'). int ; Similarly, as previously described, the voltage SnV int_A The logic value of is equal to the voltage nV generated by the inverter circuit 48 of the first program driver circuit 19a" during the above-mentioned writing step. int Therefore, the voltage SnV int_A 、SnV int_B and SnV int_Cv The logic value of depends on whether an open bit occurs in the memory cell 3 coupled to the corresponding program driver circuit.

[0115] Having said that, when the signal scan_en is equal to '1', the signal present at the output terminal of the inverter circuit 48 of the first program driver circuit 19a'' is specified by the reference signal scan_out, which occurs as follows.

[0116] Each group formed by the trigger circuit 46, the inverter circuit 48, and the first multiplexer 401 and the second multiplexer 402 of any one of the first program driver circuit 19a", the second program driver circuit 19b" and the third program driver circuit 19c" serves as a reconfigurable circuit that operates in different modes based on the logic value of the signal scan_en. In addition, when the signal scan_en is equal to '1', the input of each reconfigurable circuit is coupled to the output of the subsequent reconfigurable circuit so as to receive the logic value present on the output and transmit the logic value to its own output when a pulse of the clock signal scan_ck occurs.

[0117] As described above, after the signal scan_en is switched to '1', the signal scan_out has a voltage equal to SnV int_A The first logic value of the logic value of is equal to '1' if an open bit appears in the memory cell 3 connected to the first program driver circuit 19a", otherwise, it is equal to '0'.

[0118] After the first pulse of the clock signal scan_ck, the signal scan_out has a second logic value, which is equal to the voltage SnV int_B The logic value of is the same, if the open bit appears in the memory cell 3 connected to the second program driver circuit 19b", the logic value is equal to '1', otherwise, it is equal to '0'.

[0119] After the second pulse of the clock signal scan_ck, the signal scan_out has a third logic value, which is equal to the voltage SnV int_C The logic value of is the same, if the open bit appears in the memory cell 3 connected to the third program driver circuit 19c", the logic value is equal to '1', otherwise, it is equal to '0'.

[0120] Therefore, based on the above-mentioned first logic value, second logic value and third logic value assumed by the signal scan_out, the control logic CL can determine whether an open bit appears in the memory cell 3 written by the first program driver circuit 19a” or the second program driver circuit 19b” or the third program driver circuit 19c”; in addition, by referring to the above-mentioned selected main bit line MBL, the selected bit line BL (in particular, referring to the corresponding main column decoding signal and the corresponding local column decoding signal) and the selected word line WL, the control logic CL can determine the memory cell 3 in which an open bit appears.

[0121] Although not shown, Fig. 9 The same embodiment as shown in is possible, but in which the program driver circuit has Figure 5 or Figure 8 The type shown in ; the threshold generator circuit can be varied accordingly.

[0122] Fig.10 An example of application of a memory device (designated by 500) according to any of the foregoing is shown. In particular, Fig.10 A portion of an electronic device 570 is illustrated, which may be, for example: a PDA (personal digital assistant); a portable or fixed computer, possibly with wireless data transfer capability; a cell phone; a digital audio player; a video camera or camcorder; or other device capable of processing, storing, sending and receiving information.

[0123] In detail, the electronic device 570 includes: a controller 571 (for example, provided with a microprocessor, DSP or microcontroller); an input / output device 572 (for example, provided with a keypad and a display) for inputting and displaying data; a memory device 500; a wireless interface 574, such as an antenna, for transmitting and receiving data through a radio frequency wireless communication network; and a RAM 575. All components of the electronic device 570 are coupled through a bus 576. A battery 577 may be used as a power supply in the electronic device 570, and furthermore, the electronic device may be provided with a camera or a video camera 578. In addition, the controller 571 may control the memory device 500, for example, by cooperating with the control logic CL.

[0124] The advantages provided by the present memory device are made clear by the above description.

[0125] In particular, in the case of an open bit occurring during a write step, the present solution allows avoiding overvoltage stress on the transistors of the column decoder in order to protect the transistors. Furthermore, the implementation of the threshold generator circuit comprising a dummy circuit allows accurately generating a reference voltage simulating the voltage occurring in the column decoder in the absence of an open bit.

[0126] Basically, in each program driver circuit, protection is obtained by sensing a corresponding sensing node for each master bit line that can be coupled to the program driver circuit, which sensing node is connected to the output node N of the program driver in the case where a single master bit line can be coupled to the program driver circuit. out In both cases, when the output node N is coupled to the program driver circuit, the master bit line is consistent, and in the case where more than one master bit line can be coupled to the program driver circuit, the master bit line is consistent. out When a selected memory cell (i.e., a cell written by the program driver circuit under consideration) is coupled to the corresponding master bit line (i.e., and not coupled to other (if any) master bit lines that may be coupled to the program driver circuit under consideration), the voltage on the sense node at least depends on (or may even be consistent with) the voltage on the corresponding master bit line.

[0127] In addition, the control logic CL can optimize the write strategy based on the detection of possible open bits. For example, in the case of a set type write operation with an open bit (i.e., writing a logic value of '1' into a memory cell storing a logic value of '0'), the memory cell is always read as zero; therefore, the control logic CL verifies the state and attempts to provide more pulses to set the logic value to '1'. However, the limiter circuit 35 can turn off the programming current I* during the first pulse and prevent the generation of further pulses of the programming current I*.

[0128] Some embodiments also allow not only protection of memory devices, but also identification of damaged memory cells.

[0129] Finally, it is clear that modifications and variations may be made to the embodiments described and illustrated herein without thereby departing from the scope of the present invention as defined in the appended claims.

[0130] For example, the limiter circuit may be different from the embodiments described above. For example, embodiments (not shown) are possible which are respectively identical to the corresponding embodiments described previously, but in which an additional transistor is present. The additional transistor may be an N-MOS enriched transistor, whose drain terminal and source terminal are respectively connected to the control node N ctrl and ground; in addition, the gate terminal of the additional transistor is generated by the control logic CL so as to be equal to the voltage V ON The logic negation voltage is used to control the limiter circuit when it is not intended to be used (i.e., when the voltage V ON ='0') in the case of a write operation, the voltage V clamp_out Grounded, and when the voltage VON is equal to '1', it does not affect the function of the limiter circuit.

[0131] In a manner known per se, the control logic CL may implement different write strategies. For example, the control logic CL may set the signal sRESET to '1' after each write operation; in this way the limiter circuit is ready for a subsequent write operation, for example at a subsequent address.

[0132] Finally, as previously mentioned, the memory cells may be of a different type than that already described.

[0133] Although the present invention has been described with reference to illustrative embodiments, the description is not intended to be interpreted in a limiting sense. Various modifications and combinations of the illustrative embodiments and other embodiments of the present invention will be apparent to those skilled in the art by reference to the description. Therefore, the appended claims are intended to cover any such modifications or embodiments.< / l> < / l>

Claims

1. A non-volatile memory device, comprising: a memory cell array arranged in rows and columns, each memory cell comprising a corresponding storage element and a corresponding access element; a plurality of word lines, the memory cells in each row being coupled to a corresponding word line; a plurality of local bit lines, the memory cells of each column being coupled to a corresponding local bit line; a plurality of master bit lines, each of which may be coupled to a corresponding subset of local bit lines; a plurality of program driver circuits, each having a corresponding output node and configured to inject a programming current in the corresponding output node, each output node being coupleable to a corresponding subset of master bit lines; as well as Column decoder; Wherein for each program driver circuit, the column decoder comprises: a corresponding master selection circuit, for each of the master bit lines in the corresponding subset, the corresponding master selection circuit being electronically controllable to selectively couple the master bit line to the output node of the program driver circuit; and local selection circuitry, for each of the local bit lines that are coupleable to a corresponding master bit line in the corresponding subset of master bit lines, the local selection circuitry being electronically controllable to selectively couple the local bit line to the corresponding master bit line; The memory device further comprises: a control unit configured to control the local selection circuit and the main selection circuit so that during the step of writing a number of selected memory cells, each selected memory cell is coupled to the output node of the corresponding program driver circuit through the corresponding local bit line and the corresponding main bit line to be passed through by the corresponding programming current; wherein each program driver circuit further comprises a corresponding limiter circuit, the corresponding limiter circuit being electrically coupled to a corresponding sensing node for each master bit line in the corresponding subset, the voltage of the corresponding sensing node being dependent on the voltage on the corresponding master bit line when the selected memory cell coupled to the output node of the corresponding program driver circuit is coupled to the corresponding master bit line; and wherein each limiter circuit is configured to: shut off the corresponding programming current in response to the voltage on any of the corresponding sensing nodes exceeding a reference voltage; The non-volatile memory device further comprises a threshold generator circuit, wherein the threshold generator circuit comprises: a virtual current generator configured to inject a virtual current in the virtual node; Virtual master bit lines and virtual local bit lines; a dummy memory cell including a resistor and coupled to the dummy local bit line; a virtual master selection circuit equal to the master selection circuit and electronically controllable to couple the virtual master bit line to the virtual node; and A virtual local selection circuit is equal to the local selection circuit and is electronically controllable to couple the virtual local bit line to the virtual master bit line.

2. The memory device of claim 1 , wherein for each master bit line in the corresponding master bit line subset, each limiter circuit comprises a corresponding switching element, the corresponding switching element being coupled to the corresponding master bit line and to a control node of the limiter circuit, the switching element being configured to couple the corresponding master bit line to the control node in response to the voltage on the corresponding master bit line exceeding the reference voltage so as to cause switching of a logic value of a control voltage on the control node; and wherein each limiter circuit is configured so that the control voltage on the corresponding control node controls the shutoff of the corresponding programming current.

3. The memory device of claim 2 , wherein during the writing step, the control unit controls the local selection circuit and the main selection circuit coupled to the selected memory cell by the same local column decoding signal and the same main column decoding signal, respectively; and wherein each limiter circuit further comprises a reconfigurable flip-flop circuit coupled to the corresponding control node, the control unit being controllable so as to cause the reconfigurable flip-flop circuit to operate in a first mode during the writing step; and wherein, When operating in the first mode, each reconfigurable flip-flop circuit is configured to: generating a corresponding interrupt signal at a corresponding output, the logic value of the corresponding interrupt signal being dependent on the control voltage at the corresponding control node, the logic value at the corresponding output indicating whether an open bit has occurred in the selected memory cell coupled to the corresponding program driver circuit during the writing step, the corresponding limiter circuit being further configured to shut off the corresponding programming current based on the corresponding interrupt signal; Wherein, when the control unit is configured to make the reconfigurable trigger circuit operate in the first mode, the control unit is further configured to: detecting said occurrence of an open bit in any selected one of said selected memory cells during said writing step based on said generated interrupt signal; wherein the control unit is further controllable so as to cause the reconfigurable flip-flop circuit to operate in a second mode after the writing step; and wherein, when the control unit is configured to cause the reconfigurable flip-flop circuit to operate in the second mode, the control unit is further configured to generate a pulse clock signal; and wherein, when operating in the second mode, the reconfigurable flip-flop circuits are cascade-coupled, and each reconfigurable flip-flop circuit is configured to: coupling a respective input to the output of a subsequent reconfigurable flip-flop circuit so as to receive the logic value on the output of the subsequent reconfigurable flip-flop circuit, the logic value on the output of the subsequent reconfigurable flip-flop circuit indicating whether an open bit occurred in the selected memory cell coupled to the program driver circuit corresponding to the subsequent reconfigurable flip-flop circuit during the writing step; receiving the clock signal; and transferring the logic value on the corresponding input to the corresponding output with timing dependent on pulses of the clock signal; and The control unit is further configured to determine, during a number of the pulses of the clock signal, based on the logic value at the output of the first reconfigurable flip-flop circuit in the cascaded reconfigurable flip-flop circuits, the program driver circuit coupled to the selected memory cell where an open bit appeared during the writing step.

4. The memory device of claim 1 , wherein for each program driver circuit, the corresponding master bit line subset comprises a single corresponding master bit line; and wherein each limiter circuit comprises a corresponding switching element, the corresponding switching element being coupled to the corresponding output node and the corresponding control node, the switching element being configured to: in response to the voltage on the corresponding output node exceeding the reference voltage, couple the corresponding output node to the corresponding control node so as to cause switching of the logic value of the control voltage on the corresponding control node; and wherein each limiter circuit is configured so that the control voltage on the corresponding control node controls the shutoff of the corresponding programming current.

5. The memory device of claim 4 , wherein during the writing step, the control unit controls the local selection circuit and the main selection circuit coupled to the selected memory cell by the same local column decoding signal and the same main column decoding signal, respectively; and wherein each limiter circuit further comprises a reconfigurable flip-flop circuit coupled to the corresponding control node, the control unit being controllable so as to cause the reconfigurable flip-flop circuit to operate in a first mode during the writing step; and wherein, When operating in the first mode, each reconfigurable flip-flop circuit is configured to: generating a corresponding interrupt signal at a corresponding output, the logic value of the corresponding interrupt signal being dependent on the control voltage at the corresponding control node, the logic value at the corresponding output indicating whether an open bit has occurred in the selected memory cell coupled to the corresponding program driver circuit during the writing step, the corresponding limiter circuit being further configured to shut off the corresponding programming current based on the corresponding interrupt signal; Wherein, when the control unit is configured to make the reconfigurable trigger circuit operate in the first mode, the control unit is further configured to: detecting said occurrence of an open bit in any selected one of said selected memory cells during said writing step based on said generated interrupt signal; wherein the control unit is further controllable so as to cause the reconfigurable flip-flop circuit to operate in a second mode after the writing step; and wherein, when the control unit is configured to cause the reconfigurable flip-flop circuit to operate in the second mode, the control unit is further configured to generate a pulse clock signal; and wherein, when operating in the second mode, the reconfigurable flip-flop circuits are cascade-coupled, and each reconfigurable flip-flop circuit is configured to: coupling a respective input to the output of a subsequent reconfigurable flip-flop circuit so as to receive the logic value on the output of the subsequent reconfigurable flip-flop circuit, the logic value on the output of the subsequent reconfigurable flip-flop circuit indicating whether an open bit occurred in the selected memory cell coupled to the program driver circuit corresponding to the subsequent reconfigurable flip-flop circuit during the writing step; receiving the clock signal; and transferring the logic value on the corresponding input to the corresponding output with timing dependent on pulses of the clock signal; and The control unit is further configured to determine, during a number of the pulses of the clock signal, based on the logic value at the output of the first reconfigurable flip-flop circuit in the cascaded reconfigurable flip-flop circuits, the program driver circuit coupled to the selected memory cell where an open bit appeared during the writing step.

6. The memory device according to claim 1 , wherein the threshold generator circuit is configured such that during the writing step, the virtual memory cell is coupled to the virtual node through the virtual local selection circuit and the virtual main selection circuit so as to be passed through by the virtual current; and wherein the threshold generator circuit is configured to generate a clamping voltage according to the voltage on the virtual sense node, the voltage on the virtual sense node being dependent on the voltage on the virtual main bit line; and wherein the reference voltage is dependent on the clamping voltage.

7. The memory device of claim 6 , wherein for each master bit line in the corresponding master bit line subset, each limiter circuit comprises a corresponding switching element, the corresponding switching element being coupled to the corresponding master bit line and to a control node of the limiter circuit, the switching element being configured to: couple the corresponding master bit line to the control node in response to the voltage on the corresponding master bit line exceeding the reference voltage so as to cause switching of a logic value of a control voltage on the control node; and wherein each limiter circuit is configured so that the control voltage on the corresponding control node controls the shutoff of the corresponding programming current, and wherein the threshold generator circuit comprises a voltage follower circuit, the voltage follower circuit being configured to generate the clamping voltage based on the voltage on the virtual master bit line.

8. The memory device of claim 6 , wherein for each program driver circuit, the corresponding master bit line subset comprises a single corresponding master bit line; and wherein each limiter circuit comprises a corresponding switching element, the corresponding switching element being coupled to the corresponding output node and the corresponding control node, the switching element being configured to: in response to the voltage on the corresponding output node exceeding the reference voltage, couple the corresponding output node to the corresponding control node so as to cause switching of the logic value of the control voltage on the corresponding control node; and wherein each limiter circuit is configured so that the control voltage on the corresponding control node controls the shutoff of the corresponding programming current, and wherein the threshold generator circuit comprises a voltage follower circuit, the voltage follower circuit being configured to generate the clamping voltage based on the voltage on the virtual node.

9. The memory device of claim 7, wherein the voltage follower circuit comprises: an amplifier coupled to the virtual sensing node; as well as an output element, which is equal to the switching element of the program driver circuit and forms a closed loop with the amplifier; Wherein the clamping voltage is a function of an output voltage generated by the amplifier.

10. The memory device of claim 6, wherein the resistance value of each storage element changes when the corresponding memory cell is written; and wherein the resistance of the resistor is a function of a maximum value of the resistance assumed by the storage element during writing.

11. A memory device according to claim 6, wherein the writing step is alternately of set or reset type; and wherein in the case of any type of writing of the set and reset type, in the absence of an open bit in the corresponding selected memory cell, the virtual current is equal to the maximum value assumed by the programming current during the writing step.

12. The memory device according to claim 6, wherein the control unit is configured to control the local selection circuit and the main selection circuit through corresponding local column decoding signals and corresponding main column decoding signals; and wherein, During the writing step, the virtual local selection circuit and the virtual main selection circuit are controlled by a virtual local column decoding signal and a virtual main column decoding signal, respectively, which are equal to the local column decoding signal and the main column decoding signal, respectively, which control the local selection circuit and the main selection circuit coupled to the selected memory cell.

13. A memory device according to claim 6, wherein the virtual memory cell further comprises a virtual access element, which is equal to the access element of the memory cell; and wherein the control unit is configured to control the virtual access element during the writing step by a corresponding signal, which is equal to the voltage present on the word line coupled to the selected memory cell.

14. An electronic device comprising: bus; a controller coupled to the bus; as well as A memory device coupled to the bus, the memory device comprising: a memory cell array arranged in rows and columns, each memory cell comprising a corresponding storage element and a corresponding access element; a plurality of word lines, the memory cells in each row being coupled to a corresponding word line; a plurality of local bit lines, the memory cells of each column being coupled to a corresponding local bit line; a plurality of master bit lines, each of which may be coupled to a corresponding subset of local bit lines; a plurality of program driver circuits, each having a corresponding output node and configured to inject a programming current in the corresponding output node, each output node being coupleable to a corresponding subset of master bit lines; and Column decoder; Wherein for each program driver circuit, the column decoder comprises: a corresponding master selection circuit, for each of the master bit lines in the corresponding subset, the corresponding master selection circuit being electronically controllable to selectively couple the master bit line to the output node of the program driver circuit; and local selection circuitry, for each of the local bit lines that are coupleable to a corresponding master bit line in the corresponding subset of master bit lines, the local selection circuitry being electronically controllable to selectively couple the local bit line to the corresponding master bit line; The memory device further comprises: a control unit configured to control the local selection circuit and the main selection circuit so that during the step of writing a number of selected memory cells, each selected memory cell is coupled to the output node of the corresponding program driver circuit through the corresponding local bit line and the corresponding main bit line to be passed through by the corresponding programming current; wherein each program driver circuit further comprises a corresponding limiter circuit, the corresponding limiter circuit being electrically coupled to a corresponding sensing node for each master bit line in the corresponding subset, the voltage of the corresponding sensing node being dependent on the voltage on the corresponding master bit line when the selected memory cell coupled to the output node of the corresponding program driver circuit is coupled to the corresponding master bit line; and wherein each limiter circuit is configured to: shut off the corresponding programming current in response to the voltage on any of the corresponding sensing nodes exceeding a reference voltage; The memory device further comprises a threshold generator circuit, wherein the threshold generator circuit comprises: a virtual current generator configured to inject a virtual current in the virtual node; Virtual master bit lines and virtual local bit lines; a dummy memory cell including a resistor and coupled to the dummy local bit line; a virtual master selection circuit equal to the master selection circuit and electronically controllable to couple the virtual master bit line to the virtual node; and A virtual local selection circuit is equal to the local selection circuit and is electronically controllable to couple the virtual local bit line to the virtual master bit line.

15. An electronic device according to claim 14, wherein for each main bit line of the corresponding main bit line subset, each limiter circuit includes a corresponding switching element, the corresponding switching element is coupled to the corresponding main bit line and to a control node of the limiter circuit, the switching element is configured to couple the corresponding main bit line to the control node in response to the voltage on the corresponding main bit line exceeding the reference voltage so as to cause switching of the logic value of the control voltage on the control node; and wherein each limiter circuit is configured so that the control voltage on the corresponding control node controls the shutoff of the corresponding programming current.

16. The electronic device of claim 15 , wherein during the writing step, the control unit controls the local selection circuit and the main selection circuit coupled to the selected memory cell by means of the same local column decoding signal and the same main column decoding signal, respectively; and wherein each limiter circuit further comprises a reconfigurable flip-flop circuit coupled to the corresponding control node, the control unit being controllable so as to cause the reconfigurable flip-flop circuit to operate in a first mode during the writing step; and wherein, When operating in the first mode, each reconfigurable flip-flop circuit is configured to: generating a corresponding interrupt signal at a corresponding output, the logic value of the corresponding interrupt signal being dependent on the control voltage at the corresponding control node, the logic value at the corresponding output indicating whether an open bit has occurred in the selected memory cell coupled to the corresponding program driver circuit during the writing step, the corresponding limiter circuit being further configured to shut off the corresponding programming current based on the corresponding interrupt signal; Wherein, when the control unit is configured to make the reconfigurable trigger circuit operate in the first mode, the control unit is further configured to: detecting said occurrence of an open bit in any selected one of said selected memory cells during said writing step based on said generated interrupt signal; wherein the control unit is further controllable so as to cause the reconfigurable flip-flop circuit to operate in a second mode after the writing step; and wherein, when the control unit is configured to cause the reconfigurable flip-flop circuit to operate in the second mode, the control unit is further configured to generate a pulse clock signal; and wherein, when operating in the second mode, the reconfigurable flip-flop circuits are cascade-coupled, and each reconfigurable flip-flop circuit is configured to: coupling a respective input to the output of a subsequent reconfigurable flip-flop circuit so as to receive the logic value on the output of the subsequent reconfigurable flip-flop circuit, the logic value on the output of the subsequent reconfigurable flip-flop circuit indicating whether an open bit occurred in the selected memory cell coupled to the program driver circuit corresponding to the subsequent reconfigurable flip-flop circuit during the writing step; receiving the clock signal; and transferring the logic value on the corresponding input to the corresponding output with timing dependent on pulses of the clock signal; and The control unit is further configured to determine, during a number of the pulses of the clock signal, based on the logic value at the output of the first reconfigurable flip-flop circuit in the cascaded reconfigurable flip-flop circuits, the program driver circuit coupled to the selected memory cell where an open bit appeared during the writing step.

17. An electronic device according to claim 14, wherein for each program driver circuit, the corresponding main bit line subset includes a single corresponding main bit line; and wherein each limiter circuit includes a corresponding switching element, the corresponding switching element is coupled to the corresponding output node and the corresponding control node, the switching element is configured to couple the corresponding output node to the corresponding control node in response to the voltage on the corresponding output node exceeding the reference voltage, so as to cause the switching of the logic value of the control voltage on the corresponding control node; and wherein each limiter circuit is configured so that the control voltage on the corresponding control node controls the shutoff of the corresponding programming current.

18. An electronic device according to claim 17, wherein during the writing step, the control unit controls the local selection circuit and the main selection circuit coupled to the selected memory cell by the same local column decoding signal and the same main column decoding signal, respectively; and wherein each limiter circuit further comprises a reconfigurable flip-flop circuit, the reconfigurable flip-flop circuit being coupled to the corresponding control node, the control unit being controllable so as to cause the reconfigurable flip-flop circuit to operate in a first mode during the writing step; and wherein, When operating in the first mode, each reconfigurable flip-flop circuit is configured to: generating a corresponding interrupt signal at a corresponding output, the logic value of the corresponding interrupt signal being dependent on the control voltage at the corresponding control node, the logic value at the corresponding output indicating whether an open bit has occurred in the selected memory cell coupled to the corresponding program driver circuit during the writing step, the corresponding limiter circuit being further configured to shut off the corresponding programming current based on the corresponding interrupt signal; Wherein, when the control unit is configured to make the reconfigurable trigger circuit operate in the first mode, the control unit is further configured to: detecting said occurrence of an open bit in any selected one of said selected memory cells during said writing step based on said generated interrupt signal; wherein the control unit is further controllable so as to cause the reconfigurable flip-flop circuit to operate in a second mode after the writing step; and wherein, when the control unit is configured to cause the reconfigurable flip-flop circuit to operate in the second mode, the control unit is further configured to generate a pulse clock signal; and wherein, when operating in the second mode, the reconfigurable flip-flop circuits are cascade-coupled, and each reconfigurable flip-flop circuit is configured to: coupling a respective input to the output of a subsequent reconfigurable flip-flop circuit so as to receive the logic value on the output of the subsequent reconfigurable flip-flop circuit, the logic value on the output of the subsequent reconfigurable flip-flop circuit indicating whether an open bit occurred in the selected memory cell coupled to the program driver circuit corresponding to the subsequent reconfigurable flip-flop circuit during the writing step; receiving the clock signal; and transferring the logic value on the corresponding input to the corresponding output with timing dependent on pulses of the clock signal; and The control unit is further configured to determine, during a number of the pulses of the clock signal, based on the logic value at the output of the first reconfigurable flip-flop circuit in the cascaded reconfigurable flip-flop circuits, the program driver circuit coupled to the selected memory cell where an open bit appeared during the writing step.

19. The electronic device according to claim 14, wherein the threshold generator circuit is configured so that during the writing step, the virtual memory cell is coupled to the virtual node through the virtual local selection circuit and the virtual main selection circuit so as to be passed through by the virtual current; and wherein the threshold generator circuit is configured to generate a clamping voltage according to the voltage on the virtual sensing node, the voltage on the virtual sensing node being dependent on the voltage on the virtual main bit line; and wherein the reference voltage is dependent on the clamping voltage.

20. An electronic device according to claim 19, wherein for each main bit line of the corresponding main bit line subset, each limiter circuit includes a corresponding switching element, the corresponding switching element is coupled to the corresponding main bit line and to a control node of the limiter circuit, the switching element is configured to: in response to the voltage on the corresponding main bit line exceeding the reference voltage, couple the corresponding main bit line to the control node so as to cause the switching of the logic value of the control voltage on the control node; and wherein each limiter circuit is configured so that the control voltage on the corresponding control node controls the shutoff of the corresponding programming current, and wherein the threshold generator circuit includes a voltage follower circuit, and the voltage follower circuit is configured to generate the clamping voltage based on the voltage on the virtual main bit line.