Reference voltage generating circuit and memory
By generating multiple initial reference voltages and affecting the selection of adaptive reference voltages based on multi-bit data, the error sampling problem caused by inter-code interference in high-speed links is solved, and the data sampling accuracy is improved.
Patent Information
- Application Number
- CN202310814274.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-03
- Publication Date
- 2025-01-10
- Estimated Expiration
- 2043-07-03
AI Technical Summary
In computer high-speed links, inter-code interference (ISI) causes the level of the data to be sampled may not rise or fall to the level of the reference voltage, resulting in the receiver incorrect sampling. The prior art only considers the previous bit of data to be sampled for the data to be sampled. The impact of the error sampling has failed to effectively alleviate the problem of incorrect sampling.
Design a reference voltage generation circuit, by generating four initial reference voltages, based on the influence of the previous second bit data and the first bit data, select the adapted reference voltage for memory for sampling, and comprehensively consider the multi-bit data to treat the sampled data. Influence and improve sampling accuracy.
By comprehensively considering the influence of multi-bit data, the adapted reference voltage is generated, which significantly improves the data sampling accuracy of the memory in the high-speed link and reduces the occurrence of error sampling.
Smart Images

Figure CN119298908A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of semiconductor circuit design, and in particular to a reference voltage generating circuit and a memory. Background Art
[0002] In the design of memory receiver circuits, the data to be sampled is usually sampled based on the effective edge of the sampling clock. The sampling of the data to be sampled is to compare the level of the data to be sampled with the reference voltage. If the level of the data to be sampled is greater than the reference voltage, the output data "1" is the sampling result of a high level. If the level of the data to be sampled is less than the reference voltage, the output data "0" is the sampling result of a low level.
[0003] In computer high-speed links, as the transmission speed of data signals becomes faster and faster, it is inevitable that significant inter-symbol interference (ISI) will occur. The influence of ISI may cause the level of the data to be sampled to be unable to rise to a level greater than the reference voltage, causing the receiver to sample incorrectly and output data "0", or cause the level of the data to be sampled to be unable to drop to a level less than the reference voltage, causing the receiver to sample incorrectly and output data "1". Summary of the invention
[0004] The embodiments of the present disclosure provide a reference voltage generating circuit and a memory to improve the accuracy of data sampling of the memory.
[0005] An embodiment of the present disclosure provides a reference voltage generating circuit, including: an initial reference voltage generating module, which is used to receive an original code, a first code, and a second code, and to generate a first initial reference voltage based on the original code + the first code + the second code, to generate a second initial reference voltage based on the original code + the first code - the second code, to generate a third initial reference voltage based on the original code - the first code + the second code, and to generate a fourth initial reference voltage based on the original code - the first code - the second code; a first selection circuit, which is used to receive the first initial reference voltage, the second initial reference voltage, the third initial reference voltage, the fourth initial reference voltage and a first voltage selection signal, and is configured to generate a first reference voltage based on the first voltage The selection signal selects to output the first reference voltage based on the first initial reference voltage or the second initial reference voltage; the first selection circuit is also configured to select to output the second reference voltage based on the third initial reference voltage or the fourth initial reference voltage based on the first voltage selection signal; the second selection circuit is used to receive the first reference voltage, the second reference voltage and the second voltage selection signal, and is configured to select to output the reference voltage based on the first reference voltage or the second reference voltage based on the second voltage selection signal; wherein the output value of the first voltage selection signal is used to consider the influence of the previous second bit data on the current data to be sampled, and the output value of the second voltage selection signal is used to consider the influence of the previous first bit data on the current data to be sampled.
[0006] For the reference voltage generating circuit provided in this embodiment, four reference voltages are generated based on the sampling influence of the previous second bit data on the current data to be sampled DQ, and the sampling influence of the previous first bit data on the current data to be sampled DQ. Then, based on the control output of the first voltage selection signal and the second voltage selection signal, the adapted reference voltage is provided for sampling by the memory to comprehensively consider the sampling influence of the previous second bit data and the previous first bit data on the current data to be sampled DQ, thereby improving the accuracy of data sampling by the memory.
[0007] Optionally, the initial reference voltage generating module includes: a voltage divider circuit including N voltage output terminals, and the voltage outputted by each voltage output terminal is different, and N is an integer greater than 1; a decoding circuit, used to receive the original code, the first code and the second code, and configured to generate a first processing signal based on the original code + the first code + the second code, generate a second processing signal based on the original code + the first code - the second code, generate a third processing signal based on the original code - the first code + the second code, and generate a fourth processing signal based on the original code - the first code - the second code; the first processing circuit is connected to the voltage divider circuit and the decoding circuit , configured to select the corresponding voltage output terminal in the voltage divider circuit to output the first initial reference voltage based on the first processing signal; the second processing circuit, connected to the voltage divider circuit and the decoding circuit, configured to select the corresponding voltage output terminal in the voltage divider circuit to output the second initial reference voltage based on the second processing signal; the third processing circuit, connected to the voltage divider circuit and the decoding circuit, configured to select the corresponding voltage output terminal in the voltage divider circuit to output the third initial reference voltage based on the third processing signal; the fourth processing circuit, connected to the voltage divider circuit and the decoding circuit, configured to select the corresponding voltage output terminal in the voltage divider circuit to output the fourth initial reference voltage based on the fourth processing signal.
[0008] Optionally, a voltage divider circuit comprises: N-1 first resistors connected in series, wherein the first end of the first first resistor is used to receive a first internal voltage, the second end of the last first resistor is used to receive a second internal voltage, and the second end of each first resistor is connected to the first end of the next first resistor; the voltage value of the first internal voltage is greater than the voltage value of the second internal voltage; and the two ends of each first resistor serve as output ports to form N voltage output ends.
[0009] Optionally, the voltage value of the first initial reference voltage>the voltage value of the second initial reference voltage>the voltage value of the third initial reference voltage>the voltage value of the fourth initial reference voltage.
[0010] Optionally, the original encoded value>the first encoded value>the second encoded value.
[0011] Optionally, the first processing signal includes N first sub-signals, and the N first sub-signals include only one valid signal. The first processing circuit includes: N first switching transistors, and the control end of each first switching transistor corresponds to receiving the corresponding first sub-signal; the first terminal of each first switching transistor corresponds to connecting to a corresponding voltage output end of the N voltage output ends, and the second terminal is connected to the output end of the first processing circuit to output a first initial reference voltage.
[0012] Optionally, the first selection circuit includes: a first selection unit for receiving a first initial reference voltage, a second initial reference voltage and a first voltage selection signal, and is configured to select, based on the first voltage selection signal, to output the first reference voltage based on the first initial reference voltage or the second initial reference voltage; a second selection unit for receiving a third initial reference voltage, a fourth initial reference voltage and the first voltage selection signal, and is configured to select, based on the first voltage selection signal, to output the second reference voltage based on the third initial reference voltage or the fourth initial reference voltage.
[0013] Optionally, the size of the first code is configured to measure an influence parameter of previous first bit data on current data to be sampled, and the size of the second code is configured to measure an influence parameter of previous second bit data on current data to be sampled.
[0014] Optionally, the first voltage selection signal is set based on previous second bit data, and the second voltage selection signal is set based on previous first bit data.
[0015] Another embodiment of the present disclosure further provides a memory, comprising the reference voltage generating circuit and the sampling circuit provided in the above embodiment, wherein the first input terminal of the sampling circuit is used to receive data to be sampled, and the second input terminal is connected to the output terminal of the reference voltage generating circuit, and is used to receive a reference voltage. The sampling circuit is configured to sample the data to be sampled based on the reference voltage, so as to improve the accuracy of data sampling in the memory. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] One or more embodiments are exemplarily illustrated by pictures in the corresponding drawings, and these exemplified descriptions do not constitute a limitation on the embodiments. Unless otherwise specified, the pictures in the drawings do not constitute a scale limitation. In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the traditional technology, the drawings required for use in the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0017] Figure 1 A schematic diagram of the influence of the first bit of data and the first two bits of data on the DQ of the sampled data provided by an embodiment of the present disclosure;
[0018] Figure 2 A schematic diagram showing the principle of sampling the data DQ to be sampled using different reference voltages provided in an embodiment of the present disclosure;
[0019] Figure 3 A schematic diagram of the structure of a reference voltage generating circuit provided in one embodiment of the present disclosure;
[0020] Figure 4A schematic diagram of the structure of an initial reference voltage generating module provided in one embodiment of the present disclosure;
[0021] Figure 5 A schematic diagram of the structure of a voltage divider circuit and a first processing circuit provided in an embodiment of the present disclosure;
[0022] Figure 6 A schematic diagram of the structure of a first selection circuit provided in an embodiment of the present disclosure;
[0023] Figure 7 A schematic diagram of the structure of a memory provided in another embodiment of the present disclosure. DETAILED DESCRIPTION
[0024] As can be seen from the background technology, in a computer high-speed link, as the transmission speed of data signals becomes faster and faster, it is inevitable that significant inter-symbol interference (ISI) will occur. The influence of ISI may cause the level of the data to be sampled to be unable to rise to a level greater than the reference voltage, causing the receiver to sample incorrectly and output data "0", or cause the level of the data to be sampled to be unable to drop to a level less than the reference voltage, causing the receiver to sample incorrectly and output data "1".
[0025] An embodiment of the present disclosure provides a reference voltage generating circuit to improve the accuracy of data sampling of a memory.
[0026] It can be understood by those skilled in the art that in the various embodiments of the present disclosure, many technical details are provided in order to enable the reader to better understand the present disclosure. However, even without these technical details and various changes and modifications based on the following embodiments, the technical solutions claimed in the present disclosure can be implemented. The division of the following embodiments is for the convenience of description and should not constitute any limitation on the specific implementation of the present disclosure. The various embodiments can be combined with each other and referenced to each other without contradiction.
[0027] Figure 1 A schematic diagram of the effect of the first bit of data and the first two bits of data provided in this embodiment on the DQ of the sampled data to be processed, Figure 2 A schematic diagram showing the principle of sampling the data DQ to be sampled using different reference voltages provided in this embodiment, Figure 3 A schematic diagram of the structure of the reference voltage generating circuit provided in this embodiment, Figure 4 A schematic diagram of the structure of the initial reference voltage generation module provided in this embodiment Figure 5 A schematic diagram of the structure of the voltage divider circuit and the first processing circuit provided in this embodiment, Figure 6 This is a schematic diagram of the structure of the first selection circuit provided in this embodiment. The reference voltage generating circuit provided in this embodiment is described in detail below in conjunction with the accompanying drawings, as follows:
[0028] For the memory, the signal sampling of the memory is implemented based on a comparator. Specifically, the comparator compares the voltage of the data DQ to be sampled with the reference voltage based on the effective edge of the sampling signal. If the voltage of the data DQ to be sampled is greater than the reference voltage, the comparator outputs a high level, that is, data "1". If the voltage of the data DQ to be sampled is less than the reference voltage, the comparator outputs a low level, that is, data "0".
[0029] In the high-speed link of the computer, the transmission speed of the data signal is getting faster and faster, and the time interval of the effective edge of the sampling clock is getting smaller and smaller, so as to collect more data per unit time. However, this operation causes obvious inter-symbol interference (ISI) in the sampling of the memory.
[0030] For ISI, refer to Figure 1 In one example, when the data DQ to be sampled changes from "0" to "1", due to the decrease in the time interval between the effective edges of the sampling clock, when the effective edge of the sampling clock arrives, the actual level of the data DQ to be sampled does not rise to a sufficient level, which may cause the actual voltage of the data DQ to be sampled to be still less than the reference voltage at this time, and the comparator may perform erroneous sampling, thereby outputting data "0"; when the data DQ to be sampled changes from "1" to "0", due to the decrease in the time interval between the effective edges of the sampling clock, when the effective edge of the sampling clock arrives, the actual level of the data DQ to be sampled does not drop to a sufficient level, which may cause the actual voltage of the data DQ to be sampled to be still greater than the reference voltage at this time, and the comparator may perform erroneous sampling, thereby outputting data "1".
[0031] As for the influence of ISI, the commonly used solution is to set the reference voltage to a high reference voltage VCH and a low reference voltage VCL, and adjust the reference voltage used by the comparator to sample the current data DQ to be sampled based on the data of the previous bit. For example, if the current one-bit data is "0", the comparator is set to sample the current data DQ to be sampled based on the low reference voltage VCL. If the current data DQ to be sampled changes from "0" to "1", although the actual level of the data DQ to be sampled has not risen to a sufficient level, the low reference voltage VCL is used as the reference voltage, which reduces the possibility that the actual level of the data DQ to be sampled is less than the reference voltage, thereby alleviating the influence of ISI to a certain extent; similarly, if the current one-bit data is "1", the comparator is set to sample the current data DQ to be sampled based on the high reference voltage VCL. If the current data DQ to be sampled changes from "1" to "0", although the actual level of the data DQ to be sampled has not dropped to a sufficient level, the high reference voltage VCH is used as the reference voltage, which reduces the possibility that the actual level of the data DQ to be sampled is greater than the reference voltage, thereby alleviating the influence of ISI to a certain extent.
[0032] However, this solution only considers the influence of the first bit data on the current data DQ to be sampled, while the second bit data, the third bit data... also have a certain influence on the sampling of the current data DQ to be sampled; if only the influence of the first bit data on the sampling of the current data DQ to be sampled is considered, the comparator will still have the problem of incorrect sampling in practical applications.
[0033] For the influence of the first bit data and the second bit data on the sampled data DQ, please refer to Figure 1 , assuming that in an ideal situation, the high level of the data to be sampled DQ is set to 1, and the low level is set to 0; the current one-bit data is "0", and the current data to be sampled DQ is about to jump to "1". When the effective edge of the sampling clock comes, the level of the data to be sampled rises to 0.7. If the previous second bit data is also "0", when the effective edge of the sampling clock comes, the level of the data to be sampled only rises to 0.6. If the previous second bit data is "1", when the effective edge of the sampling clock comes, the level of the data to be sampled rises to 0.8; the current one-bit data is "1", when The previous data to be sampled DQ wants to jump to "0". When the effective edge of the sampling clock comes, the level of the data to be sampled drops to 0.3. If the previous second bit data is also "1", when the effective edge of the sampling clock comes, the level of the data to be sampled only drops to 0.4. If the previous second bit data is "0", when the effective edge of the sampling clock comes, the level of the data to be sampled drops to 0.2. It can be seen that after combining the influence of the previous second bit data and the previous third bit data..., the current data to be sampled DQ has a larger range of variation, and the memory still has the problem of incorrect sampling.
[0034] In order to consider the influence of the first bit data and the second bit data on the sampled data DQ, refer to Figure 2 In this embodiment, a reference voltage V is adjusted into two reference voltages V+ and V- in combination with the influence of the first bit data on the sampled data DQ, and the two reference voltages V+ and V- are expanded into four reference voltages V++, V+-, V-+ and V-- in combination with the influence of the second bit data on the sampled data DQ, so as to improve the accuracy of data sampling by the memory.
[0035] Specifically, refer to Figure 3 The reference voltage generating circuit 100 provided in this embodiment includes:
[0036] The initial reference voltage generating module 103 is used to receive the original code code, the first code c1 and the second code c2, and based on the original code code <a:0>+First code c1 <a:0>+Second code c2 <a:0>Generate a first initial reference voltage Vr1 based on the original code code <a:0>+First code c1 <a:0>-Second code c2 <a:0>Generate a second initial reference voltage Vr2 based on the original code code <a:0>-First code c1 <a:0>+Second code c2 <a:0>Generate a third initial reference voltage Vr3 based on the original code code <a:0>-First code c1 <a:0>-Second code c2 <a:0>A fourth initial reference voltage Vr4 is generated.
[0037] For the initial reference voltage generating module 103, in one example, the larger the code used to generate the initial reference voltage, the larger the initial reference voltage generated; in another example, it can also be set that the larger the code used to generate the initial reference voltage, the smaller the initial reference voltage generated; in the subsequent description of this embodiment, the initial reference voltage generating module 103 is described in detail by taking the example that the larger the code used to generate the initial reference voltage, the larger the initial reference voltage generated.
[0038] Specifically, the initial reference voltage generating module 103 is based only on the original code code <a:0>The generated voltage is the reference voltage V mentioned above, that is, the original code code <a:0>The size of the reference voltage V is used to measure the size of the first code c1 <a:0>The size of the first bit data is used to measure the influence parameter of the previous first bit data on the current data to be sampled DQ. The initial reference voltage generation module 103 is based on the original code code <a:0>+First code c1 <a:0>The generated voltage is the reference voltage V+△V1, namely the V+ mentioned above; the initial reference voltage generation module 103 is based on the original code code <a:0>-First code c1 <a:0>The generated voltage is the reference voltage V-△V1, namely V- mentioned above; the second code c2 <a:0>The size of the second bit data is used to measure the influence parameter of the previous second bit data on the current data to be sampled DQ. The initial reference voltage generation module 103 is based on the original code code <a:0>+First code c1 <a:0>+Second code c2 <a:0>The generated voltage is a reference voltage V+△V1+△V2, that is, a first initial reference voltage Vr1, that is, V++ mentioned above; the initial reference voltage generating module 103 is based on the original code code <a:0>+First code c1 <a:0>-Second code c2 <a:0>The generated voltage is a reference voltage V+△V1-△V2, that is, a second initial reference voltage Vr2, that is, V+- mentioned above; the initial reference voltage generating module 103 is based on the original code code <a:0>-First code c1 <a:0>+Second code c2 <a:0>The generated voltage is the reference voltage V-△V1+△V2, that is, the third initial reference voltage Vr3, that is, the V-+ mentioned above; the initial reference voltage generation module 103 is based on the original code code <a:0>-First code c1 <a:0>-Second code c2 <a:0>The generated voltage is the reference voltage V-ΔV1-ΔV2, ie, the fourth initial reference voltage Vr4, ie, the V-- mentioned above.
[0039] As can be seen from the foregoing, under this setting, the voltage value of the first initial reference voltage Vr1 > the voltage value of the second initial reference voltage Vr2 > the voltage value of the third initial reference voltage Vr3 > the voltage value of the fourth initial reference voltage Vr4 .
[0040] Since the original code <a:0>The size of the reference voltage V is used to measure the size of the first code c1 <a:0>The size of c2 is used to measure the influence parameter of the previous first bit data on the current data to be sampled DQ. <a:0>The size of is used to measure the influence parameter of the previous second bit data on the current data to be sampled DQ, and the influence of the previous first bit data on the current data to be sampled DQ is greater than the influence of the previous second bit data on the current data to be sampled DQ, that is, the original code code <a:0>The value of > first code c1 <a:0>The value of > second code c2 <a:0>The value of .
[0041] Continue to refer Figure 3 The reference voltage generating circuit 100 also includes: a first selection circuit 101, which is used to receive the first initial reference voltage Vr1, the second initial reference voltage Vr2, the third initial reference voltage Vr3, the fourth initial reference voltage Vr4 and the first voltage selection signal sel1, and is configured to select the first initial reference voltage Vr1 or the second initial reference voltage Vr2 to output the first reference voltage Vref1 based on the first voltage selection signal sel1. The first selection circuit 101 is also configured to select the third initial reference voltage Vr3 or the fourth reference voltage Vr4 to output the second reference voltage Vref2 based on the first voltage selection signal sel1, wherein the output value of the first voltage selection signal sel1 is used to consider the influence of the previous second bit data on the current data to be sampled.
[0042] Specifically, when the previous second bit data is "0", the first voltage selection signal sel1 is used to control the first selection circuit 101 to output the first reference voltage Vref1 with the second initial reference voltage Vr2, and to output the second reference voltage Vref2 with the fourth initial reference voltage Vr4; that is, it is selected to reduce the influence of the second coding c2 on the basis of the reference voltage V to offset the sampling influence of the previous second bit data on the current data to be sampled DQ; when the previous second bit data is "1", the first voltage selection signal sel1 is used to control the first selection circuit 101 to output the first reference voltage Vref1 with the first initial reference voltage Vr1, and to output the second reference voltage Vref2 with the third initial reference voltage Vr3; that is, it is selected to increase the influence of the second coding c2 on the basis of the reference voltage V to offset the sampling influence of the previous second bit data on the current data to be sampled DQ.
[0043] In some embodiments, the first voltage selection signal sel1 may be directly set based on the previous second bit data to feedback control the selection result of the first selection circuit 101 directly based on the value of the previous second bit data.
[0044] The second selection circuit 102 is used to receive the first reference voltage Vref1, the second reference voltage Vref2 and the second voltage selection signal sel2, and is configured to select the output reference voltage V based on the first reference voltage Vref1 or the second reference voltage Vref2 based on the second voltage selection signal sel2, wherein the output value of the second voltage selection signal sel2 is used to consider the influence of the previous first bit data on the current data to be sampled.
[0045] Specifically, when the previous first bit data is "0", the second voltage selection signal sel2 is used to control the second selection circuit 102 to output the reference voltage V with the second reference voltage Vref2, wherein the second reference voltage Vref2 is the third initial reference voltage Vr3 or the fourth initial reference voltage Vr4, that is, it is selected to reduce the influence of the first coding c1 on the basis of the reference voltage V to offset the sampling influence of the previous first bit data on the current data to be sampled DQ; when the previous first bit data is "1", the second voltage selection signal sel2 is used to control the second selection circuit 102 to output the reference voltage V with the first reference voltage Vref1, wherein the second reference voltage Vref2 is the first initial reference voltage Vr1 or the second initial reference voltage Vr2, that is, it is selected to increase the influence of the first coding c1 on the basis of the reference voltage V to offset the sampling influence of the previous first bit data on the current data to be sampled DQ.
[0046] In some embodiments, the second voltage selection signal sel2 may be directly set based on the previous first bit data to feedback control the selection result of the second selection circuit 102 directly based on the value of the previous first bit data.
[0047] For the reference voltage generating circuit provided in this embodiment, four reference voltages are generated based on the sampling influence of the previous second bit data on the current data to be sampled DQ, and the sampling influence of the previous first bit data on the current data to be sampled DQ. Then, based on the control output of the first voltage selection signal sel1 and the second voltage selection signal sel2, the adapted reference voltage is provided for sampling by the memory to comprehensively consider the sampling influence of the previous second bit data and the previous first bit data on the current data to be sampled DQ, thereby improving the accuracy of data sampling by the memory.
[0048] For the initial reference voltage generating module 103, in some embodiments, the reference voltage Figure 4 , the initial reference voltage generating module 103 includes:
[0049] The voltage divider circuit 200 includes N voltage output terminals, and each voltage output terminal outputs a different voltage, where N is an integer greater than 1.
[0050] For the voltage divider circuit 200, refer to Figure 5 In one example, the voltage divider circuit 200 includes: N-1 first resistors connected in series, the first end of the first first resistor is used to receive the first internal voltage V1, the second end of the last first resistor is used to receive the second internal voltage V2, and the second end of each first resistor is connected to the first end of the next first resistor; the voltage value of the first internal voltage V1 is greater than the voltage value of the second internal voltage V2, and the two ends of each first resistor serve as output ports to form N voltage output ends.
[0051] Specific reference Figure 5 , N voltage output terminals are used to output voltage Q <0> ~Q <n>, since the resistors for voltage division are all first resistors, the voltage difference between two adjacent voltage output terminals is the same, that is, Q <x>=(V1-V2) / N*x, where x is any integer from 0 to N.
[0052] It should be noted that, in other embodiments, the resistance values of different first resistors may be different. In this case, the voltage difference between two adjacent voltage output terminals is different, but it still meets the Q <n> >Q <n-1>>……>Q <1> >Q <0> .
[0053] In some embodiments, the first internal voltage V1 is implemented based on an internal power voltage VDD of the memory, and the second internal voltage V2 is implemented based on an internal ground voltage VSS of the memory.
[0054] Continue to refer Figure 4 , decoding circuit 201, for receiving the original code code <a:0>、First code c1 <a:0>and the second code c2 <a:0>The decoding circuit 201 is configured to be based on the original code code <a:0>+First code c1 <a:0>+Second code c2 <a:0>Generate a first processed signal based on the original code <a:0>+First code c1 <a:0>-Second code c2 <a:0>Generate a second processed signal based on the original code <a:0>-First code c1 <a:0>+Second code c2 <a:0>Generate a third processed signal based on the original code <a:0>-First code c1 <a:0>-Second code c2 <a:0>A fourth processed signal is generated.
[0055] In an example, assuming a=3, the original code code<3:0>="1000", the first code c1<3:0>="0010", the second code c2<3:0>="0001", then the first processed signal is "1011", the second processed signal is "1001", the third processed signal is "0111", and the fourth processed signal is "0101".
[0056] The first processing circuit 210 is connected to the voltage-dividing circuit 200 and the decoding circuit 201, and is configured to select the corresponding voltage output terminal in the voltage-dividing circuit 200 to output the first initial reference voltage Vr1 based on the first processing signal. The second processing circuit 220 is connected to the voltage-dividing circuit 200 and the decoding circuit 201, and is configured to select the corresponding voltage output terminal in the voltage-dividing circuit 200 to output the second initial reference voltage Vr2 based on the second processing signal. The third processing circuit 230 is connected to the voltage-dividing circuit 200 and the decoding circuit 201, and is configured to select the corresponding voltage output terminal in the voltage-dividing circuit 200 to output the third initial reference voltage Vr3 based on the third processing signal. The fourth processing circuit 240 is connected to the voltage-dividing circuit 200 and the decoding circuit 201, and is configured to select the corresponding voltage output terminal in the voltage-dividing circuit 200 to output the fourth initial reference voltage Vr4 based on the fourth processing signal.
[0057] For the first processing circuit 210, refer to Figure 5 In some embodiments, the first processed signal includes N first sub-signals (X1 <0> ~X1 <n>), and the N first sub-signals include only one valid signal, the first processing circuit 210 includes: N first switch transistors, the control end of each first switch transistor corresponds to receiving the corresponding first sub-signal, the first terminal of each first switch transistor corresponds to connecting to the corresponding voltage output end of the N voltage output ends, and the second terminal is connected to the output end of the first processing circuit 210 to output the first initial reference voltage Vr1.
[0058] Specifically, based on the above example, when a=3, the first processed signal, the second processed signal, the third processed signal and the fourth processed signal are all 4-bit signals, and the 4-bit signal corresponds to 16 binary combinations. At this time, N=15, and the binary signal "0000" corresponds to the first sub-signal X1 <0> To output the corresponding Q <0> , the binary signal "0001" corresponds to the first sub-signal X1 <1> To output the corresponding Q <1> ...The binary signal "1110" corresponds to the first sub-signal X1 <14> To output the corresponding Q <14> , the binary signal "1111" corresponds to the first sub-signal X1 <15> To output the corresponding Q <15> In addition, there is only one valid signal among the N first sub-signals included in the first processed signal, that is, when X1 <0> When output "1" is valid, X1 <1> ~X1 <15> Output is "0" invalid; when X1 <d>When the output is "1" valid, X1 <0> ~X1 <d-1>and X1<d+1> ~X1 <15> An output of "0" is invalid.
[0059] It should be noted that the above example uses X1 <0> ~X1 <n>When the output is "1", it is valid. <0> ~X1 <n>The output is invalid when it is "0" for illustration only, and does not constitute a limitation of this embodiment. In other embodiments, it can also be set to X1 <0> ~X1 <n>When the output is "0", it is valid. <0> ~X1 <n>The output is invalid when it is "1".
[0060] More specifically, in this embodiment, the first processed signal "1011" corresponds to the first sub-signal X1 <11> To output the corresponding Q <11> As the first initial reference voltage Vr1.
[0061] Similarly, for the second processing circuit 220, in some embodiments, the second processed signal includes N second sub-signals (X2 <0> ~X2 <n>), and the N second sub-signals include only one valid signal, the second processing circuit 220 includes: N second switch transistors, the control end of each second switch transistor corresponds to receiving the corresponding second sub-signal, the first terminal of each second switch transistor corresponds to connecting to the corresponding voltage output end among the N voltage output ends, and the second terminal is connected to the output end of the second processing circuit 220 to output the second initial reference voltage Vr2.
[0062] Accordingly, in this embodiment, the second processed signal "1001" corresponds to the second sub-signal X2 <9> To output the corresponding Q <9> As the second initial reference voltage Vr2.
[0063] Similarly, for the third processing circuit 230, in some embodiments, the third processed signal includes N third sub-signals (X3 <0> ~X3 <n>), and the N third sub-signals include only one valid signal, the third processing circuit 230 includes: N third switch transistors, the control end of each third switch transistor corresponds to receiving the corresponding third sub-signal, the first terminal of each third switch transistor corresponds to connecting to the corresponding voltage output end among the N voltage output ends, and the second terminal is connected to the output end of the third processing circuit 230 to output the third initial reference voltage Vr3.
[0064] Accordingly, in this embodiment, the third processed signal "0111" corresponds to the third sub-signal X3 <7> To output the corresponding Q <7> As the third initial reference voltage Vr3.
[0065] Similarly, for the fourth processing circuit 240, in some embodiments, the fourth processed signal includes N fourth sub-signals (X4 <0> ~X4 <n>), and the N fourth sub-signals include only one valid signal, the fourth processing circuit 240 includes: N fourth switch transistors, the control end of each fourth switch transistor corresponds to receiving the corresponding fourth sub-signal, the first terminal of each fourth switch transistor is correspondingly connected to the corresponding voltage output end among the N voltage output ends, and the second terminal is connected to the output end of the fourth processing circuit 240 to output a fourth initial reference voltage Vr4.
[0066] Accordingly, in this embodiment, the fourth processed signal "0101" corresponds to the fourth sub-signal X4 <5> To output the corresponding Q <5> As the fourth initial reference voltage Vr4.
[0067] It should be noted that the relationship between the second processing circuit 220, the third processing circuit 230, the fourth processing circuit 240, the decoding circuit 201 and the voltage divider circuit 200 is the same as that of the first processing circuit 210. Figure 5 The example is directly replaced.
[0068] For the first selection circuit 101, in some embodiments, reference Figure 6 The first selection circuit 101 includes: a first selection unit 110, which is used to receive the first initial reference voltage Vr1, the second initial reference voltage Vr2 and the first voltage selection signal sel1, and is configured to select the first reference voltage Vref1 based on the first initial reference voltage Vr1 or the second initial reference voltage Vr2 based on the first voltage selection signal sel1; a second selection unit 120, which is used to receive the third initial reference voltage Vr3, the fourth initial reference voltage Vr4 and the second voltage selection signal sel2, and is configured to select the second reference voltage Vref2 based on the third initial reference voltage Vr3 or the fourth initial reference voltage Vr4 based on the first voltage selection signal sel1.
[0069] For the reference voltage generating circuit provided in this embodiment, four reference voltages are generated based on the sampling influence of the previous second bit data on the current data to be sampled DQ, and the sampling influence of the previous first bit data on the current data to be sampled DQ. Then, based on the control output of the first voltage selection signal sel1 and the second voltage selection signal sel2, the adapted reference voltage is provided for sampling by the memory to comprehensively consider the sampling influence of the previous second bit data and the previous first bit data on the current data to be sampled DQ, thereby improving the accuracy of data sampling by the memory.
[0070] It should be noted that the features disclosed in the reference voltage generating circuit provided in the above embodiments can be arbitrarily combined without conflict to obtain a new reference voltage generating circuit embodiment.
[0071] Another embodiment of the present disclosure provides a memory, comprising the reference voltage generating circuit and the sampling circuit provided by the above embodiment, so as to improve the accuracy of data sampling of the memory.
[0072] Figure 7 The following is a schematic diagram of the structure of the memory provided in this embodiment. The memory provided in this embodiment is further described in detail in conjunction with the accompanying drawings, as follows:
[0073] refer to Figure 7 The first input terminal of the sampling circuit 400 is used to receive the data DQ to be sampled, and the second input terminal is connected to the output terminal of the reference voltage generating circuit 100 for receiving the reference voltage V. The sampling circuit 400 is configured to sample the data DQ to be sampled based on the reference voltage V.
[0074] Specifically, for the reference voltage generating circuit 100, the reference voltage Figure 3 When the previous second bit data is "0", the first voltage selection signal sel1 is used to control the first selection circuit 101 to output the first reference voltage Vref1 with the second initial reference voltage Vr2, and to output the second reference voltage Vref2 with the fourth initial reference voltage Vr4; that is, it is selected to reduce the influence of the second coding c2 on the basis of the reference voltage V to offset the sampling influence of the previous second bit data on the current data to be sampled DQ; when the previous second bit data is "1", the first voltage selection signal sel1 is used to control the first selection circuit 101 to output the first reference voltage Vref1 with the first initial reference voltage Vr1, and to output the second reference voltage Vref2 with the third initial reference voltage Vr3; that is, it is selected to increase the influence of the second coding c2 on the basis of the reference voltage V to offset the sampling influence of the previous second bit data on the current data to be sampled DQ. When the previous first bit data is "0", the second voltage selection signal sel2 is used to control the second selection circuit 102 to output the reference voltage V with the second reference voltage Vref2, wherein the second reference voltage Vref2 is the third initial reference voltage Vr3 or the fourth initial reference voltage Vr4, that is, it is selected to reduce the influence of the first coding c1 on the basis of the reference voltage V to offset the sampling influence of the previous first bit data on the current data to be sampled DQ; when the previous first bit data is "1", the second voltage selection signal sel2 is used to control the second selection circuit 102 to output the reference voltage V with the first reference voltage Vref1, wherein the second reference voltage Vref2 is the first initial reference voltage Vr1 or the second initial reference voltage Vr2, that is, it is selected to increase the influence of the first coding c1 on the basis of the reference voltage V to offset the sampling influence of the previous first bit data on the current data to be sampled DQ.
[0075] In some embodiments, the first voltage selection signal sel1 can be set directly based on the previous second bit data to feedback control the selection result of the first selection circuit 101 directly based on the value of the previous second bit data. The second voltage selection signal sel2 can be set directly based on the previous first bit data to feedback control the selection result of the second selection circuit 102 directly based on the value of the previous first bit data.
[0076] For the memory provided in this embodiment, four reference voltages are generated based on the sampling influence of the previous second bit data on the current data to be sampled, and the sampling influence of the previous first bit data on the current data to be sampled. Then, based on the control output of the first voltage selection signal and the second voltage selection signal, the adapted reference voltage is provided for sampling by the memory to comprehensively consider the sampling influence of the previous second bit data and the previous first bit data on the current data to be sampled, thereby improving the accuracy of data sampling by the memory.
[0077] It should be noted that the memory may be a storage unit or device based on a semiconductor device or component. For example, the memory device may be a volatile memory, such as a dynamic random access memory DRAM, a synchronous dynamic random access memory SDRAM, a double data rate synchronous dynamic random access memory DDR SDRAM, a low power double data rate synchronous dynamic random access memory LPDDR SDRAM, a graphic double data rate synchronous dynamic random access memory GDDR SDRAM, a double data rate type dual synchronous dynamic random access memory DDR2 SDRAM, a double data rate type triple synchronous dynamic random access memory DDR3 SDRAM, a double data rate fourth generation synchronous dynamic random access memory DDR4 SDRAM, a thyristor random access memory TRAM, etc.; or may be a non-volatile memory, such as a phase change random access memory PRAM, a magnetic random access memory MRAM, a resistive random access memory RRAM, etc.
[0078] Those skilled in the art will appreciate that the above embodiments are specific embodiments for implementing the present disclosure, and that in actual applications, various changes may be made thereto in form and detail without departing from the spirit and scope of the present disclosure.< / n> < / n> < / n> < / n> < / n> < / n> < / n> < / d> < / n> < / n> < / x> < / n>
Claims
1. A reference voltage generating circuit, characterized in that: include: an initial reference voltage generating module, configured to receive an original code, a first code, and a second code, and generate a first initial reference voltage based on the original code + the first code + the second code, generate a second initial reference voltage based on the original code + the first code - the second code, generate a third initial reference voltage based on the original code - the first code + the second code, and generate a fourth initial reference voltage based on the original code - the first code - the second code; A first selection circuit, configured to receive the first initial reference voltage, the second initial reference voltage, the third initial reference voltage, the fourth initial reference voltage and a first voltage selection signal, and configured to select, based on the first voltage selection signal, to output a first reference voltage based on the first initial reference voltage or the second initial reference voltage; The first selection circuit is further configured to select, based on the first voltage selection signal, to output a second reference voltage based on the third initial reference voltage or the fourth initial reference voltage; A second selection circuit, for receiving the first reference voltage, the second reference voltage, and a second voltage selection signal, and configured to select, based on the second voltage selection signal, to output a reference voltage based on the first reference voltage or the second reference voltage; The output value of the first voltage selection signal is used to consider the influence of the previous second bit data on the current data to be sampled, and the output value of the second voltage selection signal is used to consider the influence of the previous first bit data on the current data to be sampled.
2. The reference voltage generating circuit according to claim 1, characterized in that: The initial reference voltage generating module comprises: The voltage divider circuit comprises N voltage output terminals, each of which outputs a different voltage, and N is an integer greater than 1; A decoding circuit, for receiving the original code, the first code and the second code, configured to generate a first processing signal based on the original code + the first code + the second code, generate a second processing signal based on the original code + the first code - the second code, generate a third processing signal based on the original code - the first code + the second code, and generate a fourth processing signal based on the original code - the first code - the second code; a first processing circuit, connected to the voltage divider circuit and the decoding circuit, and configured to select the corresponding voltage output terminal in the voltage divider circuit to output the first initial reference voltage based on the first processing signal; a second processing circuit, connected to the voltage divider circuit and the decoding circuit, and configured to select the corresponding voltage output terminal in the voltage divider circuit to output the second initial reference voltage based on the second processing signal; a third processing circuit, connected to the voltage divider circuit and the decoding circuit, and configured to select the corresponding voltage output terminal in the voltage divider circuit to output the third initial reference voltage based on the third processing signal; The fourth processing circuit is connected to the voltage divider circuit and the decoding circuit, and is configured to select the corresponding voltage output terminal in the voltage divider circuit to output the fourth initial reference voltage based on the fourth processing signal.
3. The reference voltage generating circuit according to claim 2, characterized in that: The voltage divider circuit comprises: N-1 first resistors connected in series, wherein a first end of a first first resistor is used to receive a first internal voltage, a second end of a last first resistor is used to receive a second internal voltage, and a second end of each first resistor is connected to a first end of a next first resistor; A voltage value of the first internal voltage is greater than a voltage value of the second internal voltage; Two ends of each of the first resistors serve as output ports to form the N voltage output ends.
4. The reference voltage generating circuit according to claim 2, characterized in that: The voltage value of the first initial reference voltage>the voltage value of the second initial reference voltage>the voltage value of the third initial reference voltage>the voltage value of the fourth initial reference voltage.
5. The reference voltage generating circuit according to claim 4, characterized in that: The value of the original code>the value of the first code>the value of the second code.
6. The reference voltage generating circuit according to claim 2, characterized in that: The first processed signal includes N first sub-signals, and the N first sub-signals include only one valid signal. The first processing circuit includes: N first switch transistors, each of which has a control terminal that receives the corresponding first sub-signal; The first terminal of each first switch transistor is connected to a corresponding one of the N voltage output terminals, and the second terminal is connected to the output terminal of the first processing circuit to output the first initial reference voltage.
7. The reference voltage generating circuit according to claim 1, characterized in that: The first selection circuit comprises: A first selection unit, for receiving the first initial reference voltage, the second initial reference voltage and the first voltage selection signal, and configured to select, based on the first voltage selection signal, to output a first reference voltage based on the first initial reference voltage or the second initial reference voltage; The second selection unit is used to receive the third initial reference voltage, the fourth initial reference voltage and the first voltage selection signal, and is configured to select and output a second reference voltage based on the third initial reference voltage or the fourth initial reference voltage based on the first voltage selection signal.
8. The reference voltage generating circuit according to any one of claims 1 to 7, characterized in that: The size of the first code is configured to measure the influence parameter of the previous first bit data on the current data to be sampled, and the size of the second code is configured to measure the influence parameter of the previous second bit data on the current data to be sampled.
9. The reference voltage generating circuit according to any one of claims 1 to 7, characterized in that: The first voltage selection signal is set based on the previous second bit data, and the second voltage selection signal is set based on the previous first bit data.
10. A memory, characterized in that: include: The reference voltage generating circuit and sampling circuit according to any one of claims 1 to 9, wherein the first input terminal of the sampling circuit is used to receive the data to be sampled, the second input terminal is connected to the output terminal of the reference voltage generating circuit, and is used to receive the reference voltage, and the sampling circuit is configured to sample the data to be sampled based on the reference voltage.
Citation Information
Patent Citations
Semiconductor apparatus for generating a reference voltage
CN112578835A
Double reference voltage generator, equalization circuit and memory
CN114255801A
Receiver receiving multi-level signal, memory device including receiver, and method of receiving data using receiver
CN114726387A
Reference voltage self -adaptive circuit structure and corresponding device
CN207399180U
Switching power supply and feedback voltage sampling control circuit thereof
CN214707538U