A reading circuit and a non-volatile memory
By using pre-charging modules and current mirror feedback modules in nonvolatile memory to form the initial voltage difference and amplify the feedback current difference, the problems of high complexity and high power consumption of traditional reading circuits are solved, and high margin and high efficiency are achieved. Data reading.
Patent Information
- Application Number
- CN202411178763.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-27
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-08-27
AI Technical Summary
Traditional memory reading circuits cannot be applied to nonvolatile memory, and because the nonvolatile memory device switches are small, the reading margin and sensitivity of the reading circuit are high, and the common reading circuits have high complexity and high power consumption.
It provides a reading circuit, including a precharge module and a current mirror feedback module, which enhances the read margin of the reading circuit by forming an initial voltage difference and amplifying the feedback current difference, and is suitable for data reading scenarios where the device switch is relatively low. And the structure is simple.
The read margin and speed of the reading circuit are improved, and are suitable for data reading in nonvolatile memory. The circuit structure is simple and the area efficiency is high.
Smart Images

Figure CN118711627B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of storage technology, and in particular to a reading circuit and a non-volatile memory. Background Art
[0002] Due to the difference between non-volatile memory and traditional memory, traditional memory reading circuits are not suitable for the reading requirements of non-volatile memory; in addition, since non-volatile memory devices usually have the problem of relatively small switches, higher requirements are also placed on the reading margin and sensitivity of the reading circuit.
[0003] At present, the reading circuits of common non-volatile memories mostly use a back-to-back inverter cross-latch structure, which may cause reading errors when the difference between the high and low resistance states of the memory device is small and the circuit is mismatched. Based on this, some reading circuits will form a clamping current through an operational amplifier feedback circuit, and the current is applied to the memory to form a voltage and compare it with the reference voltage to read data. This reading method requires the use of an operational amplifier, has high circuit complexity, and consumes a lot of power. Summary of the invention
[0004] The present application provides a reading circuit and a non-volatile memory, which are used to provide a technical solution with a high reading margin and a simple circuit structure.
[0005] In a first aspect, the present application provides a reading circuit for use in a non-volatile memory, comprising: a pre-charging module, a current mirror feedback module, and a first output node and a second output node.
[0006] The pre-charging module has a first end connected to a power supply voltage end, a second end connected to a data storage unit of the non-volatile memory via the first output node, and a second end connected to a reference storage unit of the non-volatile memory via the second output node, and is used to pre-charge the circuit so as to form an initial voltage difference between the first output node and the second output node.
[0007] The current mirror feedback module has a first input end connected to the power supply voltage end, a second input end connected to the first output node and the second output node, and an output end connected to the first output node and the second output node, and is used to form a feedback current difference based on at least the initial voltage difference, and amplify the feedback current difference and then feed it back to the first output node and the second output node.
[0008] The first output node and the second output node are used to read a voltage result.
[0009] In an optional implementation, it further includes a discharge latch module;
[0010] The discharge latch module has a first end and a second end cross-connected to the first output node and the second output node, and a third end used to connect the data storage unit and the reference storage unit, and is used to latch the voltage of the high voltage node between the first output node and the second output node, and release the voltage in the low voltage node.
[0011] In an optional implementation, the discharge latch module includes at least two discharge latch switch tubes.
[0012] The first end and the control end of the at least two discharge latch switch tubes are cross-connected to the first output node and the second output node, and the second end is used to connect the data storage unit and the reference storage unit respectively, and is used to latch the voltage of the high voltage node in the first output node and the second output node, and release the voltage in the low voltage node.
[0013] In an optional embodiment, the at least two discharge latch switch tubes are two discharge latch switch tubes; the second end of one of the discharge latch switch tubes is used to connect the bit line connection end of the data storage unit, and the source line connection end of the data storage unit is grounded.
[0014] The second end of the other discharge latch switch tube is used to connect the bit line connection end of the reference memory cell, and the source line connection end of the reference memory cell is grounded.
[0015] In an optional embodiment, the pre-charging module includes a plurality of pre-charging switch tubes, which are used to be turned on under the control of a first control signal, so that the first output node has a first initial voltage and the second output node has a second initial voltage; wherein the first initial voltage and the second initial voltage are used to form the initial voltage difference.
[0016] In an optional implementation, the current mirror feedback module includes a feedback current unit and a current mirror unit.
[0017] The first input end of the feedback current unit is used to connect to the power supply voltage, the second input end is connected to the first output node and the second output node, the third input end is used to receive a second control signal, and the output end is connected to the current mirror unit, and is used to form a feedback current difference according to the voltage difference between the first output node and the second output node, and output it to the current mirror unit.
[0018] The current mirror unit is used for amplifying the feedback current difference and feeding it back to the first output node and the second output node through the output terminal, so as to form an operating voltage difference between the first output node and the second output node.
[0019] The voltage difference between the first output node and the second output node includes the initial voltage difference and the operating voltage difference fed back by the current mirror unit.
[0020] In an optional implementation, the feedback current unit includes a first subunit, a second subunit and a third subunit.
[0021] The first end of the first subunit is used to connect to the power supply voltage, the second end is connected to the first output node and the second output node, and the third end is connected to the first end of the second subunit and the first end of the third subunit, and is used to form a current difference under the action of the voltage difference between the first output node and the second output node, and output the current difference to the second subunit.
[0022] The second end of the second subunit is grounded, and the third end is used to receive a third control signal, and is used to form an equivalent current under the action of the third control signal.
[0023] The second end of the third subunit is connected to the current mirror unit, and the third end is used to receive a second control signal, and is used to form the feedback current difference according to the current difference and the equivalent current under the action of the second control signal, and output the feedback current difference to the current mirror unit.
[0024] In an optional embodiment, the first subunit includes a plurality of current difference switching tubes for forming a first current and a second current of different magnitudes under the action of a voltage difference between the first output node and the second output node, wherein the first current and the second current form the current difference.
[0025] And / or, the second subunit includes a plurality of equivalent current switch tubes, which are used to form a third current and a fourth current of the same magnitude under the control of the third control signal, and the third current and the fourth current form the equivalent current.
[0026] And / or, the third subunit includes a plurality of feedback current switching tubes, which are used to form a fifth current and a sixth current of different sizes according to the equivalent current and the current difference under the action of the second control signal, and the fifth current and the sixth current form the feedback current difference and are output to the current mirror unit.
[0027] In an optional implementation, the current mirror unit includes a first current pair subunit and a second current pair subunit.
[0028] The first end of the first current pair subunit is used to connect to the power supply voltage end, the second end is connected to the output end of the feedback current unit, and the third end is connected to the second output node.
[0029] The first end of the second current pair subunit is used to connect to the power supply voltage end, the second end is connected to the output end of the feedback current unit, and the third end is connected to the first output node.
[0030] The first current pair subunit and the second current pair subunit are used to amplify the feedback current difference and then feed it back to the second output node and the first output node.
[0031] In a second aspect, the present application provides a non-volatile memory, comprising a data storage unit, a reference storage unit, and the reading circuit described in the first aspect.
[0032] The reading circuit is connected to the data storage unit and the reference storage unit, and is used for reading the data stored in the data storage unit.
[0033] The technical solution provided by the present application uses a pre-charging module to form an initial voltage difference between the first output node and the second output node, and a current mirror feedback module forms a feedback current difference based on at least the initial voltage difference, and amplifies the feedback current difference and then feeds it back to the first output node and the second output node. Based on this, the present application uses a current mirror feedback module to amplify the feedback current difference, which can better resist circuit process imbalance, enhance the readout margin of the reading circuit, and is suitable for data reading scenarios with relatively low device switching.
[0034] Furthermore, the reading circuit of the present application only includes a pre-charging module, a current mirror feedback module, and a discharge latch module, so as to realize data reading of the non-volatile memory. Therefore, the reading circuit has a simple structure and high area efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0036] Figure 1 A schematic diagram of the structure of a reading circuit provided in an embodiment of the present application;
[0037] Figure 2 A schematic diagram of the structure of another reading circuit provided in an embodiment of the present application;
[0038] Figure 3 A circuit diagram of a reading circuit provided in an embodiment of the present application;
[0039] Figure 4 A transmission delay simulation diagram of a read circuit provided in an embodiment of the present application.
[0040] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0041] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0042] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those generally understood by those skilled in the art to which the present application belongs. The terms used herein in the specification of the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application. It is understood that the terms "first", "second", etc. used in the present application can be used to describe various information or data in this article, but these elements are not limited by these terms. These terms are only used to distinguish the first information from another information. For example, without departing from the scope of the present application, the first action information can be referred to as the second action information, and similarly, the second action information can be referred to as the first action information. Both the first action information and the second action information are action information, but they are not the same action information.
[0043] Due to the difference between non-volatile memory and traditional memory, traditional memory reading circuits are not suitable for the reading requirements of non-volatile memory; in addition, since non-volatile memory devices usually have the problem of relatively small switches, higher requirements are placed on the reading margin and sensitivity of the reading circuit.
[0044] At present, the reading circuits of common non-volatile memories mostly use a back-to-back inverter cross-latch structure, which may cause reading errors when the difference between the high and low resistance states of the memory device is small and the circuit is mismatched. Based on this, some reading circuits will form a clamping current through an operational amplifier feedback circuit, and the current is applied to the memory to form a voltage and compare it with the reference voltage to read data. This reading method requires the use of an operational amplifier, has high circuit complexity, and consumes a lot of power.
[0045] In view of the above problems, the present application provides a read circuit for use in a non-volatile memory. The read circuit utilizes the advantage of enhanced read margin of current mirror feedback and is suitable for data reading scenarios with relatively low device switching ratios.
[0046] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0047] Reference Figure 1 The present application provides a reading circuit for use in a non-volatile memory, comprising: a pre-charging module 10, a current mirror feedback module 20, and a first output node OUT+ and a second output node OUT-.
[0048] The above-mentioned pre-charging module 10 has a first end for connecting to a power supply voltage end, a second end for connecting to a data storage unit of the non-volatile memory through the first output node OUT+, and a second end for connecting to a reference storage unit of the non-volatile memory through the second output node OUT-, so as to pre-charge the circuit and form an initial voltage difference between the first output node OUT+ and the second output node OUT-.
[0049] The data storage unit is used to store data, and the reference storage unit is used to provide a reference resistance value in the reading operation so as to more accurately determine the resistance state of the data storage unit. Usually, the reference storage unit has a certain resistance value, which is between the high resistance and the low resistance of the data storage unit. When reading the data stored in the data storage unit, the resistance value of the data storage unit is compared with the resistance value of the reference storage unit. If the resistance value of the data storage unit is lower than the resistance value of the reference storage unit, it means that the stored data bit is "0"; if the resistance value of the data storage unit is higher than the resistance value of the reference storage unit, it means that the data bit is "1".
[0050] It should be understood that due to the different resistance values of the data storage unit and the reference storage unit, the first end of the pre-charging module 10 is connected to the power supply voltage end, the second end is connected to the data storage unit of the non-volatile memory through the first output node OUT+, and is connected to the reference storage unit of the non-volatile memory through the second output node OUT-. When the pre-charging module 10 is turned on by controlling the control signal, the pre-charging module 10 will pre-charge the circuit. At this time, the first output node OUT+ and the second output node OUT- will form an initial voltage difference.
[0051] Reference Figure 1The current mirror feedback module 20 has a first input terminal connected to the power supply voltage terminal, a second input terminal connected to the first output node OUT+ and the second output node OUT-, and an output terminal connected to the first output node OUT+ and the second output node OUT-, and is used to form a feedback current difference at least according to the initial voltage difference, and amplify the feedback current difference and then feed it back to the first output node OUT+ and the second output node OUT-.
[0052] That is to say, the current mirror feedback module 20 can form a feedback current difference based on the voltage difference formed between the first output node OUT+ and the second output node OUT-, and after amplifying the feedback current difference using the current mirror structure, feed it back to the first output node OUT+ and the second output node OUT-, so as to increase the voltage difference between the first output node OUT+ and the second output node OUT-, thereby enhancing the read margin of the read circuit, so that the read circuit can be suitable for data reading scenarios with relatively low device switching.
[0053] It is worth noting that during the continuous operation of the circuit, the voltage difference between the first output node OUT+ and the second output node OUT- will continue to increase according to the feedback of the current mirror structure, which can not only further improve the readout margin of the read circuit, but also improve the read speed of the read circuit.
[0054] The first output node OUT+ and the second output node OUT− are used to read a voltage result.
[0055] Based on the above description, the difference between the first output node OUT+ and the second output node OUT- has a large difference. Therefore, the read voltage result formed on the first output node OUT+ and the second output node OUT- can more accurately read the storage data of the data storage unit in the non-volatile memory.
[0056] Finally, it should be understood that since the reading circuit provided in the embodiment of the present application only includes a pre-charging module 10, a current mirror feedback module 20, and a discharge latch module 30, data reading of the non-volatile memory can be achieved. Therefore, the reading circuit has a simple structure and high area efficiency.
[0057] Optional, see Figure 2 The reading circuit further includes a discharge latch module 30. The discharge latch module 30 has a first end and a second end cross-connected to the first output node OUT+ and the second output node OUT-, and a third end used to connect the data storage unit and the reference storage unit, and is used to latch the voltage of the high voltage node of the first output node OUT+ and the second output node OUT-, and release the voltage of the low voltage node.
[0058] In the embodiment of the present application, based on the connection method of the discharge latch module 30, the output node with a lower voltage in the first output node OUT+ and the second output node OUT- can be used to suppress the discharge of the output node with a higher voltage, and the output node with a higher voltage promotes the discharge of the output node with a lower voltage, forming a latch on the discharge end, so as to further enhance the read margin of the reading circuit.
[0059] The above content describes the overall structure and function of the reading circuit, and the following content describes the structure and function of each module in detail.
[0060] First, the structure and function of the pre-charging module are described:
[0061] Reference Figure 1 , Optionally, the pre-charging module 10 may include at least two pre-charging switch tubes. In some embodiments, the pre-charging module 10 includes two pre-charging switch tubes, namely, a first switch tube and a second switch tube; wherein, the first end of the first switch tube and the first end of the second switch tube are used to connect the power supply voltage end, the second end of the first switch tube is connected to the data storage unit through the first output node OUT+, the second end of the second switch tube is connected to the reference storage unit through the second output node OUT-, and the third end of the first switch tube and the third end of the second switch tube are used to connect the first control signal end. The first switch tube is used to be turned on under the control of the first control signal, so that the first output node has a first initial voltage, and the second switch tube is used to be turned on under the control of the first control signal, so that the second output node has a second initial voltage. The first initial voltage and the second initial voltage are used to form an initial voltage difference. wherein, the first end of the first switch tube and the first end of the second switch tube are the first end of the pre-charging module 10, and the second end of the first switch tube and the second end of the second switch tube are the second end of the pre-charging module 10.
[0062] In this embodiment, the power supply voltage terminal is used to provide voltage to the first switch tube and the second switch tube, and the first control signal is used to control the first switch tube and the second switch tube to be turned on or off at the same time. Since the second end of the first switch tube and the second end of the second switch tube are respectively connected to the data storage unit and the reference storage unit through the first output node OUT+ and the second output node OUT-, and the resistance of the data storage unit and the reference storage unit are different, there will be a voltage difference between the first output node OUT+ and the second output node OUT-, and the voltage difference is used for subsequent data reading.
[0063] Optionally, the first switch tube and the second switch tube may be any suitable switch tube, and this embodiment does not specifically limit this. For example, the first switch tube and the second switch tube may be one of a bipolar transistor (BJT), a metal oxide semiconductor field effect transistor (MOSFET), an insulated gate bipolar transistor (IGBT), a field effect transistor (JFET), and the like.
[0064] In a specific example, the first switch tube and the second switch tube are respectively the first P-MOS tube and the second P-MOS tube, based on which the first end of the first switch tube is the source of the first P-MOS tube, the second end is the drain of the first P-MOS tube, and the third end is the gate of the first P-MOS tube. Similarly, the first end of the second switch tube is the source of the second P-MOS tube, the second end is the drain of the second P-MOS tube, and the third end is the gate of the second P-MOS tube. The first control signal connects the gate of the first P-MOS tube and the gate of the second P-MOS tube, and is used to control the first P-MOS tube and the second P-MOS tube to be turned on or off at the same time.
[0065] Then, the structure and function of the current mirror feedback module are described:
[0066] Reference Figure 1 Optionally, the current mirror feedback module 20 includes a feedback current unit 201 and a current mirror unit 202 .
[0067] The first input terminal of the feedback current unit 201 is used to connect to the power supply voltage, the second input terminal is connected to the first output node OUT+ and the second output node OUT-, the third input terminal is used to receive a second control signal, and the output terminal is connected to the current mirror unit 202, and is used to form a feedback current difference according to the voltage difference between the first output node and the second output node, and output it to the current mirror unit 202.
[0068] Among them, the power supply voltage is used to provide voltage to the feedback current unit 201, and the second control signal is used to control the feedback current unit 201 to be turned on, so as to form a feedback current difference according to the voltage difference between the above-mentioned first output node and the second output node, and output the feedback current difference to the current mirror unit 202.
[0069] The current mirror unit 202 is used to amplify the feedback current difference and then feed it back to the first output node OUT+ and the second output node OUT- through the output terminal, so as to increase the voltage difference between the first output node OUT+ and the second output node OUT-, thereby enhancing the read margin of the read circuit, so that the read circuit can be applied to data reading scenarios with relatively low device switching.
[0070] The first input end of the feedback current unit 201 is the first input end of the current mirror module, the second input end of the feedback current unit 201 is the second input end of the current mirror module, and the output end of the current mirror unit 202 is the output end of the current mirror feedback module 20 .
[0071] It is worth noting that the voltage difference between the first output node and the second output node includes the initial voltage difference and the operating voltage difference fed back by the current mirror unit. Based on this, the voltage difference between the first output node OUT+ and the second output node OUT- will continue to increase according to the operating voltage difference fed back by the current mirror structure, which can not only further improve the readout margin of the read circuit, but also improve the read speed of the read circuit.
[0072] In some examples, the feedback current unit 201 includes several sub-units. In some embodiments, the feedback current unit 201 includes three sub-units, namely a first sub-unit, a second sub-unit and a third sub-unit.
[0073] Among them, the first end of the first subunit is used to connect to the power supply voltage, the second end is connected to the first output node OUT+ and the second output node OUT-, and the third end is connected to the first end of the second subunit and the first end of the third subunit, and is used to form a current difference under the action of the voltage difference between the first output node and the second output node, and output the current difference to the second subunit.
[0074] Among them, the power supply module is used to provide voltage to the first subunit, and the first subunit is used to be turned on under the action of the first output node OUT+ and the second output node OUT-, and to form a current difference under the action of the voltage difference between the above-mentioned first output node and the second output node.
[0075] The second end of the second subunit is grounded, and the third end is used to receive a third control signal, and to form an equivalent current under the action of the third control signal.
[0076] The third control signal is used to control the second subunit to be turned on or off. When the second subunit is turned on, since the second end thereof is grounded, the current flowing through the second subunit is an equivalent current.
[0077] The second end of the third subunit is connected to the current mirror unit 202, and the third end is used to receive a second control signal, and to form the feedback current difference according to the current difference and the equivalent current under the action of the second control signal, and output the feedback current difference to the current mirror unit 202.
[0078] Among them, the second control signal is used to control the third subunit to be turned on or off. When the third subunit is turned on, since there is an equivalent current in the second subunit, there is a current difference in the first subunit, and the sum of the current in the first subunit and the current in the third subunit is equal to the current in the second subunit, a current difference will also be formed in the third subunit, that is, the above-mentioned feedback current difference.
[0079] Based on the above description, the feedback current unit 201 can form an initial voltage difference between the first output node OUT+ and the second output node OUT- according to the pre-charging module 10 and the operating voltage difference of the current mirror unit feedback, form a feedback current difference, and provide the feedback current difference to the current mirror unit 202.
[0080] In a specific example, the first subunit includes a plurality of current difference switching tubes. In some embodiments, the first subunit includes two current difference switching tubes, namely a third switching tube and a fourth switching tube.
[0081] Among them, the first end of the third switch tube is used to connect the power supply voltage end, the second end is connected to the first output node OUT+, and the third end is connected to the first end of the second subunit; the first end of the fourth switch tube is used to connect the power supply voltage end, the second end is connected to the second output node OUT-, and the third end is connected to the first end of the first end of the second subunit. The third switch tube and the fourth switch tube are used to form a first current and a second current of different magnitudes under the action of the voltage difference between the first output node and the second output node, and the first current and the second current form the current difference. The first end of the third switch tube and the first end of the fourth switch tube are the first input end of the feedback current unit 201, and the second end of the third switch tube and the second end of the fourth switch tube are the second input end of the feedback current unit 201.
[0082] In this embodiment, the power supply voltage terminal is used to provide voltage to the third switch tube and the fourth switch tube. Based on this, the third switch tube and the fourth switch tube form a current difference according to the voltage difference between the above-mentioned first output node and the second output node, and send it to the second subunit.
[0083] Optionally, the third switch tube and the fourth switch tube may be any suitable switch tube, and this embodiment does not specifically limit this. For example, the third switch tube and the fourth switch tube may be one of a bipolar transistor (BJT), a metal oxide semiconductor field effect transistor (MOSFET), an insulated gate bipolar transistor (IGBT), a field effect transistor (JFET), and the like.
[0084] Exemplarily, the third switch tube and the fourth switch tube are respectively the first N-MOS tube and the second N-MOS tube, based on which, the first end of the third switch tube is the drain of the first N-MOS tube, the second end is the gate of the first N-MOS tube, and the third end is the source of the first N-MOS tube. Similarly, the first end of the fourth switch tube is the drain of the second N-MOS tube, the second end is the gate of the second N-MOS tube, and the third end is the source of the second N-MOS tube. The first output node OUT+ and the second output node OUT- are used to control the third switch tube and the fourth switch tube to be turned on or off, so that the third switch tube and the fourth switch tube can form a current difference using the voltage difference between the first output node and the second output node.
[0085] In another specific example, the second subunit includes a plurality of equal current switch tubes. In some embodiments, the second subunit includes two equal current switch tubes, namely a fifth switch tube and a sixth switch tube.
[0086] Among them, the first end of the fifth switch tube is connected to the third end of the first subunit, the second end is grounded, and the third end is used to receive a third control signal; the first end of the sixth switch tube is connected to the third end of the first subunit, the second end is grounded, and the third end is used to receive a third control signal; the fifth switch tube and the sixth switch tube are used to form a third current and a fourth current of the same size under the control of the third control signal, and the third current and the fourth current form the equivalent current.
[0087] In this embodiment, the fifth switch tube and the sixth switch tube are turned on or off at the same time under the control of the third control signal. When the fifth switch tube and the sixth switch tube are turned on at the same time, since the second ends of the fifth switch tube and the sixth switch tube are grounded, the third current and the fourth current passing through the fifth switch tube and the sixth switch tube are the same, and the same current forms an equivalent current.
[0088] Optionally, the fifth switch tube and the sixth switch tube may be any suitable switch tube, and this embodiment does not specifically limit this. For example, the fifth switch tube and the sixth switch tube may be one of a bipolar transistor (BJT), a metal oxide semiconductor field effect transistor (MOSFET), an insulated gate bipolar transistor (IGBT), a field effect transistor (JFET), and the like.
[0089] Exemplarily, the fifth switch tube and the sixth switch tube are the third N-MOS tube and the fourth N-MOS tube, respectively. Based on this, the first end of the fifth switch tube is the drain of the third N-MOS tube, the second end is the source of the third N-MOS tube, and the third end is the gate of the third N-MOS tube. Similarly, the first end of the sixth switch tube is the drain of the fourth N-MOS tube, the second end is the source of the fourth N-MOS tube, and the third end is the gate of the fourth N-MOS tube. The sources of the third N-MOS tube and the fourth N-MOS tube are grounded, and the gates are used to receive the third control signal. When the third N-MOS tube and the fourth N-MOS tube are turned on, the current flowing through the third N-MOS tube and the fourth N-MOS tube remains constant.
[0090] In another specific example, the third subunit includes a plurality of feedback current switch tubes. In some embodiments, the third subunit includes two feedback current switch tubes, namely a seventh switch tube and an eighth switch tube.
[0091] The first end of the seventh switch tube is connected to the first end of the second subunit, the second end is connected to the current mirror unit 202, and the third end is used to receive a second control signal; the first end of the eighth switch tube is connected to the first end of the second subunit, the second end is connected to the current mirror unit 202, and the third end is used to receive a second control signal; the seventh switch tube and the eighth switch tube are used to form a fifth current and a sixth current of different sizes according to the equivalent current and the current difference under the action of the second control signal, and the fifth current and the sixth current form the feedback current difference and output it to the current mirror unit 202; wherein the second end of the seventh switch tube and the second end of the eighth switch tube are the output ends of the feedback current unit 201.
[0092] In this embodiment, the seventh switch tube and the eighth switch tube are used to be turned on or off under the control of the second control signal. When the seventh switch tube and the eighth switch tube are turned on, since the currents flowing through the third switch tube and the fourth switch tube have a current difference, the currents flowing through the fifth switch tube and the sixth switch tube are constant currents, and the sum of the current in the seventh switch tube and the current in the third switch tube is the current in the fifth switch tube, and the sum of the current in the eighth switch tube and the current in the fourth switch tube is the current in the sixth switch tube, so the currents in the seventh switch tube and the eighth switch tube can form a feedback current difference.
[0093] Optionally, the seventh switch tube and the eighth switch tube may be any suitable switch tube, and this embodiment does not specifically limit this. For example, the seventh switch tube and the eighth switch tube may be one of a bipolar transistor (BJT), a metal oxide semiconductor field effect transistor (MOSFET), an insulated gate bipolar transistor (IGBT), a field effect transistor (JFET), and the like.
[0094] Exemplarily, the seventh switch tube and the eighth switch tube are the fifth N-MOS tube and the sixth N-MOS tube, respectively. Based on this, the first end of the seventh switch tube is the source of the fifth N-MOS tube, the second end is the drain of the fifth N-MOS tube, and the third end is the gate of the fifth N-MOS tube. Similarly, the first end of the eighth switch tube is the source of the sixth N-MOS tube, the second end is the drain of the sixth N-MOS tube, and the third end is the gate of the sixth N-MOS tube. Based on this, the fifth N-MOS tube and the sixth N-MOS tube can provide a feedback current difference to the current mirror unit 202.
[0095] In some examples, the current mirror unit 202 includes a first current pair subunit and a second current pair subunit. The first end of the first current pair subunit is used to connect to the power supply voltage end, the second end is connected to the output end of the feedback current unit 201, and the third end is connected to the second output node OUT-. The first end of the second current pair subunit is used to connect to the power supply voltage, the second end is connected to the output end of the feedback current unit 201, and the third end is connected to the first output node OUT+; the first current pair subunit and the second current pair subunit are used to amplify the feedback current difference and then feed it back to the second output node OUT- and the first output node OUT+, so as to form a voltage difference at the first output node OUT+ and the second output node OUT-.
[0096] Based on this, the current mirror feedback module 20 can amplify the feedback current difference to better resist circuit process imbalance, enhance the readout margin of the read circuit, and is suitable for data reading scenarios with relatively low device switching.
[0097] In some examples, the first current pair subunit includes a third P-MOS tube and a fourth P-MOS tube, the sources of the third P-MOS tube and the fourth P-MOS tube are used to connect to the power supply voltage terminal, the gates are interconnected, the drain of the third P-MOS tube is connected to the second end of the seventh switch tube, and the drain of the fourth P-MOS tube is connected to the second output node OUT-, which is used to amplify the fifth current output by the seventh switch tube and feed it back to the second output node OUT-.
[0098] The above-mentioned second current pair subunit includes a fifth P-MOS tube and a sixth P-MOS tube, the sources of the fifth P-MOS tube and the sixth P-MOS tube are used to connect to the power supply voltage end, the gates are interconnected, the drain of the fifth P-MOS tube is connected to the second end of the eighth switch tube, and the drain of the sixth P-MOS tube is connected to the first output node OUT+, which is used to amplify the sixth current output by the eighth switch tube and feed it back to the first output node OUT+.
[0099] It should be understood that since the fifth current and the sixth current are of different sizes, they are amplified by the first current pair subunit and the second current pair subunit and then fed back to the second output node OUT- and the first output node OUT+, thereby making the second output node OUT- and the first output node OUT+ have a larger voltage difference, thereby enhancing the read margin and sensitivity of the reading circuit.
[0100] Finally, the structure and function of the discharge latch module are described:
[0101] Reference Figure 2 Optionally, the discharge latch module 30 includes at least two discharge latch switch tubes. In some embodiments, the discharge latch module 30 includes two discharge latch switch tubes, namely a ninth switch tube and a tenth switch tube.
[0102] Among them, the first end of the ninth switch tube is connected to the first output node OUT+, the second end is used to connect the data storage unit, and the third end is connected to the second output node OUT-; the first end of the tenth switch tube is connected to the second output node OUT-, the second end is used to connect the reference storage unit, and the third end is connected to the first output node OUT+; one switch in the ninth switch tube and the tenth switch tube is used to latch the voltage of the high voltage node in the first output node OUT+ and the second output node OUT-, and the other switch is used to release the voltage in the low voltage node. The first end of the ninth switch tube and the first end of the tenth switch tube are the first end of the discharge latch module 30, and the third end of the ninth switch tube and the third end of the tenth switch tube are the second end of the discharge latch module 30.
[0103] Based on this, the discharge latch module 30 utilizes the output nodes with lower voltages among the first output node OUT+ and the second output node OUT- to suppress the discharge of the output nodes with higher voltages, and the output nodes with higher voltages promote the discharge of the output nodes with lower voltages, thereby forming a latch on the discharge end, which can further enhance the read margin of the reading circuit.
[0104] Optionally, the ninth switch tube and the tenth switch tube may be any suitable switch tube, and this embodiment does not specifically limit this. For example, the ninth switch tube and the tenth switch tube may be one of a bipolar transistor (BJT), a metal oxide semiconductor field effect transistor (MOSFET), an insulated gate bipolar transistor (IGBT), a field effect transistor (JFET), and the like.
[0105] In a specific example, the ninth switch tube and the tenth switch tube are the seventh N-MOS tube and the eighth N-MOS tube, respectively. Based on this, the first end of the ninth switch tube is the drain of the seventh N-MOS tube, the second end is the source of the seventh N-MOS tube, and the third end is the gate of the seventh N-MOS tube. Similarly, the first end of the tenth switch tube is the drain of the eighth N-MOS tube, the second end is the source of the eighth N-MOS tube, and the third end is the gate of the eighth N-MOS tube.
[0106] Based on this, the voltage of the high voltage node in the first output node OUT+ and the second output node OUT− can be latched, and the voltage of the low voltage node can be released, which can further enhance the read margin of the read circuit.
[0107] Optionally, the second end of the ninth switch tube is used to connect the bit line connection end of the data storage unit, and the source line connection end of the data storage unit is grounded; the second end of the tenth switch tube is used to connect the bit line connection end of the reference storage unit, and the source line connection end of the reference storage unit is grounded.
[0108] Based on this, a read voltage may be formed at the first output node OUT+ and the second output node OUT− to read data stored in the data storage unit through the first output node OUT+ and the second output node OUT−.
[0109] The following section describes the reading circuit provided in the embodiment of the present application through a specific example.
[0110] Reference Figure 3 The reading circuit provided in the embodiment of the present application includes a pre-charging module, a current mirror feedback module and a discharge latch module; the pre-charging module is used to pre-charge the circuit and form an initial voltage difference; the current mirror feedback module injects current into the positive and negative output nodes OUT+ and OUT- in the amplification stage according to the voltage difference formed in the pre-charging comparison stage to form current feedback; the discharge latch module is cross-connected to the positive and negative output nodes OUT+ and OUT-, and is used to control the latching and discharging of the output nodes.
[0111] Reference Figure 3Further, the pre-charge module includes transistors P1 and P2, whose drains are connected to the power supply voltage VDD, the gates are connected to the control signal PRE (first control signal), the drains are connected to the output nodes OUT+ and OUT- and the discharge latch module; the module is used to pre-charge the circuit in the pre-charge comparison stage and form a current path from the power supply to the latch tube and the memory.
[0112] Optionally, the current mirror feedback module includes N1 / N2 / N3 / N4 / N5 / N6 and P3 / P4 / P5 / P6; the drains of the transistors N1 and N2 are connected to the power supply voltage VDD, the gates are connected to the positive and negative output terminals OUT+ and OUT-, and the sources are connected to the bias current transistors N3 and N4, and the current transfer transistors N5 and N6, which are used to convert the voltage difference of the output node into current; the gates of the transistors N3 and N4 are connected to the bias voltage VB (third control signal), and the sources are connected to the ground terminal, which are used to form a constant current value; the gates of the transistors N5 and N6 are connected to the threshold voltage VRP (second control signal), and the drains are connected to the current mirror pairs P3 / P4 and P5 / P6, which are used to transfer the difference current formed by the output node voltage difference to the current mirror; the control voltage VRP is used to control the conduction degree of N5 and N6, further forming current feedback; the current mirror pairs P3 / P4 and P5 / P6 are used to amplify the feedback current and inject it into the output node, thereby forming a voltage difference on both sides.
[0113] Optionally, the discharge latch module includes transistors N7 and N8, whose gates are connected to the voltage output terminals on the opposite sides, whose sources are connected to the non-volatile memory interface, and whose drains are connected to the output nodes OUT+ and OUT-. The output nodes with relatively lower voltages will inhibit the discharge of the output nodes on the other side, and the output nodes with relatively higher voltages will promote the discharge of the output nodes on the other side, thereby forming a latch at the discharge terminal.
[0114] Reference Figure 3 ,The reading work of the reading circuit is divided into two stages, namely the ,precharge comparison stage and the current feedback amplification stage.
[0115] In the pre-charge comparison stage, the signal PRE is at a low level, and current is formed on the paths P1-N7 and P2-N8. Since the data stored in the data storage unit (DATA) and the reference storage unit (REF) are different, their resistance values are also different, resulting in a voltage difference on the nodes OUT+ and OUT-.
[0116] In the current feedback amplification stage, the signal PRE (first control signal) is high, and P1 and P2 are turned off. The voltage difference on the nodes OUT+ and OUT- forms currents of different sizes through transistors N1 and N2. Under the action of the bias voltage VB, the currents flowing through N3 and N4 are the same, while the currents flowing through N1 and N2 are different, which leads to differences in the currents of N5 and N6. The current difference is amplified by the current mirror to P3-P4 and P5-P6 and then fed back to the nodes OUT+ and OUT-. At the same time, OUT+ and OUT- control the gates of transistors N7 and N8 to achieve cross control, and finally form the read voltage results on the nodes OUT+ and OUT-.
[0117] It should be understood that the traditional read feedback structure directly connects the output end to the gate of the feedback charging tube or feedback discharge tube on the opposite side, and the drain of the feedback tube is directly connected to the output end. If there is a process mismatch, the working efficiency of the feedback tube will decrease (for example, the two feedback tubes should originally have charging rates of 1 and 2, but due to mismatch, the charging rates become 1.4 and 1.6, which may cause feedback of erroneous results). The current mirror feedback unit in the embodiment of the present application can further suppress the impact of process imbalance by amplifying the feedback current through the current mirror (for example, the two feedback tubes should originally have charging rates of 1 and 2, but due to mismatch, the charging rates become 1.4 and 1.6, but through 5 times current mirror amplification, the charging rates become 7 and 8, ensuring the accuracy of charging).
[0118] Reference Figure 4 It can be seen that the reading time of the reading circuit in the present application can be controlled within 4ns, which can meet the read speed requirement of the non-volatile memory.
[0119] In a second aspect, an embodiment of the present application further provides a non-volatile memory, comprising a data storage unit, a reference storage unit, and the reading circuit described in the first aspect.
[0120] The reading circuit is connected to the data storage unit and the reference storage unit, and is used for reading the data stored in the data storage unit.
[0121] It should be understood that the beneficial effects of the second aspect in this embodiment are the same as those of the first aspect and will not be described in detail here.
[0122] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A reading circuit, characterized in that: Used in a non-volatile memory, the reading circuit comprises: a pre-charging module, a current mirror feedback module, and a first output node and a second output node; The pre-charging module has a first end connected to a power supply voltage end, a second end connected to a data storage unit of the non-volatile memory through the first output node, and a second end connected to a reference storage unit of the non-volatile memory through the second output node, so as to pre-charge the circuit and form an initial voltage difference between the first output node and the second output node; The current mirror feedback module includes a feedback current unit and a current mirror unit; The feedback current unit has a first input terminal connected to the power supply voltage, a second input terminal connected to the first output node and the second output node, a third input terminal connected to receive a second control signal, and an output terminal connected to the current mirror unit, and is used to form a feedback current difference according to at least an initial voltage difference between the first output node and the second output node, and output the feedback current difference to the current mirror unit; The current mirror unit is used to amplify the feedback current difference and then feed it back to the first output node and the second output node through the output terminal, so as to form an operating voltage difference between the first output node and the second output node; Wherein, the voltage difference between the first output node and the second output node includes the initial voltage difference and the operating voltage difference fed back by the current mirror unit; The first output node and the second output node are used to read a voltage result.
2. The reading circuit according to claim 1, characterized in that: Also included is a discharge latch module; The discharge latch module has a first end and a second end cross-connected to the first output node and the second output node, and a third end used to connect the data storage unit and the reference storage unit, and is used to latch the voltage of the high voltage node between the first output node and the second output node, and release the voltage in the low voltage node.
3. The reading circuit according to claim 2, characterized in that: The discharge latch module includes at least two discharge latch switch tubes; The first end and the control end of the at least two discharge latch switch tubes are cross-connected to the first output node and the second output node, and the second end is used to connect the data storage unit and the reference storage unit respectively, and is used to latch the voltage of the high voltage node in the first output node and the second output node, and release the voltage in the low voltage node.
4. The reading circuit according to claim 3, characterized in that: The at least two discharge latch switch tubes are two discharge latch switch tubes; A second end of the discharge latch switch tube is used to connect the bit line connection end of the data storage unit, and the source line connection end of the data storage unit is grounded; The second end of the other discharge latch switch tube is used to connect the bit line connection end of the reference memory cell, and the source line connection end of the reference memory cell is grounded.
5. The reading circuit according to claim 1, characterized in that: The pre-charging module includes a plurality of pre-charging switch tubes, which are used to be turned on under the control of a first control signal, so that the first output node has a first initial voltage and the second output node has a second initial voltage; The first initial voltage and the second initial voltage are used to form the initial voltage difference.
6. The reading circuit according to claim 1, characterized in that: The feedback current unit includes a first subunit, a second subunit and a third subunit; The first end of the first subunit is used to connect the power supply voltage, the second end is connected to the first output node and the second output node, and the third end is connected to the first end of the second subunit and the first end of the third subunit, and is used to form a current difference under the action of the voltage difference between the first output node and the second output node, and output the current difference to the second subunit; The second end of the second subunit is grounded, and the third end is used to receive a third control signal, and is used to form an equivalent current under the action of the third control signal; The second end of the third subunit is connected to the current mirror unit, and the third end is used to receive a second control signal, and is used to form the feedback current difference according to the current difference and the equivalent current under the action of the second control signal, and output the feedback current difference to the current mirror unit.
7. The read circuit according to claim 6, characterized in that: The first subunit includes a plurality of current difference switch tubes, which are used to form a first current and a second current of different magnitudes under the action of a voltage difference between the first output node and the second output node, wherein the first current and the second current form the current difference; And / or, the second subunit includes a plurality of equivalent current switch tubes, which are used to form a third current and a fourth current of the same magnitude under the control of the third control signal, and the third current and the fourth current form the equivalent current; And / or, the third subunit includes a plurality of feedback current switching tubes, which are used to form a fifth current and a sixth current of different sizes according to the equivalent current and the current difference under the action of the second control signal, and the fifth current and the sixth current form the feedback current difference and are output to the current mirror unit.
8. The read circuit according to claim 1, characterized in that: The current mirror unit comprises a first current pair subunit and a second current pair subunit; The first end of the first current pair subunit is used to connect to the power supply voltage end, the second end is connected to the output end of the feedback current unit, and the third end is connected to the second output node; The first end of the second current pair subunit is used to connect to the power supply voltage end, the second end is connected to the output end of the feedback current unit, and the third end is connected to the first output node; The first current pair subunit and the second current pair subunit are used to amplify the feedback current difference and then feed it back to the second output node and the first output node.
9. A non-volatile memory, characterized in that: comprising a data storage unit, a reference storage unit and a reading circuit according to any one of claims 1 to 8; The reading circuit is connected to the data storage unit and the reference storage unit, and is used for reading the data stored in the data storage unit.
