Circuit, method, memory and electronic device for determining memory reference voltage

By designing a reference voltage determination circuit in the memory, using the data bus interface and signal sampler to sample signals, compare the duty cycle, determine the reference voltage value and store it in the register, the problem of long calibration time of reference voltage after the memory is powered on is solved, and the problem of long reference voltage calibration time is realized. Faster calibration process and improve product competitiveness.

CN111863048BActive Publication Date: 2024-12-06CHANGXIN MEMORY TECH INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910337990.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-04-25
Publication Date
2024-12-06
Estimated Expiration
2039-04-25

AI Technical Summary

Technical Problem

The time it takes for the precise calibration of the reference voltage after the memory is powered on, and the calibration time needs to be shortened to improve system efficiency.

Method used

A memory reference voltage determination circuit is designed, including a data bus interface, signal sampler, signal comparator, duty cycle calibration circuit and register. By sampling the data bus signal under preset test voltage conditions, the duty cycle is compared. Determine the reference voltage value that meets the target duty cycle and store it in the mode register to shorten the calibration time.

Benefits of technology

By adding a circuit to confirm the reference voltage range inside the memory and reporting the reference voltage range information, the reference voltage calibration time is shortened and the competitiveness and efficiency of the memory product are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111863048B_ABST
    Figure CN111863048B_ABST
Patent Text Reader

Abstract

The present invention provides a circuit and method for determining a memory reference voltage, a memory, a memory calibration method, an electronic device, and an electronic device calibration method, including: selecting at least two groups of test voltages from preset test voltages; sampling data bus signals under the conditions of each of the test voltages to obtain each sampling signal; comparing the duty cycle of each of the sampling signals to determine a sampling signal that meets the preset target duty cycle; and determining the voltage value of the test voltage corresponding to the sampling signal that meets the preset target duty cycle as the reference voltage value. The technical solution of the embodiment of the present invention adds a circuit for confirming the reference voltage range inside the memory, and reports the reference voltage range information to a register, so that the memory reads the information before performing reference voltage calibration and performs reference voltage calibration within the range of the information, shortening the reference voltage calibration time and improving the competitiveness of memory products.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of memory technology, and in particular to a circuit and method for determining a memory reference voltage, a memory, a memory calibration method, an electronic device, and an electronic device calibration method. Background Art

[0002] Currently, a dynamic random access memory (DRAM) needs to accurately calibrate a reference voltage VREF of the memory after power-on, which plays an important role in ensuring that the memory system can work properly.

[0003] In DDR3 systems, the reference voltage is divided into two signals, one is VREFCA, which serves the command and address signals; the other is VREFDQ, which serves the data bus. VREFDQ can effectively improve the signal-to-noise level of the system data bus. In DDR4 / LPDDR4 systems and later DRAMs, VREFDQ and VREFCA are built-in, and the reference voltage is adjusted inside the DRAM to obtain the largest timing window.

[0004] Figure 1 The figure shows a schematic diagram of the delay between DQS and DQ in a DDR3 system when constraining a write operation through an external VREF. Figure 2 The figure shows a schematic diagram of DDR4 / LPDDR4 system and later DRAMs adjusting VREF to maximize the timing window by built-in VREFDQ and VREFCA inside the memory.

[0005] The time consumed for accurate calibration of the reference voltage after the memory is powered on often reaches the order of seconds. How to shorten the time consumed for accurate calibration has become a problem that needs to be solved at present.

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

[0007] The purpose of the embodiments of the present invention is to provide a circuit and method for determining a memory reference voltage, a memory, a memory calibration method, an electronic device, and an electronic device calibration method, thereby at least to a certain extent shortening the time spent on accurately calibrating the reference voltage after the memory is powered on.

[0008] Other features and advantages of the embodiments of the present invention will become apparent from the following detailed description, or may be learned in part by the practice of the present invention.

