Comparison circuit and memory chip

By designing the comparison module, state judgment module and state storage module in the comparison circuit, combined with the pulse generation circuit and XOR gate, the problem of slow low-voltage comparison speed and high power consumption in DRAM chips is solved, and fast comparison and low power are achieved. consumption effect.

CN114639422BActive Publication Date: 2024-10-15CHANGXIN MEMORY TECH (SHANGHAI) INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011487000.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-16
Publication Date
2024-10-15
Estimated Expiration
2040-12-16

AI Technical Summary

Technical Problem

In the existing technology, the comparison speed of the low-voltage comparison circuit in the DRAM chip is not fast enough and the power consumption is large, making it difficult to meet the requirements of high speed and low power consumption.

Method used

A comparison circuit is designed, including a comparison module, a state judgment module and a state storage module. The enable terminal is controlled by the pulse generation circuit, and the comparison results are stored using XOR gates and flip-flops to avoid bias circuits and achieve fast comparison and low power. Consumption.

Benefits of technology

It significantly improves the output rate of low-voltage comparison results, reduces power consumption, and meets the high-speed and low-power consumption requirements of DRAM chips.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114639422B_ABST
    Figure CN114639422B_ABST
Patent Text Reader

Abstract

The present disclosure provides a comparison circuit and a memory chip. The comparison circuit includes: a comparison module, whose first input terminal is connected to a voltage to be measured and whose second input terminal is connected to a reference voltage; a state judgment module, whose first input terminal is connected to a first output terminal of the comparison module and whose second input terminal is connected to a second output terminal of the comparison module; and a state storage module, whose input terminal is connected to a first output terminal of the comparison module and whose enable terminal is connected to an output terminal of the state judgment module. The embodiments of the present disclosure can improve the processing efficiency of the comparison circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of integrated circuits, and in particular to a comparison circuit capable of quickly comparing changing voltages and a storage chip using the comparison circuit. Background Art

[0002] In DRAM (Dynamic Random Access Memory), due to the sensitive characteristics of low voltage, it is often necessary to quickly compare the low voltage and output the low voltage identification result to ensure that the low voltage output is normal. In the related art, an error amplifier working in the high voltage domain is generally used to build a comparison circuit to achieve this function. However, since the high voltage in DRAM is generated by a charge pump, the efficiency is low, and the error comparator usually requires an external bias circuit, so this comparison circuit consumes a lot of power and the comparison result output speed is slow, which is difficult to meet the high-speed and low-power requirements of DRAM chips for low voltage comparison.

[0003] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0004] The purpose of the present disclosure is to provide a comparison circuit and a storage chip, which are used to overcome the problems of low voltage comparison circuits with low comparison speed and high power consumption caused by the limitations and defects of related technologies, at least to a certain extent.

[0005] According to a first aspect of the present disclosure, there is provided a comparison circuit, comprising: a comparison module, a first input terminal of which is connected to a voltage to be measured, and a second input terminal of which is connected to a reference voltage; a state judgment module, a first input terminal of which is connected to a first output terminal of the comparison module, and a second input terminal of which is connected to a second output terminal of the comparison module; and a state storage module, an input terminal of which is connected to the first output terminal of the comparison module, and an enable terminal of which is connected to the output terminal of the state judgment module.

[0006] In an exemplary embodiment of the present disclosure, the comparison circuit further includes: a pulse generation circuit, an output terminal of which is connected to an enable terminal of the comparison module.

[0007] In an exemplary embodiment of the present disclosure, an input terminal of the pulse generating circuit receives a pulse enable signal, and a control terminal of the state storage module receives a storage control signal.

[0008] In an exemplary embodiment of the present disclosure, the comparison module includes: a first transistor, whose gate serves as a first input terminal of the comparison module; a second transistor, whose gate serves as a second input terminal of the comparison module; a third transistor, whose source is connected to the drain of the first transistor; a fourth transistor, whose source is connected to the drain of the second transistor; a fifth transistor, whose drain serves as a first output terminal of the comparison module, whose drain is also connected to the drain of the third transistor and the gate of the fourth transistor, and whose source is connected to a power supply terminal; a sixth transistor, whose drain serves as a second output terminal of the comparison module, whose drain is also connected to the drain of the fourth transistor and the gate of the third transistor, and whose source is connected to the power supply terminal; a seventh transistor, whose gate serves as an enable terminal of the comparison module, whose drain is connected to the source of the first transistor and the source of the second transistor, and whose drain is grounded.

[0009] In an exemplary embodiment of the present disclosure, the comparison module also includes: a first switch tube, a first end of which is connected to the power supply end, a second end of which is connected to the first output end of the comparison module, and a control end of which is connected to the enable end of the comparison module; a second switch tube, a first end of which is connected to the power supply end, a second end of which is connected to the second output end of the comparison module, and a control end of which is connected to the enable end of the comparison module.

[0010] In an exemplary embodiment of the present disclosure, the comparison module also includes: a third switch tube, a first end of which is connected to the power supply end, a second end of which is connected to the drain of the first transistor, and a control end of which is connected to the enable end of the comparison module; a fourth switch tube, a first end of which is connected to the power supply end, a second end of which is connected to the drain of the second transistor, and a control end of which is connected to the enable end of the comparison module.

[0011] In an exemplary embodiment of the present disclosure, the first switch tube, the second switch tube, the third switch tube and the fourth switch tube are all P-type transistors.

[0012] In an exemplary embodiment of the present disclosure, the first transistor, the second transistor, the third transistor, the fourth transistor and the seventh transistor are all N-type transistors.

[0013] In an exemplary embodiment of the present disclosure, the fifth transistor and the sixth transistor are both P-type transistors.

[0014] In an exemplary embodiment of the present disclosure, the state storage module is a trigger or a register.

[0015] In an exemplary embodiment of the present disclosure, the state determination module includes an XOR gate.

[0016] In an exemplary embodiment of the present disclosure, the voltage to be measured changes from a first voltage to a second voltage within a time T.

[0017] In an exemplary embodiment of the present disclosure, the reference voltage is greater than the first voltage and less than the second voltage.

[0018] According to a second aspect of the present disclosure, a memory chip is provided, comprising: a comparison circuit as described in any one of the above items; a first power supply and a second power supply, wherein the first power supply serves as the voltage to be measured, and the second power supply supplies power to the comparison circuit.

[0019] In an exemplary embodiment of the present disclosure, the memory chip further includes: a reference voltage generating circuit, configured to generate the reference voltage.

[0020] The disclosed embodiment uses a state storage module to store the output value of the comparator, and uses a control signal related to the two output results of the comparison module to control the storage of the state storage module. This can shorten the interval time between the two output comparison results of the comparator, greatly improve the output rate of the voltage comparison result, and can improve the output rate of the low voltage comparison result in DRAM with lower power consumption without setting a bias circuit or using a high voltage power supply.

[0021] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0023] Figure 1 is a schematic structural diagram of a comparison circuit in an exemplary embodiment of the present disclosure.

[0024] Figure 2 It is a structural diagram of a comparison circuit in another embodiment of the present disclosure.

[0025] Figure 3 is a circuit diagram of a comparison circuit in an exemplary embodiment of the present disclosure.

[0026] Figure 4 is a structural diagram of a comparison module in an exemplary embodiment of the present disclosure.

[0027] Figure 5 is a structural diagram of a comparison module in another embodiment of the present disclosure.

[0028] Figure 6 FIG. 1 is a schematic diagram of the structure of a comparison module in another embodiment of the present disclosure.

[0029] Figure 7 It is a memory chip provided by an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0030] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.

[0031] In addition, the accompanying drawings are only schematic diagrams of the present disclosure, and the same reference numerals in the drawings represent the same or similar parts, so their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities, which do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0032] The exemplary embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.

[0033] Figure 1 is a schematic structural diagram of a comparison circuit in an exemplary embodiment of the present disclosure.

[0034] refer to Figure 1 , the comparison circuit 100 may include:

[0035] A comparison module 11, wherein a first input terminal IN11 is connected to a voltage to be measured Vddq, and a second input terminal IN12 is connected to a reference voltage Vref;

