Impedance calibration circuit and memory
By designing an impedance calibration circuit in a semiconductor memory device and using pull-up and pull-down drive circuits to adjust the output voltage, the problem of impedance mismatch caused by process, voltage and temperature changes is solved, and high-speed data transmission under different conditions is achieved.
Patent Information
- Application Number
- CN202310699296.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-12
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2043-06-12
AI Technical Summary
In semiconductor memory devices, as the signal transmission speed increases, the swing width of the signal decreases, resulting in impedance mismatch due to process, voltage and temperature changes, making it difficult to achieve high-speed data transmission.
Design an impedance calibration circuit, including pull-up and pull-down drive circuits, to adjust the voltage at the output end by receiving switching signals and calibration codes to reduce or eliminate impedance mismatch. Before the impedance calibration operation, this circuit determines the number of pull-up drive branches to be opened based on the target voltage to ensure that the equivalent resistance of the switching circuit is within a reasonable range and avoids the equivalent resistance from being too large.
Effectively reduce or eliminate impedance mismatch, ensuring that under different process, voltage and temperature conditions, the impedance calibration circuit can accurately complete the calibration, meet the resistance range of the design specification, and support high-speed data transmission.
Smart Images

Figure CN116682476B_ABST
Abstract
Description
Technical Field
[0001] The disclosed embodiments relate to the field of semiconductor technology, and in particular to an impedance calibration circuit and a memory. Background Art
[0002] As the operating speed of electronic devices increases, the swing width of signals transmitted between semiconductor memory devices in the electronic devices is reduced to minimize the delay time spent on transmitting the signals. However, as the swing width decreases, the signals transmitted between the semiconductor memory devices may be more easily distorted due to impedance mismatch caused by process, voltage and temperature (PVT) changes, making it difficult to transmit data at high speed.
[0003] How to reduce or eliminate impedance mismatch and transmit data at high speed has become a technical problem that needs to be solved urgently. Summary of the invention
[0004] In view of this, the embodiments of the present disclosure provide an impedance calibration circuit and a memory to solve at least one technical problem existing in the prior art.
[0005] According to a first aspect of an embodiment of the present disclosure, there is provided an impedance calibration circuit, comprising: a pull-up driving circuit, comprising a plurality of pull-up driving branches, configured to: receive a pull-up switch signal and a pull-up calibration code, and select a specified number of pull-up driving branches using the pull-up switch signal, and adjust the voltage of the output terminal using the pull-up calibration code; the pull-up driving circuit is used to pull up the voltage of the output terminal; a plurality of switch circuits, each pull-up driving branch is connected to a power supply through a corresponding switch circuit, and is configured to: receive a pull-up switch signal, and connect a specified number of pull-up driving branches to the power supply using the pull-up switch signal; a first generating circuit, configured to: receive a first target voltage and the voltage of the output terminal, and generate a pull-up switch signal based on the first target voltage, and generate a pull-up calibration code based on the difference between the two.
[0006] In the above scheme, the pull-up driving circuit includes a first pull-up driving branch, a second pull-up driving branch and a third pull-up driving branch; the multiple switch circuits include a first switch circuit, a second switch circuit and a third switch circuit; the pull-up switch signal includes a first pull-up switch signal, a second pull-up switch signal and a third pull-up switch signal; the first switch circuit is configured to: receive the first pull-up switch signal to connect the first pull-up driving branch to the power supply; and the first pull-up driving branch is configured to: receive the first pull-up switch signal to enable the first pull-up driving branch; the second switch circuit is configured to: receive the second pull-up switch signal to connect the second pull-up driving branch to the power supply; and the second pull-up driving branch is configured to: receive the second pull-up switch signal to enable the second pull-up driving branch; the third switch circuit is configured to: receive the third pull-up switch signal to connect the third pull-up driving branch to the power supply; and the third pull-up driving branch is configured to: receive the third pull-up switch signal to enable the third pull-up driving branch.
[0007] In the above scheme, the first generating circuit is configured to: generate a first pull-up switch signal in response to a calibration enable signal; when the difference between the first target voltage and the preset intermediate voltage is greater than or equal to the first preset value and less than the second preset value, the first generating circuit is configured to: generate a second pull-up switch signal; wherein the preset intermediate voltage is the theoretical voltage of the output end when one of the pull-up driving branches is turned on; when the difference between the first target voltage and the preset intermediate voltage is greater than or equal to the second preset value, the first generating circuit is configured to: generate a third pull-up switch signal; the second preset value is greater than the first preset value.
[0008] In the above scheme, the first generating circuit includes: a comparator, configured to compare the first target voltage with the voltage at the output terminal to output a first difference signal, the first difference signal being used to characterize the voltage difference between the first target voltage and the voltage at the output terminal; and a feedback circuit, configured to increase or decrease the pull-up calibration code in response to the first difference signal.
[0009] In the above scheme, each pull-up driving branch includes: a pull-up switch, one end of which is connected to a switch circuit and the other end is connected to the output end for receiving a pull-up switch signal; a pull-up unit, connected in parallel with the pull-up switch, for receiving a pull-up calibration code.
[0010] In the above solution, the gate resistance of the transistor in the switch circuit is greater than the gate resistance of the transistor in the pull-up switch.
[0011] In the above scheme, the impedance calibration circuit also includes a pull-down drive circuit; the pull-down drive circuit is connected to the pull-up drive circuit at the output end; the pull-down drive circuit includes at least two pull-down drive branches, each pull-down drive branch is configured to: receive a pull-down switch signal and a pull-down calibration code, and use the pull-down switch signal to select a specified number of pull-down drive branches, and use the pull-down calibration code to adjust the voltage of the output end; the pull-down drive circuit is used to pull down the voltage of the output end; wherein the number of pull-down drive branches is less than the number of pull-up drive branches.
[0012] In the above scheme, each pull-down driving branch includes: a pull-down switch, one end of which is connected to the output end and the other end is connected to the ground voltage for receiving the pull-down switch signal; a pull-down unit, which is connected in parallel with the pull-down switch for receiving the pull-down calibration code.
[0013] In the above scheme, the impedance calibration circuit also includes: a second generating circuit, which is configured to: receive a second target voltage and a voltage at an external calibration terminal, and generate a pull-down switch signal based on the second target voltage, and generate the pull-down calibration code based on the difference between the second target voltage and the voltage at the external calibration terminal; wherein the external calibration terminal is connected in series between an external standard resistor and an external pull-down drive circuit, and the external pull-down drive circuit and the pull-down drive branch receive the same pull-down switch signal and the pull-down calibration code
[0014] According to a second aspect of an embodiment of the present disclosure, a memory is provided, comprising: an impedance calibration circuit according to any one of the above schemes.
[0015] In each embodiment of the present disclosure, the first generating circuit is configured as follows: before the impedance calibration operation, it is first determined based on the first target voltage how many pull-up drive branches to open. Accordingly, one or more of the multiple switch circuits are opened. In this way, no redundant switch circuits are opened, so that the overall equivalent resistance of the switch circuit can be increased, and accordingly, the resistance value of the equivalent resistance of the pull-up drive branch can be reduced, which will not cause the resistance value of the equivalent resistance of the pull-up calibration to be too large. In this way, under different PVTs, the resistance value of the pull-up drive circuit is not easy to or will not exceed the resistance value range specified in the design specification, and the impedance calibration circuit can accurately complete the impedance calibration. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 A schematic diagram of an impedance calibration circuit provided by an embodiment of the present disclosure;
[0017] Figure 2 A schematic diagram of another impedance calibration circuit including a plurality of pull-up driving branches is provided for an embodiment of the present disclosure;
[0018] Figure 3 A schematic diagram of a first generating circuit provided by an embodiment of the present disclosure;
[0019] Figure 4 A schematic diagram of another first generating circuit provided by an embodiment of the present disclosure;
[0020] Figure 5 A schematic diagram of a pull-up driving branch and a switch circuit provided in an embodiment of the present disclosure;
[0021] Figure 6 A schematic diagram of a switch circuit provided in an embodiment of the present disclosure;
[0022] Figure 7 A schematic diagram of another switch circuit provided by an embodiment of the present disclosure;
[0023] Figure 8 A schematic diagram of a pull-down driving branch provided in an embodiment of the present disclosure;
[0024] Fig. 9 A schematic diagram of another impedance calibration circuit provided by an embodiment of the present disclosure;
[0025] Fig.10 A schematic diagram of a memory provided by an embodiment of the present disclosure;
[0026] Fig.11 A schematic diagram of a memory system provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0027] The following will be combined with the embodiments of the present disclosure and the accompanying drawings to clearly and completely describe the technical solutions in the embodiments of the present disclosure. The described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.
[0028] In the following description, a large number of specific details are given to provide a more thorough understanding of the present disclosure. However, it is obvious to those skilled in the art that the present disclosure can be implemented without one or more of these details. In other examples, in order to avoid confusion with the present disclosure, some technical features known in the art are not described; that is, all features of actual embodiments are not described here, and well-known functions and structures are not described in detail.
[0029] It should be understood that when an element or layer is referred to as "on ...", "adjacent to ...", "connected to" or "coupled to" other elements or layers, it can be directly on, adjacent to, connected to or coupled to other elements or layers, or there can be intervening elements or layers. On the contrary, when an element is referred to as "directly on ...", "directly adjacent to ...", "directly connected to" or "directly coupled to" other elements or layers, there is no intervening element or layer. It should be understood that although the terms first, second, third, etc. can be used to describe various elements, components, regions, layers and / or parts, these elements, components, regions, layers and / or parts should not be limited by these terms. These terms are only used to distinguish one element, component, region, layer or part from another element, component, region, layer or part. Therefore, without departing from the teachings of the present disclosure, the first element, component, region, layer or part discussed below can be represented as the second element, component, region, layer or part. And when the second element, component, region, layer or part is discussed, it does not indicate that the present disclosure necessarily has the first element, component, region, layer or part.
[0030] The purpose of the terms used herein is only to describe specific embodiments and is not intended to be a limitation of the present disclosure. When used herein, the singular forms "one", "an" and "said / the" are also intended to include plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "consisting of" and / or "comprising", when used in this specification, determine the presence of the features, integers, steps, operations, elements and / or parts, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, parts and / or groups. When used herein, the term "and / or" includes any and all combinations of the relevant listed items.
[0031] In order to thoroughly understand the present disclosure, detailed steps and detailed structures will be presented in the following description to illustrate the technical solution of the present disclosure. The preferred embodiments of the present disclosure are described in detail below, but in addition to these detailed descriptions, the present disclosure may also have other implementations.
[0032] During the stage of sending and / or receiving data of the semiconductor memory device, an impedance calibration operation is performed through an impedance calibration (ZQcalibration) circuit to adjust the output impedance and / or terminal impedance of the semiconductor memory device, reduce or eliminate impedance mismatch, and transmit data at high speed.
[0033] The impedance calibration circuit may include a pull-up circuit and a pull-down circuit; accordingly, the impedance calibration may include a pull-up calibration and a pull-down calibration.
[0034] The pull-up circuit is connected between the power supply voltage Vddq and the output terminal. When a high level data transmission is required, a pull-up calibration is performed, and the pull-up circuit can receive a pull-up calibration code and pull up the voltage of the output terminal to the high level required for data transmission.
[0035] The pull-down circuit is connected between the output terminal and the ground voltage Vssq. When low-level data transmission is required, a pull-down calibration is performed, and the pull-down circuit can receive a pull-down calibration code and pull down the voltage of the output terminal to the low level required for data transmission.
[0036] The pull-up circuit may include a plurality of pull-up transistors connected between a power supply voltage Vddq and the output terminal. The pull-up transistors may be P-channel metal oxide semiconductor (PMOS) transistors.
[0037] The pull-down circuit may include a plurality of pull-down transistors connected between the output terminal and the ground voltage Vssq. The pull-down transistors may be N-channel metal oxide semiconductor (NMOS) transistors.
[0038] During the impedance calibration operation, the impedance calibration circuit can adjust the output impedance and / or the terminal impedance by comparing the output impedance and / or the terminal impedance with an external standard resistor to meet the calibrated resistance value specified by the design specification (SPEC: Standard Performance Evaluation Corporation).
[0039] For example, the impedance calibration circuit first calibrates the pull-down circuit by connecting an external 240-ohm standard resistor, and then uses the calibrated pull-down circuit to calibrate the pull-up circuit, so that the equivalent resistance of each branch in the pull-up circuit meets the expected requirements. At the same time, since both the pull-up resistor and the pull-down resistor are composed of transistors, their equivalent resistance is greatly affected by process, voltage and temperature (PVT), so the final calibration result may be biased. Currently, SPEC stipulates that the equivalent resistance obtained after the final calibration should be within the range of + / -10% of the external 240-ohm standard resistor.
[0040] In the conventional technology, when performing the impedance calibration operation, no matter how many pull-up driving branches are opened, all the switch circuits are opened. Since different switch circuits are connected in parallel, opening all the switch circuits will make the overall equivalent resistance of the switch circuit smaller. Furthermore, when performing the impedance calibration operation, the sum of the overall equivalent resistance of the turned-on pull-up driving branches and the overall equivalent resistance of the switch circuit is determined by the target calibration voltage at the output end (the target calibration voltage determines the ratio of the sum of the above resistances to the standard resistance, and the resistance value of the standard resistance is determined), therefore, after the target calibration voltage is determined, the sum of the above resistances is fixed, and when all the switch circuits are opened so that the overall equivalent resistance of the switch circuit is small, the equivalent resistance of the pull-up driving branch will be larger.
[0041] Meanwhile, since both the pull-up circuit and the pull-down circuit are composed of transistors and their equivalent resistance values are greatly affected by PVT, the equivalent resistance of the pull-up driving branch may further fluctuate when it is already relatively large, resulting in the sum of the above resistances not meeting the SPEC requirements. It should be noted that under the same PVT conditions, even if the resistance increase value of the large resistor is the same as that of the small resistor, the resistance fluctuation caused by the resistance increase of the large resistor will be greater than that caused by the resistance increase of the small resistor. For example, if the original value of the large resistor is R1 and its fluctuation range is R11 to R12 under the influence of PVT, where R11 < R1 < R12, and the original value of the small resistor is R2 and its fluctuation range is R21 to R22 under the influence of PVT, where R21 < R2 < R22. When both the small resistor and the large resistor increase by ΔR, the fluctuation range of the large resistor under the influence of PVT changes to R111 - R112, and the fluctuation range of the small resistor changes to R211 and R212. At this time, (R112 - R111) - (R12 - R11) > (R212 - R211) - (R22 - R21).
[0042] Figure 1 Schematic diagram of an impedance calibration circuit provided by an embodiment of the present disclosure. Refer to Figure 1 , according to the first aspect of the embodiments of the present disclosure, there is provided an impedance calibration circuit 10, including:
[0043] A pull-up driving circuit, including a plurality of pull-up driving branches 100, configured to: receive a pull-up switch signal ZqPuMain and a pull-up calibration code ZqPu <n:0>, and use the pull-up switch signal ZqPuMain to select the specified number of pull-up drive branches, and use the pull-up calibration code ZqPu <n:0>Adjust the voltage ZqOut of the output terminal; the pull-up driving circuit is used to pull up the voltage ZqOut of the output terminal;
[0044] A plurality of switch circuits 120, each pull-up driving branch 100 is connected to the power source 140 through a corresponding switch circuit 120, and is configured to: receive a pull-up switch signal ZqPuMain, and connect a specified number of pull-up driving branches 100 to the power source 140 using the pull-up switch signal ZqPuMain;
[0045] The first generating circuit 300 is configured to: receive the first target voltage Vref1 and the voltage ZqOut at the output terminal, generate a pull-up switch signal ZqPuMain based on the first target voltage Vref1, and generate a pull-up calibration code ZqPu based on the difference between the first target voltage Vref1 and the output voltage ZqOut; <n:0>.
[0046] The pull-up driving branch 100 may be composed of a plurality of pull-up transistors connected between the power supply voltage Vddq and the output terminal. The pull-up transistors may be PMOS transistors.
[0047] A plurality of pull-up transistors are used to receive corresponding pull-up switch signals ZqPuMain and pull-up calibration codes ZqPu <n:0>For example, the pull-up switch signal ZqPuMain turns on / off at least one pull-up transistor, enabling a pull-up driving branch; the pull-up calibration code ZqPu <n:0>Including N+1 calibration code, if there are N+1 pull-up transistors, then the pull-up calibration code ZqPu <n:0>Each calibration code of each bit corresponds to turning on / off a pull-up transistor. The pull-up driving branch 100 may include a main pull-up driving transistor (refer to Figure 5 The pull-up enable transistor M0) and multiple receiving pull-up calibration codes ZqPu <n:0>The auxiliary pull-up driver tube of the one-bit pull-up calibration code (reference Figure 5 The pull-up transistors M1 to MN+1 are connected in parallel to each other, and the equivalent resistances of different auxiliary pull-up drive tubes after receiving the calibration code representing the conduction are different. Finally, the calibration of the pull-up resistance is realized by turning on the main pull-up drive tube and multiple auxiliary pull-up drive tubes. Here and below, N is zero or a natural number.
[0048] In some specific embodiments, each pull-up driving branch can receive the same or different pull-up switch signal ZqPuMain. In some specific embodiments, each pull-up driving branch can receive the same or different pull-up calibration code ZqPu <n:0>.
[0049] One of the plurality of switch circuits 120 receives the pull-up switch signal ZqPuMain and connects a designated number of pull-up driving branches 100 to the power source 140 using the pull-up switch signal ZqPuMain.
[0050] One of the plurality of switch circuits 120 may include a switch transistor connected between the power supply voltage Vddq and each pull-up driving branch. Figure 5 The control end of the switch transistor Mc receives the third pull-up switch signal ZqPuMainc, and controls whether the third pull-up drive branch 103 is connected to the power supply 140 based on whether the third pull-up switch signal ZqPuMainc is turned on or off. The switch transistor can be a PMOS transistor.
[0051] In some specific embodiments, each switch circuit may receive the same or different pull-up switch signals.
[0052] In some embodiments, each switch circuit and the pull-up driving branch corresponding to each switch circuit may respectively receive the same pull-up switch signal, or may synchronously receive the same but mutually independent pull-up switch signal.
[0053] The first generating circuit 300 is configured as follows: before the impedance calibration operation, first determine how many pull-up driving branches to open based on the first target voltage. Since the purpose of the impedance calibration is to adjust the sum of the resistance of a pull-up driving branch and a switch circuit to be equal to the standard resistance, after determining the first target voltage, it is known how many pull-up driving branches need to be opened; during the impedance calibration operation, open a corresponding number of pull-up driving branches for impedance calibration, one or more of the multiple pull-up driving branches 100 are opened, and accordingly, one or more of the multiple pull-up driving branches 100 are opened.
[0054] For example, the first generating circuit 300 is configured to: receive the first target voltage Vref1 before the impedance calibration operation, generate the pull-up switch signal ZqPuMain based on the first target voltage Vref1, and open one or more switch circuits for impedance calibration. Exemplarily, when the first target voltage is high, for example, the first target voltage is 0.8*Vddq, before the impedance calibration operation, multiple switch circuits need to be opened for impedance calibration; when the first target voltage is low, for example, the first target voltage is 0.5*Vddq, before the impedance calibration operation, one switch circuit needs to be opened for impedance calibration.
[0055] In some embodiments, the first target voltage Vref1 may be a reference voltage providing unit ( Figure 1 The reference voltage providing unit can provide a variety of different first target voltages Vref1, and can selectively provide them to the first generating circuit 300 according to actual needs.
[0056] The first generating circuit 300 is configured to: receive the first target voltage Vref1 and the voltage ZqOut at the output terminal, and generate a pull-up calibration code ZqPu based on the difference between the first target voltage Vref1 and the voltage ZqOut at the output terminal. <n:0>.
[0057] For example, before the impedance calibration operation, the first target voltage is 0.5*Vddq, and a pull-up driving branch is turned on; when the difference between the first target voltage and the initial voltage of the output terminal is small, the initial voltage of the output terminal is 0.4*Vddq, and during the impedance calibration operation, the pull-up calibration code ZqPu is generated based on the difference between the first target voltage Vref1 and the voltage ZqOut of the output terminal. <n:0>, by adding the pull-up calibration code ZqPu <n:0>The equivalent resistance of a pull-up driving branch is adjusted to pull up the initial voltage of the output end of 0.4*Vddq to the first target voltage of 0.5*Vddq.
[0058] For example, before the impedance calibration operation, based on the first target voltage of 0.8*Vddq, multiple pull-up driving branches need to be opened; when the difference between the first target voltage and the initial voltage of the output terminal is large, the initial voltage of the output terminal is 0.5*Vddq, and during the impedance calibration operation, the pull-up calibration code ZqPu is generated based on the difference between the first target voltage Vref1 and the voltage ZqOut of the output terminal. <n:0>, by adding the pull-up calibration code ZqPu <n:0>The equivalent resistance values of the multiple pull-up driving branches are adjusted to pull up the initial voltage of the output end, which is 0.5*Vddq, to the first target voltage, which is 0.8*Vddq.
[0059] Since the sum of the overall equivalent resistance of the turned-on pull-up driving branch and the overall equivalent resistance of the switch circuit is determined by the first target voltage, after the first target voltage is determined, the sum of the equivalent resistances Rzqu of the multiple pull-up driving branches 100 in the calibration circuit and the equivalent resistances RzqSw of the multiple switch circuits 120 in the calibration circuit is fixed. No redundant switch circuits are turned on, so that the resistance value of the equivalent resistance RzqSw of the switch circuit can be increased, and accordingly, the resistance value of the equivalent resistance Rzqu of the pull-up driving branch can be reduced, which will not cause the resistance value of the pull-up calibration to be too large, and reduce the variation range of the equivalent resistance value of the pull-up driving circuit under the same PVT conditions, so as to ensure that the equivalent resistance of the pull-up driving branch meets the resistance range specified by SPEC.
[0060] In this way, no redundant switch circuit is opened, so that the resistance value of the equivalent resistance RzqSw of the switch circuit can be increased, and accordingly, the resistance value of the equivalent resistance Rzqu of the pull-up drive branch can be reduced, which will not cause the pull-up calibration resistance value to be too large. In this way, under the influence of different PVT, the equivalent resistance of the pull-up drive circuit is not easy or will not fluctuate further, and the sum of the equivalent resistance Rzqu of multiple pull-up drive branches and the equivalent resistance RzqSw of multiple switch circuits can meet the resistance range specified by SPEC, and the impedance calibration circuit can accurately complete the impedance calibration.
[0061] Figure 2 A schematic diagram of another impedance calibration circuit including multiple pull-up driving branches is provided for the embodiment of the present disclosure. Figure 2 The pull-up driving circuit may include more than three pull-up driving branches, for example, the pull-up driving circuit may include four, five or even more pull-up driving branches. Here and below, the pull-up driving circuit includes three pull-up driving branches as an example for description.
[0062] In some embodiments, the pull-up driving circuit includes a first pull-up driving branch 101, a second pull-up driving branch 102, and a third pull-up driving branch 103; the plurality of switch circuits include a first switch circuit 121, a second switch circuit 122, and a third switch circuit 123; the pull-up switch signal includes a first pull-up switch signal ZqPuMaina, a second pull-up switch signal ZqPuMainb, and a third pull-up switch signal ZqPuMainc;
[0063] The first switch circuit 121 is configured to: receive the first pull-up switch signal ZqPuMaina, and connect the first pull-up drive branch 101 to the power supply 140; and the first pull-up drive branch 101 is configured to: receive the first pull-up switch signal ZqPuMaina, and enable the first pull-up drive branch 101;
[0064] The second switch circuit 122 is configured to: receive the second pull-up switch signal ZqPuMainb to connect the second pull-up drive branch 102 to the power supply 140; and the second pull-up drive branch 102 is configured to: receive the second pull-up switch signal ZqPuMainb to enable the second pull-up drive branch 102;
[0065] The third switch circuit 123 is configured to receive the third pull-up switch signal ZqPuMainc to connect the third pull-up drive branch 103 to the power source 140 ; and the third pull-up drive branch 103 is configured to receive the third pull-up switch signal ZqPuMainc to enable the third pull-up drive branch 103 .
[0066] The first switch circuit 121 outputs a first output voltage VddqSw to the corresponding first pull-up driving branch 101 <0> The second switch circuit 122 outputs a second output voltage VddqSw to the corresponding second pull-up drive branch 102 <1> The third switch circuit 123 outputs a third output voltage VddqSw to the corresponding third pull-up drive branch 103. <2> For example, the output terminals of the first switch circuit 121, the second switch circuit 122, and the third switch circuit 123 are connected as a common terminal, so that the first output voltage VddqSw <0> , the second output voltage VddqSw <1> and the third output voltage VddqSw <2> to the same electric potential.
[0067] The equivalent resistance Rzqua of the first pull-up driving branch 101 , the equivalent resistance Rzqub of the second pull-up driving branch 102 ; and the equivalent resistance Rzquc of the third pull-up driving branch 103 .
[0068] The equivalent resistance of the first switch circuit 121 is RzqSwa, the equivalent resistance of the second switch circuit 122 is RzqSwb; and the equivalent resistance of the third switch circuit 123 is RzqSwc.
[0069] In some embodiments, the first pull-up switch signal ZqPuMaina, the second pull-up switch signal ZqPuMainb and the third pull-up switch signal ZqPuMainc may be the same or different. When the three are the same, they may be the same pull-up switch signal or the same but independently controlled pull-up switch signals.
[0070] In some embodiments, each switch circuit can receive a pull-up switch signal respectively. In some embodiments, each pull-up driving branch can receive a pull-up switch signal respectively.
[0071] Combination Figure 2 and Figure 5 , taking the third switch circuit 123 and the third pull-up driving branch 103 as an example.
[0072] The third switch circuit 123 includes a switch transistor Mc. The third switch circuit 123 can receive a third pull-up switch signal ZqPuMainc, turn on the switch transistor Mc, connect the third switch circuit 123 to the power supply 140, and output a third output voltage VddqSw to the third pull-up drive branch 103. <2> .
[0073] The third pull-up driving branch 103 may include a pull-up enabling transistor M0 (refer to Figure 5 The third pull-up driving branch 103 can receive the third pull-up switch signal ZqPuMainc, turn on / off the pull-up enabling transistor M0, and enable the third pull-up driving branch 103.
[0074] refer to Figure 2 and Figure 5 , Figure 6 In some embodiments, the third switch circuit 123 includes a third level conversion circuit 343 and a switch transistor Mc. The third level conversion circuit 343 receives the third pull-up switch signal ZqPuMainc, generates a third switch voltage EnSwcVwlp according to the third pull-up switch signal ZqPuMainc, and the third switch voltage EnSwcVwlp is used to turn on the switch transistor Mc, so as to connect the third switch circuit 123 to the power supply 140.
[0075] refer to Figure 2 and Figure 5 , Figure 7 In some other embodiments, the third switch circuit 123 includes a third level conversion circuit 343 and a switch transistor Mc. The third level conversion circuit 343 receives the calibration enable signal ZqCalPu, and generates a third switch voltage EnSwcVwlp according to the calibration enable signal ZqCalPu. The third switch voltage EnSwcVwlp is used to turn on the switch transistor Mc, so as to connect the third switch circuit 123 to the power supply 140.
[0076] refer to Figure 2 ,In some embodiments, the first generating circuit 300 ,is configured to: generate a first pull-up switch signal ZqPuMaina in response to the calibration enable signal EnCalPu;
[0077] When the difference between the first target voltage Vref1 and the preset intermediate voltage is greater than or equal to the first preset value and less than the second preset value, the first generating circuit is configured to: generate a second pull-up switch signal ZqPuMainb; wherein the preset intermediate voltage is the theoretical voltage of the output terminal when a pull-up driving branch is turned on;
[0078] When the difference between the first target voltage Vref1 and the preset intermediate voltage is greater than or equal to the second preset value, the first generating circuit is configured to: generate a third pull-up switch signal ZqPuMainc; the second preset value is greater than the first preset value.
[0079] In some embodiments, the first preset value and the second preset value can be set according to actual needs. In some specific embodiments, the first preset value and the second preset value can be set according to the value of the first target voltage.
[0080] Exemplarily, the value of the first target voltage Vref1 is 0.5*Vddq, the value of the first preset value is 0.1*Vddq, and the value of the second preset value is 0.3*Vddq.
[0081] In some specific embodiments, before the impedance calibration operation, the first generating circuit 300 is configured to generate a first pull-up switch signal ZqPuMaina in response to the calibration enable signal EnCalPu during the impedance calibration operation; the first pull-up switch signal ZqPuMaina is used to turn on the first pull-up driving branch 101, because no matter how much the first target voltage is, at least one pull-up driving branch needs to be turned on for calibration;
[0082] After determining that only one pull-up driving branch needs to be turned on according to the first target voltage, the first generating circuit 300 is configured to turn on the first pull-up driving branch 101 in response to the calibration enable signal EnCalPu, by adding the pull-up calibration code ZqPu <n:0>The equivalent resistance of the first pull-up driving branch 101 is adjusted.
[0083] In some specific embodiments, before the impedance calibration operation, the first generating circuit 300 is configured to, based on the first target voltage Vref1, open two switch circuits for impedance calibration if necessary; during the impedance calibration operation, in response to the calibration enable signal EnCalPu, the first generating circuit is configured to generate a first pull-up switch signal ZqPuMaina; the first pull-up switch signal ZqPuMaina is used to open the first pull-up driving branch 101;
[0084] If the preset intermediate voltage is 0.5*Vddq, when the value of the first target voltage is 0.65*Vddq, since the difference between the first target voltage Vref1 and the preset intermediate voltage is greater than or equal to 0.1*Vddq and less than 0.3*Vddq, the first generating circuit is configured to generate a second pull-up switch signal ZqPuMainb; the second pull-up switch signal ZqPuMainb is used to turn on the second pull-up driving branch 102.
[0085] Among them, the preset intermediate voltage is the theoretical voltage of the output end when only one pull-up driving branch is turned on. Theoretically, if the sum of the equivalent resistance of each pull-up driving branch and the corresponding switch circuit is calibrated to be the same as the pull-down branch, both of which are standard resistance values of 240 ohms, then the theoretical voltage of the output end should be 0.5Vddq; in actual production, due to the influence of PVT and parasitic resistance, the theoretical voltage may also deviate from this value, but in any case, after multiple tests and taking the average value, a more reasonable theoretical voltage can be obtained. Since the first target voltage and the theoretical voltage are both determined before calibration, the number of pull-up driving branches that need to be turned on can be directly determined according to the first target voltage. This is because the adjustment effect of the calibration code on the equivalent resistance of the pull-up driving branch is fixed and small in amplitude. When the first target voltage changes significantly, it can generally only be achieved by adjusting the number of pull-up driving branches turned on.
[0086] That is to say, after the first target voltage is determined and before impedance calibration is performed, all the pull-up driving branches that need to be turned on will be turned on to make the voltage ZqOut at the output end close to the first target voltage, and then the difference between the first target voltage and the voltage at the output end is determined and a pull-up calibration code is generated. The equivalent resistance of the pull-up driving branch is adjusted through the pull-up calibration code, so that the voltage at the output end is further close to or even equal to the first target voltage.
[0087] In some specific embodiments, before the impedance calibration operation, the first generating circuit 300 is configured to, based on the first target voltage Vref1, need to open three switch circuits for impedance calibration; during the impedance calibration operation, in response to the calibration enable signal EnCalPu, the first generating circuit is configured to generate a first pull-up switch signal ZqPuMaina; the first pull-up switch signal ZqPuMaina is used to turn on the first pull-up driving branch 101;
[0088] If the preset intermediate voltage is 0.5*Vddq, when the value of the first target voltage is 0.8*Vddq, since the difference between the first target voltage and the preset intermediate voltage is greater than or equal to 0.3*Vddq, the first generating circuit is configured to generate a third pull-up switch signal ZqPuMainc; the third pull-up switch signal ZqPuMainc is used to turn on the third pull-up driving branch 103;
[0089] When the preset intermediate voltage is 0.5Vddq, the difference between the first target voltage Vref1 and the preset intermediate voltage is greater than or equal to 0.3*Vddq, and the first generating circuit is configured to generate a third pull-up switch signal ZqPuMainc; the third pull-up switch signal ZqPuMainc is used to turn on the third pull-up driving branch 103.
[0090] Figure 3 A schematic diagram of a first generating circuit provided by an embodiment of the present disclosure. Figure 3 In some specific embodiments, the first generating circuit 300 includes: a first NOT gate 320, a second NOT gate 322, a first NOR gate 324, and a second NOR gate 326;
[0091] The output end of the first NOT gate 320 is connected to the input end of the second NOT gate 322, the first input end of the first NOR gate 324, and the first input end of the second NOR gate 326; the first NOT gate 320 receives the calibration enable signal EnCalPu, and the second NOT gate 322 receives the inverse signal EnCalPuN of the calibration enable signal and outputs the first pull-up switch signal ZqPuMaina;
[0092] The second input terminal of the first NOR gate 324 receives the first comparison signal Comp1_V1; the first comparison signal Comp1_V1 indicates that the difference between the first target voltage Vref1 and the preset intermediate voltage is greater than or equal to the first preset value and less than the second preset value; the first NOR gate 324 outputs the second pull-up switch signal ZqPuMainb;
[0093] The second input terminal of the second NOR gate 326 receives the second comparison signal Comp1_V2; the second comparison signal Comp1_V2 indicates that the difference between the first target voltage Vref1 and the preset intermediate voltage is greater than or equal to the second preset value; the second NOR gate 326 outputs the third pull-up switch signal ZqPuMainc. It can be understood that the voltage of the preset intermediate voltage can be stored in a register or directly generated by a specific circuit; in addition, Figure 3 In the circuit structure shown, the first comparison signal and the second comparison signal are valid at a low level. In other embodiments, the first comparison signal and the second comparison signal may also be valid at a high level.
[0094] Figure 4 A schematic diagram of another first generating circuit provided by an embodiment of the present disclosure. Figure 4 In some embodiments, the first generating circuit includes:
[0095] The comparator 301 is configured to: compare the first target voltage Vref1 with the voltage ZqOut at the output terminal to output a first difference signal Vdiff, wherein the first difference signal Vdiff is used to represent a voltage difference between the first target voltage Vref1 and the voltage ZqOut at the output terminal; and
[0096] The feedback circuit 302 is configured to: increase or decrease the pull-up calibration code ZqPu in response to the first difference signal Vdiff <n:0>.
[0097] In some embodiments, feedback circuit 302 may include an adder / subtractor.
[0098] When the first difference signal Vdiff output by the comparator 301 indicates that the voltage difference between the first target voltage Vref1 and the voltage ZqOut at the output terminal is greater than zero (ie, the first target voltage is greater than the voltage at the output terminal), the feedback circuit 302 adds the pull-up calibration code ZqPu <n:0>, to reduce the equivalent resistance of the pull-up driving branch, or, when the first difference signal Vdiff output by the comparator 301 is characterized by a voltage difference between the first target voltage Vref1 and the voltage ZqOut at the output end being less than zero, the feedback circuit 302 reduces the pull-up calibration code ZqPu <n:0>, until the first target voltage Vref1 is equal to the voltage ZqOut at the output end.
[0099] Figure 5 Schematic diagram of the pull-up drive branch and switch circuit provided by the embodiment of the present disclosure. Figure 5 In some embodiments, each pull-up driving branch (with Figure 2 The third pull-up driving branch 103 is taken as an example), comprising:
[0100] The pull-up switch 1031 has one end connected to a switch circuit (with Figure 2 The third switch circuit 123 is taken as an example) and the other end is connected to the output end for receiving a pull-up switch signal (taking the third pull-up switch signal ZqPuMainc as an example);
[0101] The pull-up unit 1032 is connected in parallel with the pull-up switch 1031 and is used to receive the pull-up calibration code ZqPu <n:0>.
[0102] The pull-up switch 1031 receives the third pull-up switch signal ZqPuMainc to enable the third pull-up driving branch 103 .
[0103] The pull-up switch 1031 may include at least one pull-up enabling transistor M0 connected between the power supply voltage Vddq and the output terminal. The control terminal of the pull-up enabling transistor receives the pull-up switch signal ZqPuMainc, turns on / off the pull-up enabling transistor, and enables the third pull-up driving branch 103. The pull-up enabling transistor M0 may be a PMOS transistor. It should be noted that the equivalent resistance of the pull-up switch 1031 when turned on is less than the equivalent resistance of the pull-up unit 1032 when it receives any calibration code and is turned on. When the pull-up switch 1031 is turned off, only turning on the pull-up unit 1032 will make the voltage ZqOut at the output terminal lower than the preset intermediate voltage, and will not play a calibration role. The enabling role of the pull-up switch 1031 means that only when the pull-up switch 1031 is turned on, the voltage ZqOut at the output terminal can be close to the preset intermediate voltage, so as to achieve the calibration of the sum of the equivalent resistances of the pull-up driving branch and the switch circuit.
[0104] The pull-up unit 1032 may include N+1 pull-up transistors M1-MN+1 connected in parallel with the pull-up switch 1031; the pull-up calibration code ZqPu <n:0>Each calibration code (pull-up calibration code ZqPu <0> ~ZqPu <n>The pull-up transistors M1 to MN+1 may be PMOS transistors.
[0105] Exemplarily, when the value of N is 5, the pull-up unit 1032 includes 6 pull-up transistors M1 to M6 connected in parallel with the pull-up switch 1031, which are used to receive the pull-up calibration code ZqPu <0> ~ZqPu <5> , each calibration code of the pull-up calibration code ZqPu<5:0> (the pull-up calibration code ZqPu <0> ~ZqPu <5> One of the pull-up transistors M1 to M6) turns on / off a corresponding pull-up transistor (one of the pull-up transistors M1 to M6).
[0106] In some specific embodiments, the equivalent resistance values of the pull-up transistors M1 to MN+1 in the on state are sequentially arranged in an arithmetic difference arrangement or a geometric ratio arrangement. For example, the ratio of the equivalent resistance values of the pull-up transistors M1 to MN+1 in the on state is 1:2:4:8...2 N .
[0107] refer to Figure 5 In some embodiments, a gate resistance of a transistor in the switch circuit is greater than a gate resistance of a transistor in the pull-up switch.
[0108] The third switch circuit 123 includes a switch transistor Mc, and the pull-up switch in the third pull-up drive branch 103 includes a pull-up enable transistor M0. Setting the gate resistance of the switch transistor Mc to be greater than the gate resistance of the pull-up enable transistor M0 is beneficial to reducing the noise coefficient of the switch circuit and reducing the fluctuation of the equivalent resistance of the switch circuit caused by the influence of PCT. At the same time, the equivalent resistance of the switch circuit can be increased, that is, the equivalent resistance of one or more switch circuits that are finally turned on is increased, and the equivalent resistance of the pull-up drive branch is further reduced, thereby making the sum of the equivalent resistance values of the switch circuit and the pull-up drive branch less affected by PVT, ensuring that the sum of the equivalent resistance values meets the requirements of JEDEC, that is, closer to the standard resistance value of 240 ohms.
[0109] Figure 6 A schematic diagram of a switch circuit provided in an embodiment of the present disclosure; Figure 7 A schematic diagram of another switch circuit provided by an embodiment of the present disclosure. Figure 2 and Figure 6 , or, combined with Figure 2 and Figure 7 In some embodiments, each switch circuit includes a corresponding level conversion circuit configured to receive a pull-up switch signal and output a switch voltage, and the switch voltage connects the corresponding switch circuit to a power source. The level conversion circuit includes a first level conversion circuit 341, a second level conversion circuit 342, and a third level conversion circuit 343.
[0110] In some embodiments, reference Figure 2 and Figure 6 , the first level conversion circuit 341 receives the first pull-up switch signal ZqPuMaina, generates a first switch voltage EnSwaVwlp according to the first pull-up switch signal ZqPuMaina, and the first switch voltage EnSwaVwlp is used to turn on the switch transistor ( Figure 2 ), connects the first pull-up driving branch 101 to the power supply 140; the second level conversion circuit 342 receives the second pull-up switch signal ZqPuMainb, generates a second switch voltage EnSwbVwlp according to the second pull-up switch signal ZqPuMainb, and the second switch voltage EnSwbVwlp is used to turn on the switch transistor ( Figure 2 ), the second pull-up driving branch 102 is connected to the power supply 140; the third level conversion circuit 343 receives the third pull-up switch signal ZqPuMainc, generates a third switch voltage EnSwcVwlp according to the third pull-up switch signal ZqPuMainc, and the third switch voltage EnSwcVwlp is used to turn on the switch transistor Mc (reference Figure 5 ), connecting the third pull-up driving branch 103 to the power source 140.
[0111] In other embodiments, reference Figure 2 and Figure 7 The first level conversion circuit 341, the second level conversion circuit 342, and the third level conversion circuit 343 all receive the calibration enable signal ZqCalPu, and generate the first switching voltage EnSwaVwlp, the second switching voltage EnSwbVwlp, and the third switching voltage EnSwcVwlp according to the calibration enable signal ZqCalPu. The first switching voltage EnSwaVwlp, the second switching voltage EnSwbVwlp, and the third switching voltage EnSwcVwlp are respectively used to turn on the corresponding switching transistors, connecting the first pull-up driving branch 101, the second pull-up driving branch 102, and the third pull-up driving branch 103 to the power supply 140.
[0112] Refer to the above Figure 1 In some embodiments, the impedance calibration circuit 10 further includes a pull-down driving circuit 200; the pull-down driving circuit 200 is connected to the pull-up driving circuit 100 at the output end;
[0113] The pull-down driving circuit 200 includes at least two pull-down driving branches, each of which is configured to receive a pull-down switch signal ZqPdMain and a pull-down calibration code ZqPd <n:0>, and use the pull-down switch signal ZqPdMain to select the specified number of pull-down drive branches, and use the pull-down calibration code ZqPd <n:0>Adjust the voltage of the output terminal; the pull-down driving circuit is used to pull down the voltage ZqOut of the output terminal; wherein the number of the pull-down driving branches 200 is less than the number of the pull-up driving branches 100.
[0114] Refer to the above Figure 2 , the number of the pull-down driving branches 200 is less than the number of the pull-up driving branches 100. Here and below, the pull-down driving circuit including two pull-down driving branches is taken as an example for description.
[0115] In some embodiments, the pull-down driving circuit includes a first pull-down driving branch 201 and a second pull-down driving branch 202; the pull-down switch signal includes a first pull-down switch signal ZqPdMaina and a second pull-down switch signal ZqPdMainb;
[0116] The first pull-down driving branch 201 is configured to: receive the first pull-down switch signal ZqPdMaina to enable the first pull-down driving branch 201; receive the pull-down calibration code ZqPd <n:0>Adjust the voltage ZqOut at the output terminal;
[0117] The second pull-down driving branch 202 is configured to: receive the second pull-down switch signal ZqPdMainb to enable the second pull-down driving branch 202; receive the pull-down calibration code ZqPd <n:0>Adjust the voltage ZqOut at the output terminal.
[0118] Here, the first pull-down driving branch 201 has a first equivalent resistance Rzqda, and the second pull-down driving branch 202 has a second equivalent resistance Rzqdb.
[0119] Figure 8 A schematic diagram of a pull-down drive branch provided by an embodiment of the present disclosure. Figure 8 In some embodiments, each pull-down driving branch (with Figure 2 The second pull-down driving branch 202 of FIG. 1 (as an example) includes:
[0120] A pull-down switch 2021, one end of which is connected to the output end, and the other end of which is connected to the ground voltage Vssq, for receiving a pull-down switch signal ZqPdMainb;
[0121] The pull-down unit 2022 is connected in parallel with the pull-down switch 2021 and is used to receive the pull-down calibration code ZqPd. <n:0>.
[0122] The pull-down switch 2021 may include at least one pull-down enable transistor Md0 connected between the ground voltage Vssq and the output terminal. The pull-down enable transistor Md0 may be an NMOS transistor.
[0123] The pull-down unit 2022 may include N+1 pull-down transistors Md1 to MdN+1 connected in parallel with the pull-down switch 2021; the pull-down calibration code ZqPd <n:0>Each calibration code (pull-down calibration code ZqPd <0> ~ZqPd <n>The pull-down transistors Md1 to MdN+1 may be NMOS transistors.
[0124] Exemplarily, when N is 5, the pull-down unit 2022 includes 6 pull-down transistors Md1 to Md6 connected in parallel with the pull-down switch 2021, and is used to receive the pull-down calibration code ZqPd <0> ~ZqPd <5> , each calibration code of the pull-down calibration code ZqPd<5:0> (pull-down calibration code ZqPd <0> ~ZqPd <5> One of the pull-down transistors Md1 to Md6) turns on / off a corresponding pull-down transistor (one of the pull-down transistors Md1 to Md6).
[0125] In some specific embodiments, the resistance values of the pull-down transistors Md1 to MdN+1 in the on state are arranged in an arithmetic difference or geometric ratio. For example, the ratio of the equivalent resistance values of the pull-down transistors Md1 to MdN+1 in the on state is 1:2:4:8...2 N .
[0126] Fig. 9 A schematic diagram of another impedance calibration circuit provided by an embodiment of the present disclosure. Fig. 9 In some embodiments, the impedance calibration circuit 10 further includes:
[0127] The second generating circuit 500 is configured to: receive the second target voltage Vref2 and the voltage ZqOutside of the external calibration terminal, and generate a pull-down switch signal ZqPdMain based on the second target voltage Vref2, and generate a pull-down calibration code ZqPd based on the difference between the second target voltage Vref2 and the voltage ZqOutside of the external calibration terminal. <n:0>Wherein, the external calibration terminal is connected in series between the external standard resistor Rzqs and the external pull-down drive circuit 400, and the external pull-down drive circuit 400 and the pull-down drive branch 200 receive the same pull-down switch signal ZqPdMain and pull-down calibration code ZqPd <n:0>.
[0128] The external calibration terminal may include a calibration pad 601. The external standard resistor Rzqs is coupled between the power supply voltage Vddq and the calibration pad 601, and the external pull-down drive circuit 400 is coupled between the ground voltage Vssq and the calibration pad 601. The resistance value of the external standard resistor Rzqs may be 240 ohms. The external pull-down drive circuit 400 may have the same Figure 1 The pull-down driving circuit 200 has the same configuration.
[0129] The second generating circuit 500 may have Figure 1 The first generating circuit 300 has the same configuration as in FIG.
[0130] In some embodiments, the reference voltage providing unit ( Fig. 9 (not shown) can generate a first target voltage Vref1 and a second target voltage Vref2 as needed. The first target voltage Vref1 and the second target voltage Vref2 can have different voltage levels. Exemplarily, the first output terminal of the reference voltage providing unit is used to provide the first target voltage Vref1, the second output terminal of the reference voltage providing unit is used to provide the second target voltage Vref2, and the first target voltage Vref1 is greater than the second target voltage Vref2.
[0131] Fig.10 A schematic diagram of a memory provided by an embodiment of the present disclosure. Fig.10 According to a second aspect of an embodiment of the present disclosure, a memory 22 is provided, comprising: an impedance calibration circuit 10 of any one of the above schemes.
[0132] The memory 22 includes the impedance calibration circuit 10 of any one of the above schemes. The memory 22 can respond to the memory controller ( Fig.10 The impedance calibration operation is performed by using an impedance calibration command sent by the user (not shown).
[0133] In some embodiments, memory 22 may include volatile memory and non-volatile memory.
[0134] In an exemplary embodiment, the memory 22 may be any of various memory devices supporting high-speed operation, such as a dynamic random access memory (DRAM). For example, an impedance calibration operation may be performed in response to an impedance calibration command sent by a memory controller.
[0135] Before the memory 22 sends and / or receives data, an impedance calibration operation is performed through the impedance calibration circuit 10. After the calibration is completed, the output impedance and / or terminal impedance of the memory 22 is adjusted to reduce or eliminate the impedance mismatch between the memory 22 and the memory controller, which is conducive to high-speed data transmission.
[0136] Fig.11 A schematic diagram of a memory system provided by an embodiment of the present disclosure. Fig.11 According to a third aspect of an embodiment of the present disclosure, a memory system 20 is provided, comprising: a memory 22 of any one of the above schemes.
[0137] The memory system 20 includes at least one memory 22 and a memory controller 24 coupled to the at least one memory.
[0138] The memory system 20 may be implemented in a module structure such as a Dual-Inline-Memory-Module (DIMM) or a High Bandwidth Memory (HBM) device in which the memory 22 and the memory controller 24 are integrated into one substrate.
[0139] On the host ( Fig.11 Under the control of the memory controller 24 (not shown), the memory controller 24 can send a write command, a read command, and an impedance calibration command to the memory 22. The memory 22 can perform a write operation in response to a write command, a read operation in response to a read command, and an impedance calibration operation in response to an impedance calibration command.
[0140] The above description is only a preferred embodiment of the present disclosure, and does not limit the patent scope of the present disclosure. All equivalent structural changes made by using the contents of the present disclosure and the drawings under the inventive concept of the present disclosure, or directly / indirectly applied in other related technical fields are included in the patent protection scope of the present disclosure. < / n> < / n>
Claims
1. An impedance calibration circuit, characterized in that: include: A pull-up driving circuit, comprising a plurality of pull-up driving branches, configured to: receive a pull-up switch signal and a pull-up calibration code, and select a specified number of the pull-up driving branches using the pull-up switch signal, and adjust the voltage of the output terminal using the pull-up calibration code; the pull-up driving circuit is used to pull up the voltage of the output terminal; A plurality of switch circuits, each of the pull-up driving branches is connected to a power source through a corresponding one of the switch circuits, and is configured to: receive the pull-up switch signal, and connect a specified number of the pull-up driving branches to the power source using the pull-up switch signal; The first generating circuit is configured to: receive a first target voltage and the voltage of the output terminal, generate the pull-up switch signal based on the first target voltage, and generate the pull-up calibration code based on the difference between the first target voltage and the output terminal, wherein the first target voltage is the target output voltage of the output terminal.
2. The impedance calibration circuit according to claim 1, characterized in that: The pull-up driving circuit includes a first pull-up driving branch, a second pull-up driving branch and a third pull-up driving branch; the plurality of switch circuits include a first switch circuit, a second switch circuit and a third switch circuit; the pull-up switch signal includes a first pull-up switch signal, a second pull-up switch signal and a third pull-up switch signal; The first switch circuit is configured to: receive the first pull-up switch signal to connect the first pull-up drive branch to the power supply; and the first pull-up drive branch is configured to: receive the first pull-up switch signal to enable the first pull-up drive branch; The second switch circuit is configured to: receive the second pull-up switch signal and connect the second pull-up drive branch to the power supply; and the second pull-up driving branch is configured to: receive the second pull-up switch signal to enable the second pull-up driving branch; The third switch circuit is configured to: receive the third pull-up switch signal to connect the third pull-up drive branch to the power supply; and the third pull-up drive branch is configured to: receive the third pull-up switch signal to enable the third pull-up drive branch.
3. The impedance calibration circuit according to claim 2, characterized in that: The first generating circuit is configured to: generate the first pull-up switch signal in response to a calibration enable signal; When the difference between the first target voltage and the preset intermediate voltage is greater than or equal to a first preset value and less than a second preset value, the first generating circuit is configured to: generate the second pull-up switch signal; wherein the preset intermediate voltage is a theoretical voltage of the output terminal when one of the pull-up driving branches is turned on; When the difference between the first target voltage and the preset intermediate voltage is greater than or equal to a second preset value, the first generating circuit is configured to: generate the third pull-up switch signal; and the second preset value is greater than the first preset value.
4. The impedance calibration circuit according to claim 1, characterized in that: The first generating circuit comprises: a comparator configured to: compare the first target voltage with the voltage at the output terminal to output a first difference signal, wherein the first difference signal is used to represent a voltage difference between the first target voltage and the voltage at the output terminal; and The feedback circuit is configured to increase or decrease the pull-up calibration code in response to the first difference signal.
5. The impedance calibration circuit according to claim 1, characterized in that: Each of the pull-up driving branches comprises: A pull-up switch, one end of which is connected to one of the switch circuits, and the other end of which is connected to the output end, for receiving the pull-up switch signal; The pull-up unit is connected in parallel with the pull-up switch and is used to receive the pull-up calibration code.
6. The impedance calibration circuit according to claim 5, characterized in that: A gate resistance of the transistor in the switch circuit is greater than a gate resistance of the transistor in the pull-up switch.
7. The impedance calibration circuit according to claim 1, characterized in that: The impedance calibration circuit further includes a pull-down driving circuit; the pull-down driving circuit and the pull-up driving circuit are connected at the output end; The pull-down driving circuit includes at least two pull-down driving branches, each of which is configured to: receive a pull-down switch signal and a pull-down calibration code, and use the pull-down switch signal to select a specified number of the pull-down driving branches, and use the pull-down calibration code to adjust the voltage of the output end; the pull-down driving circuit is used to pull down the voltage of the output end; wherein the number of the pull-down driving branches is less than the number of the pull-up driving branches.
8. The impedance calibration circuit according to claim 7, characterized in that: Each of the pull-down driving branches comprises: A pull-down switch, one end of which is connected to the output end and the other end of which is connected to the ground voltage, for receiving the pull-down switch signal; A pull-down unit is connected in parallel with the pull-down switch and is used to receive the pull-down calibration code.
9. The impedance calibration circuit according to claim 7, characterized in that: The impedance calibration circuit also includes: The second generating circuit is configured to: receive a second target voltage and a voltage at an external calibration terminal, and generate a pull-down switch signal based on the second target voltage, and generate the pull-down calibration code based on the difference between the second target voltage and the voltage at the external calibration terminal; wherein the external calibration terminal is connected in series between an external standard resistor and an external pull-down driving circuit, and the external pull-down driving circuit and the pull-down driving branch receive the same pull-down switch signal and the pull-down calibration code.
10. A memory, characterized in that: include: The impedance calibration circuit according to any one of claims 1 to 9.