[0009] According to a first aspect of an embodiment of the present invention, a circuit for determining a memory reference voltage is provided, the circuit for determining the memory reference voltage comprising: a data bus interface, a signal sampler, a signal comparator, a duty cycle calibration circuit and a register; wherein the data bus interface is connected to the signal sampler for transmitting a data bus signal to the signal sampler; the signal sampler is also connected to the signal comparator for sampling a received data bus signal according to a test voltage and outputting a sampling signal to the signal comparator; the signal comparator is also connected to the duty cycle calibration circuit and a register, the duty cycle calibration circuit is used to determine the duty cycle information of the sampling signal, the signal comparator is used to compare multiple groups of the duty cycle information, and the register is used to store the comparison result of the signal comparator.

[0010] In one embodiment of the present invention, there are at least two groups of the test voltages, and the voltage value of each group of the test voltages is configurable.

[0011] In one embodiment of the present invention, the register is a mode register of the memory.

[0012] According to a second aspect of an embodiment of the present invention, a method for determining a memory reference voltage is provided, comprising: selecting at least two groups of test voltages from preset test voltages; sampling a data bus signal under each of the test voltage conditions to obtain each sampling signal; comparing the duty cycle of each of the sampling signals to determine a sampling signal that meets a preset target duty cycle; determining the voltage value of the test voltage corresponding to the sampling signal that meets the preset target duty cycle as a reference voltage value; and storing the reference voltage value in a mode register of the memory.

[0013] In one embodiment of the present invention, the selecting of at least two groups of test voltages from preset test voltages includes: configuring the voltage values ​​of the test voltages to be preset values.

[0014] In one embodiment of the present invention, the data bus signal is sampled under each of the test voltage conditions to obtain each sampled signal, including: under each of the test voltage conditions, the data bus signal is sampled using the same sampling clock to obtain each sampled signal.

[0015] In one embodiment of the present invention, before comparing the duty cycles of the sampling signals, the method further includes: detecting each sampling signal through a duty cycle calibration circuit to determine an adjustment coefficient of the duty cycle calibration circuit; and determining the duty cycle of each sampling signal based on the adjustment coefficient.

[0016] According to a third aspect of an embodiment of the present invention, a memory is provided, comprising: a memory reference voltage determination circuit, an address bus interface, a control module, a storage module, and a power supply module as described in the first aspect above; wherein the memory reference voltage determination circuit is connected to the control module, and is used to configure the test voltage according to information of the control module; the control module is also connected to the address bus interface and the storage module, and the control module performs access operations on the storage module according to information of the address bus interface; the power supply module is connected to the memory reference voltage determination circuit, the address bus interface, the control module, and the storage module, and is used to provide a voltage source for the memory reference voltage determination circuit, the address bus interface, the control module, and the storage module.

[0017] In one embodiment of the present invention, the power supply module is also used to provide a voltage source required for the test voltage.

[0018] According to a fourth aspect of an embodiment of the present invention, a method for calibrating a memory is provided, comprising:

[0019] A power supply module is used to provide a preset test voltage; at a preset operating frequency, the value of the mode register is updated using the method for determining the memory reference voltage as described in the second aspect; and a control module calibrates the memory according to the value of the mode register.

[0020] In one embodiment of the present invention, when the preset operating frequency changes, the value in the mode register changes accordingly.

[0021] According to a fifth aspect of an embodiment of the present invention, there is provided an electronic device, comprising: a processor, the processor being used to control the operating state of the electronic device; a memory controller, connected to the processor, for receiving and processing read and write instructions or write data from the processor, and sending read data to the processor; and a memory as described in the third aspect, connected to the memory controller, for receiving read and write operations or write data issued by the memory controller, and sending read data to the memory controller.

[0022] According to a sixth aspect of an embodiment of the present invention, a calibration method for an electronic device is provided, comprising: after the electronic device is powered on, calibrating the command and address service signals of the electronic device once using the reference voltage value determined by the method for determining the memory reference voltage as described in the second aspect; after performing write-balancing adjustment on the electronic device, calibrating the data bus service signal of the electronic device once using the reference voltage value determined by the method for determining the memory reference voltage as described in the second aspect; after calibrating the data bus service signal of the electronic device once, calibrating the data bus service signal of the electronic device a second time.

[0023] The technical solution provided by the embodiment of the present invention may have the following beneficial effects:

[0024] The present invention provides a circuit and method for determining a memory reference voltage, a memory, a calibration method for a memory, an electronic device, and a calibration method for an electronic device, comprising: selecting at least two groups of test voltages from preset test voltages; sampling a data bus signal under each of the test voltage conditions to obtain each sampling signal; comparing the duty cycle of each of the sampling signals to determine a sampling signal that meets a preset target duty cycle; and determining the voltage value of the test voltage corresponding to the sampling signal that meets the preset target duty cycle as a reference voltage value. The technical solution of the embodiment of the present invention adds a circuit for confirming the reference voltage range inside the memory, and reports the reference voltage range information to a register, so that when the memory reads the information before performing reference voltage calibration, and performs reference voltage calibration within the range of the information, the reference voltage calibration time is shortened, and the competitiveness of the memory product is improved.

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

[0026] The drawings herein are incorporated into and constitute a part of the specification, showing embodiments consistent with the present invention, and together with the specification, are used to explain the principles of the present invention. Obviously, the drawings described below are only some embodiments of the present invention, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0027] Figure 1 A schematic diagram showing the delay between DQS and DQ when a DDR3 system constrains a write operation by using an external VREF;

[0028] Figure 2A schematic diagram showing how DDR4 / LPDDR4 systems and later DRAMs adjust VREF to maximize the timing window by using VREFDQ and VREFCA built into the memory;

[0029] Figure 3 A block diagram schematically shows a circuit for determining a memory reference voltage according to an embodiment of the present invention;

[0030] Figure 4 A flowchart schematically shows a method for determining a memory reference voltage according to an embodiment of the present invention;

[0031] Figure 5 The schematic diagram shows the process of sampling the VrefCA signal;

[0032] Figure 6 The schematic diagram shows a process of sampling the VrefDQ signal;

[0033] Figure 7 A block diagram of a memory according to an embodiment of the present invention is schematically shown;

[0034] Figure 8 Schematically shows a flow chart of a memory calibration method according to an embodiment of the present invention;

[0035] Fig. 9 A block diagram of an electronic device according to an embodiment of the present invention is schematically shown;

[0036] Fig.10 The flowchart of the electronic device calibration method according to an embodiment of the present invention is schematically shown. DETAILED DESCRIPTION

[0037] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that the present invention will be more comprehensive and complete and fully convey the concept of the example embodiments to those skilled in the art.

[0038] In addition, the described features, structures or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present invention. However, those skilled in the art will appreciate that the technical solution of the present invention can be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known methods, devices, implementations or operations are not shown or described in detail to avoid blurring various aspects of the present invention.

[0039] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0040] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.

[0041] In the related art, the reference voltage needs to be accurately calibrated after the memory is powered on. In order to shorten the time spent on accurate calibration, the embodiments of the present invention provide a circuit and method for determining a memory reference voltage, a memory, a memory calibration method, an electronic device, and an electronic device calibration method.

[0042] Exemplary embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0043] Figure 3 The block diagram schematically shows a circuit for determining a memory reference voltage according to an embodiment of the present invention.

[0044] like Figure 3 As shown, the memory reference voltage determination circuit provided by the embodiment of the present invention includes: a data bus interface 301, a signal sampler 302, a signal comparator 303, a duty cycle calibration circuit 304 and a register 305; wherein the data bus interface 301 is connected to the signal sampler 302, and is used to transmit the data bus signal DQ to the signal sampler 302; the signal sampler 302 is also connected to the signal comparator 303, and is used to sample the received data bus signal DQ according to the test voltage VREF, and output the sampling signal DQ_sampled to the signal comparator 303; the signal comparator 303 is also connected to the duty cycle calibration circuit 304 and the register 305, the duty cycle calibration circuit 304 is used to determine the duty cycle information of the sampling signal, the signal comparator 303 is used to compare multiple groups of duty cycle information, and the register is used to store the comparison result of the signal comparator 303.

[0045] like Figure 3As shown, the memory reference voltage determination circuit is located in the DRAM. The signal comparator 303 compares the duty cycle of the sampling signal DQ_sampled sampled according to different test voltages VREF to obtain a duty cycle comparison result. Then, the signal comparator 303 can select the VREF corresponding to the sampling signal with a preset target duty cycle according to the above duty cycle comparison result, and send the selected VREF to the mode register 305, which has the technical effect of shortening the time consumed for accurate calibration.

[0046] Here, the preset target duty cycle may be 50%.

[0047] In one embodiment of the present invention, there are at least two groups of test voltages, and the voltage value of each group of test voltages is configurable. For example, the test voltages can be 4 groups, and the sampled signals output by the signal sampler 302 are 4 groups. By comparing the duty cycle information of the 4 groups of sampled signals, the optimal test voltage can be selected and stored in the register as the memory reference voltage.

[0048] In one embodiment of the present invention, the register 305 is a mode register of the memory.

[0049] In the embodiment of the present invention, the duty cycle of the sampling signal is determined according to the magnitude of the adjustment coefficient of the duty cycle calibration circuit 304 .

[0050] In an embodiment of the present invention, the memory reference voltage determination circuit samples the data bus signal using different test voltages, and then compares the duty cycles of the sampled signals sampled according to the different test voltages to obtain a duty cycle comparison result. Then, the test voltage corresponding to the sampled signal closest to the preset target duty cycle is selected according to the duty cycle comparison result, and the selected test voltage is reported to the mode register, thus saving boot time and improving product competitiveness.

[0051] Figure 4 The flowchart of a method for determining a memory reference voltage according to an embodiment of the present invention is schematically shown.

[0052] Reference Figure 4 As shown, a method for determining a memory reference voltage according to an embodiment of the present invention includes the following steps:

[0053] Step S410, selecting at least two groups of test voltages from preset test voltages.

[0054] Step S420: sampling the data bus signal under each test voltage condition to obtain each sampled signal.

[0055] Step S430 , comparing the duty cycles of the sampling signals to determine the sampling signal that meets the preset target duty cycle.

[0056] Step S440 , determining the voltage value of the test voltage corresponding to the sampling signal that meets the preset target duty cycle as the reference voltage value.

[0057] Step S450, storing the reference voltage value into the mode register of the memory.

[0058] Figure 4 The technical solution of the embodiment shown is to add a circuit to determine the reference voltage range inside the memory, and report the determined reference voltage to the register. The memory reads the stored reference voltage information before performing reference voltage calibration, and performs reference voltage calibration within the range of the information, thereby shortening the reference voltage calibration time and improving the competitiveness of memory products.

[0059] The following Figure 4 The implementation details of each step shown in are elaborated in detail:

[0060] In step S310 , four groups of test voltages may be selected from a preset test voltage interval, but the present invention is not limited thereto.

[0061] In step S320, each test voltage is used as a reference voltage of the data bus signal, and the data bus signal is sampled according to a preset sampling frequency to obtain each sampled signal.

[0062] In one embodiment of the present invention, the data bus signal includes a command and address signal service signal VrefCA signal and a data bus service signal VrefDQ signal. Therefore, when sampling the data bus signal, the VrefCA signal and the VrefDQ signal need to be sampled separately.

[0063] Specifically, Figure 5 The schematic diagram of the process of sampling the VrefCA signal is shown schematically. The specific steps are as follows:

[0064] Step S501, opening the check_en process of VrefCA;

[0065] Step S502, setting a VrefCA value;

[0066] Step S503, sending the flipped CA signal and returning to step S502.

[0067] In one embodiment of the present invention, each frequency is cycled 4 times. In practical applications, if VrefCA needs to be divided into finer parts, the number of cycles can be increased.

[0068] Figure 6 The schematic diagram of the process of sampling the VrefDQ signal is shown schematically. The specific steps are as follows:

[0069] Step S601, opening the check_en process of VrefDQ;

[0070] Step S602, setting a VrefDQ value;

[0071] Step S603, sending the inverted DQ signal and returning to step S602.

[0072] Before step S430, each sampling signal needs to be detected by a duty cycle calibration circuit to determine an adjustment coefficient of the duty cycle calibration circuit; and the duty cycle of each sampling signal is determined according to the adjustment coefficient.

[0073] In step S430, the duty cycles of the sampling signals are compared, and when a sampling signal that meets a preset target duty cycle is determined, the preset duty cycle may be 50%.

[0074] Afterwards, step S440 is executed to select a voltage value of a corresponding test voltage according to the sampling signal that meets the preset target duty cycle, so as to achieve the technical effect of shortening the time consumed for accurate calibration.

[0075] Afterwards, step S450 is executed to store the reference voltage determined in step S440 into the mode register of the memory.

[0076] In the embodiment of the present invention, different test voltages are used to sample the data bus signal, and then the duty cycles of the sampled signals sampled according to the different test voltages are compared to obtain a duty cycle comparison result. Then, the test voltage corresponding to the sampled signal closest to the preset target duty cycle is selected according to the duty cycle comparison result, and the selected test voltage is reported to the mode register, thus saving boot time and improving product competitiveness.

[0077] like Figure 7 As shown, an embodiment of the present invention provides a memory 700, including: a determination circuit of the memory reference voltage in the above technical solution, namely a determination circuit 701, an address bus interface 703, a control module 702, a storage module 704 and a power supply module (not shown in the figure).

[0078] The determination circuit 701 is connected to the control module 702, and is used to configure the test voltage according to the information of the control module 702. The control module 702 is also connected to the address bus interface 703 and the storage module 704, and the control module 702 performs access operations on the storage module 704 according to the information of the address bus interface 703; the power supply module is connected to the determination circuit of the memory reference voltage, the address bus interface 703, the control module 702 and the storage module 704, and is used to provide a voltage source for the determination circuit of the memory reference voltage, the address bus interface 703, the control module 702 and the storage module 704.

[0079] In an embodiment of the present invention, the power supply module is also used to provide a voltage source required for the test voltage.

[0080] The memory provided by the embodiment of the present invention includes the memory reference voltage determination circuit in the above technical solution, and has the same technical features as the above determination circuit. Therefore, like the above determination circuit, it has the technical effect of shortening the time spent on accurately calibrating the reference voltage after the memory is powered on.

[0081] like Figure 8 As shown, an embodiment of the present invention provides a memory calibration method, comprising:

[0082] Step S801: using a power module to provide a preset test voltage.

[0083] Step S802: at a preset operating frequency, the value of the mode register is updated using the method for determining the memory reference voltage in the above technical solution.

[0084] Step S803: The control module calibrates the memory according to the value of the mode register.

[0085] In the embodiment of the present invention, when the preset operating frequency changes, the value in the mode register changes accordingly.

[0086] The memory calibration method provided by the embodiment of the present invention includes the memory reference voltage determination method in the above-mentioned technical solution, and has the same technical features as the above-mentioned determination method. Therefore, like the above-mentioned determination method, it has the technical effect of shortening the time spent on accurately calibrating the reference voltage after the memory is powered on.

[0087] like Fig. 9As shown, an embodiment of the present invention provides an electronic device 900, including: a processor 902, the processor 902 is used to control the operating state of the electronic device; a memory controller 901, connected to the processor 902, used to receive and process the read and write instructions or write data of the processor 802, and send the read data to the processor 902; the memory 700 in the above technical solution is connected to the memory controller 901, used to receive the read and write operations or write data issued by the memory controller 901, and send the read data to the memory controller 901.

[0088] The electronic device provided by the embodiment of the present invention includes the memory in the above technical solution and has the same technical features as the above memory. Therefore, like the above memory, it has the technical effect of shortening the time spent on accurately calibrating the reference voltage after the memory is powered on.

[0089] like Fig.10 As shown, an embodiment of the present invention provides a calibration method for an electronic device, comprising:

[0090] Step S1001, after the electronic device is powered on, the command and address service signals of the electronic device are calibrated using the reference voltage value determined by the method for determining the memory reference voltage in the above technical solution.

[0091] Step S1002, after performing write-leveling adjustment on the electronic device, a data bus service signal of the electronic device is calibrated using the reference voltage value determined by the memory reference voltage determination method in the above technical solution.

[0092] Step S1003: After the data bus service signal of the electronic device is calibrated once, the data bus service signal of the electronic device is calibrated twice.

[0093] The calibration method of the electronic device provided by the embodiment of the present invention includes the calibration method of the memory in the above-mentioned technical solution, and has the same technical features as the calibration method of the above-mentioned memory. Therefore, like the above-mentioned calibration method, it has the technical effect of shortening the time consumed for accurately calibrating the reference voltage after the memory is powered on.

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

[0095] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims

1. A circuit for determining a memory reference voltage, characterized in that: The memory reference voltage determination circuit includes: a data bus interface, a signal sampler, a signal comparator, a duty cycle calibration circuit and a register; wherein, The data bus interface is connected to the signal sampler and is used to transmit the data bus signal to the signal sampler; The signal sampler is also connected to the signal comparator, and is used to sample the received data bus signal according to the test voltage and output the sampling signal to the signal comparator, and the test voltage has at least two groups; The signal comparator is also connected to the duty cycle calibration circuit and the register. The duty cycle calibration circuit is used to determine the duty cycle information of the sampling signal. The signal comparator is used to compare multiple groups of the duty cycle information to determine the sampling signal that meets the preset target duty cycle. The voltage value of the test voltage corresponding to the sampling signal that meets the preset target duty cycle is determined as the reference voltage value. The register is used to store the reference voltage value.

2. The memory reference voltage determination circuit according to claim 1, characterized in that: The voltage value of each group of test voltages is configurable.

3. The memory reference voltage determination circuit according to claim 1, characterized in that: The register is a mode register of the memory.

4. A method for determining a memory reference voltage, characterized in that: include: Selecting at least two groups of test voltages from the preset test voltages; Under the test voltage conditions, sampling the data bus signal to obtain each sampled signal; Comparing the duty cycles of the sampling signals to determine the sampling signal that meets the preset target duty cycle; Determine the voltage value of the test voltage corresponding to the sampling signal that meets the preset target duty cycle as a reference voltage value; The reference voltage value is stored in a mode register of a memory.

5. The method for determining a memory reference voltage according to claim 4, wherein: The step of selecting at least two groups of test voltages from the preset test voltages includes: The voltage value of the test voltage is configured as a preset value.

6. The method for determining a memory reference voltage according to claim 4, wherein: The step of sampling the data bus signal under each of the test voltage conditions to obtain each sampled signal comprises: Under the test voltage conditions, the data bus signal is sampled using the same sampling clock to obtain each sampling signal.

7. The method for determining a memory reference voltage according to claim 4, wherein: Before comparing the duty cycles of the sampling signals, the method further includes: Detecting each of the sampling signals through a duty cycle calibration circuit to determine an adjustment coefficient of the duty cycle calibration circuit; The duty cycle of each of the sampling signals is determined according to the adjustment coefficient.

8. A memory, characterized in that: include: The memory reference voltage determination circuit, address bus interface, control module, storage module, and power supply module according to any one of claims 1 to 3; wherein: The memory reference voltage determination circuit is connected to the control module and is used to configure the test voltage according to information of the control module; The control module is also connected to the address bus interface and the storage module, and the control module performs access operations on the storage module according to information of the address bus interface; The power supply module is connected to the memory reference voltage determination circuit, the address bus interface, the control module and the storage module, and is used to provide a voltage source for the memory reference voltage determination circuit, the address bus interface, the control module and the storage module.

9. The memory according to claim 8, characterized in that: The power supply module is also used to provide a voltage source required by the test voltage.

10. A method for calibrating a memory, characterized in that: include: Using a power module to provide a preset test voltage; At a preset operating frequency, updating the value of the mode register using the method for determining a memory reference voltage according to any one of claims 4 to 7; The control module calibrates the memory according to the value of the mode register.

11. The memory calibration method according to claim 10, characterized in that: When the preset operating frequency changes, the value in the mode register changes accordingly.

12. An electronic device, characterized in that: include: A processor, wherein the processor is used to control the operation state of the electronic device; A memory controller, connected to the processor, configured to receive and process read and write instructions or write data from the processor, and send read data to the processor; The memory as claimed in claim 8 or 9, connected to the memory controller, for receiving read and write operations or write data issued by the memory controller, and sending read data to the memory controller.

13. A method for calibrating an electronic device, characterized in that: include: After the electronic device is powered on, the command and address service signals of the electronic device are calibrated once using the reference voltage value determined by the method for determining the memory reference voltage according to any one of claims 4 to 7; After performing write-leveling adjustment on the electronic device, calibrating the data bus service signal of the electronic device once using the reference voltage value determined by the method for determining the memory reference voltage according to any one of claims 4 to 7; After the data bus service signal of the electronic device is calibrated once, the data bus service signal of the electronic device is calibrated twice.