[0036] A state judgment module 12, wherein a first input terminal IN21 is connected to a first output terminal OUT11 of the comparison module 11, and a second input terminal IN22 is connected to a second output terminal OUT12 of the comparison module 11;

[0037] The state storage module 13 has an input terminal IN3 connected to the first output terminal OUT11 of the comparison module 11 , and an enable terminal EN3 connected to the output terminal OUT2 of the state determination module 12 .

[0038] exist Figure 1 In the embodiment shown, the voltage to be measured Vddq changes from the first voltage V1 to the second voltage V2 within the time T, and the reference voltage Vref is greater than the first voltage V1 and less than the second voltage V2. The time T varies according to the type of the voltage to be measured.

[0039] The first output terminal OUT11 of the comparison module 11 is used to output the voltage detection result stored in the state storage module 13, and the second output terminal OUT12 is used to output the level opposite to the state of OUT12, for example, when the output level of OUT11 is high, the output level of OUT12 is low; when the output level of OUT11 is low, the output level of OUT12 is high. In the embodiment of the present disclosure, the high or low of the high level and the low level are relative, and the specific voltage value of the level can be different according to the circuit setting.

[0040] The output signal of the state judgment module 12 can be used to control the storage timing of the state storage module 13, that is, according to the output timing of the comparison module 11, the storage timing of the state storage module 13 is controlled, so that the output signal of the comparison module 11 can be accurately stored. When the comparison module 11 needs to achieve fast comparison, the output signal of the comparison module 11 can be maintained by the state storage module 13 for the length of time that the subsequent circuit reads the output signal, thereby avoiding the output end of the comparison circuit consuming power in order to maintain a sufficient reading time. In addition, the state storage module 13 does not require an additional clock drive, saving layout wiring space.

[0041] Figure 2 It is a structural diagram of a comparison circuit in another embodiment of the present disclosure.

[0042] refer to Figure 2 , the comparison circuit 100 may further include:

[0043] The pulse generating circuit 14 has an output terminal OUT4 connected to the enable terminal EN1 of the comparison module 11 .

[0044] In an exemplary embodiment of the present disclosure, the input terminal IN4 of the pulse generating circuit 14 is used to receive the pulse enable signal PulseEn, and the control terminal CON of the state storage module 13 is used to receive the storage control signal Crtl.

[0045] exist Figure 2In the illustrated embodiment, the enable end of the comparison module 11 is controlled by the pulse signal output by the pulse generating circuit 14, so that the input signal of the input end can be read only when the pulse level is the enable level, and the operation of the comparison module 11 does not need to be maintained at all times. After the comparison of the comparison module 11 is completed, the comparison module 11 is turned off, which effectively reduces the power consumption of the comparison module 11. In addition, since the enable state of the comparison module 11 is controlled by the pulse signal, the reading timing of the comparison module 11 can be accurately controlled. Since the output signal of the comparison module 11 is stored by the signal storage module 13, the time interval between two comparisons of the comparison module 11 can be shortened, which effectively reduces the power consumption of the comparison module 11. The state storage module 13 and the pulse generating circuit 14 are both controlled by the corresponding enable signal, which can improve the flexibility of the circuit setting. When the state storage module 13 and / or the pulse generating circuit 14 are not required to operate, the working state of the circuit can be changed without changing the circuit form.

[0046] Figure 3 is a circuit diagram of a comparison circuit in an exemplary embodiment of the present disclosure.

[0047] refer to Figure 3 In one embodiment, the comparison module 311 is a comparator, and the state storage module 313 is a trigger or a register ( Figure 3 The state determination module 312 includes an XOR gate. The output signal of the XOR gate 312 is connected to the clock terminal of the D flip-flop 313, and the first output terminal of the comparator 311 is connected to the input terminal of the D flip-flop 313.

[0048] exist Figure 3 In the illustrated embodiment, the inverting input terminal of the comparator 311 is connected to the voltage to be measured Vddq, the inverting input terminal is connected to the reference voltage Vref, and the two output terminals are connected to the XOR gate 312. When the comparator 311 is not enabled, the two output terminals of the comparator 311 are both low level 0 or both high level 1, and the output of the XOR gate 312 is low level 0 at this time; when the comparator 311 is enabled, the outputs of the two output terminals of the comparator 311 are a high level 1 and a low level 0, so the output signal of the XOR gate 312 becomes a high level 1 after the comparator 311 is enabled. Since the output signal of the XOR gate 312 is connected to the clock terminal of the D flip-flop 313, when the comparator 311 is enabled, the clock driving terminal CK of the D flip-flop 313 changes from 0 to 1, and the D flip-flop 313 saves the data of the data port D. Even if the comparator 311 is turned off again later, the data saved by the D flip-flop 313 will not be lost. Because the comparator 311 only works when the pulse level is high, and does not work when the pulse level is low, this saves the power consumption of the comparator 311. In addition, the D flip-flop 313 only works at the edge where the output level of the XOR gate changes, and does not generate power consumption during the period when the output level of the XOR gate does not change. Figure 3 The circuit shown has lower power consumption compared to the prior art.

[0049] exist Figure 3 In the illustrated embodiment, the enable terminal of the comparator 311 is connected to the pulse generating circuit 14. Since the control terminal of the D flip-flop 313 is controlled by the output signal of the XOR gate 312, the output signal of the comparator 311 can be latched by the D flip-flop 313 in time, so the enable level of the pulse generating circuit 14 can be maintained for a short time, that is, as long as the maintenance time of the enable level each time allows the comparator 311 to read the input signal and output the comparison result, the comparator 311 does not need to work at all times, further reducing power consumption.

[0050] Understandably, Figure 3 The embodiments of each module in the embodiments shown are all examples. In practical applications, those skilled in the art can Figure 1 and Figure 2 The principles shown implement the functions of each module through other circuits, and the present disclosure does not impose any special restrictions on this.

[0051] Figure 4 is a structural diagram of a comparison module in an exemplary embodiment of the present disclosure.

[0052] refer to Figure 4 , the comparison module 11 may include:

[0053] A first transistor M1, whose gate serves as a first input terminal of the comparison module 11;

[0054] A second transistor M2, whose gate serves as a second input terminal of the comparison module 11;

[0055] A third transistor M3, whose source is connected to the drain of the first transistor M1;

[0056] a fourth transistor M4, whose source is connected to the drain of the second transistor M2;

[0057] A fifth transistor M5, whose drain serves as the first output terminal of the comparison module 11, whose drain is also connected to the drain of the third transistor M3 and the gate of the fourth transistor M4, and whose source is connected to the power supply terminal VDD;

[0058] A sixth transistor M6, whose drain serves as the second output terminal of the comparison module 11, whose drain is also connected to the drain of the fourth transistor M4 and the gate of the third transistor M3, and whose source is connected to the power supply terminal VDD;

[0059] The seventh transistor M7 has a gate as an enable terminal of the comparison module 11 , a drain connected to the source of the first transistor M1 and the source of the second transistor M2 , and a drain grounded.

[0060] In an exemplary embodiment of the present disclosure, the first transistor M1 , the second transistor M2 , the third transistor M3 , the fourth transistor M4 and the seventh transistor M7 are all N-type transistors, and the fifth transistor M5 and the sixth transistor M6 are all P-type transistors.

[0061] refer to Figure 4 In addition to improving the circuit connected to the comparison module 11 to reduce power consumption and increase comparison speed, the disclosed embodiment also improves the circuit of the comparison module 11 itself. Figure 4 In the illustrated embodiment, the first transistor M1 to the seventh transistor M7 are used to form a dynamic comparator with a strongARM structure. Since in the dynamic comparator, the gates of the two transistors of the left bridge arm (composed of the third transistor M3 and the fifth transistor M5) are connected to the drain connection point (first node N1) of the two transistors of the right bridge arm (composed of the fourth transistor M4 and the sixth transistor M6), and the first node N1 serves as an output end of the dynamic comparator; the gates of the two transistors of the right bridge arm are connected to the drain connection point (second node N2) of the two transistors of the left bridge arm, and the second node N2 serves as another output end of the dynamic comparator, when the enable signal En is at a low level, the seventh transistor M7 is turned off, and the M5-M3-M1 path and the M6-M There is no low potential in the 4-M2 path, the first drain node N1 of the fifth transistor M5 and the second drain node N2 of the sixth transistor M6 are both pulled to the high level VDD, and the two paths from the power supply VDD to the drain of the seventh transistor are all high level; when the enable signal is at a high level, the seventh transistor M7 is turned on, and the first transistor M1 and the second transistor M2 are turned on by the input voltages Vin1 and Vin2, and when Vin1 and Vin2 are not equal, the on-resistances of the first transistor M1 and the second transistor M2 are not equal, that is, the speed at which the first node N1 or the second node N2 discharges to a low level is not equal. If Vin1 is greater than Vin2, the discharge rate of the first node N1 is greater than the discharge rate of the second node N2, the voltage of the first node N1 reaches the low level GND faster, the fourth transistor M4 is turned off, the sixth transistor M6 is turned on, the voltage of the second node N2 of the drain of the fourth transistor M4 is equal to the high level VDD, which is greater than the voltage GND of the first node N1, and the voltage comparison result is output; similarly, if Vin1 is less than Vin2, the voltage of the second node N2 reaches the low level GND faster, the third transistor M3 is turned off, the fifth transistor M5 is turned on, the voltage of the first node N1 of the drain of the third transistor M3 is equal to the high level VDD, which is greater than the voltage GND of the second node N2, and the voltage comparison result is output. Since the discharge speed is greater than the charging speed, Figure 4 The circuit of the illustrated embodiment can output a voltage comparison result faster than the related art, thereby improving the speed of the comparator.

[0062] Figure 5 is a structural diagram of a comparison module in another embodiment of the present disclosure.

[0063] refer to Figure 5 , the comparison module 11 may further include:

[0064] A first switch tube S1, a first end of which is connected to the power supply terminal VDD, a second end of which is connected to the first output end of the comparison module 11, and a control end of which is connected to the enable end of the comparison module 11;

[0065] The second switch tube S2 has a first end connected to the power supply end, a second end connected to the second output end of the comparison module 11 , and a control end connected to the enable end of the comparison module 11 .

[0066] exist Figure 5 In the illustrated embodiment, a first switch tube S1 connected in parallel is added to the fifth switch tube M5, and the control end of the first switch tube S1 is connected to the enable end of the comparator; a second switch tube S2 connected in parallel is added to the sixth switch tube M6, and the control end of the second switch tube S2 is connected to the enable end of the comparator. Thus, when the first switch tube S1 and the second switch tube S2 are both controlled by the low level connected to the enable end (in some embodiments, the low level exists in the pulse signal and is generated by the pulse generating circuit 14) and turned on, the seventh transistor M7 is turned off, and the first node N1 and the second node N2 are both pulled to the high level VDD. When the first switch tube S1 and the second switch tube S2 are both controlled by the high level connected to the enable end (similarly, it can be the high level in the pulse signal) and turned off, the seventh transistor M7 is turned on, and one of the first node N1 or the second node N2 will be discharged to the low level GND faster, so that one of the first node N1 and the second node N2 is the high level VDD, and the other is the low level GND (see Figure 4 Since the first switch tube S1 and the second switch tube S2 are set to directly set the voltage of the first node N1 and the second node N2 to VDD, instead of Figure 4 In the illustrated embodiment, the voltages of the first node N1 and the second node N2 are charged to VDD through the junction capacitance of the sixth transistor M6 and the junction capacitance of the fifth transistor M5. Therefore, the arrangement of the first switch tube S1 and the second switch tube S2 speeds up the comparison speed of the comparator.

[0067] Figure 6 FIG. 1 is a schematic diagram of the structure of a comparison module in another embodiment of the present disclosure.

[0068] refer to Figure 6 , the comparison module 11 may further include:

[0069] A third switch tube S3, a first end of which is connected to the power supply terminal VDD, a second end of which is connected to the drain of the first transistor M1, and a control end of which is connected to the enable end of the comparison module 11;

[0070] The fourth switch tube S4 has a first end connected to the power supply terminal VDD, a second end connected to the drain of the second transistor M2 , and a control end connected to the enable end of the comparison module 11 .

[0071] In an exemplary embodiment of the present disclosure, the first switch tube S1 , the second switch tube S2 , the third switch tube S3 and the fourth switch tube S4 are all P-type transistors.

[0072] exist Figure 6 In the illustrated embodiment, a third switch tube S3 is provided between the drain of the first transistor M1 and the power supply VDD, a fourth switch tube S4 is provided between the drain of the second transistor M2 and the power supply VDD, and an enable signal is used to control the third switch tube S3 and the fourth switch tube S4, so that when the third switch tube S3 and the fourth switch tube S4 are both controlled by the low level connected to the enable terminal (in some embodiments, the low level exists in the pulse signal and is generated by the pulse generating circuit 14) and turned on, the source of the third transistor M3 and the source of the fourth transistor M4 are directly set to the high level VDD. From the above analysis, it can be seen that at this time, the seventh transistor M7 is turned off, and the first node N1 and the second node N2 are both high level VDD. When the third switch tube S3 and the fourth switch tube S4 are both controlled by the high level connected to the enable terminal and turned on, the seventh transistor M7 is turned on, the first transistor M1 and the second transistor M2 provide a discharge path, and the size of Vin1 and Vin2 affects which of the first node N1 and the second node N2 reaches the low level GND first, thereby causing the level of the other node to change to the high level VDD, and outputting the comparison result.

[0073] Since the third switch tube S3 is set to directly set the drain of the first transistor M1 to VDD, it is avoided that after the first node N1 and the second node N2 are set to the high level VDD, the junction capacitance of the first transistor M1 is charged via the turned-on third transistor M3, or the junction capacitance of the second transistor M2 is charged via the turned-on fourth transistor M4, which affects the time when the first node N1 and the second node N2 reach a stable high level VDD. At the same time, it is avoided that the voltage of the first node N1 is affected by the voltage division of the resistance of the turned-on first transistor M1 and is not completely equal to the voltage of the second node N2 (also affected by the voltage division of the resistance of the turned-on second transistor M2). Therefore, the setting of the third switch tube S3 and the fourth switch tube S4 can further improve the comparison speed of the comparator.

[0074] Since the first to fourth switch tubes S1 to S4 and the seventh transistor M7 are all controlled by the enable signal En of the comparison module 11, only one enable signal in the form of a pulse signal can be used to achieve the change of the enable level, thereby improving the comparison speed of the comparator.

[0075] therefore, Figures 4 to 6 The dynamic comparator shown can greatly increase the output speed of the comparison result.

[0076] The present disclosure also provides a storage chip using a comparison circuit provided by any of the above embodiments.

[0077] Figure 7 It is a memory chip provided by an exemplary embodiment of the present disclosure.

[0078] refer to Figure 7 , the memory chip 700 may include:

[0079] Comparison circuit 71 as in any of the above items;

[0080] The first power supply 72 and the second power supply 73, the first power supply 72 is used as the voltage to be measured, and the second power supply 73 is used to power the comparison circuit.

[0081] In an exemplary embodiment of the present disclosure, the memory chip further includes: a reference voltage generating circuit 74 for generating a reference voltage Vref in the comparison circuit 71 .

[0082] exist Figure 7 In the embodiment shown, the second power supply 73 is equivalent to Figures 4 to 6 The power supply VDD in the illustrated embodiment. Due to the use of the comparison circuit 71 with low power consumption and high comparison speed, the memory chip 700 can achieve higher storage speed and lower power consumption.

[0083] In summary, in the embodiment of the present disclosure, the storage timing of the state storage module 13 is controlled by using the two output signals of the comparison module 11, so that the state storage module 13 stores the output signal of the comparator 11, which can effectively improve the comparison rate and reduce power consumption; by using the pulse signal generated by the pulse generation module 14 to control the comparison module 11, the power consumption of the comparison circuit can be reduced; by using the dynamic comparator to improve the internal circuit of the comparison module 11, the comparison rate of the comparison module 11 itself can be improved. After the superposition effect, the comparison circuit provided by the embodiment of the present disclosure can have a higher comparison speed and lower power consumption.

[0084] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0085] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are to be considered exemplary only, and the true scope and concept of the present disclosure are indicated by the claims.

Claims

1. A comparison circuit, characterized in that: include: A comparison module, wherein a first input terminal thereof is connected to a voltage to be measured, and a second input terminal thereof is connected to a reference voltage; a state judgment module, wherein a first input end thereof is connected to the first output end of the comparison module, and a second input end thereof is connected to the second output end of the comparison module; A state storage module, whose input end is connected to the first output end of the comparison module, and whose enable end is connected to the output end of the state judgment module; Wherein, the first output terminal of the comparison module is used to output the voltage detection result stored in the state storage module, and the second output terminal of the comparison module is used to output a level opposite to the state of the voltage detection result; The output signal of the state judgment module is used to control the storage timing of the state storage module.

2. The comparison circuit according to claim 1, characterized in that: Also includes: The pulse generating circuit has an output end connected to the enable end of the comparison module.

3. The comparison circuit according to claim 2, characterized in that: The input end of the pulse generating circuit receives a pulse enable signal, and the control end of the state storage module receives a storage control signal.

4. The comparison circuit according to claim 3, characterized in that: The comparison module comprises: A first transistor, a gate of which serves as a first input terminal of the comparison module; a second transistor, a gate of which serves as a second input terminal of the comparison module; a third transistor, a source of which is connected to the drain of the first transistor; a fourth transistor, whose source is connected to the drain of the second transistor; a fifth transistor, whose drain serves as the first output terminal of the comparison module, whose drain is also connected to the drain of the third transistor and the gate of the fourth transistor, and whose source is connected to the power supply terminal; a sixth transistor, whose drain serves as the second output terminal of the comparison module, whose drain is also connected to the drain of the fourth transistor and the gate of the third transistor, and whose source is connected to the power supply terminal; A seventh transistor, whose gate is used as an enable terminal of the comparison module, whose drain is connected to the source of the first transistor and the source of the second transistor, and whose drain is grounded.

5. The comparison circuit according to claim 4, characterized in that: The comparison module also includes: A first switch tube, a first end of which is connected to the power supply end, a second end of which is connected to the first output end of the comparison module, and a control end of which is connected to the enable end of the comparison module; A second switch tube has a first end connected to the power supply end, a second end connected to the second output end of the comparison module, and a control end connected to the enable end of the comparison module.

6. The comparison circuit according to claim 5, characterized in that: The comparison module also includes: a third switch tube, a first end of which is connected to the power supply end, a second end of which is connected to the drain of the first transistor, and a control end of which is connected to the enable end of the comparison module; A fourth switch tube, having a first end connected to the power supply end, a second end connected to the drain of the second transistor, and a control end connected to the enable end of the comparison module.

7. The comparison circuit according to claim 6, characterized in that: The first switch tube, the second switch tube, the third switch tube and the fourth switch tube are all P-type transistors.

8. The comparison circuit according to claim 6, characterized in that: The first transistor, the second transistor, the third transistor, the fourth transistor and the seventh transistor are all N-type transistors.

9. The comparison circuit according to claim 6, characterized in that: The fifth transistor and the sixth transistor are both P-type transistors.

10. The comparison circuit according to claim 1, wherein: The state storage module is a trigger or a register.

11. The comparison circuit according to claim 1, characterized in that: The state judgment module includes an XOR gate.

12. The comparison circuit according to claim 1, characterized in that: The voltage to be measured changes from a first voltage to a second voltage within a time T.

13. The comparison circuit according to claim 12, characterized in that: The reference voltage is greater than the first voltage and less than the second voltage.

14. A memory chip, characterized in that: include: The comparison circuit according to any one of claims 1 to 13; A first power supply and a second power supply, wherein the first power supply is used as the voltage to be measured, and the second power supply is used to power the comparison circuit.

15. The memory chip according to claim 14, wherein: Also includes: The reference voltage generating circuit is used to generate the reference voltage.