CN111902872A - Self-termination write circuit and method - Google Patents

Self-termination write circuit and method Download PDF

Info

Publication number
CN111902872A
CN111902872A CN201880091692.1A CN201880091692A CN111902872A CN 111902872 A CN111902872 A CN 111902872A CN 201880091692 A CN201880091692 A CN 201880091692A CN 111902872 A CN111902872 A CN 111902872A
Authority
CN
China
Prior art keywords
gate
field effect
effect transistor
circuit
electrically connected
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201880091692.1A
Other languages
Chinese (zh)
Other versions
CN111902872B (en
Inventor
潘越
刘燕翔
段霑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202211100672.0A priority Critical patent/CN115497531A/en
Publication of CN111902872A publication Critical patent/CN111902872A/en
Application granted granted Critical
Publication of CN111902872B publication Critical patent/CN111902872B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/02Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using magnetic elements
    • G11C11/16Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using magnetic elements using elements in which the storage effect is based on magnetic spin effect
    • G11C11/165Auxiliary circuits
    • G11C11/1675Writing or programming circuits or methods
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/02Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using magnetic elements
    • G11C11/16Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using magnetic elements using elements in which the storage effect is based on magnetic spin effect
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/06Auxiliary circuits, e.g. for writing into memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Static Random-Access Memory (AREA)
  • Mram Or Spin Memory Techniques (AREA)

Abstract

The application discloses a self-termination write-in circuit and a self-termination write-in method, which are used for realizing self-termination of memory array circuits in different states through the same self-termination write-in control circuit. The application self-terminating write circuit includes: a sense amplifier (201) and a control circuit (202); the sense amplifier (201) is used for comparing the reference voltage or reference current output by the reference circuit (203) with the voltage or current output by the memory array circuit (204); the control circuit (202) is used for generating a termination signal according to the comparison result and feeding back the termination signal to the memory array circuit (204), and the termination signal is used for controlling the memory array circuit (204) to stop writing the P state or the AP state. The write-in self-termination is realized after the state write-in of the storage array circuit (204) is completed, the overhead area of the circuit is saved, and the power consumption is reduced.

Description

Self-termination write circuit and method Technical Field
The present disclosure relates to the field of circuits, and more particularly, to a self-terminating write circuit and method.
Background
Spin-transfer torque magnetic memory (STT-MRAM) is a novel memory with great potential, and has the advantages of fast reading speed, long endurance cycle number, high integration level, compatibility with Complementary Metal Oxide Semiconductor (CMOS) process, and the like.
In STT-MRAM, a memory module is generally a structure composed of a Metal Oxide Semiconductor (MOS) transistor and a Magnetic Tunnel Junction (MTJ), as shown in fig. 1A, the memory module has three terminals, which are a Word Line (WL), a Bit Line (BL), and a Source Line (SL). When reading, the stored information depends on the read resistance value of the MTJ, and the current direction can be any; in writing, writing a particular state (P-state or AP-state) requires the corresponding current direction to be used, as shown in FIG. 1A. An MTJ consists of two ferromagnetic layers, one with a thin tunneling oxide layer (e.g., MgO) sandwiched between them, as shown in fig. 1B, where the magnetization direction of one of the ferromagnetic layers is fixed, referred to as the pinned layer; the other ferromagnetic layer can freely switch the magnetization direction and is called as a free layer. The resistance of the MTJ exhibits a lower resistance when the magnetization direction of the free layer is parallel to the pinned layer (i.e., P-state), and a higher resistance when the magnetization direction of the free layer is opposite to parallel to the pinned layer (i.e., AP-state).
A prior art scheme that provides self-termination for various write situations is to add a Variable Energy Write (VEW) circuit to each column of the memory array and control a transmission gate to connect the bit line and the write circuit, as shown in fig. 1C. The VEW circuit comprises two branches which respectively aim at two conditions of writing in an AP state and a P state and respectively comprise an inverter with a specially adjusted threshold value, and the inverter is used for respectively monitoring the voltage change on a bit line after the writing in the AP state and the writing in the P state are finished and outputting corresponding signals. Since the VEW circuit introduces units such as flip-flops, static power consumption occurs even when writing is not required, increasing the total power consumption of the circuit.
Disclosure of Invention
The embodiment of the application provides a self-termination write circuit and a self-termination write method, which are used for realizing self-termination of memory array circuits in different states through the same control circuit, reducing the overhead area of the circuit and reducing the power consumption.
A first aspect of embodiments of the present application provides a self-terminating write circuit, including: a sense amplifier 201 and a control circuit 202; the sense amplifier 201 is used for comparing the reference voltage or reference current output by the reference circuit 203 with the voltage or current output by the memory array circuit 204, and feeding back the comparison result to the control circuit 202; the control circuit 202 is configured to generate a termination signal according to the comparison result, and feed back the termination signal to the memory array circuit 204, where the termination signal is used to control the memory array circuit 204 to stop writing the P state or the AP state. The reference voltage or reference current of the reference circuit and the voltage or current of the storage array circuit are compared through the sense amplifier, and the output end signal of the sense amplifier is sent to the control circuit according to the comparison result, so that the termination signal generated by the control circuit controls the storage array circuit to stop writing. The write-in termination control circuit formed by the sense amplifier and the control circuit realizes the self-termination of the write-in P state or AP state, saves the overhead area of the circuit and reduces the power consumption.
In one possible design, the self-terminating write circuit further includes the reference circuit 203, wherein: the resistance value of the reference circuit 203 is greater than a first threshold value and less than a second threshold value; the resistance of the memory array circuit 204 in the P state is equal to the first threshold, and the resistance of the memory array circuit 204 in the AP state is equal to the second threshold. The resistance value of the reference circuit is limited, and the resistance value range of the reference circuit is defined, so that the reference voltage or reference current provided by the reference circuit for the sensitive amplifier is different from the voltage or current in the memory unit.
In one possible design, the reference circuit includes: the first end of the first branch circuit is electrically connected with the first end of the second branch circuit, the second end of the first branch circuit is electrically connected with the second end of the second branch circuit and outputs reference voltage or reference current to the sense amplifier 201, the first end of the first branch circuit and the first end of the second branch circuit are electrically connected with a voltage source, the first branch circuit comprises N series-connected magnetic tunneling junctions, the second branch circuit comprises N series-connected magnetic tunneling junctions, and N is a positive integer greater than 1. The specific composition of the reference circuit is refined, and the connection relation between the reference circuit and the sensitive amplifier is defined, so that the reference circuit provides reference voltage or reference current for the sensitive amplifier.
In one possible design, the first branch comprises a first magnetic tunneling junction 2031 and a third magnetic tunneling junction 2033, and the second branch comprises a second magnetic tunneling junction 2032 and a fourth magnetic tunneling junction 2034, wherein the free layer end of the first magnetic tunneling junction 2031 is electrically connected to the fixed layer end of the third magnetic tunneling junction 2033, the free layer end of the second magnetic tunneling junction 2032 is electrically connected to the fixed layer end of the fourth magnetic tunneling junction 2034, and the fixed layer end of the first magnetic tunneling junction 2031 and the fixed layer end of the second magnetic tunneling junction 2032 are electrically connected to the voltage source; the first magnetic tunneling junction 2031 is in the AP state, the second magnetic tunneling junction 2032 is in the P state, the third magnetic tunneling junction 2033 is in the P state, and the fourth magnetic tunneling junction 2034 is in the AP state. In this implementation manner, a specific structure of the reference circuit is provided, and it is ensured that the resistance value of the reference circuit is greater than the resistance value of the P state and less than the resistance value of the AP state, so that the reference voltage or the reference current of the reference circuit is different from the voltage or the current of the memory array circuit, and the output end signal of the sense amplifier is inverted.
In one possible design, the storage array circuit includes: a first field effect transistor P1, a second field effect transistor P2, a third field effect transistor N1, a fourth field effect transistor N2, a fifth field effect transistor N3, and a plurality of memory blocks, each memory block comprising a magnetic tunneling junction and a field effect transistor, wherein: the bit line terminal of each memory module is electrically connected with the source electrode of the first field effect transistor P1 and the drain electrode of the third field effect transistor N1, and the source line terminal of each memory module, the source electrode of the second field effect transistor P2 and the drain electrode of the fourth field effect transistor N2 are electrically connected; the drain of the first field effect transistor P1 is electrically connected with the first end of the first transmission gate, the drain of the second field effect transistor P2 is electrically connected with the first end of the second transmission gate, the source of the third field effect transistor N1 and the source of the fourth field effect transistor N2 are electrically connected with the drain of the fifth field effect transistor N3, the gate of the fifth field effect transistor N3 and the drain of the fifth field effect transistor N3 are electrically connected with the sense amplifier 201, the source of the fifth field effect transistor N3 is grounded, the second end of the first transmission gate is electrically connected with a voltage source, and the second end of the second transmission gate is electrically connected with the voltage source. The specific structure of the memory array circuit is refined, and the electrical connection relation in the memory array circuit is clarified, so that the memory array circuit can write different states into the memory module according to the input data signals.
In one possible design, the sense amplifier includes: a differential amplifier and a tri-state gate 2011, wherein: the output terminal of the tri-state gate 2011 is inverted to be electrically connected to the output terminal of the differential amplifier, the input terminal of the tri-state gate 2011 receives an input data signal, and the control terminal of the tri-state gate 2011 is inverted to be electrically connected to the word line of the memory array circuit 204; a first input terminal of the differential amplifier is electrically connected to the gate of the fifth field effect transistor N3 of the memory array circuit 204 to receive the voltage or current output by the memory array circuit 204, a second input terminal of the differential amplifier is electrically connected to the reference circuit 203 to receive the reference voltage or reference current, and an output terminal of the differential amplifier outputs the comparison result. The electrical connection relation between the tri-state gate and the differential amplifier is refined, and the differential amplifier is controlled to compare the reference voltage or the reference current with the voltage or the current of the memory array by opening or closing the tri-state gate.
In one possible design, the differential amplifier includes a sixth field effect transistor P3, a seventh field effect transistor P4, an eighth field effect transistor N4, a ninth field effect transistor N5, a tenth field effect transistor N6, an eleventh field effect transistor N7, and a twelfth field effect transistor N8, wherein: the gate of the sixth field effect transistor P3 is electrically connected to the gate of the seventh field effect transistor P4, the source of the sixth field effect transistor P3, the gate of the sixth field effect transistor P3 is electrically connected to the drain of the eighth field effect transistor N4, the source of the seventh field effect transistor P4 is electrically connected to the drain of the ninth field effect transistor N5, the source of the eighth field effect transistor N4, the source of the ninth field effect transistor N5, the drain of the tenth field effect transistor N6, the gate of the tenth field effect transistor N6 is electrically connected to the gate of the eleventh field effect transistor N7, the source of the eleventh field effect transistor N7, the drain of the twelfth field effect transistor N8, the gate of the twelfth field effect transistor N8 is electrically connected to the gate of the ninth field effect transistor N5, the source of the tenth field effect transistor N6 is grounded, the source of the twelfth field effect transistor N8 is grounded, the drain electrode of the sixth field effect transistor P3 is electrically connected with a voltage source, and the drain electrode of the seventh field effect transistor P4 is electrically connected with the voltage source; the output terminal of the tri-state gate 2011, the source of the seventh field effect transistor P4, and the drain of the ninth field effect transistor N5 are electrically connected to the output terminal of the sense amplifier 201, and the gate of the eighth field effect transistor N4 is electrically connected to the gate of the fifth field effect transistor N3 of the memory array circuit 204. In this implementation, a specific structure of the sense amplifier is provided, so that the sense amplifier can compare the reference voltage or reference current of the reference circuit with the voltage or current of the memory array circuit, and generate a corresponding output end signal to the control circuit.
In one possible design, the control circuit includes: an exclusive or gate 2021 and a first and gate 2022, wherein: a first input terminal of the xor gate 2021 is electrically connected to the input data signal line, a second input terminal of the xor gate 2021 is electrically connected to the output terminal of the sense amplifier 201, a first input terminal of the xor gate 2021 receives the input data signal, a second input terminal of the xor gate 2021 receives the comparison result of the sense amplifier 201, an output terminal of the xor gate 2021 is electrically connected to a first input terminal of the first and gate 2022, a third terminal of the first transmission gate of the memory array circuit 204, and a third terminal of the second transmission gate of the memory array circuit 204, and the xor gate 2021 is configured to output a termination signal according to the input data signal and the comparison result; a second input terminal of the first and gate 2022 is electrically connected to a word line, a third input terminal of the first and gate 2022 is electrically connected to a write enable signal line, an output terminal of the first and gate 2022 is electrically connected to a gate of the tenth fet N6 of the sense amplifier 201, and an output terminal signal of the first and gate 2022 is used to control the on or off of the sense amplifier 201; the third terminal of the first transfer gate of the memory array circuit 204 receives a termination signal and the third terminal of the second transfer gate of the memory array circuit 204 receives a termination signal, wherein the first transfer gate and the second transfer gate of the memory array circuit 204 are simultaneously turned off when the termination signal is asserted and the first transfer gate and the second transfer gate of the memory array circuit 204 are simultaneously turned on when the termination signal is de-asserted. In this implementation, a structural component of the control circuit is provided to ensure that the control circuit can generate the termination signal according to the comparison result of the sense amplifier and control the on and off of the sense amplifier.
In one possible design, the control circuit further includes: a second and gate 2023, a third and gate 2024, an or gate 2025, and an inverter chain 2026; the inverter chain 2026 comprises an odd number of sequentially electrically connected not gates; the output end of the first and gate 2022, the first input end of the second and gate 2023, and the input end of the inverter chain 2026 are electrically connected to the first input end of the third and gate 2024, the output end of the inverter chain 2026 is electrically connected to the second input end of the second and gate 2023, the output end of the second and gate 2023 is electrically connected to the first input end of the or gate 2025, the output end of the third and gate 2024 is electrically connected to the second input end of the or gate 2025, the second input end of the third and gate 2024 is electrically connected to an external delay circuit, the external delay circuit is configured to provide an external signal after a certain delay to control the signal at the output end of the third and gate 2024, and the signal at the output end of the or gate 2025 is used to control the on or off of the sense amplifier. In this implementation manner, another structural component of the control circuit is provided, so that the control circuit can generate a termination signal according to a comparison result of the sense amplifier, and control the turn-on and turn-off of the sense amplifier, thereby reducing the time for controlling the turn-on of the sense amplifier and further reducing the power consumption.
In one possible design, the inverter chain 2026 includes a first not gate 20261, a second not gate 20262, a third not gate 20263; the input end of the first not gate 20261 is electrically connected to the output end of the first and gate 2022; an input terminal of the second not gate 20262 is electrically connected to an output terminal of the first not gate 20261; an input end of the third not gate 20263 is electrically connected to an output end of the second not gate 20262; an output terminal of the third not gate 20263 is electrically connected to a second input terminal of the second and gate 2023. In this implementation, the specific composition of the inverter chain is defined, and the output signal of the first and gate is delayed, so that the controller circuit can output a high-level control signal for a short time.
A second aspect of the embodiments of the present application provides a self-terminating writing method, applied to a self-terminating writing circuit, including: the reference voltage or the reference current output by the reference circuit 203 and the voltage or the current output by the memory array circuit 204 are compared through the sense amplifier 201, and the comparison result is fed back to the control circuit 202; a termination signal is generated by the control circuit 202 according to the comparison result, and the termination signal is fed back to the memory array circuit 204, and the termination signal is used for controlling the memory array circuit 204 to stop writing the P state or the AP state. The self-termination writing method is characterized in that a termination writing control circuit formed by a sensitive amplifier and a control circuit is used for realizing self-termination of writing in a P state or an AP state, so that the overhead area of the circuit is saved, and the power consumption is reduced.
In one possible design, the step of generating a termination signal by the control circuit 202 according to the comparison result and feeding back the termination signal to the memory array circuit 204 includes: whether the input data signal and the comparison result are at the same level is judged through the exclusive-or gate 2021; when the input data signal and the comparison result are at the same level, an active termination signal is generated by the exclusive or gate 2021 and sent to the memory array circuit 204; when the input data signal and the comparison result are at different levels, an invalid termination signal is generated by the exclusive or gate 2021 and sent to the memory array circuit 204. The process of generating the termination signal and feeding the termination signal back to the memory array circuit is refined, and the implementation modes of the embodiment of the application are increased.
In one possible design, the step of generating a termination signal by the control circuit 202 according to the comparison result and feeding back the termination signal to the memory array circuit 204 includes: when the memory array circuit is in a write preparation stage, controlling a write enable signal to be adjusted from an invalid level to an effective level, and controlling a word line signal to be an invalid level; when the memory array circuit is in a write initial stage, adjusting a word line signal from an invalid level to an active level; when the storage array circuit finishes writing in the AP state, controlling the input data signal to be an effective level corresponding to the AP state; when the memory array circuit finishes writing the P state, the input data signal is controlled to be the effective level corresponding to the P state. The self-termination writing method is characterized in that a termination writing control circuit formed by a sensitive amplifier and a control circuit is used for realizing self-termination of writing in a P state or an AP state, so that the overhead area of the circuit is saved, and the power consumption is reduced.
In one possible design, when the memory array circuit is in the initial stage of writing, the write enable signal is controlled to be at an active level, and the word line signal is adjusted from an inactive level to an active level; when the storage array circuit finishes writing in the AP state, controlling a write enable signal to be an effective level, controlling a word line signal to be an effective level, and controlling an input data signal to be an effective level corresponding to the AP state; when the storage array circuit finishes writing in the P state, the write enable signal is controlled to be at an effective level, the word line signal is controlled to be at an effective level, and the input data signal is controlled to be at an effective level corresponding to the P state. The specific signal control method is refined, and the self-termination of the writing state process can be controlled by the self-termination writing circuit according to different signals.
In the technical solution provided in the embodiment of the present application, the self-termination write circuit includes: a sense amplifier 201 and a control circuit 202; the sense amplifier 201 is used for comparing the reference voltage or reference current output by the reference circuit 203 with the voltage or current output by the memory array circuit 204, and feeding back the comparison result to the control circuit 202; the control circuit 202 is configured to generate a termination signal according to the comparison result and feed back the termination signal to the memory array circuit 204, where the termination signal is used to control the memory array circuit 204 to stop writing the P state or the AP state. In the embodiment of the application, the self-termination of writing in the P state or the AP state is realized through the termination writing control circuit formed by the sensitive amplifier and the control circuit, so that the overhead area of the circuit is saved, and the power consumption is reduced.
Drawings
FIG. 1A is a diagram illustrating the structure of a memory module and the direction of current flow when writing a P or AP state;
FIG. 1B is a schematic diagram of the magnetization direction of a magnetic tunneling junction in the P state and the magnetization direction in the AP state;
FIG. 1C is a schematic diagram of a self-terminating write circuit according to a prior art;
FIG. 2 is a schematic diagram of a self-terminating write circuit according to the present application;
FIG. 3 is another schematic diagram of the self-termination write circuit of the present application;
FIG. 4 is another schematic diagram of the self-termination write circuit of the present application;
FIG. 5 is a schematic diagram of an embodiment of a self-terminating write method in the present application;
FIG. 6 is a waveform illustrating the writing of an AP state into a memory array circuit of the AP state according to the present application;
FIG. 7 is a waveform diagram illustrating the writing of an AP state into a P-state memory array circuit according to the present application.
Detailed Description
The embodiment of the application provides a self-termination write circuit and a self-termination write method, which are used for realizing self-termination of memory array circuits in different states through the same control circuit, reducing the overhead area of the circuit and reducing the power consumption.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments.
References throughout this specification to "first" or "second", etc., are intended to distinguish between similar items and not necessarily to describe a particular order or sequence. Furthermore, references throughout this specification to "comprising" or "having" and any variations thereof are intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that comprises a list of steps or circuitry is not necessarily limited to those steps or circuitry expressly listed, but may include other steps or circuitry not expressly listed or inherent to such process, method, article, or apparatus.
The present application is applied to Spin-transfer torque magnetic memory (STT-MRAM), and it can be understood that the present application can also be applied to other novel memories, for example, Resistive Random Access Memory (RRAM). For the RRAM device, the writing duration of the two states (AP state and P state) is different, and self termination can be realized by adopting the scheme of the application, so that the power consumption is saved and the average writing duration is reduced. The following specifically describes the embodiments of the present application.
Referring to fig. 2, an embodiment of a self-termination write circuit in an embodiment of the present application includes:
a sense amplifier 201 and a control circuit 202;
the sense amplifier 201 is used for comparing the reference voltage or reference current output by the reference circuit 203 with the voltage or current output by the memory array circuit 204, and feeding back the comparison result to the control circuit 202;
the control circuit 202 is configured to generate a termination signal write _ stop according to the comparison result and feed back the termination signal to the memory array circuit 204, where the termination signal is used to control the memory array circuit 204 to stop writing the P state or the AP state.
It is understood that the electrical connection may be a physical direct electrical connection, or may be an electrical connection realized by a Field Effect Transistor (FET) or other elements, and is not limited herein.
Except that the reference voltage of the reference circuit and the voltage of the storage array circuit can be compared, the resistance of the reference circuit and the resistance of the storage array circuit can be indirectly compared, the voltage of the reference voltage and the voltage of the storage array circuit can be converted into current according to actual conditions by a person skilled in the art, the resistance of the reference circuit and the resistance of the storage array circuit can be determined by comparing the current of the reference voltage and the current of the storage array circuit, and specific details are not repeated herein.
In the embodiment of the application, the reference voltage or reference current of the reference circuit and the voltage or current of the storage array circuit are compared through the sense amplifier, and the output end signal of the sense amplifier is sent to the control circuit according to the comparison result, so that the termination signal generated by the control circuit controls the storage array circuit to stop writing. The write-in termination control circuit formed by the sensitive amplifier and the control circuit realizes the self-termination of the write-in P state or AP state, saves the overhead area of the circuit and reduces the power consumption.
In one possible implementation, as shown in fig. 2 or fig. 3, the self-terminating write circuit further includes a reference circuit 203, wherein:
the resistance value of the reference circuit 203 is greater than a first threshold value and less than a second threshold value;
the resistance of the memory array circuit 204 in the P state is equal to the first threshold, and the resistance of the memory array circuit 204 in the AP state is equal to the second threshold.
It should be noted that the sense amplifier 201 and the reference circuit 203 may be specially designed and added to the circuit, or the original sense amplifier and reference circuit in the circuit may be modified to implement sharing, thereby saving circuit area. For example, a reference circuit may provide a reference voltage or a reference current for a plurality of sense amplifiers, or a reference circuit may be fixedly designed to provide a reference voltage or a reference current for a corresponding sense amplifier, which is not limited herein.
In the implementation mode, the resistance value of the reference circuit is limited, and the resistance value range of the reference circuit is defined, so that the reference voltage or reference current provided by the reference circuit for the sense amplifier is different from the voltage or current in the memory unit.
In one possible implementation, as shown in fig. 3, the reference circuit includes:
the first end of the first branch circuit is electrically connected with the first end of the second branch circuit, the second end of the first branch circuit is electrically connected with the second end of the second branch circuit and outputs reference voltage or reference current to the sense amplifier 201, the first end of the first branch circuit and the first end of the second branch circuit are electrically connected with a voltage source, the first branch circuit comprises N series-connected magnetic tunneling junctions, the second branch circuit comprises N series-connected magnetic tunneling junctions, and N is a positive integer greater than 1.
In the implementation mode, the specific composition of the reference circuit is refined, and the connection relation between the reference circuit and the sensitive amplifier is defined, so that the reference circuit provides reference voltage or reference current for the sensitive amplifier.
In a possible implementation manner, as shown in fig. 3, the first branch includes a first magnetic tunneling junction 2031 and a third magnetic tunneling junction 2033, and the second branch includes a second magnetic tunneling junction 2032 and a fourth magnetic tunneling junction 2034, wherein a free layer end of the first magnetic tunneling junction 2031 is electrically connected to a fixed layer end of the third magnetic tunneling junction 2033, a free layer end of the second magnetic tunneling junction 2032 is electrically connected to a fixed layer end of the fourth magnetic tunneling junction 2034, and a fixed layer end of the first magnetic tunneling junction 2031 and a fixed layer end of the second magnetic tunneling junction 2032 are electrically connected to the voltage source; the first magnetic tunneling junction 2031 is in the AP state, the second magnetic tunneling junction 2032 is in the P state, the third magnetic tunneling junction 2033 is in the P state, and the fourth magnetic tunneling junction 2034 is in the AP state.
It should be noted that the positions of the first magnetic tunneling junction 2031 and the third magnetic tunneling junction 2033 may be exchanged, and meanwhile, the positions of the second magnetic tunneling junction 2032 and the fourth magnetic tunneling junction 2034 may also be exchanged as long as it is ensured that the total resistance of the reference circuit is between the resistance of the P state and the resistance of the AP state, where the resistance of the P state and the resistance of the AP state are fixed values, and within the error range of the magnetic tunneling junction, the resistance of the P state and the resistance of the AP state may fluctuate by ± 5%.
In this implementation manner, a specific structure of the reference circuit is provided, and it is ensured that the resistance value of the reference circuit is greater than the resistance value of the P state and less than the resistance value of the AP state, so that the reference voltage or the reference current of the reference circuit is different from the voltage or the current of the memory array circuit, and the output end signal of the sense amplifier is inverted.
In one possible implementation, as shown in fig. 2 or fig. 3, the memory array circuit includes:
a first field effect transistor P1, a second field effect transistor P2, a third field effect transistor N1, a fourth field effect transistor N2, a fifth field effect transistor N3, and a plurality of memory blocks, each memory block comprising a magnetic tunneling junction and a field effect transistor, wherein:
the bit line terminal of each memory module is electrically connected with the source electrode of the first field effect transistor P1 and the drain electrode of the third field effect transistor N1, and the source line terminal of each memory module, the source electrode of the second field effect transistor P2 and the drain electrode of the fourth field effect transistor N2 are electrically connected;
the drain of the first field effect transistor P1 is electrically connected with the first end of the first transmission gate, the drain of the second field effect transistor P2 is electrically connected with the first end of the second transmission gate, the source of the third field effect transistor N1 and the source of the fourth field effect transistor N2 are electrically connected with the drain of the fifth field effect transistor N3, the gate of the fifth field effect transistor N3 and the drain of the fifth field effect transistor N3 are electrically connected with the sense amplifier 201, the source of the fifth field effect transistor N3 is grounded, the second end of the first transmission gate is electrically connected with a voltage source, and the second end of the second transmission gate is electrically connected with the voltage source.
It should be noted that the level of the input data signal input _ date causes different conduction conditions of the respective fets in the memory array, for example, when the input data signal is low, i.e., when 0 is written (writing to an AP state), the third fet N1 and the second fet P2 are turned on, the gate of the second fet P2 receives a write 0 signal, and the gate of the third fet N1 receives an inverted signal of the write 0 signal (write 1 signal); when the input data signal is high, i.e., write 1 (write P-state), the fourth field effect transistor N2 and the first field effect transistor P1 are turned on, the gate of the first field effect transistor P1 receives the write 1 signal, and the gate of the fourth field effect transistor N2 receives the inverse of the write 1 signal (write 0 signal).
In this implementation, a specific structure of the memory array circuit is provided to ensure that the memory array circuit can write different states into the memory module according to the input data signal.
In one possible implementation, as shown in fig. 3 or fig. 4, the sense amplifier includes:
a differential amplifier and a tri-state gate 2011, wherein:
the output terminal of the tri-state gate 2011 is inverted to be electrically connected to the output terminal of the differential amplifier, the input terminal of the tri-state gate 2011 receives an input data signal, and the control terminal of the tri-state gate 2011 is inverted to be electrically connected to the word line of the memory array circuit 204;
a first input terminal of the differential amplifier is electrically connected to the gate of the fifth field effect transistor N3 of the memory array circuit 204 to receive the voltage or current output by the memory array circuit 204, a second input terminal of the differential amplifier is electrically connected to the reference circuit 203 to receive the reference voltage or reference current, and an output terminal of the differential amplifier outputs the comparison result.
In the implementation mode, the electrical connection relation between the tri-state gate and the differential amplifier is refined, and the differential amplifier is controlled to compare the reference voltage or the reference current with the voltage or the current of the storage array by opening or closing the tri-state gate.
In one possible implementation, as shown in fig. 3 or fig. 4, the differential amplifier includes a sixth field effect transistor P3, a seventh field effect transistor P4, an eighth field effect transistor N4, a ninth field effect transistor N5, a tenth field effect transistor N6, an eleventh field effect transistor N7, and a twelfth field effect transistor N8, wherein:
the gate of the sixth field effect transistor P3 is electrically connected to the gate of the seventh field effect transistor P4, the source of the sixth field effect transistor P3, the gate of the sixth field effect transistor P3 is electrically connected to the drain of the eighth field effect transistor N4, the source of the seventh field effect transistor P4 is electrically connected to the drain of the ninth field effect transistor N5, the source of the eighth field effect transistor N4, the source of the ninth field effect transistor N5, the drain of the tenth field effect transistor N6, the gate of the tenth field effect transistor N6 is electrically connected to the gate of the eleventh field effect transistor N7, the source of the eleventh field effect transistor N7, the drain of the twelfth field effect transistor N8, the gate of the twelfth field effect transistor N8 is electrically connected to the gate of the ninth field effect transistor N5, the source of the tenth field effect transistor N6 is grounded, the source of the twelfth field effect transistor N8 is grounded, the drain electrode of the sixth field effect transistor P3 is electrically connected with a voltage source, and the drain electrode of the seventh field effect transistor P4 is electrically connected with the voltage source;
the output terminal of the tri-state gate 2011, the source of the seventh field effect transistor P4, and the drain of the ninth field effect transistor N5 are electrically connected to the output terminal of the sense amplifier 201, and the gate of the eighth field effect transistor N4 is electrically connected to the gate of the fifth field effect transistor N3 of the memory array circuit 204.
In the embodiment of the present application, the reference voltage or the reference current of the reference circuit and the voltage or the current of the memory array circuit are compared, that is, the resistance of the reference circuit and the resistance of the memory array circuit are indirectly compared.
It can be understood that the comparison between the resistance of the reference circuit and the resistance of the memory array circuit can be performed indirectly by comparing the current of the reference circuit and the current of the memory array, and details are not repeated here.
In this implementation manner, a specific structure of the sense amplifier is provided, so that the sense amplifier can compare the reference voltage or reference current of the reference circuit with the voltage or current of the memory array circuit, and generate a corresponding output end signal to the control circuit.
In one possible implementation, as shown in fig. 3, the control circuit includes:
an exclusive or gate 2021 and a first and gate 2022, wherein:
a first input terminal of the xor gate 2021 is electrically connected to the input data signal line, a second input terminal of the xor gate 2021 is electrically connected to the output terminal of the sense amplifier 201, a first input terminal of the xor gate 2021 receives the input data signal, a second input terminal of the xor gate 2021 receives the comparison result of the sense amplifier 201, an output terminal of the xor gate 2021 is electrically connected to a first input terminal of the first and gate 2022, a third terminal of the first transmission gate of the memory array circuit 204, and a third terminal of the second transmission gate of the memory array circuit 204, and the xor gate 2021 is configured to output a termination signal according to the input data signal and the comparison result;
a second input terminal of the first and gate 2022 is electrically connected to a word line, a third input terminal of the first and gate 2022 is electrically connected to a write enable signal line, an output terminal of the first and gate 2022 is electrically connected to a gate of the tenth fet N6 of the sense amplifier 201, and an output terminal signal of the first and gate 2022 is used to control the on or off of the sense amplifier 201;
the third terminal of the first transmission gate of the memory array circuit 204 receives a termination signal and the third terminal of the second transmission gate of the memory array circuit 204 receives a termination signal, wherein the first transmission gate and the second transmission gate of the memory array circuit (204) are simultaneously turned off when the termination signal is active and the first transmission gate and the second transmission gate of the memory array circuit (204) are simultaneously turned on when the termination signal is inactive.
It should be noted that, in this implementation, specific elements of the control circuit may be replaced, for example, the function of the first and gate may be implemented by other components, as long as the same function of the control circuit can be implemented under the same condition, and the implementation is similar to other implementations, and the specific implementation is not limited herein.
In this implementation, a structural composition of the control circuit is provided to ensure that the control circuit can generate the termination signal write _ stop according to the comparison result of the sense amplifier and control the on and off of the sense amplifier.
In one possible implementation, as shown in fig. 4, the control circuit further includes:
a second and gate 2023, a third and gate 2024, an or gate 2025, and an inverter chain 2026;
the inverter chain 2026 comprises an odd number of sequentially electrically connected not gates;
the output end of the first and gate 2022, the first input end of the second and gate 2023, and the input end of the inverter chain 2026 are electrically connected to the first input end of the third and gate 2024, the output end of the inverter chain 2026 is electrically connected to the second input end of the second and gate 2023, the output end of the second and gate 2023 is electrically connected to the first input end of the or gate 2025, the output end of the third and gate 2024 is electrically connected to the second input end of the or gate 2025, the second input end of the third and gate 2024 is electrically connected to an external delay circuit, the external delay circuit is configured to provide an external signal after a certain delay to control the signal at the output end of the third and gate 2024, and the signal at the output end of the or gate 2025 is used to control the on or off of the sense amplifier.
It should be noted that the second and gate 2023 and the inverter chain 2026 form a first branch, and the first branch is used for handling the same-state writing situation, for example, the memory array already stores a P-state, and the input data signal is a write 1 signal, that is, the P-state is written into the memory array again; the memory array already stores the AP state, and the input data signal is a write 0 signal, namely the AP state is written into the memory array again.
The third and gate 2024 alone forms a second branch, which is used for handling the abnormal state writing condition, for example, the storage array already stores the P state, and the input data signal is a write 0 signal, that is, the AP state is written into the storage array again; the memory array has stored the AP state and the input data signal is a write 1 signal, i.e., the P state is written into the memory array again.
In this implementation manner, another structural component of the control circuit is provided, so that the control circuit can generate the termination signal write _ stop according to the comparison result of the sense amplifier, and control the turn-on and turn-off of the sense amplifier, thereby reducing the time for controlling the turn-on of the sense amplifier, and further reducing the power consumption.
In one possible implementation, as shown in fig. 4, the inverter chain 2026 includes a first not gate 20261, a second not gate 20262, a third not gate 20263;
the input end of the first not gate 20261 is electrically connected to the output end of the first and gate 2022;
an input terminal of the second not gate 20262 is electrically connected to an output terminal of the first not gate 20261;
an input end of the third not gate 20263 is electrically connected to an output end of the second not gate 20262;
an output terminal of the third not gate 20263 is electrically connected to a second input terminal of the second and gate 2023.
In this implementation, the specific composition of the inverter chain is defined, and the output signal of the first and gate is delayed, so that the controller circuit can output a high-level control signal for a short time.
Referring to fig. 5, an embodiment of the present application provides a self-terminating writing method applied to a self-terminating writing circuit in the foregoing embodiments and various implementations, including:
501. the reference voltage or the reference current output by the reference circuit and the voltage or the current output by the memory array circuit are compared through the sensitive amplifier, and the comparison result is fed back to the control circuit.
The self-termination write circuit compares the reference voltage or reference current output by the reference circuit 203 with the voltage or current output by the memory array circuit 204 through the sense amplifier 201, and feeds back the comparison result to the control circuit 202.
502. When the memory array circuit is in a write preparation stage, the write enable signal is controlled to be adjusted from an invalid level to an active level, and the word line signal is controlled to be an invalid level.
Specifically, when the memory array circuit 204 is in the write preparation stage, the write enable signal is controlled to be adjusted from a low level to a high level, the word line signal is controlled to be a low level, so that the tri-state gate is turned on, the control signal is a low level, the low-level control signal controls the sense amplifier 201 to be turned off, the output end signal of the sense amplifier 201 keeps a level opposite to the input data signal, the termination signal is a high level, and at this time, the high-level termination signal is an invalid level.
When data (state) does not need to be written into the memory array circuit 204, the write enable signal is at a low level, the termination signal generated by the control circuit is at a low level, and the memory array circuit 204 cannot write data (state).
It will be appreciated that what level (high or low) the various signals are active may be set manually. For example, the write enable signal may be active when it is high or active when it is low (the circuit is adjusted accordingly); for example, when writing the AP state, the input data signal may be at a high level or a low level (the circuit needs to be adjusted accordingly, for example, one signal inverting module is added, specifically, the signal inverting module may be composed of an odd number of not gates).
503. When the memory array circuit is in the initial stage of writing, the write enable signal is controlled to be at the effective level, and the word line signal is adjusted from the ineffective level to the effective level.
Specifically, when the memory array circuit 204 is in the write phase, the write enable signal is kept at a high level, the word line signal is adjusted from a low level to a high level, so that the tri-state gate is closed, the control signal is changed from a low level to a high level (i.e., from an inactive level to an active level), the high-level control signal controls the sense amplifier 201 to be turned on, the output end signal of the sense amplifier 201 is kept at a level opposite to that of the input data signal, the termination signal is at a high level, and the high-level termination signal is at an inactive level.
504. When the memory array circuit finishes writing in the AP state, the write enable signal is controlled to be at an effective level, the word line signal is controlled to be at an effective level, and the input data signal is controlled to be at an effective level corresponding to the AP state.
Specifically, when the memory array circuit 204 completes writing into the AP state, the write enable signal is kept at a high level, the word line signal is kept at a high level, the input data signal is controlled to be at a low level (corresponding to an active level of the AP state), so that the tri-state gate is closed, the output end signal of the sense amplifier 201 is inverted to the same level as the input data signal depending on the comparison result of the sense amplifier 201 on the voltage or current of the reference circuit 203 and the memory array circuit 204, the control signal is changed from a high level to a low level (i.e., from an active level to an inactive level), the control signal at a low level controls the sense amplifier 201 to be turned off, the termination signal is changed from a high level to a low level (i.e., from an inactive level to an active level), and the memory array circuit 204 terminates writing. For the same-state written AP state (i.e., the memory array circuit 204 itself is in the AP state, and needs to be written in the AP state), waveforms of the signals are as shown in fig. 6; for the AP state written in the abnormal state (i.e., the memory array circuit 204 itself is in the P state, and the AP state needs to be written), the waveforms of the signals are as shown in FIG. 7.
It should be noted that when the self-termination write circuit shown in fig. 4 is applied, if the memory array circuit is in the AP state, the output signal out of the sense amplifier 201 can be inverted to "0" (i.e., low level) soon after the start of writing, so that the termination signal write _ stop is 0, thereby realizing self-termination and avoiding unnecessary repeated writing. If the memory array circuit 204 is originally in the P state, after the start of writing, the output signal out of the sense amplifier 201 needs to wait until the state of the memory array circuit 204 is written to the AP state to become "0", and the write self-termination is realized while ensuring correct writing of the state.
505. When the storage array circuit finishes writing in the P state, the write enable signal is controlled to be at an effective level, the word line signal is controlled to be at an effective level, and the input data signal is controlled to be at an effective level corresponding to the P state.
Specifically, when the memory array circuit 204 completes writing the P-state, the write enable signal is kept at a high level, the word line signal is kept at a high level, the input data signal is controlled to be at a high level (corresponding to an active level of the P-state), so that the tri-state gate is closed, the output end signal of the sense amplifier 201 is inverted to the same level as the input data signal depending on the comparison result of the sense amplifier 201 on the voltage or current of the reference circuit 203 and the memory array circuit 204, the control signal is changed from a high level to a low level (i.e., from an active level to an inactive level), the control signal at a low level controls the sense amplifier 201 to be turned off, the termination signal is changed from a high level to a low level (i.e., from an inactive level to an active level), and the memory array circuit 204 terminates.
It should be noted that when the self-termination write circuit shown in fig. 4 is applied, if the memory array circuit 204 is in the P state, the output signal out of the sense amplifier can be inverted to "1" (i.e., high level) soon after the start of writing, so that the termination signal write _ stop is 0, thereby realizing self-termination and avoiding unnecessary repeated writing. If the memory array circuit 204 is originally in the AP state, after the start of writing, the output signal out of the sense amplifier needs to wait until the state of the memory array circuit 204 is written to the P state to become "1", and self-termination is realized while ensuring correct writing of the state.
For the case of an exclusive-state write, for the first branch of the control circuit 202 in fig. 4, the active signal output by the second and gate 2023 is turned off after a certain time delay through the inverter chain 2026 in the first branch. The delay signal of the external delay circuit is received through the second input terminal of the third and gate 2024 in the second branch, so that the output signal of the third and gate 2024 is valid after a certain delay.
It is understood that step 504 and step 505 are parallel steps, and one of the steps is executed at the same time, which is not described herein again.
In the embodiment of the application, the self-termination of the storage array circuit after the state writing is finished is realized by controlling the high and low levels of each signal, so that the overhead area of the self-termination writing circuit is saved, and the power consumption is reduced.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the circuits is merely a logical division, and other divisions may be realized in practice, for example, a plurality of circuits or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or circuits, and may be in an electrical, mechanical or other form.
The circuits described as separate parts may or may not be physically separate, and parts shown as circuits may or may not be physical circuits, may be located in one place, or may be distributed on a plurality of network circuits. Part or all of the circuits can be selected according to actual needs to achieve the purpose of the scheme of the embodiment.
In addition, functional circuits in the embodiments of the present application may be integrated into one processing circuit, or each circuit may exist alone physically, or two or more circuits may be integrated into one circuit. The integrated circuit can be realized in a hardware form, and can also be realized in a software functional circuit form.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (12)

  1. A self-terminating write circuit, comprising:
    a sense amplifier (201) and a control circuit (202);
    the sense amplifier (201) is used for comparing the reference voltage or reference current output by the reference circuit (203) with the voltage or current output by the memory array circuit (204) and feeding back the comparison result to the control circuit (202);
    the control circuit (202) is used for generating a termination signal according to the comparison result and feeding back the termination signal to the storage array circuit (204), and the termination signal is used for controlling the storage array circuit (204) to stop writing the P state or the AP state.
  2. The self-terminating write circuit of claim 1, further comprising the reference circuit (203), wherein:
    the resistance value of the reference circuit (203) is greater than a first threshold value and less than a second threshold value:
    the resistance value of the memory array circuit (204) in the P state is equal to the first threshold value, and the resistance value of the memory array circuit (204) in the AP state is equal to the second threshold value.
  3. The self-terminating write circuit of claim 1 or 2, wherein the reference circuit comprises:
    the first end of the first branch circuit is electrically connected with the first end of the second branch circuit, the second end of the first branch circuit is electrically connected with the second end of the second branch circuit and outputs the reference voltage or the reference current to the sense amplifier (201), the first end of the first branch circuit is electrically connected with the voltage source, the first branch circuit comprises N series magnetic tunnel junctions, the second branch circuit comprises N series magnetic tunnel junctions, and N is a positive integer greater than 1.
  4. The self-terminating write circuit of claim 3,
    the first branch circuit comprises a first magnetic tunneling junction (2031) and a third magnetic tunneling junction (2033), the second branch circuit comprises a second magnetic tunneling junction (2032) and a fourth magnetic tunneling junction (2034), wherein a free layer end of the first magnetic tunneling junction (2031) is electrically connected with a fixed layer end of the third magnetic tunneling junction (2033), a free layer end of the second magnetic tunneling junction (2032) is electrically connected with a fixed layer end of the fourth magnetic tunneling junction (2034), and the fixed layer end of the first magnetic tunneling junction (2031) and the fixed layer end of the second magnetic tunneling junction (2032) are electrically connected with a voltage source;
    the first magnetic tunneling junction (2031) is in the AP state, the second magnetic tunneling junction (2032) is in the P state, the third magnetic tunneling junction (2033) is in the P state, and the fourth magnetic tunneling junction (2034) is in the AP state.
  5. The self-terminating write circuit of claim 1 or 2, wherein the storage array circuit comprises:
    a first field effect transistor (P1), a second field effect transistor (P2), a third field effect transistor (N1), a fourth field effect transistor (N2), a fifth field effect transistor (N3), and a plurality of memory modules, wherein:
    each memory module comprises a magnetic tunneling junction and a field effect transistor;
    the bit line end of each memory module is electrically connected with the source electrode of the first field effect transistor (P1), the drain electrode of the third field effect transistor (N1), and the source line end of each memory module, the source electrode of the second field effect transistor (P2) and the drain electrode of the fourth field effect transistor (N2) are electrically connected;
    the drain electrode of the first field effect transistor (P1) is electrically connected with the first end of the first transmission gate, the drain electrode of the second field effect transistor (P2) is electrically connected with the first end of the second transmission gate, the source electrode of the third field effect transistor (N1), the source electrode of the fourth field effect transistor (N2) are electrically connected with the drain electrode of the fifth field effect transistor (N3), the grid electrode of the fifth field effect transistor (N3), the drain electrode of the fifth field effect transistor (N3) are electrically connected with the sensitive amplifier (201), the source electrode of the fifth field effect transistor (N3) is grounded, the second end of the first transmission gate is electrically connected with a voltage source, and the second end of the second transmission gate is electrically connected with the voltage source.
  6. The self-terminating write circuit of any of claims 1-5, wherein the sense amplifier comprises:
    a differential amplifier and a tri-state gate (2011), wherein:
    the output end of the tri-state gate (2011) is electrically connected with the output end of the differential amplifier through inversion, the input end of the tri-state gate (2011) receives an input data signal, and the word line of the memory array circuit (204) is electrically connected with the control end of the tri-state gate (2011) through inversion;
    a first input of the differential amplifier is electrically connected to a gate of a fifth field effect transistor (N3) of the memory array circuit (204) to receive the voltage or the current output by the memory array circuit (204), a second input of the differential amplifier is electrically connected to the reference circuit (203) to receive the reference voltage or the reference current, and an output of the differential amplifier outputs the comparison result.
  7. The self-terminating write circuit of claim 6,
    the differential amplifier includes a sixth field effect transistor (P3), a seventh field effect transistor (P4), an eighth field effect transistor (N4), a ninth field effect transistor (N5), a tenth field effect transistor (N6), an eleventh field effect transistor (N7), and a twelfth field effect transistor (N8), wherein:
    a gate of the sixth field effect transistor (P3) is electrically connected to a gate of a seventh field effect transistor (P4), a source of the sixth field effect transistor (P3), a gate of the sixth field effect transistor (P3) is electrically connected to a drain of the eighth field effect transistor (N4), a source of the seventh field effect transistor (P4) is electrically connected to a drain of the ninth field effect transistor (N5), a source of the eighth field effect transistor (N4), a source of the ninth field effect transistor (N5), a drain of the tenth field effect transistor (N6), a gate of the tenth field effect transistor (N6) is electrically connected to a gate of the eleventh field effect transistor (N7), a source of the eleventh field effect transistor (N7), a drain of the twelfth field effect transistor (N8), a gate of the twelfth field effect transistor (N8) is electrically connected to a gate of the ninth field effect transistor (N5), the source of the tenth field effect transistor (N6) is grounded, the source of the twelfth field effect transistor (N8) is grounded, the drain of the sixth field effect transistor (P3) is electrically connected with a voltage source, and the drain of the seventh field effect transistor (P4) is electrically connected with the voltage source;
    the output end of the tri-state gate (2011), the source electrode of the seventh field effect transistor (P4), the drain electrode of the ninth field effect transistor (N5) are electrically connected with the output end of the sensitive amplifier (201), and the grid electrode of the eighth field effect transistor (N4) is electrically connected with the grid electrode of the fifth field effect transistor (N3) of the storage array circuit (204).
  8. The self-terminating write circuit of any one of claims 1-7, wherein the control circuit comprises:
    an exclusive or gate (2021) and a first and gate (2022), wherein:
    a first input terminal of the exclusive-or gate (2021) is electrically connected to an input data signal line, a second input terminal of the exclusive-or gate (2021) is electrically connected to an output terminal of the sense amplifier (201), a first input terminal of the exclusive-or gate (2021) receives an input data signal, a second input terminal of the exclusive-or gate (2021) receives a comparison result of the sense amplifier (201), an output terminal of the exclusive-or gate (2021) is electrically connected to a first input terminal of the first and gate (2022), a third terminal of a first transmission gate of the memory array circuit (204), and a third terminal of a second transmission gate of the memory array circuit (204), and the exclusive-or gate (2021) is configured to output the termination signal according to the input data signal and the comparison result;
    the second input end of the first AND gate (2022) is electrically connected with the word line, the third input end of the first AND gate (2022) is electrically connected with a write enable signal line, the output end of the first AND gate (2022) is electrically connected with the gate of a tenth field effect transistor (N6) of the sense amplifier (201), and the output end signal of the first AND gate (2022) is used for controlling the on or off of the sense amplifier (201);
    the third terminal of the first transmission gate of the memory array circuit (204) receives the termination signal, and the third terminal of the second transmission gate of the memory array circuit (204) receives the termination signal, wherein the first transmission gate and the second transmission gate of the memory array circuit (204) are simultaneously closed when the termination signal is active, and the first transmission gate and the second transmission gate of the memory array circuit (204) are simultaneously open when the termination signal is inactive.
  9. The self-terminating write circuit of claim 7, wherein the control circuit further comprises:
    a second and gate (2023), a third and gate (2024), an or gate (2025) and an inverter chain (2026);
    the inverter chain (2026) comprises an odd number of sequentially electrically connected not gates;
    the output end of the first AND gate (2022), the first input end of the second AND gate (2023) and the input end of the inverter chain (2026) are electrically connected with the first input end of the third AND gate (2024), the output end of the inverter chain (2026) is electrically connected with the second input end of the second AND gate (2023), the output end of the second AND gate (2023) is electrically connected with the first input end of the OR gate (2025), the output end of the third AND gate (2024) is electrically connected with the second input end of the OR gate (2025), the second input end of the third and-gate (2024) is electrically connected to an external delay circuit, the external delay circuit is configured to provide an external signal after a certain delay to control the signal at the output end of the third and-gate (2024), the output end signal of the OR gate (2025) is used for controlling the on or off of the sensitive amplifier (201).
  10. The self-terminating write circuit of claim 9,
    the inverter chain (2026) includes a first not gate (20261), a second not gate (20262), a third not gate (20263);
    the input end of the first NOT gate (20261) is electrically connected with the output end of the first AND gate (2022);
    an input terminal of the second not gate (20262) is electrically connected with an output terminal of the first not gate (20261);
    an input terminal of the third not gate (20263) is electrically connected with an output terminal of the second not gate (20262);
    the output end of the third NOT gate (20263) is electrically connected with the second input end of the second AND gate (2023).
  11. A self-terminating write method applied to a self-terminating write circuit, comprising:
    comparing the reference voltage or reference current output by a reference circuit (203) with the voltage or current output by a storage array circuit (204) through a sensitive amplifier (201), and feeding back the comparison result to the control circuit (202);
    generating a termination signal according to the comparison result through the control circuit (202), and feeding back the termination signal to the memory array circuit (204), wherein the termination signal is used for controlling the memory array circuit (204) to stop writing the P state or the AP state.
  12. The self-terminating write method of claim 11, wherein the step of generating a termination signal by the control circuit (202) according to the comparison result and feeding back the termination signal to the memory array circuit (204) comprises:
    judging whether the input data signal and the comparison result are the same level through an exclusive-or gate (2021);
    generating an active termination signal by the exclusive or gate (2021) and sending the active termination signal to the memory array circuit (204) when the input data signal and the comparison result are at the same level;
    when the input data signal and the comparison result are at different levels, an invalid termination signal is generated by the exclusive-or gate (2021) and sent to the memory array circuit (204).
CN201880091692.1A 2018-07-02 2018-07-02 Self-termination write circuit and method Active CN111902872B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211100672.0A CN115497531A (en) 2018-07-02 2018-07-02 Self-termination write circuit and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/094070 WO2020006662A1 (en) 2018-07-02 2018-07-02 Self-terminating write circuit and method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202211100672.0A Division CN115497531A (en) 2018-07-02 2018-07-02 Self-termination write circuit and method

Publications (2)

Publication Number Publication Date
CN111902872A true CN111902872A (en) 2020-11-06
CN111902872B CN111902872B (en) 2022-09-16

Family

ID=69060011

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201880091692.1A Active CN111902872B (en) 2018-07-02 2018-07-02 Self-termination write circuit and method
CN202211100672.0A Pending CN115497531A (en) 2018-07-02 2018-07-02 Self-termination write circuit and method

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202211100672.0A Pending CN115497531A (en) 2018-07-02 2018-07-02 Self-termination write circuit and method

Country Status (2)

Country Link
CN (2) CN111902872B (en)
WO (1) WO2020006662A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114826163B (en) * 2022-05-16 2024-03-01 合肥工业大学 Low-power-consumption high-performance trigger based on sense amplifier and working method thereof
CN115831190B (en) * 2023-02-16 2023-05-09 华中科技大学 Self-write-stop operation circuit and self-write-stop operation method of memristor

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060227598A1 (en) * 2003-04-21 2006-10-12 Nec Corporation Magnetic random access memory using improved data read out method
US20130028010A1 (en) * 2011-07-29 2013-01-31 Qualcomm Incorporated Fast MTJ Switching Write Circuit For MRAM Array
US20140112066A1 (en) * 2012-10-18 2014-04-24 Agency For Science, Technology And Research Circuit Arrangement and Method of Forming the Same
CN103854693A (en) * 2012-11-29 2014-06-11 台湾积体电路制造股份有限公司 Magnetoresistive random access memory (mram) differential bit cell and method of use
CN104299645A (en) * 2014-10-22 2015-01-21 中国科学院微电子研究所 Write operation circuit of resistive random access memory
CN105023603A (en) * 2015-08-24 2015-11-04 西安电子科技大学宁波信息技术研究院 Spin MRAM (magnetic random access memory) self-enabling circuit with delay reading technology
CN106158000A (en) * 2015-04-07 2016-11-23 华为技术有限公司 Spin transfer torque magnetic memory cell and memorizer
CN110047523A (en) * 2018-01-15 2019-07-23 塔普思科技股份有限公司 The certainly pressure drop of resistive memories unit self stops wiring method and its circuit

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7936625B2 (en) * 2009-03-24 2011-05-03 Seagate Technology Llc Pipeline sensing using voltage storage elements to read non-volatile memory cells
CN102169720B (en) * 2010-02-25 2014-04-02 复旦大学 Resistor random access memory for eliminating over-write and error-write phenomena
CN102169722B (en) * 2010-02-25 2014-01-08 复旦大学 Resistor random access memory for reducing initializing or setting operation power consumption and operating method thereof
KR102020975B1 (en) * 2013-07-30 2019-10-18 삼성전자주식회사 Current sense amplifying circuit in semiconductor memory device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060227598A1 (en) * 2003-04-21 2006-10-12 Nec Corporation Magnetic random access memory using improved data read out method
US20130028010A1 (en) * 2011-07-29 2013-01-31 Qualcomm Incorporated Fast MTJ Switching Write Circuit For MRAM Array
US20140112066A1 (en) * 2012-10-18 2014-04-24 Agency For Science, Technology And Research Circuit Arrangement and Method of Forming the Same
CN103854693A (en) * 2012-11-29 2014-06-11 台湾积体电路制造股份有限公司 Magnetoresistive random access memory (mram) differential bit cell and method of use
CN104299645A (en) * 2014-10-22 2015-01-21 中国科学院微电子研究所 Write operation circuit of resistive random access memory
CN106158000A (en) * 2015-04-07 2016-11-23 华为技术有限公司 Spin transfer torque magnetic memory cell and memorizer
CN105023603A (en) * 2015-08-24 2015-11-04 西安电子科技大学宁波信息技术研究院 Spin MRAM (magnetic random access memory) self-enabling circuit with delay reading technology
CN110047523A (en) * 2018-01-15 2019-07-23 塔普思科技股份有限公司 The certainly pressure drop of resistive memories unit self stops wiring method and its circuit

Also Published As

Publication number Publication date
WO2020006662A1 (en) 2020-01-09
CN111902872B (en) 2022-09-16
CN115497531A (en) 2022-12-20

Similar Documents

Publication Publication Date Title
US10438640B2 (en) Apparatus for low power write and read operations for resistive memory
US8026745B2 (en) Input/output driver with controlled transistor voltages
US8111494B2 (en) Memristor-protection integrated circuit and method for protection of a memristor during switching
US20160172036A1 (en) Memory cell with retention using resistive memory
EP3149742A1 (en) Apparatuses and methods for detecting write completion for resistive memory
US9330747B2 (en) Non-volatile latch using spin-transfer torque memory device
US9712171B2 (en) Clocked all-spin logic circuit
US9997227B2 (en) Non-volatile ferroelectric logic with granular power-gating
CN111902872B (en) Self-termination write circuit and method
US20100264975A1 (en) Level Shifter with Rise/Fall Delay Matching
US7230866B2 (en) Integrated circuit devices having precharge and equalization circuits therein and methods of operating same
US20040032776A1 (en) Semiconductor memory device comprising circuit for precharging data line
US5715198A (en) Output latching circuit for static memory devices
US20140078806A1 (en) Channel hot carrier tolerant tracking circuit for signal development on a memory sram
US10236883B1 (en) All-digital low voltage swing circuit for intra-chip interconnection
US11676652B2 (en) Wordline boost driver
US9269409B2 (en) Bit cell write-assistance
US9378808B2 (en) Pulse width modulation device
US9268690B2 (en) Circuits and methods for providing data to and from arrays of memory cells
US10803949B2 (en) Master slave level shift latch for word line decoder memory architecture
US20160358643A1 (en) Read and write apparatus and method for a dual port memory
US8203360B2 (en) Semiconductor integrated circuit
US7362621B2 (en) Register file with a selectable keeper circuit
US20180342289A1 (en) Aging aware dynamic keeper apparatus and associated method
KR20200010980A (en) Semiconductor memory device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant