WO2024082343A1 - Memory refresh parameter determination method and apparatus, memory refresh method and apparatus, and medium and device - Google Patents

Memory refresh parameter determination method and apparatus, memory refresh method and apparatus, and medium and device Download PDF

Info

Publication number
WO2024082343A1
WO2024082343A1 PCT/CN2022/129356 CN2022129356W WO2024082343A1 WO 2024082343 A1 WO2024082343 A1 WO 2024082343A1 CN 2022129356 W CN2022129356 W CN 2022129356W WO 2024082343 A1 WO2024082343 A1 WO 2024082343A1
Authority
WO
WIPO (PCT)
Prior art keywords
memory
refresh
memory unit
target
amount
Prior art date
Application number
PCT/CN2022/129356
Other languages
French (fr)
Chinese (zh)
Inventor
卢欢
Original Assignee
长鑫存储技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 长鑫存储技术有限公司 filed Critical 长鑫存储技术有限公司
Publication of WO2024082343A1 publication Critical patent/WO2024082343A1/en

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/21Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements
    • G11C11/34Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices
    • G11C11/40Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors
    • G11C11/401Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors forming cells needing refreshing or charge regeneration, i.e. dynamic cells
    • G11C11/406Management or control of the refreshing or charge-regeneration cycles

Definitions

  • the present disclosure relates to the field of semiconductor technology, and in particular to a memory refresh parameter determination, a memory refresh method, a device, a medium and a device.
  • the basic structure of a DRAM (Dynamic Random Access Memory) chip generally includes one transistor and one capacitor.
  • the capacitor is prone to leakage during operation, and the data retention time is inversely proportional to the memory refresh interval. Therefore, in order to ensure the integrity of the data, the capacitor needs to be charged periodically. This charging process is called memory refresh.
  • the data retention time of different memory cells is different, and the maximum time difference can reach more than 50%.
  • most of the current refreshes are based on the memory cell with the shortest data retention time in the DRAM chip. This causes the memory cells with longer data retention time to also need to be refreshed based on the shortest refresh interval. In other words, the memory cells with longer data retention time have more refresh times per unit time, which greatly increases the power consumption of the DRAM chip.
  • an embodiment of the present disclosure provides a method for determining a memory refresh parameter, comprising:
  • a target refresh amount of the memory unit within a target refresh interval is determined according to a ratio of a reference refresh amount of memory data of the reference memory unit within a reference refresh interval to a time ratio.
  • the memory refresh parameter determination method before determining the time ratio between the data retention time of the memory cell and the reference data retention time of the reference memory cell for each memory cell in the semiconductor under test, the memory refresh parameter determination method further includes:
  • the memory cell corresponding to the minimum value among the data retention time lengths is determined as the reference memory cell.
  • obtaining the data retention time of each memory cell in the semiconductor under test in a data retention test includes:
  • the data retention time of each memory unit is extracted from the test results.
  • the memory refresh parameter determination method further includes:
  • the time ratio corresponding to each memory unit is stored in a preset storage module in the semiconductor to be tested.
  • the memory refresh parameter determination method further includes:
  • the target refresh amount corresponding to each memory unit is stored in a preset storage module in the semiconductor to be tested.
  • the preset storage module is a readable register in the semiconductor to be tested.
  • determining a target refresh interval duration of the memory unit according to a reference refresh interval duration of the reference memory unit and a time ratio includes:
  • the ratio between the reference refresh interval duration of the reference memory unit and the time ratio corresponding to the memory unit is calculated to obtain the target refresh interval duration of the memory unit.
  • determining a target refresh amount of the memory unit within a target refresh interval duration according to a ratio of a baseline refresh amount of memory data of the reference memory unit within a baseline refresh interval duration to a time includes:
  • the ratio between the reference refresh amount and the time ratio corresponding to the memory unit is calculated to obtain the target refresh amount of the memory unit within the target refresh interval.
  • the reference refresh amount is the number of refresh units of each data unit in the memory unit within the reference refresh interval.
  • the semiconductor to be tested is a dynamic random access memory.
  • an embodiment of the present disclosure provides a memory refresh method, comprising:
  • target refresh interval duration and a target refresh amount within the target refresh interval duration for each memory cell in the semiconductor under test are determined according to any of the memory refresh parameter determination methods described above;
  • each corresponding memory unit in the semiconductor under test is controlled to perform memory refresh.
  • an embodiment of the present disclosure provides a memory refresh parameter determination device, the device comprising:
  • a first determination module is used to determine, for each memory cell in the semiconductor under test, a time ratio between a data retention time of the memory cell and a reference data retention time of a reference memory cell; wherein the reference memory cell refers to a memory cell with the shortest data retention time in the semiconductor under test;
  • a second determination module is used to determine, for each memory unit, a target refresh interval duration of the memory unit according to a reference refresh interval duration of the reference memory unit and a time ratio;
  • the third determination module is used to determine, for each memory unit, a target refresh amount of the memory unit within a target refresh interval according to a ratio of a benchmark refresh amount of memory data of the benchmark memory unit within a benchmark refresh interval to time.
  • an embodiment of the present disclosure provides a memory refresh device, the device comprising:
  • An acquisition module used to acquire a target refresh interval duration and a target refresh amount within the target refresh interval duration for each memory cell in the semiconductor to be tested; wherein the target refresh interval duration and the target refresh amount are determined according to any of the memory refresh parameter determination methods described above;
  • the control module is used to control the corresponding memory units in the semiconductor to be tested to perform memory refresh based on the target refresh interval duration and the target refresh amount.
  • an embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, and the computer program implements the above method when executed by a processor.
  • an embodiment of the present disclosure provides an electronic device, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform the above method by executing the executable instructions.
  • FIG. 1( a ) shows a schematic diagram of the structure of a DRAM chip in this exemplary embodiment
  • FIG. 1( b ) shows a schematic diagram of the structure of a memory cell in a DRAM chip according to the exemplary embodiment
  • FIG2 shows a flow chart of a method for determining memory refresh parameters in this exemplary embodiment
  • FIG3 is a diagram showing a corresponding relationship between a data retention time and a time ratio in a method for determining a memory refresh parameter in this exemplary embodiment
  • FIG4 shows a flow chart of a method for determining memory refresh parameters in this exemplary embodiment
  • FIG5 shows a flow chart of a method for determining memory refresh parameters in this exemplary embodiment
  • FIG6 shows a flow chart of a method for determining memory refresh parameters in this exemplary embodiment
  • FIG7 shows a flow chart of a memory refresh method in this exemplary embodiment
  • FIG8 is a schematic diagram showing the structure of a memory refresh parameter determination device in this exemplary embodiment
  • FIG9 shows a schematic structural diagram of a memory refresh device in this exemplary embodiment
  • FIG. 10 is a schematic structural diagram of an electronic device in this exemplary embodiment.
  • the basic structure of a DRAM (Dynamic Random Access Memory) chip generally includes one transistor and one capacitor.
  • the capacitor is prone to leakage during operation. Therefore, in order to ensure the integrity of the data, the capacitor needs to be periodically charged. This charging process is called memory refresh.
  • the memory array of the DRAM chip 10 is composed of multiple Bank Groups/Banks (memory unit combinations/memory units).
  • each memory unit 110 is placed in a DRAM chip in a certain order.
  • Each memory unit 110 contains multiple data units, such as the 7 ⁇ 7 data units in Figure 1(b) (this is only an example, not enough to limit the number and arrangement of paired data units).
  • the CPU central processing unit
  • the CPU needs to refresh each memory unit 110 every tRFCpb (refresh interval), and each memory unit has the same refresh interval for memory refresh. Due to factors such as physical layout and production process, the refresh intervals of different memory units are not only the same, but the maximum time difference can reach more than 50%. In response to this situation, most of the memory units in the DRAM chip are refreshed based on the shortest refresh interval. This means that the memory units with longer refresh intervals also need to be refreshed based on the shortest refresh interval. In other words, the memory units with longer refresh intervals are refreshed more times per unit time, which greatly increases the power consumption of the DRAM chip. Therefore, the power consumption of DRAM chips is currently high.
  • the present disclosure provides a memory refresh parameter determination method to reduce the power consumption of DRAM chips.
  • the following is a brief introduction to the application environment of the memory refresh parameter determination method provided by the present disclosure:
  • the memory refresh parameter determination method provided in the embodiment of the present disclosure is applied to a control device, which can be a CPU inside a DRAM chip, or other control components, control devices or control chips independent of the DRAM chip.
  • a control device which can be a CPU inside a DRAM chip, or other control components, control devices or control chips independent of the DRAM chip.
  • the embodiment of the present disclosure does not make any specific limitations and can be arbitrarily set according to actual conditions.
  • the control device uses the control device as the execution subject, and applies the memory refresh parameter determination method to the memory unit in the semiconductor under test to determine the memory refresh parameter as an example.
  • the semiconductor under test can be any semiconductor that needs to perform memory refresh, such as a DRAM chip, etc., and the embodiment of the present disclosure is not specifically limited.
  • the memory refresh parameter determination method provided in the embodiment of the present disclosure includes the following steps 201-203:
  • Step 201 for each memory cell in the semiconductor to be tested, determine the time ratio between the data retention time of the memory cell and the reference data retention time of the reference memory cell.
  • the data retention time refers to the time that the capacitor in the memory cell can maintain no leakage.
  • One memory cell corresponds to a data retention time, such as 10 seconds, 20 seconds, 30 seconds, etc.
  • the benchmark memory cell refers to the memory cell with the shortest data retention time in the semiconductor to be tested.
  • Figure 3 is a data retention time icon of each memory cell in a batch of DDR 4 SDRAM (Double Data Rate Fourth Synchronous Dynamic Random Access Memory, the fourth generation double data rate synchronous dynamic random access memory), where the horizontal axis is the number of different memory cells BANK0-BANK7, and the vertical axis is the data retention time of each memory cell.
  • BANK3 has the shortest data retention time of 30 seconds, that is, BANK3 is determined as the benchmark memory cell, and the corresponding benchmark data retention time is 30 seconds. Then, the ratio between the data retention time of each memory cell and 30 seconds is calculated respectively, and the time ratio corresponding to each memory cell is obtained, as shown in the following table (1):
  • Step 202 For each memory unit, determine a target refresh interval of the memory unit according to a reference refresh interval of the reference memory unit and a time ratio.
  • the refresh interval refers to the time between two memory refreshes of a memory unit, and correspondingly, the reference refresh interval is the time between two memory refreshes of a reference memory unit.
  • the target refresh interval of each memory unit can be obtained by calculating the ratio, product or weighted product of the reference refresh interval and each time ratio.
  • the reference refresh interval of the reference memory unit BANK3 is 90 nanoseconds
  • the target refresh intervals corresponding to BANK0-BANK7 are shown in the following table (2):
  • Memory Unit Data retention time Time ratio Target refresh interval (single
  • the target refresh interval of the memory unit is negatively correlated with the data retention time.
  • the shorter the data retention time the longer the target refresh interval.
  • the longer the data retention time the shorter the target refresh interval.
  • the target refresh intervals of different memory units are not the same.
  • the refresh interval of each memory unit is shorter than the traditional method of uniformly using the longest refresh interval (such as 90 nanoseconds of BANK3 in the above example), thereby improving the refresh efficiency.
  • Step 203 for each memory unit, determine a target refresh amount of the memory unit within a target refresh interval according to a ratio of a benchmark refresh amount of memory data of the benchmark memory unit within a benchmark refresh interval to a time ratio.
  • the refresh amount in the embodiments of the present disclosure refers to the amount of memory data refreshed by the memory unit within a refresh interval. It can be represented by a specific data size, such as 3M, 5M, etc., or by a data unit, such as 1 row, 2 rows, etc., which is not specifically limited in the embodiments of the present disclosure.
  • the benchmark refresh amount is the amount of memory data refreshed by the benchmark memory unit within a refresh interval.
  • the target refresh amount of each memory unit can be obtained by calculating the ratio, product or weighted product of the benchmark refresh amount and each time ratio.
  • the baseline refresh amount of the above baseline memory unit BANK3 is 4.0 rows
  • the target refresh amounts corresponding to BANK0-BANK7 are as follows (3):
  • the target refresh amount of the memory unit is negatively correlated with the data retention time.
  • the shorter the data retention time the larger the target refresh amount.
  • the longer the data retention time the smaller the target refresh amount.
  • the target refresh amounts of different memory units are not the same.
  • the refresh interval of each memory unit is smaller than the traditional method of uniformly using the maximum refresh amount (for example, the refresh amount of BANK3 in the above example is 4), and the refresh amount is reduced, which further reduces the power consumption of memory refresh.
  • the memory refresh parameter determination method determines, for each memory cell in the semiconductor to be tested, the time ratio between the data retention time of the memory cell and the reference data retention time of the reference memory cell.
  • the target refresh interval of each memory cell is determined according to the reference refresh interval of the reference memory cell and the time ratio, thereby avoiding the traditional method of uniformly using the longest refresh interval of each memory cell, the overall refresh interval is shorter, and the memory refresh efficiency is higher; and each memory cell has a target refresh interval adapted to the corresponding data retention time to ensure normal data refresh;
  • the disclosed embodiment determines the target refresh amount of the memory unit within the target refresh interval based on the ratio of the benchmark refresh amount of the memory data of the benchmark memory unit within the benchmark refresh interval to the time, thereby avoiding the traditional method of uniformly using the maximum refresh amount (for example, the refresh amount of 4 for BANK3 in the above example), reducing the refresh amount and further reducing the power consumption of the memory refresh.
  • the maximum refresh amount for example, the refresh amount of 4 for BANK3 in the above example
  • the disclosed embodiments improve the efficiency of memory refresh while greatly reducing the power consumption of memory refresh, thereby solving the current technical problem of high power consumption of DRAM chips and achieving the technical effect of reducing the power consumption of DRAM chips.
  • the above memory refresh parameter determination method further includes the following steps 401-402:
  • Step 401 Obtain the data retention time of each memory cell in the semiconductor under test in a data retention test.
  • Data retention test refers to the test of the data retention time of each memory cell in the semiconductor under test. For example, by continuously testing the data written in the memory cell, the data is written or the test is started as the starting time, and the time when the first group of data is lost or other set number of data are lost is the ending time. The time between the starting time and the ending time is the data retention time, which is used to characterize the data retention ability of the memory cell.
  • Step 402 Determine the memory unit corresponding to the minimum value among the data retention time as the reference memory unit.
  • the data retention time of BANK3 is the shortest, which is 30 seconds. That is, BANK3 is determined as the benchmark memory unit, and the corresponding benchmark data retention time is 30 seconds.
  • the data retention time in the disclosed embodiment is based on that obtained from the data retention test rather than being obtained based on empirical fitting.
  • the obtained benchmark memory unit is based on actual production, and the target refresh interval time and target refresh amount of each memory unit determined based on the benchmark memory unit are also more reliable.
  • the above step 401 of obtaining the data retention time of each memory cell in the semiconductor under test in the data retention test includes the following steps 501 to 502:
  • Step 501 Perform mass production testing on the semiconductor to be tested to obtain a test result of the semiconductor to be tested.
  • the mass production test of the chip (Automatic Test Equipment, ATE for short) is used to detect the integrity of the integrated circuit function.
  • the test content includes but is not limited to: the data retention time of the memory unit, whether there is an open circuit or short circuit in the chip pins, logical function, device DC current and voltage parameters, AC output signal quality and signal timing parameters, embedded flash function and performance, etc.
  • Step 502 extract the data retention time of each memory unit from the test results.
  • the disclosed embodiments do not need to perform data retention tests separately. Data retention tests can be added while mass production tests are being performed, and tests can be performed synchronously with other projects. After the test is completed, the required data retention time can be extracted from the test results, saving test time and test costs.
  • the above memory refresh parameter determination method further includes the following step A:
  • Step A storing the time ratio corresponding to each memory unit in a preset storage module in the semiconductor to be tested.
  • the preset storage module can be a storage module in the semiconductor to be tested, and can be specifically selected or set according to actual conditions, without any limitation here.
  • the time ratio corresponding to each memory unit is stored in the preset storage module to facilitate the control device to read, thereby improving the convenience and efficiency of determining the memory refresh parameter.
  • the above-mentioned memory refresh parameter determination method further includes the following step B:
  • Step B storing the target refresh amount corresponding to each memory cell in a preset storage module in the semiconductor to be tested.
  • the preset storage module can be a storage module in the semiconductor to be tested, which can be specifically selected or set according to the actual situation, and is not limited here.
  • the target refresh amount corresponding to each memory unit is stored in the preset storage module to facilitate the control device to read, thereby improving the convenience and efficiency of determining the memory refresh parameters.
  • the above-mentioned reference refresh amount is the number of refresh units for each data unit in the memory unit within the reference refresh interval.
  • Data unit refers to the storage form of memory data in the memory unit, for example, 1 row, 2 rows or 3 rows can be a data unit, or 10KB, 20KB or 30KB can be a data unit, or 10 characters, 20 characters or 30 characters can be a data unit. Measuring the refresh amount in data units has a smaller amount of calculation than real-time calculation of memory data, which can save computing resources and further improve the efficiency of determining memory refresh parameters.
  • the semiconductor to be tested is a dynamic random access memory, that is, the semiconductor to be tested is a DRAM chip, and the target refresh interval duration of each memory unit when performing memory refresh in the DRAM chip and the target refresh amount within the target refresh interval duration are determined based on the memory refresh parameter determination method provided in the embodiment of the present disclosure, which can greatly improve the efficiency of memory refresh of the DRAM chip and reduce the power consumption of memory refresh.
  • the preset storage module is a readable register in the semiconductor to be tested.
  • a readable register refers to a semiconductor to be tested, such as a readable mode register (such as an MR register) in a DRAM chip.
  • the readable mode register can be accessed by a control device, such as the CPU of a DRAM chip, to read data, thereby facilitating the acquisition of the time ratio of each stored memory unit, the target refresh interval duration, and the target refresh amount, thereby improving the efficiency and convenience of memory refresh and the overall performance of the DRAM chip.
  • step 202 for each memory unit, determines the target refresh interval of the memory unit according to the reference refresh interval of the reference memory unit and the time ratio, includes the following step C:
  • Step C for each memory unit, calculate the ratio between the reference refresh interval duration of the reference memory unit and the time ratio corresponding to the memory unit to obtain the target refresh interval duration of the memory unit.
  • the target refresh interval of the memory unit can be calculated by the following formula (1):
  • tRF i represents the target refresh interval of the i-th memory unit
  • tRF 0 represents the reference refresh interval of the reference memory unit
  • RT i represents the data retention time of the i-th memory unit
  • RT 0 represents the reference data retention time of the reference memory unit
  • (RT i /RT 0 ) represents the time ratio of the i-th memory unit.
  • This embodiment directly obtains the target refresh interval of the memory unit by calculating the ratio between the benchmark refresh interval of the benchmark memory unit and the time ratio corresponding to the memory unit.
  • the calculation method is simple and more efficient, which can further improve the efficiency of determining the memory refresh parameters of the disclosed embodiment.
  • the above step 203 determines the target refresh amount of the memory unit within the target refresh interval according to the ratio of the reference refresh amount of the memory data of the reference memory unit within the reference refresh interval to the time, including the following steps 601-602:
  • Step 601 Determine a reference refresh amount of memory data of a reference memory unit within a reference refresh interval.
  • the baseline refresh amount of the baseline memory unit within the baseline refresh interval duration is 4.
  • Step 602 For each memory unit, calculate the ratio between the reference refresh amount and the time ratio corresponding to the memory unit to obtain the target refresh amount of the memory unit within the target refresh interval.
  • the target refresh amount of the memory unit can be calculated by the following formula (2):
  • Ri represents the target refresh amount of the i-th memory unit
  • R0 represents the reference refresh amount of the reference memory unit
  • RTi represents the data retention time of the i-th memory unit
  • RT0 represents the reference data retention time of the reference memory unit
  • ( RTi / RT0 ) represents the time ratio of the i-th memory unit.
  • This embodiment directly obtains the target refresh amount of the memory unit within the target refresh interval by calculating the ratio between the baseline refresh amount and the time ratio corresponding to the memory unit.
  • the calculation method is simple and more efficient, which can further improve the efficiency of determining the memory refresh parameters of the disclosed embodiment.
  • an embodiment of the present disclosure provides a memory refresh method, including the following steps 701 to 702:
  • Step 701 Obtain a target refresh interval duration and a target refresh amount within the target refresh interval duration for each memory cell in the semiconductor under test.
  • the target refresh interval and the target refresh amount are determined according to any of the memory refresh parameter determination methods described above;
  • Step 702 Control corresponding memory cells in the semiconductor under test to perform memory refresh based on the target refresh interval duration and the target refresh amount.
  • the disclosed embodiment first determines the target refresh interval duration of each memory unit in the semiconductor to be tested and the target refresh amount within the target refresh interval duration based on the above-mentioned memory refresh parameter determination method, and then controls the corresponding memory units in the semiconductor to be tested to perform memory refresh based on the target refresh interval duration and the target refresh amount.
  • the disclosed embodiment greatly reduces the power consumption of memory refresh while improving the efficiency of memory refresh, thereby solving the technical problem of the current high power consumption of DRAM chips and achieving the technical effect of reducing the power consumption of DRAM chips.
  • FIG8 shows a schematic architecture diagram of the memory refresh parameter determination device 800 .
  • the memory refresh parameter determination device 800 includes: a first determination module 810 , a second determination module 820 and a third determination module 830 , wherein:
  • the first determination module 810 is used to determine, for each memory cell in the semiconductor under test, a time ratio between a data retention time of the memory cell and a reference data retention time of a reference memory cell; wherein the reference memory cell refers to a memory cell with the shortest data retention time in the semiconductor under test;
  • the second determination module 820 is used to determine, for each memory unit, a target refresh interval duration of the memory unit according to a reference refresh interval duration of the reference memory unit and a time ratio;
  • the third determination module 830 is used to determine, for each memory unit, a target refresh amount of the memory unit within a target refresh interval according to a ratio of a benchmark refresh amount of memory data of the benchmark memory unit within a benchmark refresh interval to a time.
  • the memory refresh parameter determination device determines, for each memory cell in the semiconductor to be tested, the time ratio between the data retention time of the memory cell and the reference data retention time of the reference memory cell.
  • the target refresh interval of each memory cell is determined according to the reference refresh interval of the reference memory cell and the time ratio, thereby avoiding the traditional method of uniformly using the longest refresh interval of each memory cell, the overall refresh interval is shorter, and the memory refresh efficiency is higher; and each memory cell has a target refresh interval adapted to the corresponding data retention time to ensure normal data refresh;
  • the disclosed embodiment determines the target refresh amount of the memory unit within the target refresh interval according to the ratio of the benchmark refresh amount of the memory data of the benchmark memory unit within the benchmark refresh interval to the time, thereby avoiding the traditional method of uniformly using the maximum refresh amount (for example, the refresh amount of 4 for BANK3 in the above example), reducing the refresh amount and further reducing the power consumption of the memory refresh.
  • the maximum refresh amount for example, the refresh amount of 4 for BANK3 in the above example
  • the disclosed embodiments improve the efficiency of memory refresh while greatly reducing the power consumption of memory refresh, thereby solving the current technical problem of high power consumption of DRAM chips and achieving the technical effect of reducing the power consumption of DRAM chips.
  • the first determination module 810 is further used to obtain the data retention time of each memory unit in the semiconductor under test in a data retention test; and determine the memory unit corresponding to the minimum value of each data retention time as the reference memory unit.
  • the data retention time in the disclosed embodiment is based on that obtained from the data retention test rather than being obtained based on empirical fitting.
  • the obtained benchmark memory unit is based on actual production, and the target refresh interval time and target refresh amount of each memory unit determined based on the benchmark memory unit are also more reliable.
  • the first determination module 810 is specifically used to perform mass production testing on the semiconductor to be tested to obtain test results of the semiconductor to be tested; and extract the data retention time of each memory unit from the test results.
  • the disclosed embodiments do not need to perform data retention tests separately. Data retention tests can be added while mass production tests are being performed, and tests can be performed synchronously with other projects. After the test is completed, the required data retention time can be extracted from the test results, saving test time and test costs.
  • the first determination module 810 is further configured to store the time ratio corresponding to each memory unit in a preset storage module in the semiconductor to be tested.
  • the third determination module 830 is further configured to store the target refresh amount corresponding to each memory unit in a preset storage module in the semiconductor to be tested.
  • the time ratio and target refresh amount corresponding to each memory unit are stored in the preset storage module to facilitate the control device to read, thereby improving the convenience and efficiency of determining the memory refresh parameters.
  • the preset storage module is a readable register in the semiconductor to be tested.
  • a readable register refers to a semiconductor to be tested, such as a readable mode register (such as an MR register) in a DRAM chip.
  • the readable mode register can be accessed by a control device, such as the CPU of a DRAM chip, for data reading, thereby facilitating the acquisition of the time ratio of each stored memory unit, the target refresh interval duration, and the target refresh amount, etc., thereby improving the efficiency and convenience of memory refresh and the overall performance of the DRAM chip.
  • the second determination module 820 is specifically used to calculate, for each memory unit, a ratio between a benchmark refresh interval of a benchmark memory unit and a time ratio corresponding to the memory unit to obtain a target refresh interval of the memory unit.
  • This embodiment directly obtains the target refresh interval of the memory unit by calculating the ratio between the benchmark refresh interval of the benchmark memory unit and the time ratio corresponding to the memory unit.
  • the calculation method is simple and more efficient, which can further improve the efficiency of determining the memory refresh parameters of the disclosed embodiment.
  • the third determination module 830 is specifically used to determine a baseline refresh amount of memory data by a baseline memory unit within a baseline refresh interval; for each memory unit, the ratio between the baseline refresh amount and the time ratio corresponding to the memory unit is calculated to obtain a target refresh amount of the memory unit within a target refresh interval.
  • This embodiment directly calculates the ratio between the baseline refresh amount and the time ratio corresponding to the memory unit to obtain the target refresh amount of the memory unit within the target refresh interval.
  • the calculation method is simple and more efficient, which can further improve the efficiency of determining the memory refresh parameters of the disclosed embodiment.
  • the reference refresh amount is the number of refresh units of each data unit in the memory unit within the reference refresh interval.
  • Measuring the refresh amount in data units has a smaller amount of calculation than real-time calculation of memory data, which can save computing resources and further improve the efficiency of determining memory refresh parameters.
  • the semiconductor to be tested is a dynamic random access memory.
  • the semiconductor to be tested is a DRAM chip.
  • the target refresh interval of each memory unit when performing memory refresh in the DRAM chip and the target refresh amount within the target refresh interval are determined, which can greatly improve the efficiency of DRAM chip memory refresh and reduce the power consumption of memory refresh.
  • FIG9 shows a schematic architecture diagram of the memory refresh device 900 .
  • the memory refresh device 900 includes: an acquisition module 910 and a control module 920 , wherein:
  • the acquisition module 910 is used to obtain the target refresh interval duration of each memory unit in the semiconductor to be tested, and the target refresh amount within the target refresh interval duration; wherein the target refresh interval duration and the target refresh amount are determined according to any of the memory refresh parameter determination methods described above;
  • the control module 920 is used to control the memory refresh of each corresponding memory unit in the semiconductor under test based on the target refresh interval duration and the target refresh amount.
  • This embodiment directly obtains the target refresh amount of the memory unit within the target refresh interval by calculating the ratio between the baseline refresh amount and the time ratio corresponding to the memory unit.
  • the calculation method is simple and more efficient, which can further improve the efficiency of determining the memory refresh parameters of the disclosed embodiment.
  • the exemplary embodiments of the present disclosure also provide a computer-readable storage medium, which can be implemented in the form of a program product, which includes a program code, and when the program product is run on an electronic device, the program code is used to cause the electronic device to perform the steps described in the above "Exemplary Method" section of this specification according to various exemplary embodiments of the present disclosure.
  • the program product can be implemented as a portable compact disk read-only memory (CD-ROM) and includes program code, and can be run on an electronic device, such as a personal computer.
  • CD-ROM portable compact disk read-only memory
  • the program product of the present disclosure is not limited to this, and in this document, the readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.
  • the program product may use any combination of one or more readable media.
  • the readable medium may be a readable signal medium or a readable storage medium.
  • the readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
  • Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
  • the program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
  • the program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" language or similar programming languages.
  • the program code may be executed entirely on the user computing device, partially on the user device, as an independent software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
  • the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., using an Internet service provider to connect through the Internet).
  • LAN local area network
  • WAN wide area network
  • any step in the above memory refresh parameter determination method or memory refresh method may be implemented.
  • a target refresh amount of the memory unit within a target refresh interval is determined according to a ratio of a reference refresh amount of memory data of the reference memory unit within a reference refresh interval to a time ratio.
  • the disclosed embodiment determines the time ratio between the data retention time of each memory cell in the semiconductor to be tested and the reference data retention time of the reference memory cell.
  • the target refresh interval of each memory cell is determined according to the reference refresh interval of the reference memory cell and the time ratio, thereby avoiding the traditional method of uniformly using the longest refresh interval of each memory cell, the overall refresh interval is shorter, and the memory refresh efficiency is higher; and each memory cell has a target refresh interval adapted to the corresponding data retention time to ensure normal data refresh;
  • the disclosed embodiment determines the target refresh amount of the memory unit within the target refresh interval based on the ratio of the benchmark refresh amount of the memory data of the benchmark memory unit within the benchmark refresh interval to the time, thereby avoiding the traditional method of uniformly using the maximum refresh amount (for example, the refresh amount of 4 for BANK3 in the above example), reducing the refresh amount and further reducing the power consumption of the memory refresh.
  • the maximum refresh amount for example, the refresh amount of 4 for BANK3 in the above example
  • the disclosed embodiments improve the efficiency of memory refresh while greatly reducing the power consumption of memory refresh, thereby solving the current technical problem of high power consumption of DRAM chips and achieving the technical effect of reducing the power consumption of DRAM chips.
  • the program code stored in a computer-readable storage medium can implement the following steps when executed: obtaining the data retention time of each memory cell in the semiconductor under test in a data retention test; determining the memory cell corresponding to the minimum value of each data retention time as the reference memory cell.
  • the data retention time in the disclosed embodiment is based on that obtained from the data retention test rather than being obtained based on empirical fitting.
  • the obtained benchmark memory unit is based on actual production, and the target refresh interval time and target refresh amount of each memory unit determined based on the benchmark memory unit are also more reliable.
  • the program code stored in the computer-readable storage medium can implement the following steps when executed: perform mass production testing on the semiconductor to be tested to obtain test results of the semiconductor to be tested; and extract the data retention time of each memory unit from the test results.
  • the disclosed embodiments do not need to perform data retention tests separately. Data retention tests can be added while mass production tests are being performed, and tests can be performed synchronously with other projects. After the test is completed, the required data retention time can be extracted from the test results, saving test time and test costs.
  • the program code stored in the computer-readable storage medium can implement the following steps when executed: storing the time ratio corresponding to each memory unit in a preset storage module in the semiconductor to be tested.
  • the program code stored in the computer-readable storage medium can implement the following steps when executed: storing the target refresh amount corresponding to each memory unit in a preset storage module in the semiconductor to be tested.
  • the time ratio and target refresh amount corresponding to each memory unit are stored in the preset storage module to facilitate the control device to read, thereby improving the convenience and efficiency of determining the memory refresh parameters.
  • the preset storage module is a readable register in the semiconductor to be tested.
  • a readable register refers to a semiconductor to be tested, such as a readable mode register (such as an MR register) in a DRAM chip.
  • the readable mode register can be accessed by a control device, such as the CPU of a DRAM chip, for data reading, thereby facilitating the acquisition of the time ratio of each stored memory unit, the target refresh interval duration, and the target refresh amount, etc., thereby improving the efficiency and convenience of memory refresh and the overall performance of the DRAM chip.
  • the program code stored in a computer-readable storage medium can implement the following steps when executed: for each memory unit, calculate the ratio between the baseline refresh interval duration of the baseline memory unit and the time ratio corresponding to the memory unit to obtain the target refresh interval duration of the memory unit.
  • This embodiment directly obtains the target refresh interval of the memory unit by calculating the ratio between the benchmark refresh interval of the benchmark memory unit and the time ratio corresponding to the memory unit.
  • the calculation method is simple and more efficient, which can further improve the efficiency of determining the memory refresh parameters of the disclosed embodiment.
  • the program code stored in a computer-readable storage medium can implement the following steps when executed: determining a baseline refresh amount of memory data by a baseline memory unit within a baseline refresh interval; for each memory unit, calculating the ratio between the baseline refresh amount and the time ratio corresponding to the memory unit, to obtain a target refresh amount of the memory unit within a target refresh interval.
  • This embodiment directly obtains the target refresh amount of the memory unit within the target refresh interval by calculating the ratio between the baseline refresh amount and the time ratio corresponding to the memory unit.
  • the calculation method is simple and more efficient, which can further improve the efficiency of determining the memory refresh parameters of the disclosed embodiment.
  • the reference refresh amount is the number of refresh units of each data unit in the memory unit within the reference refresh interval.
  • Measuring the refresh amount in data units has a smaller amount of calculation than real-time calculation of memory data, which can save computing resources and further improve the efficiency of determining memory refresh parameters.
  • the semiconductor to be tested is a dynamic random access memory.
  • the semiconductor to be tested is a DRAM chip.
  • the target refresh interval of each memory unit when performing memory refresh in the DRAM chip and the target refresh amount within the target refresh interval are determined, which can greatly improve the efficiency of DRAM chip memory refresh and reduce the power consumption of memory refresh.
  • target refresh interval duration and a target refresh amount within the target refresh interval duration for each memory cell in the semiconductor under test are determined according to any of the memory refresh parameter determination methods described above;
  • each corresponding memory unit in the semiconductor under test is controlled to perform memory refresh.
  • This embodiment directly obtains the target refresh amount of the memory unit within the target refresh interval by calculating the ratio between the baseline refresh amount and the time ratio corresponding to the memory unit.
  • the calculation method is simple and more efficient, which can further improve the efficiency of determining the memory refresh parameters of the disclosed embodiment.
  • an exemplary embodiment of the present disclosure further provides an electronic device 1000, which may be a background server of an information platform.
  • the electronic device 1000 is described below with reference to FIG. 10 . It should be understood that the electronic device 1000 shown in FIG. 10 is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
  • the electronic device 1000 is in the form of a general computing device.
  • the components of the electronic device 1000 may include but are not limited to: at least one processing unit 1010, at least one storage unit 1020, and a bus 1030 connecting different system components (including the storage unit 1020 and the processing unit 1010).
  • the storage unit stores program codes, which can be executed by the processing unit 1010, so that the processing unit 1010 performs the steps of various exemplary embodiments of the present invention described in the above "Exemplary Method" section of this specification.
  • the processing unit 1010 can perform the method steps shown in Figure 2, etc.
  • the storage unit 1020 may include a volatile storage unit, such as a random access storage unit (RAM) 1021 and/or a cache storage unit 1022 , and may further include a read-only storage unit (ROM) 1023 .
  • RAM random access storage unit
  • ROM read-only storage unit
  • the storage unit 1020 may also include a program/utility 1024 having a set (at least one) of program modules 1025, such program modules 1025 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
  • program modules 1025 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
  • the bus 1030 may include a data bus, an address bus, and a control bus.
  • the electronic device 1000 may also communicate with one or more external devices 2000 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), and such communication may be performed via an input/output (I/O) interface 1040.
  • the electronic device 1000 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and/or public networks, such as the Internet) via a network adapter 1050.
  • networks e.g., local area networks (LANs), wide area networks (WANs), and/or public networks, such as the Internet
  • the network adapter 1050 communicates with other modules of the electronic device 1000 via a bus 1030.
  • any step in the above-mentioned memory refresh parameter determination method or memory refresh method can be implemented.
  • a target refresh amount of the memory unit within a target refresh interval is determined according to a ratio of a reference refresh amount of memory data of the reference memory unit within a reference refresh interval to a time ratio.
  • the disclosed embodiment determines the time ratio between the data retention time of each memory cell in the semiconductor to be tested and the reference data retention time of the reference memory cell.
  • the target refresh interval of each memory cell is determined according to the reference refresh interval of the reference memory cell and the time ratio, thereby avoiding the traditional method of uniformly using the longest refresh interval of each memory cell, the overall refresh interval is shorter, and the memory refresh efficiency is higher; and each memory cell has a target refresh interval adapted to the corresponding data retention time to ensure normal data refresh;
  • the disclosed embodiment determines the target refresh amount of the memory unit within the target refresh interval based on the ratio of the benchmark refresh amount of the memory data of the benchmark memory unit within the benchmark refresh interval to the time, thereby avoiding the traditional method of uniformly using the maximum refresh amount (for example, the refresh amount of 4 for BANK3 in the above example), reducing the refresh amount and further reducing the power consumption of the memory refresh.
  • the maximum refresh amount for example, the refresh amount of 4 for BANK3 in the above example
  • the disclosed embodiments improve the efficiency of memory refresh while greatly reducing the power consumption of memory refresh, thereby solving the current technical problem of high power consumption of DRAM chips and achieving the technical effect of reducing the power consumption of DRAM chips.
  • the program code stored in the electronic device can implement the following steps when executed: obtaining the data retention time of each memory unit in the semiconductor under test in the data retention test; determining the memory unit corresponding to the minimum value of each data retention time as the reference memory unit.
  • the data retention time in the disclosed embodiment is based on that obtained from the data retention test rather than being obtained based on empirical fitting.
  • the obtained benchmark memory unit is based on actual production, and the target refresh interval time and target refresh amount of each memory unit determined based on the benchmark memory unit are also more reliable.
  • the program code stored in the electronic device can implement the following steps when executed: perform mass production testing on the semiconductor to be tested to obtain test results of the semiconductor to be tested; and extract the data retention time of each memory unit from the test results.
  • the disclosed embodiments do not need to perform data retention tests separately. Data retention tests can be added while mass production tests are being performed, and tests can be performed synchronously with other projects. After the test is completed, the required data retention time can be extracted from the test results, saving test time and test costs.
  • the following steps can be implemented: storing the time ratio corresponding to each memory unit in a preset storage module in the semiconductor to be tested.
  • the following steps can be implemented: storing the target refresh amount corresponding to each memory unit in a preset storage module in the semiconductor to be tested.
  • the time ratio and target refresh amount corresponding to each memory unit are stored in the preset storage module to facilitate the control device to read, thereby improving the convenience and efficiency of determining the memory refresh parameters.
  • the preset storage module is a readable register in the semiconductor to be tested.
  • a readable register refers to a semiconductor to be tested, such as a readable mode register (such as an MR register) in a DRAM chip.
  • the readable mode register can be accessed by a control device, such as the CPU of a DRAM chip, for data reading, thereby facilitating the acquisition of the time ratio of each stored memory unit, the target refresh interval duration, and the target refresh amount, etc., thereby improving the efficiency and convenience of memory refresh and the overall performance of the DRAM chip.
  • the program code stored in the electronic device can implement the following steps when executed: for each memory unit, calculate the ratio between the benchmark refresh interval duration of the benchmark memory unit and the time ratio corresponding to the memory unit to obtain the target refresh interval duration of the memory unit.
  • This embodiment directly obtains the target refresh interval of the memory unit by calculating the ratio between the benchmark refresh interval of the benchmark memory unit and the time ratio corresponding to the memory unit.
  • the calculation method is simple and more efficient, which can further improve the efficiency of determining the memory refresh parameters of the disclosed embodiment.
  • the program code stored in the electronic device can implement the following steps when executed: determine a baseline refresh amount of memory data by a baseline memory unit within a baseline refresh interval; for each memory unit, calculate the ratio between the baseline refresh amount and the time ratio corresponding to the memory unit, and obtain a target refresh amount of the memory unit within a target refresh interval.
  • This embodiment directly obtains the target refresh amount of the memory unit within the target refresh interval by calculating the ratio between the baseline refresh amount and the time ratio corresponding to the memory unit.
  • the calculation method is simple and more efficient, which can further improve the efficiency of determining the memory refresh parameters of the disclosed embodiment.
  • the reference refresh amount is the number of refresh units of each data unit in the memory unit within the reference refresh interval.
  • Measuring the refresh amount in data units has a smaller amount of calculation than real-time calculation of memory data, which can save computing resources and further improve the efficiency of determining memory refresh parameters.
  • the semiconductor to be tested is a dynamic random access memory.
  • the semiconductor to be tested is a DRAM chip.
  • the target refresh interval of each memory unit when performing memory refresh in the DRAM chip and the target refresh amount within the target refresh interval are determined, which can greatly improve the efficiency of DRAM chip memory refresh and reduce the power consumption of memory refresh.
  • target refresh interval duration and a target refresh amount within the target refresh interval duration for each memory cell in the semiconductor under test are determined according to any of the memory refresh parameter determination methods described above;
  • each corresponding memory unit in the semiconductor under test is controlled to perform memory refresh.
  • This embodiment directly obtains the target refresh amount of the memory unit within the target refresh interval by calculating the ratio between the baseline refresh amount and the time ratio corresponding to the memory unit.
  • the calculation method is simple and more efficient, which can further improve the efficiency of determining the memory refresh parameters of the disclosed embodiment.

Landscapes

  • Engineering & Computer Science (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Computer Hardware Design (AREA)
  • Dram (AREA)

Abstract

A memory refresh parameter determination method, comprising: for each memory unit in a semiconductor to be tested, determining the time ratio of a data retention duration of the memory unit to a reference data retention duration of a reference memory unit, wherein the reference memory unit is a memory unit having the shortest data retention duration in said semiconductor (201); for each memory unit, determining a target refresh interval duration of the memory unit according to a reference refresh interval duration of the reference memory unit and the time ratio (202); and for each memory unit, determining, according to a reference refresh amount of the reference memory unit for memory data within the reference refresh interval duration and the time ratio, a target refresh amount of the memory unit within the target refresh interval duration (203). The method reduces the power consumption of a DRAM chip.

Description

内存刷新参数确定、内存刷新方法、装置、介质和设备Memory refresh parameter determination, memory refresh method, device, medium and equipment
本公开要求于2022年10月17日提交的申请号为202211269164.5、名称为“内存刷新参数确定、内存刷新方法、装置、介质和设备”的中国专利申请的优先权,该中国专利申请的全部内容通过引用全部并入本文。This disclosure claims priority to Chinese patent application No. 202211269164.5, filed on October 17, 2022, and entitled “Memory refresh parameter determination, memory refresh method, device, medium and apparatus”, the entire contents of which are incorporated herein by reference.
技术领域Technical Field
本公开涉及半导体技术领域,尤其涉及一种内存刷新参数确定、内存刷新方法、装置、介质和设备。The present disclosure relates to the field of semiconductor technology, and in particular to a memory refresh parameter determination, a memory refresh method, a device, a medium and a device.
背景技术Background technique
DRAM(Dynamic Random Access Memory,动态随机存取存储器)芯片的基本结构一般包括1个晶体管和1个电容,电容在工作过程中容易发生漏电的情况,并且数据保存时间与内存刷新间隔时间成反比,因此,为了保证数据的完整性需要对电容进行周期性充电,这个充电的过程称为内存刷新。The basic structure of a DRAM (Dynamic Random Access Memory) chip generally includes one transistor and one capacitor. The capacitor is prone to leakage during operation, and the data retention time is inversely proportional to the memory refresh interval. Therefore, in order to ensure the integrity of the data, the capacitor needs to be charged periodically. This charging process is called memory refresh.
由于物理布局以及生产工艺等因素影响,不同内存单元的数据保存时间不同,最大的可以达到50%以上的时间差异。针对这种情况,目前大多是以DRAM芯片中各内存单元中数据保存时长最短的为基准进行刷新,这边导致数据保存时长较长的内存单元也需要基于该最短的刷新间隔时长进行内存刷新。也就是说,数据保存时长较长的内存单元在单位时间内的刷新次数更多,从而大大增加了DRAM芯片的功耗。Due to factors such as physical layout and production process, the data retention time of different memory cells is different, and the maximum time difference can reach more than 50%. In response to this situation, most of the current refreshes are based on the memory cell with the shortest data retention time in the DRAM chip. This causes the memory cells with longer data retention time to also need to be refreshed based on the shortest refresh interval. In other words, the memory cells with longer data retention time have more refresh times per unit time, which greatly increases the power consumption of the DRAM chip.
因此,目前DRAM芯片的功耗较大。Therefore, the current DRAM chips consume a lot of power.
公开内容Public Content
第一方面,本公开一个实施例提供了一种内存刷新参数确定方法,包括:In a first aspect, an embodiment of the present disclosure provides a method for determining a memory refresh parameter, comprising:
针对待测半导体中的每个内存单元,确定内存单元的数据保持时长与基准内存单元的基准数据保持时长之间的时间比值;其中,基准内存单元是指待测半导体中数据保持时长最短的内存单元;For each memory cell in the semiconductor under test, determining a time ratio between a data retention time of the memory cell and a reference data retention time of a reference memory cell; wherein the reference memory cell refers to a memory cell with the shortest data retention time in the semiconductor under test;
针对每个内存单元,根据基准内存单元的基准刷新间隔时长与时间比值确定内存单元的目标刷新间隔时长;For each memory unit, determining a target refresh interval duration of the memory unit according to a reference refresh interval duration of the reference memory unit and a time ratio;
针对每个内存单元,根据基准内存单元的在基准刷新间隔时长内对内存数据的基准刷新量与时间比值确定内存单元在目标刷新间隔时长内的目标刷新量。For each memory unit, a target refresh amount of the memory unit within a target refresh interval is determined according to a ratio of a reference refresh amount of memory data of the reference memory unit within a reference refresh interval to a time ratio.
在本公开一个可选的实施例中,在针对待测半导体中的每个内存单元,确定内存单元的数据保持时长与基准内存单元的基准数据保持时长之间的时间比值之前,该内存刷新参数确定方法还包括:In an optional embodiment of the present disclosure, before determining the time ratio between the data retention time of the memory cell and the reference data retention time of the reference memory cell for each memory cell in the semiconductor under test, the memory refresh parameter determination method further includes:
获取待测半导体中各内存单元在数据保持测试中的数据保持时长;Obtaining the data retention time of each memory cell in the semiconductor under test during a data retention test;
将各数据保持时长中的最小值对应的内存单元确定为基准内存单元。The memory cell corresponding to the minimum value among the data retention time lengths is determined as the reference memory cell.
在本公开一个可选的实施例中,获取待测半导体中各内存单元在数据保持测试中 的数据保持时长,包括:In an optional embodiment of the present disclosure, obtaining the data retention time of each memory cell in the semiconductor under test in a data retention test includes:
对待测半导体进行量产测试,得到待测半导体的测试结果;Performing mass production tests on the semiconductor to be tested and obtaining test results of the semiconductor to be tested;
从测试结果中提取得到各内存单元的数据保持时长。The data retention time of each memory unit is extracted from the test results.
在本公开一个可选的实施例中,在针对待测半导体中的每个内存单元,确定内存单元的数据保持时长与基准内存单元的基准数据保持时长之间的时间比值之后,该内存刷新参数确定方法还包括:In an optional embodiment of the present disclosure, after determining the time ratio between the data retention time of the memory cell and the reference data retention time of the reference memory cell for each memory cell in the semiconductor under test, the memory refresh parameter determination method further includes:
将各内存单元对应的时间比值存储于待测半导体中预设存储模块。The time ratio corresponding to each memory unit is stored in a preset storage module in the semiconductor to be tested.
在本公开一个可选的实施例中,该内存刷新参数确定方法还包括:In an optional embodiment of the present disclosure, the memory refresh parameter determination method further includes:
将各内存单元对应的目标刷新量存储于待测半导体中预设存储模块。The target refresh amount corresponding to each memory unit is stored in a preset storage module in the semiconductor to be tested.
在本公开一个可选的实施例中,预设存储模块为待测半导体中的可读寄存器。In an optional embodiment of the present disclosure, the preset storage module is a readable register in the semiconductor to be tested.
在本公开一个可选的实施例中,针对每个内存单元,根据基准内存单元的基准刷新间隔时长与时间比值确定内存单元的目标刷新间隔时长,包括:In an optional embodiment of the present disclosure, for each memory unit, determining a target refresh interval duration of the memory unit according to a reference refresh interval duration of the reference memory unit and a time ratio includes:
针对每个内存单元,计算基准内存单元的基准刷新间隔时长与内存单元对应的时间比值之间的比值,得到内存单元的目标刷新间隔时长。For each memory unit, the ratio between the reference refresh interval duration of the reference memory unit and the time ratio corresponding to the memory unit is calculated to obtain the target refresh interval duration of the memory unit.
在本公开一个可选的实施例中,针对每个内存单元,根据基准内存单元的在基准刷新间隔时长内对内存数据的基准刷新量与时间比值确定内存单元在目标刷新间隔时长内的目标刷新量,包括:In an optional embodiment of the present disclosure, for each memory unit, determining a target refresh amount of the memory unit within a target refresh interval duration according to a ratio of a baseline refresh amount of memory data of the reference memory unit within a baseline refresh interval duration to a time includes:
确定基准内存单元在基准刷新间隔时长内对内存数据的基准刷新量;Determine a baseline refresh amount of memory data by a baseline memory unit within a baseline refresh interval;
针对每个内存单元,计算基准刷新量与内存单元对应的时间比值之间的比值,得到内存单元在目标刷新间隔时长内的目标刷新量。For each memory unit, the ratio between the reference refresh amount and the time ratio corresponding to the memory unit is calculated to obtain the target refresh amount of the memory unit within the target refresh interval.
在本公开一个可选的实施例中,基准刷新量为在基准刷新间隔时长内对内存单元中各数据单元的刷新单元数量。In an optional embodiment of the present disclosure, the reference refresh amount is the number of refresh units of each data unit in the memory unit within the reference refresh interval.
在本公开一个可选的实施例中,待测半导体为动态随机存取存储器。In an optional embodiment of the present disclosure, the semiconductor to be tested is a dynamic random access memory.
第二方面,本公开一个实施例提供了一种内存刷新方法,包括:In a second aspect, an embodiment of the present disclosure provides a memory refresh method, comprising:
获取待测半导体中每个内存单元的目标刷新间隔时长,以及在目标刷新间隔时长内的目标刷新量;其中,目标刷新间隔时长与目标刷新量是根据如上任一项的内存刷新参数确定方法确定得到的;Obtaining a target refresh interval duration and a target refresh amount within the target refresh interval duration for each memory cell in the semiconductor under test; wherein the target refresh interval duration and the target refresh amount are determined according to any of the memory refresh parameter determination methods described above;
基于目标刷新间隔时长与目标刷新量控制待测半导体中对应的各内存单元进行内存刷新。Based on the target refresh interval duration and the target refresh amount, each corresponding memory unit in the semiconductor under test is controlled to perform memory refresh.
第三方面,本公开一个实施例提供了一种内存刷新参数确定装置,该装置包括:In a third aspect, an embodiment of the present disclosure provides a memory refresh parameter determination device, the device comprising:
第一确定模块,用于针对待测半导体中的每个内存单元,确定内存单元的数据保持时长与基准内存单元的基准数据保持时长之间的时间比值;其中,基准内存单元是指待测半导体中数据保持时长最短的内存单元;A first determination module is used to determine, for each memory cell in the semiconductor under test, a time ratio between a data retention time of the memory cell and a reference data retention time of a reference memory cell; wherein the reference memory cell refers to a memory cell with the shortest data retention time in the semiconductor under test;
第二确定模块,用于针对每个内存单元,根据基准内存单元的基准刷新间隔时长与时间比值确定内存单元的目标刷新间隔时长;A second determination module is used to determine, for each memory unit, a target refresh interval duration of the memory unit according to a reference refresh interval duration of the reference memory unit and a time ratio;
第三确定模块,用于针对每个内存单元,根据基准内存单元的在基准刷新间隔时长内对内存数据的基准刷新量与时间比值确定内存单元在目标刷新间隔时长内的目标刷新量。The third determination module is used to determine, for each memory unit, a target refresh amount of the memory unit within a target refresh interval according to a ratio of a benchmark refresh amount of memory data of the benchmark memory unit within a benchmark refresh interval to time.
第四方面,本公开一个实施例提供了一种内存刷新装置,该装置包括:In a fourth aspect, an embodiment of the present disclosure provides a memory refresh device, the device comprising:
获取模块,用于获取待测半导体中每个内存单元的目标刷新间隔时长,以及在目标刷新间隔时长内的目标刷新量;其中,目标刷新间隔时长与目标刷新量是根据如上任一项的内存刷新参数确定方法确定得到的;An acquisition module, used to acquire a target refresh interval duration and a target refresh amount within the target refresh interval duration for each memory cell in the semiconductor to be tested; wherein the target refresh interval duration and the target refresh amount are determined according to any of the memory refresh parameter determination methods described above;
控制模块,用于基于目标刷新间隔时长与目标刷新量控制待测半导体中对应的各内存单元进行内存刷新。The control module is used to control the corresponding memory units in the semiconductor to be tested to perform memory refresh based on the target refresh interval duration and the target refresh amount.
第五方面,本公开一个实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如上的方法。In a fifth aspect, an embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, and the computer program implements the above method when executed by a processor.
第六方面,本公开一个实施例提供了一种电子设备,包括:处理器;以及存储器,用于存储处理器的可执行指令;其中,处理器配置为经由执行可执行指令来执行如上的方法。In a sixth aspect, an embodiment of the present disclosure provides an electronic device, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform the above method by executing the executable instructions.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施方式,并与说明书一起用于解释本公开的原理。显而易见地,下面描述中的附图仅仅是本公开的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
图1(a)示出本示例性实施方式中一种DRAM芯片的结构示意图;FIG. 1( a ) shows a schematic diagram of the structure of a DRAM chip in this exemplary embodiment;
图1(b)示出本示例性实施方式中一种DRAM芯片中一个内存单元的结构示意图;FIG. 1( b ) shows a schematic diagram of the structure of a memory cell in a DRAM chip according to the exemplary embodiment;
图2示出本示例性实施方式中一种内存刷新参数确定方法的流程图;FIG2 shows a flow chart of a method for determining memory refresh parameters in this exemplary embodiment;
图3示出本示例性实施方式中一种内存刷新参数确定方法中数据保持时长与时间比值之间的对应关系图;FIG3 is a diagram showing a corresponding relationship between a data retention time and a time ratio in a method for determining a memory refresh parameter in this exemplary embodiment;
图4示出本示例性实施方式中一种内存刷新参数确定方法的流程图;FIG4 shows a flow chart of a method for determining memory refresh parameters in this exemplary embodiment;
图5示出本示例性实施方式中一种内存刷新参数确定方法的流程图;FIG5 shows a flow chart of a method for determining memory refresh parameters in this exemplary embodiment;
图6示出本示例性实施方式中一种内存刷新参数确定方法的流程图;FIG6 shows a flow chart of a method for determining memory refresh parameters in this exemplary embodiment;
图7示出本示例性实施方式中一种内存刷新方法的流程图;FIG7 shows a flow chart of a memory refresh method in this exemplary embodiment;
图8示出本示例性实施方式中一种内存刷新参数确定装置结构示意图;FIG8 is a schematic diagram showing the structure of a memory refresh parameter determination device in this exemplary embodiment;
图9示出本示例性实施方式中一种内存刷新装置结构示意图;FIG9 shows a schematic structural diagram of a memory refresh device in this exemplary embodiment;
图10示出本示例性实施方式中一种电子设备的结构示意图。FIG. 10 is a schematic structural diagram of an electronic device in this exemplary embodiment.
具体实施方式Detailed ways
现在将参考附图更全面地描述示例性实施方式。然而,示例性实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例;相反,提供这些实施方式使得本公开将更加全面和完整,并将示例性实施方式的构思全面地传达给本领域的技术人员。 所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施方式中。在下面的描述中,提供许多具体细节从而给出对本公开的实施方式的充分理解。然而,本领域技术人员将意识到,可以实践本公开的技术方案而省略特定细节中的一个或更多,或者可以采用其它的方法、组元、装置、步骤等。在其它情况下,不详细示出或描述公知技术方案以避免喧宾夺主而使得本公开的各方面变得模糊。Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, exemplary embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the exemplary embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.
此外,附图仅为本公开的示意性图解,并非一定是按比例绘制。图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。附图中所示的一些方框图是功能实体,不一定必须与物理或逻辑上独立的实体相对应。可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and thus their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and/or processor devices and/or microcontroller devices.
附图中所示的流程图仅是示例性说明,不是必须包括所有的步骤。例如,有的步骤还可以分解,而有的步骤可以合并或部分合并,因此实际执行的顺序有可能根据实际情况改变。The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the steps. For example, some steps may be decomposed, while some steps may be combined or partially combined, so the actual execution order may change according to the actual situation.
相关技术中,DRAM(Dynamic Random Access Memory,动态随机存取存储器)芯片的基本结构一般包括1个晶体管和1个电容,电容在工作过程中容易发生漏电的情况,因此,为了保证数据的完整性需要对电容进行周期性充电,这个充电的过程称为内存刷新。请参见图1(a)与图1(b),目前DRAM芯片10的内存阵列由多个Bank Group/Bank(内存单元组合/内存单元)构成,例如图1(a)各内存单元110按一定的顺序摆放在一颗DRAM芯片里,每个内存单元110中包含多个数据单元,如图1(b)中7×7的数据单元(在此仅为示例,不够成对数据单元数量以及排布的限制),CPU(central processing unit,内存处理器)需要每隔tRFCpb(刷新间隔时长)去刷新每个内存单元110,并且每个内存单元都是相同的刷新间隔时长来进行内存刷新。由于物理布局以及生产工艺等因素影响,不同内存单元的刷新间隔时长不仅相同,最大的可以达到50%以上的时间差异。针对这种情况,目前大多是以DRAM芯片中各内存单元中刷新间隔时长最短的为基准进行刷新,这边导致刷新间隔时长较长的内存单元也需要基于该最短的刷新间隔时长进行内存刷新。也就是说,刷新间隔时长较长的内存单元在单位时间内的刷新次数更多,从而大大增加了DRAM芯片的功耗。因此,目前DRAM芯片的功耗较大。In the related art, the basic structure of a DRAM (Dynamic Random Access Memory) chip generally includes one transistor and one capacitor. The capacitor is prone to leakage during operation. Therefore, in order to ensure the integrity of the data, the capacitor needs to be periodically charged. This charging process is called memory refresh. Please refer to Figures 1(a) and 1(b). At present, the memory array of the DRAM chip 10 is composed of multiple Bank Groups/Banks (memory unit combinations/memory units). For example, in Figure 1(a), each memory unit 110 is placed in a DRAM chip in a certain order. Each memory unit 110 contains multiple data units, such as the 7×7 data units in Figure 1(b) (this is only an example, not enough to limit the number and arrangement of paired data units). The CPU (central processing unit) needs to refresh each memory unit 110 every tRFCpb (refresh interval), and each memory unit has the same refresh interval for memory refresh. Due to factors such as physical layout and production process, the refresh intervals of different memory units are not only the same, but the maximum time difference can reach more than 50%. In response to this situation, most of the memory units in the DRAM chip are refreshed based on the shortest refresh interval. This means that the memory units with longer refresh intervals also need to be refreshed based on the shortest refresh interval. In other words, the memory units with longer refresh intervals are refreshed more times per unit time, which greatly increases the power consumption of the DRAM chip. Therefore, the power consumption of DRAM chips is currently high.
鉴于上述问题,本公开实施例提供了一种内存刷新参数确定方法,用以降低DRAM芯片的功耗。以下对本公开实施例提供的内存刷新参数确定方法的应用环境作简单介绍:In view of the above problems, the present disclosure provides a memory refresh parameter determination method to reduce the power consumption of DRAM chips. The following is a brief introduction to the application environment of the memory refresh parameter determination method provided by the present disclosure:
本公开实施例提供的内存刷新参数确定方法应用于控制设备,该控制设备可以为DRAM芯片内部的CPU,也可以为独立于DRAM芯片之外的其他控制器件、控制设备或控制芯片等均可,本公开实施例不作具体限定,可根据实际情况任意设定。The memory refresh parameter determination method provided in the embodiment of the present disclosure is applied to a control device, which can be a CPU inside a DRAM chip, or other control components, control devices or control chips independent of the DRAM chip. The embodiment of the present disclosure does not make any specific limitations and can be arbitrarily set according to actual conditions.
下面以上述控制设备为执行主体,将该内存刷新参数确定方法应用于该控制设备对待测半导体中内存单元进行内存刷新参数的确定为例进行举例说明。该待测半导体 可以为任意需要执行内存刷新的半导体,例如DRAM芯片等,本公开实施例不作具体限定。请参见图2,本公开实施例提供的内存刷新参数确定方法包括如下步骤201-步骤203:The following uses the control device as the execution subject, and applies the memory refresh parameter determination method to the memory unit in the semiconductor under test to determine the memory refresh parameter as an example. The semiconductor under test can be any semiconductor that needs to perform memory refresh, such as a DRAM chip, etc., and the embodiment of the present disclosure is not specifically limited. Referring to FIG. 2, the memory refresh parameter determination method provided in the embodiment of the present disclosure includes the following steps 201-203:
步骤201、针对待测半导体中的每个内存单元,确定内存单元的数据保持时长与基准内存单元的基准数据保持时长之间的时间比值。Step 201: for each memory cell in the semiconductor to be tested, determine the time ratio between the data retention time of the memory cell and the reference data retention time of the reference memory cell.
数据保持时长(Retention time)是指内存单元中电容可以维持不漏电的时长,一个内存单元对应一个数据保持时长,例如10秒、20秒、30秒等。基准内存单元是指待测半导体中数据保持时长最短的内存单元。例如请参见图3,图3为一批DDR 4SDRAM(Double Data Rate Fourth Synchronous Dynamic Random Access Memory,第四代双倍数据率同步动态随机存取存储器)中各内存单元的数据保持时长图标,其中,横坐标为BANK0-BANK7不同的内存单元的标号,纵坐标为各内存单元的数据保持时长,由图3中可以看出,BANK3的数据保持时长最短,为30秒,即将BANK3确定为基准内存单元,对应的基准数据保持时长即为30秒。然后分别计算各个内存单元的数据保持时长与30秒之间的比值,分别得到各内存单元对应的时间比值,如下表(1):The data retention time refers to the time that the capacitor in the memory cell can maintain no leakage. One memory cell corresponds to a data retention time, such as 10 seconds, 20 seconds, 30 seconds, etc. The benchmark memory cell refers to the memory cell with the shortest data retention time in the semiconductor to be tested. For example, please refer to Figure 3, which is a data retention time icon of each memory cell in a batch of DDR 4 SDRAM (Double Data Rate Fourth Synchronous Dynamic Random Access Memory, the fourth generation double data rate synchronous dynamic random access memory), where the horizontal axis is the number of different memory cells BANK0-BANK7, and the vertical axis is the data retention time of each memory cell. It can be seen from Figure 3 that BANK3 has the shortest data retention time of 30 seconds, that is, BANK3 is determined as the benchmark memory cell, and the corresponding benchmark data retention time is 30 seconds. Then, the ratio between the data retention time of each memory cell and 30 seconds is calculated respectively, and the time ratio corresponding to each memory cell is obtained, as shown in the following table (1):
表(1)Table 1)
Figure PCTCN2022129356-appb-000001
Figure PCTCN2022129356-appb-000001
步骤202、针对每个内存单元,根据基准内存单元的基准刷新间隔时长与时间比值确定内存单元的目标刷新间隔时长。Step 202: For each memory unit, determine a target refresh interval of the memory unit according to a reference refresh interval of the reference memory unit and a time ratio.
刷新间隔时长是指内存单元进行两次内存刷新时间隔的时间,对应的,基准刷新间隔时长即为基准内存单元进行两次内存刷新时间隔的时间。可以通过分别计算基准刷新间隔时长与各时间比值的比值、乘积或加权乘积等方式得到各内存单元的目标刷新间隔时长。The refresh interval refers to the time between two memory refreshes of a memory unit, and correspondingly, the reference refresh interval is the time between two memory refreshes of a reference memory unit. The target refresh interval of each memory unit can be obtained by calculating the ratio, product or weighted product of the reference refresh interval and each time ratio.
继续上述示例,例如上述的基准内存单元BANK3的基准刷新间隔时长为90纳秒,BANK0-BANK7分别对应的目标刷新间隔时长如下表(2):Continuing with the above example, for example, the reference refresh interval of the reference memory unit BANK3 is 90 nanoseconds, and the target refresh intervals corresponding to BANK0-BANK7 are shown in the following table (2):
表(2)Table 2)
内存单元Memory Unit 数据保持时长Data retention time 时间比值Time ratio 目标刷新间隔时长(单Target refresh interval (single
 The (单位:秒)(Unit: seconds)  The 位:纳秒)bit: nanosecond)
BANK0BANK0 4646 1.51.5 6060
BANK1BANK1 4545 1.51.5 6060
BANK2 BANK2 4040 1.31.3 6969
BANK3BANK3 3030 1.01.0 9090
BANK4BANK4 3939 1.31.3 6969
BANK5BANK5 4141 1.41.4 6464
BANK6BANK6 4242 1.41.4 6464
BANK7BANK7 5050 1.71.7 5353
由上表(2)可以看到,内存单元的目标刷新间隔时长与数据保持时长呈负相关,数据保持时长越短,目标刷新间隔时长越长,相反,数据保持时长越长,目标刷新间隔时长越短,且不同的内存单元的目标刷新间隔时长不尽相同,各内存单元的刷新间隔时长相对于传统方式中统一使用最长刷新间隔时长(例如上述示例中BANK3的90纳秒)间隔时间更短,提高了刷新效率。It can be seen from the above table (2) that the target refresh interval of the memory unit is negatively correlated with the data retention time. The shorter the data retention time, the longer the target refresh interval. Conversely, the longer the data retention time, the shorter the target refresh interval. In addition, the target refresh intervals of different memory units are not the same. The refresh interval of each memory unit is shorter than the traditional method of uniformly using the longest refresh interval (such as 90 nanoseconds of BANK3 in the above example), thereby improving the refresh efficiency.
步骤203、针对每个内存单元,根据基准内存单元的在基准刷新间隔时长内对内存数据的基准刷新量与时间比值确定内存单元在目标刷新间隔时长内的目标刷新量。Step 203 : for each memory unit, determine a target refresh amount of the memory unit within a target refresh interval according to a ratio of a benchmark refresh amount of memory data of the benchmark memory unit within a benchmark refresh interval to a time ratio.
本公开实施例中的刷新量是指内存单元在一个刷新间隔时长内对内存数据进行刷新的数量,可以用具体的数据大小进行表征,例如3M、5M等,也可以用数据单元进行表征,例如1行、2行等,本公开实施例不作具体限定。对应的,基准刷新量即为基准内存单元在一个刷新间隔时长内对内存数据进行刷新的数量。可以通过分别计算基准刷新量与各时间比值的比值、乘积或加权乘积等方式得到各内存单元的目标刷新量。The refresh amount in the embodiments of the present disclosure refers to the amount of memory data refreshed by the memory unit within a refresh interval. It can be represented by a specific data size, such as 3M, 5M, etc., or by a data unit, such as 1 row, 2 rows, etc., which is not specifically limited in the embodiments of the present disclosure. Correspondingly, the benchmark refresh amount is the amount of memory data refreshed by the benchmark memory unit within a refresh interval. The target refresh amount of each memory unit can be obtained by calculating the ratio, product or weighted product of the benchmark refresh amount and each time ratio.
继续上述示例,例如上述的基准内存单元BANK3的基准刷新量为4.0行,BANK0-BANK7分别对应的目标刷新量如下表(3):Continuing with the above example, for example, the baseline refresh amount of the above baseline memory unit BANK3 is 4.0 rows, and the target refresh amounts corresponding to BANK0-BANK7 are as follows (3):
表(3)table 3)
Figure PCTCN2022129356-appb-000002
Figure PCTCN2022129356-appb-000002
Figure PCTCN2022129356-appb-000003
Figure PCTCN2022129356-appb-000003
由上表(3)可以看到,内存单元的目标刷新量与数据保持时长呈负相关,数据保持时长越短,目标刷新量越大,相反,数据保持时长越长,目标刷新量越小,且不同的内存单元的目标刷新量不尽相同,各内存单元的刷新间隔时长相对于传统方式中统一使用最大刷新量(例如上述示例中BANK3的刷新量4),刷新量减小,进一步降低了内存刷新的功耗。It can be seen from the above table (3) that the target refresh amount of the memory unit is negatively correlated with the data retention time. The shorter the data retention time, the larger the target refresh amount. On the contrary, the longer the data retention time, the smaller the target refresh amount. In addition, the target refresh amounts of different memory units are not the same. The refresh interval of each memory unit is smaller than the traditional method of uniformly using the maximum refresh amount (for example, the refresh amount of BANK3 in the above example is 4), and the refresh amount is reduced, which further reduces the power consumption of memory refresh.
本公开实施例提供的内存刷新参数确定方法,针对待测半导体中的每个内存单元,确定内存单元的数据保持时长与基准内存单元的基准数据保持时长之间的时间比值,第一方面,根据基准内存单元的基准刷新间隔时长与时间比值确定各内存单元的目标刷新间隔时长,从而避免了传统方式中统一使用各内存单元中时间最长的刷新间隔时长,整体的刷新间隔时长更短,内存刷新效率更高;且每个内存单元均具有适配于对应的数据保持时长的目标刷新间隔时长,以保障正常的数据刷新;The memory refresh parameter determination method provided by the embodiment of the present disclosure determines, for each memory cell in the semiconductor to be tested, the time ratio between the data retention time of the memory cell and the reference data retention time of the reference memory cell. In the first aspect, the target refresh interval of each memory cell is determined according to the reference refresh interval of the reference memory cell and the time ratio, thereby avoiding the traditional method of uniformly using the longest refresh interval of each memory cell, the overall refresh interval is shorter, and the memory refresh efficiency is higher; and each memory cell has a target refresh interval adapted to the corresponding data retention time to ensure normal data refresh;
第二方面,本公开实施例根据基准内存单元的在基准刷新间隔时长内对内存数据的基准刷新量与时间比值确定内存单元在目标刷新间隔时长内的目标刷新量,避免了传统方式中统一使用最大刷新量(例如上述示例中BANK3的刷新量4),刷新量减小,进一步降低了内存刷新的功耗。On the second aspect, the disclosed embodiment determines the target refresh amount of the memory unit within the target refresh interval based on the ratio of the benchmark refresh amount of the memory data of the benchmark memory unit within the benchmark refresh interval to the time, thereby avoiding the traditional method of uniformly using the maximum refresh amount (for example, the refresh amount of 4 for BANK3 in the above example), reducing the refresh amount and further reducing the power consumption of the memory refresh.
因此,本公开实施例在提高内存刷新的效率的同时大大降低了内存刷新的功耗,从而解决了目前DRAM芯片的功耗较大的技术问题,达到了降低DRAM芯片的功耗的技术效果。Therefore, the disclosed embodiments improve the efficiency of memory refresh while greatly reducing the power consumption of memory refresh, thereby solving the current technical problem of high power consumption of DRAM chips and achieving the technical effect of reducing the power consumption of DRAM chips.
请参见图4,在本公开一个可选实施例中,在上述步骤201、针对待测半导体中的每个内存单元,确定内存单元的数据保持时长与基准内存单元的基准数据保持时长之间的时间比值之前,上述内存刷新参数确定方法还包括如下步骤401-步骤402:Please refer to FIG. 4 . In an optional embodiment of the present disclosure, before the above step 201, for each memory cell in the semiconductor under test, determining the time ratio between the data retention time of the memory cell and the reference data retention time of the reference memory cell, the above memory refresh parameter determination method further includes the following steps 401-402:
步骤401、获取待测半导体中各内存单元在数据保持测试中的数据保持时长。Step 401: Obtain the data retention time of each memory cell in the semiconductor under test in a data retention test.
数据保持测试是指对待测半导体中各内存单元进行数据保持时长的测试,例如通过对内存单元中写入的数据进行不断的测试,以数据写入时刻或者测试启动时刻为起始时刻,以第一组数据丢失的时刻或者其他设定数量的数据丢失的时刻为终止时刻,该起始时刻与终止时刻之间的时长即为数据保持时长,用于表征该内存单元的数据保持能力。Data retention test refers to the test of the data retention time of each memory cell in the semiconductor under test. For example, by continuously testing the data written in the memory cell, the data is written or the test is started as the starting time, and the time when the first group of data is lost or other set number of data are lost is the ending time. The time between the starting time and the ending time is the data retention time, which is used to characterize the data retention ability of the memory cell.
步骤402、将各数据保持时长中的最小值对应的内存单元确定为基准内存单元。Step 402: Determine the memory unit corresponding to the minimum value among the data retention time as the reference memory unit.
继续如上示例,例如图3中可以看出,BANK3的数据保持时长最短,为30秒,即将BANK3确定为基准内存单元,对应的基准数据保持时长即为30秒。Continuing with the above example, as can be seen in FIG3 , the data retention time of BANK3 is the shortest, which is 30 seconds. That is, BANK3 is determined as the benchmark memory unit, and the corresponding benchmark data retention time is 30 seconds.
本公开实施例中的数据保持时长是基于数据保持测试中获取得到的,而非根据经验拟合得到,得到的基准内存单元是基于实际生产的,基于该基准内存单元确定得到的各内存单元的目标刷新间隔时长与目标刷新量也更为可靠。The data retention time in the disclosed embodiment is based on that obtained from the data retention test rather than being obtained based on empirical fitting. The obtained benchmark memory unit is based on actual production, and the target refresh interval time and target refresh amount of each memory unit determined based on the benchmark memory unit are also more reliable.
请参见图5,在本公开一个可选实施例中,上述步骤401、获取待测半导体中各内存单元在数据保持测试中的数据保持时长,包括如下步骤501-步骤502:Please refer to FIG. 5 . In an optional embodiment of the present disclosure, the above step 401 of obtaining the data retention time of each memory cell in the semiconductor under test in the data retention test includes the following steps 501 to 502:
步骤501、对待测半导体进行量产测试,得到待测半导体的测试结果。Step 501: Perform mass production testing on the semiconductor to be tested to obtain a test result of the semiconductor to be tested.
芯片的量产测试(Automatic Test Equipment,简称ATE),用于检测集成电路功能之完整性,测试内容包括但不限于:内存单元的数据保持时长、芯片引脚中是否有开路或短路、逻辑功能、器件直流电流和电压参数、交流输出信号的质量和信号时序参数、内嵌flash的功能及性能等。The mass production test of the chip (Automatic Test Equipment, ATE for short) is used to detect the integrity of the integrated circuit function. The test content includes but is not limited to: the data retention time of the memory unit, whether there is an open circuit or short circuit in the chip pins, logical function, device DC current and voltage parameters, AC output signal quality and signal timing parameters, embedded flash function and performance, etc.
步骤502、从测试结果中提取得到各内存单元的数据保持时长。Step 502: extract the data retention time of each memory unit from the test results.
本公开实施例无需单独进行数据保持测试,可以在进行量产测试的同时新增数据保持测试,与其他项目同步测试,在测试完成后从测试结果中提取所需要的数据保持时长即可,节省测试时间与测试成本。The disclosed embodiments do not need to perform data retention tests separately. Data retention tests can be added while mass production tests are being performed, and tests can be performed synchronously with other projects. After the test is completed, the required data retention time can be extracted from the test results, saving test time and test costs.
在本公开一个可选实施例中,在上述步骤201、针对待测半导体中的每个内存单元,确定内存单元的数据保持时长与基准内存单元的基准数据保持时长之间的时间比值之后,上述内存刷新参数确定方法还包括如下步骤A:In an optional embodiment of the present disclosure, after the above step 201, for each memory cell in the semiconductor under test, determines the time ratio between the data retention time of the memory cell and the reference data retention time of the reference memory cell, the above memory refresh parameter determination method further includes the following step A:
步骤A、将各内存单元对应的时间比值存储于待测半导体中预设存储模块。Step A: storing the time ratio corresponding to each memory unit in a preset storage module in the semiconductor to be tested.
该预设存储模块可以为待测半导体中存储模块,可以根据实际情况具体选择或者设定,在此不作任何限定。将各内存单元对应的时间比值存储于该预设存储模块,以方便控制设备读取,进而提高内存刷新参数确定的便利性与效率。The preset storage module can be a storage module in the semiconductor to be tested, and can be specifically selected or set according to actual conditions, without any limitation here. The time ratio corresponding to each memory unit is stored in the preset storage module to facilitate the control device to read, thereby improving the convenience and efficiency of determining the memory refresh parameter.
在本公开一个可选实施例中,上述内存刷新参数确定方法还包括如下步骤B:In an optional embodiment of the present disclosure, the above-mentioned memory refresh parameter determination method further includes the following step B:
步骤B、将各内存单元对应的目标刷新量存储于待测半导体中预设存储模块。Step B: storing the target refresh amount corresponding to each memory cell in a preset storage module in the semiconductor to be tested.
同上步骤A,该预设存储模块可以为待测半导体中存储模块,可以根据实际情况具体选择或者设定,在此不作任何限定。将各内存单元对应的目标刷新量存储于该预设存储模块,以方便控制设备读取,进而提高内存刷新参数确定的便利性与效率。As in step A above, the preset storage module can be a storage module in the semiconductor to be tested, which can be specifically selected or set according to the actual situation, and is not limited here. The target refresh amount corresponding to each memory unit is stored in the preset storage module to facilitate the control device to read, thereby improving the convenience and efficiency of determining the memory refresh parameters.
在本公开一个可选实施例中,上述基准刷新量为在基准刷新间隔时长内对内存单元中各数据单元的刷新单元数量。数据单元是指内存单元中内存数据的存储形式,例如可以为1行、2行或者3行等为一个数据单元,也可以以10KB、20KB或者30KB等为一个数据单元,或者还可以以10个字符、20个字符或者30个字符等为一个数据单元。以数据单元来对刷新量进行计量,相对于对内存数据进行实时计算的计算量更小,可以节省计算资源,进一步提高内存刷新参数确定的效率。In an optional embodiment of the present disclosure, the above-mentioned reference refresh amount is the number of refresh units for each data unit in the memory unit within the reference refresh interval. Data unit refers to the storage form of memory data in the memory unit, for example, 1 row, 2 rows or 3 rows can be a data unit, or 10KB, 20KB or 30KB can be a data unit, or 10 characters, 20 characters or 30 characters can be a data unit. Measuring the refresh amount in data units has a smaller amount of calculation than real-time calculation of memory data, which can save computing resources and further improve the efficiency of determining memory refresh parameters.
在本公开一个可选实施例中,上述待测半导体为动态随机存取存储器。即待测半导体为DRAM芯片,基于本公开实施例提供的内存刷新参数确定方法确定DRAM芯片中进行内存刷新时各内存单元的目标刷新间隔时长,以及在目标刷新间隔时长内的目标刷新量,可以大大提高DRAM芯片内存刷新的效率,以及降低内存刷新的功耗。In an optional embodiment of the present disclosure, the semiconductor to be tested is a dynamic random access memory, that is, the semiconductor to be tested is a DRAM chip, and the target refresh interval duration of each memory unit when performing memory refresh in the DRAM chip and the target refresh amount within the target refresh interval duration are determined based on the memory refresh parameter determination method provided in the embodiment of the present disclosure, which can greatly improve the efficiency of memory refresh of the DRAM chip and reduce the power consumption of memory refresh.
在本公开一个可选实施例中,上述预设存储模块为待测半导体中的可读寄存器。In an optional embodiment of the present disclosure, the preset storage module is a readable register in the semiconductor to be tested.
可读寄存器是指待测半导体,例如DRAM芯片中的可读性的模式寄存器(例如 MR寄存器),该可读性的模式寄存器可以被控制设备,例如DRAM芯片的CPU进行数据读取访问,即方便获取存储的各内存单元的时间比值、目标刷新间隔时长以及目标刷新量等,提高内存刷新的效率、便利性以及DRAM芯片的整体性能。A readable register refers to a semiconductor to be tested, such as a readable mode register (such as an MR register) in a DRAM chip. The readable mode register can be accessed by a control device, such as the CPU of a DRAM chip, to read data, thereby facilitating the acquisition of the time ratio of each stored memory unit, the target refresh interval duration, and the target refresh amount, thereby improving the efficiency and convenience of memory refresh and the overall performance of the DRAM chip.
在本公开一个可选实施例中,上述步骤202、针对每个内存单元,根据基准内存单元的基准刷新间隔时长与时间比值确定内存单元的目标刷新间隔时长,包括如下步骤C:In an optional embodiment of the present disclosure, the above step 202, for each memory unit, determines the target refresh interval of the memory unit according to the reference refresh interval of the reference memory unit and the time ratio, includes the following step C:
步骤C、针对每个内存单元,计算基准内存单元的基准刷新间隔时长与内存单元对应的时间比值之间的比值,得到内存单元的目标刷新间隔时长。Step C: for each memory unit, calculate the ratio between the reference refresh interval duration of the reference memory unit and the time ratio corresponding to the memory unit to obtain the target refresh interval duration of the memory unit.
即,本实施例可以通过如下公式(1)计算得到内存单元的目标刷新间隔时长:That is, in this embodiment, the target refresh interval of the memory unit can be calculated by the following formula (1):
tRF i=tRF 0/(RT i/RT 0)    (1) tRF i = tRF 0 /(RT i /RT 0 ) (1)
公式(1)中,tRF i表示第i个内存单元的目标刷新间隔时长,tRF 0表示基准内存单元的基准刷新间隔时长,RT i表示第i个内存单元的数据保持时长,RT 0表示基准内存单元的基准数据保持时长,(RT i/RT 0)表示第i个内存单元的时间比值。 In formula (1), tRF i represents the target refresh interval of the i-th memory unit, tRF 0 represents the reference refresh interval of the reference memory unit, RT i represents the data retention time of the i-th memory unit, RT 0 represents the reference data retention time of the reference memory unit, and (RT i /RT 0 ) represents the time ratio of the i-th memory unit.
本实施例直接通过计算基准内存单元的基准刷新间隔时长与内存单元对应的时间比值之间的比值得到内存单元的目标刷新间隔时长,计算方式简单,效率更高,可以进一步提高本公开实施例内存刷新参数确定的效率。This embodiment directly obtains the target refresh interval of the memory unit by calculating the ratio between the benchmark refresh interval of the benchmark memory unit and the time ratio corresponding to the memory unit. The calculation method is simple and more efficient, which can further improve the efficiency of determining the memory refresh parameters of the disclosed embodiment.
请参见图6,在本公开一个可选实施例中,上述步骤203、针对每个内存单元,根据基准内存单元的在基准刷新间隔时长内对内存数据的基准刷新量与时间比值确定内存单元在目标刷新间隔时长内的目标刷新量,包括如下步骤601-步骤602:Please refer to FIG. 6 . In an optional embodiment of the present disclosure, the above step 203, for each memory unit, determines the target refresh amount of the memory unit within the target refresh interval according to the ratio of the reference refresh amount of the memory data of the reference memory unit within the reference refresh interval to the time, including the following steps 601-602:
步骤601、确定基准内存单元在基准刷新间隔时长内对内存数据的基准刷新量。Step 601: Determine a reference refresh amount of memory data of a reference memory unit within a reference refresh interval.
例如,基准内存单元在基准刷新间隔时长内的基准刷新量为4。For example, the baseline refresh amount of the baseline memory unit within the baseline refresh interval duration is 4.
步骤602、针对每个内存单元,计算基准刷新量与内存单元对应的时间比值之间的比值,得到内存单元在目标刷新间隔时长内的目标刷新量。Step 602: For each memory unit, calculate the ratio between the reference refresh amount and the time ratio corresponding to the memory unit to obtain the target refresh amount of the memory unit within the target refresh interval.
即,本实施例可以通过如下公式(2)计算得到内存单元的目标刷新量:That is, in this embodiment, the target refresh amount of the memory unit can be calculated by the following formula (2):
R i=R 0/(RT i/RT 0)    (2) R i = R 0 /(RT i /RT 0 ) (2)
公式(2)中,R i表示第i个内存单元的目标刷新量,R 0表示基准内存单元的基准刷新量,RT i表示第i个内存单元的数据保持时长,RT 0表示基准内存单元的基准数据保持时长,(RT i/RT 0)表示第i个内存单元的时间比值。 In formula (2), Ri represents the target refresh amount of the i-th memory unit, R0 represents the reference refresh amount of the reference memory unit, RTi represents the data retention time of the i-th memory unit, RT0 represents the reference data retention time of the reference memory unit, and ( RTi / RT0 ) represents the time ratio of the i-th memory unit.
本实施例直接通过计算基准刷新量与内存单元对应的时间比值之间的比值,得到内存单元在目标刷新间隔时长内的目标刷新量,计算方式简单,效率更高,可以进一步提高本公开实施例内存刷新参数确定的效率。This embodiment directly obtains the target refresh amount of the memory unit within the target refresh interval by calculating the ratio between the baseline refresh amount and the time ratio corresponding to the memory unit. The calculation method is simple and more efficient, which can further improve the efficiency of determining the memory refresh parameters of the disclosed embodiment.
请参见图7,本公开一个实施例提供了一种内存刷新方法,包括如下步骤701-步骤702:Referring to FIG. 7 , an embodiment of the present disclosure provides a memory refresh method, including the following steps 701 to 702:
步骤701、获取待测半导体中每个内存单元的目标刷新间隔时长,以及在目标刷新间隔时长内的目标刷新量。Step 701: Obtain a target refresh interval duration and a target refresh amount within the target refresh interval duration for each memory cell in the semiconductor under test.
其中,目标刷新间隔时长与目标刷新量是根据如上任一项的内存刷新参数确定方法确定得到的;The target refresh interval and the target refresh amount are determined according to any of the memory refresh parameter determination methods described above;
该内存刷新参数确定方法的有益效果已经在上述实施例中详细阐述,在此不作赘述。The beneficial effects of the memory refresh parameter determination method have been described in detail in the above embodiments and will not be repeated here.
步骤702、基于目标刷新间隔时长与目标刷新量控制待测半导体中对应的各内存单元进行内存刷新。Step 702: Control corresponding memory cells in the semiconductor under test to perform memory refresh based on the target refresh interval duration and the target refresh amount.
本公开实施例基于上述内存刷新参数确定方法先确定待测半导体中各内存单元的目标刷新间隔时长,以及在目标刷新间隔时长内的目标刷新量,然后基于目标刷新间隔时长与目标刷新量控制待测半导体中对应的各内存单元进行内存刷新,第一方面,可以避免传统方式中统一使用各内存单元中时间最长的刷新间隔时长,整体的刷新间隔时长更短,内存刷新效率更高;且每个内存单元均具有适配于对应的数据保持时长的目标刷新间隔时长,以保障正常的数据刷新;第二方面,可以避免传统方式中统一使用最大刷新量(例如上述示例中BANK3的刷新量4),刷新量减小,进一步降低了内存刷新的功耗。因此,本公开实施例在提高内存刷新的效率的同时大大降低了内存刷新的功耗,从而解决了目前DRAM芯片的功耗较大的技术问题,达到了降低DRAM芯片的功耗的技术效果。The disclosed embodiment first determines the target refresh interval duration of each memory unit in the semiconductor to be tested and the target refresh amount within the target refresh interval duration based on the above-mentioned memory refresh parameter determination method, and then controls the corresponding memory units in the semiconductor to be tested to perform memory refresh based on the target refresh interval duration and the target refresh amount. On the one hand, it can avoid the traditional method of uniformly using the longest refresh interval duration in each memory unit, and the overall refresh interval duration is shorter, and the memory refresh efficiency is higher; and each memory unit has a target refresh interval duration adapted to the corresponding data retention duration to ensure normal data refresh; on the other hand, it can avoid the traditional method of uniformly using the maximum refresh amount (such as the refresh amount 4 of BANK3 in the above example), and the refresh amount is reduced, which further reduces the power consumption of memory refresh. Therefore, the disclosed embodiment greatly reduces the power consumption of memory refresh while improving the efficiency of memory refresh, thereby solving the technical problem of the current high power consumption of DRAM chips and achieving the technical effect of reducing the power consumption of DRAM chips.
请参见图8,为了实现上述内存刷新参数确定方法,本公开的一个实施例中提供一种内存刷新参数确定装置800。图8示出了内存刷新参数确定装置800的示意性架构图,该内存刷新参数确定装置800包括:第一确定模块810、第二确定模块820和第三确定模块830,其中:Please refer to FIG8 . In order to implement the above-mentioned memory refresh parameter determination method, a memory refresh parameter determination device 800 is provided in one embodiment of the present disclosure. FIG8 shows a schematic architecture diagram of the memory refresh parameter determination device 800 . The memory refresh parameter determination device 800 includes: a first determination module 810 , a second determination module 820 and a third determination module 830 , wherein:
该第一确定模块810,用于针对待测半导体中的每个内存单元,确定内存单元的数据保持时长与基准内存单元的基准数据保持时长之间的时间比值;其中,基准内存单元是指待测半导体中数据保持时长最短的内存单元;The first determination module 810 is used to determine, for each memory cell in the semiconductor under test, a time ratio between a data retention time of the memory cell and a reference data retention time of a reference memory cell; wherein the reference memory cell refers to a memory cell with the shortest data retention time in the semiconductor under test;
该第二确定模块820,用于针对每个内存单元,根据基准内存单元的基准刷新间隔时长与时间比值确定内存单元的目标刷新间隔时长;The second determination module 820 is used to determine, for each memory unit, a target refresh interval duration of the memory unit according to a reference refresh interval duration of the reference memory unit and a time ratio;
该第三确定模块830,用于针对每个内存单元,根据基准内存单元的在基准刷新间隔时长内对内存数据的基准刷新量与时间比值确定内存单元在目标刷新间隔时长内的目标刷新量。The third determination module 830 is used to determine, for each memory unit, a target refresh amount of the memory unit within a target refresh interval according to a ratio of a benchmark refresh amount of memory data of the benchmark memory unit within a benchmark refresh interval to a time.
本公开实施例提供的内存刷新参数确定装置,针对待测半导体中的每个内存单元,确定内存单元的数据保持时长与基准内存单元的基准数据保持时长之间的时间比值,第一方面,根据基准内存单元的基准刷新间隔时长与时间比值确定各内存单元的目标刷新间隔时长,从而避免了传统方式中统一使用各内存单元中时间最长的刷新间隔时长,整体的刷新间隔时长更短,内存刷新效率更高;且每个内存单元均具有适配于对应的数据保持时长的目标刷新间隔时长,以保障正常的数据刷新;The memory refresh parameter determination device provided by the embodiment of the present disclosure determines, for each memory cell in the semiconductor to be tested, the time ratio between the data retention time of the memory cell and the reference data retention time of the reference memory cell. In the first aspect, the target refresh interval of each memory cell is determined according to the reference refresh interval of the reference memory cell and the time ratio, thereby avoiding the traditional method of uniformly using the longest refresh interval of each memory cell, the overall refresh interval is shorter, and the memory refresh efficiency is higher; and each memory cell has a target refresh interval adapted to the corresponding data retention time to ensure normal data refresh;
第二方面,本公开实施例根据基准内存单元的在基准刷新间隔时长内对内存数据的基准刷新量与时间比值确定内存单元在目标刷新间隔时长内的目标刷新量,避免了传统方式中统一使用最大刷新量(例如上述示例中BANK3的刷新量4),刷新量减小, 进一步降低了内存刷新的功耗。On the second aspect, the disclosed embodiment determines the target refresh amount of the memory unit within the target refresh interval according to the ratio of the benchmark refresh amount of the memory data of the benchmark memory unit within the benchmark refresh interval to the time, thereby avoiding the traditional method of uniformly using the maximum refresh amount (for example, the refresh amount of 4 for BANK3 in the above example), reducing the refresh amount and further reducing the power consumption of the memory refresh.
因此,本公开实施例在提高内存刷新的效率的同时大大降低了内存刷新的功耗,从而解决了目前DRAM芯片的功耗较大的技术问题,达到了降低DRAM芯片的功耗的技术效果。Therefore, the disclosed embodiments improve the efficiency of memory refresh while greatly reducing the power consumption of memory refresh, thereby solving the current technical problem of high power consumption of DRAM chips and achieving the technical effect of reducing the power consumption of DRAM chips.
在一个可选的实施例中,该第一确定模块810还用于,获取待测半导体中各内存单元在数据保持测试中的数据保持时长;将各数据保持时长中的最小值对应的内存单元确定为基准内存单元。In an optional embodiment, the first determination module 810 is further used to obtain the data retention time of each memory unit in the semiconductor under test in a data retention test; and determine the memory unit corresponding to the minimum value of each data retention time as the reference memory unit.
本公开实施例中的数据保持时长是基于数据保持测试中获取得到的,而非根据经验拟合得到,得到的基准内存单元是基于实际生产的,基于该基准内存单元确定得到的各内存单元的目标刷新间隔时长与目标刷新量也更为可靠。The data retention time in the disclosed embodiment is based on that obtained from the data retention test rather than being obtained based on empirical fitting. The obtained benchmark memory unit is based on actual production, and the target refresh interval time and target refresh amount of each memory unit determined based on the benchmark memory unit are also more reliable.
在一个可选的实施例中,该第一确定模块810具体用于,对待测半导体进行量产测试,得到待测半导体的测试结果;从测试结果中提取得到各内存单元的数据保持时长。In an optional embodiment, the first determination module 810 is specifically used to perform mass production testing on the semiconductor to be tested to obtain test results of the semiconductor to be tested; and extract the data retention time of each memory unit from the test results.
本公开实施例无需单独进行数据保持测试,可以在进行量产测试的同时新增数据保持测试,与其他项目同步测试,在测试完成后从测试结果中提取所需要的数据保持时长即可,节省测试时间与测试成本。The disclosed embodiments do not need to perform data retention tests separately. Data retention tests can be added while mass production tests are being performed, and tests can be performed synchronously with other projects. After the test is completed, the required data retention time can be extracted from the test results, saving test time and test costs.
在一个可选的实施例中,该第一确定模块810还用于,将各内存单元对应的时间比值存储于待测半导体中预设存储模块。In an optional embodiment, the first determination module 810 is further configured to store the time ratio corresponding to each memory unit in a preset storage module in the semiconductor to be tested.
在一个可选的实施例中,该第三确定模块830还用于,将各内存单元对应的目标刷新量存储于待测半导体中预设存储模块。In an optional embodiment, the third determination module 830 is further configured to store the target refresh amount corresponding to each memory unit in a preset storage module in the semiconductor to be tested.
将各内存单元对应的时间比值与目标刷新量存储于该预设存储模块,以方便控制设备读取,进而提高内存刷新参数确定的便利性与效率。The time ratio and target refresh amount corresponding to each memory unit are stored in the preset storage module to facilitate the control device to read, thereby improving the convenience and efficiency of determining the memory refresh parameters.
在一个可选的实施例中,预设存储模块为待测半导体中的可读寄存器。In an optional embodiment, the preset storage module is a readable register in the semiconductor to be tested.
可读寄存器是指待测半导体,例如DRAM芯片中的可读性的模式寄存器(例如MR寄存器),该可读性的模式寄存器可以被控制设备,例如DRAM芯片的CPU进行数据读取访问,即方便获取存储的各内存单元的时间比值、目标刷新间隔时长以及目标刷新量等,提高内存刷新的效率、便利性以及DRAM芯片的整体性能。A readable register refers to a semiconductor to be tested, such as a readable mode register (such as an MR register) in a DRAM chip. The readable mode register can be accessed by a control device, such as the CPU of a DRAM chip, for data reading, thereby facilitating the acquisition of the time ratio of each stored memory unit, the target refresh interval duration, and the target refresh amount, etc., thereby improving the efficiency and convenience of memory refresh and the overall performance of the DRAM chip.
在一个可选的实施例中,该第二确定模块820具体用于,针对每个内存单元,计算基准内存单元的基准刷新间隔时长与内存单元对应的时间比值之间的比值,得到内存单元的目标刷新间隔时长。In an optional embodiment, the second determination module 820 is specifically used to calculate, for each memory unit, a ratio between a benchmark refresh interval of a benchmark memory unit and a time ratio corresponding to the memory unit to obtain a target refresh interval of the memory unit.
本实施例直接通过计算基准内存单元的基准刷新间隔时长与内存单元对应的时间比值之间的比值得到内存单元的目标刷新间隔时长,计算方式简单,效率更高,可以进一步提高本公开实施例内存刷新参数确定的效率。This embodiment directly obtains the target refresh interval of the memory unit by calculating the ratio between the benchmark refresh interval of the benchmark memory unit and the time ratio corresponding to the memory unit. The calculation method is simple and more efficient, which can further improve the efficiency of determining the memory refresh parameters of the disclosed embodiment.
在一个可选的实施例中,该第三确定模块830具体用于,确定基准内存单元在基准刷新间隔时长内对内存数据的基准刷新量;针对每个内存单元,计算基准刷新量与内存单元对应的时间比值之间的比值,得到内存单元在目标刷新间隔时长内的目标刷新量。In an optional embodiment, the third determination module 830 is specifically used to determine a baseline refresh amount of memory data by a baseline memory unit within a baseline refresh interval; for each memory unit, the ratio between the baseline refresh amount and the time ratio corresponding to the memory unit is calculated to obtain a target refresh amount of the memory unit within a target refresh interval.
本实施例直接通过计算基准刷新量与内存单元对应的时间比值之间的比值,得到 内存单元在目标刷新间隔时长内的目标刷新量,计算方式简单,效率更高,可以进一步提高本公开实施例内存刷新参数确定的效率。This embodiment directly calculates the ratio between the baseline refresh amount and the time ratio corresponding to the memory unit to obtain the target refresh amount of the memory unit within the target refresh interval. The calculation method is simple and more efficient, which can further improve the efficiency of determining the memory refresh parameters of the disclosed embodiment.
在一个可选的实施例中,基准刷新量为在基准刷新间隔时长内对内存单元中各数据单元的刷新单元数量。In an optional embodiment, the reference refresh amount is the number of refresh units of each data unit in the memory unit within the reference refresh interval.
以数据单元来对刷新量进行计量,相对于对内存数据进行实时计算的计算量更小,可以节省计算资源,进一步提高内存刷新参数确定的效率。Measuring the refresh amount in data units has a smaller amount of calculation than real-time calculation of memory data, which can save computing resources and further improve the efficiency of determining memory refresh parameters.
在一个可选的实施例中,待测半导体为动态随机存取存储器。In an optional embodiment, the semiconductor to be tested is a dynamic random access memory.
即待测半导体为DRAM芯片,基于本公开实施例确定DRAM芯片中进行内存刷新时各内存单元的目标刷新间隔时长,以及在目标刷新间隔时长内的目标刷新量,可以大大提高DRAM芯片内存刷新的效率,以及降低内存刷新的功耗。That is, the semiconductor to be tested is a DRAM chip. Based on the embodiments of the present disclosure, the target refresh interval of each memory unit when performing memory refresh in the DRAM chip and the target refresh amount within the target refresh interval are determined, which can greatly improve the efficiency of DRAM chip memory refresh and reduce the power consumption of memory refresh.
请参见图9,为了实现上述内存刷新方法,本公开的一个实施例中提供一种内存刷新装置900。图9示出了内存刷新装置900的示意性架构图,该内存刷新装置900包括:获取模块910和控制模块920,其中:Please refer to FIG9 . In order to implement the above memory refresh method, a memory refresh device 900 is provided in one embodiment of the present disclosure. FIG9 shows a schematic architecture diagram of the memory refresh device 900 . The memory refresh device 900 includes: an acquisition module 910 and a control module 920 , wherein:
该获取模块910,用于获取待测半导体中每个内存单元的目标刷新间隔时长,以及在目标刷新间隔时长内的目标刷新量;其中,目标刷新间隔时长与目标刷新量是根据如上任一项的内存刷新参数确定方法确定得到的;The acquisition module 910 is used to obtain the target refresh interval duration of each memory unit in the semiconductor to be tested, and the target refresh amount within the target refresh interval duration; wherein the target refresh interval duration and the target refresh amount are determined according to any of the memory refresh parameter determination methods described above;
该控制模块920,用于基于目标刷新间隔时长与目标刷新量控制待测半导体中对应的各内存单元进行内存刷新。The control module 920 is used to control the memory refresh of each corresponding memory unit in the semiconductor under test based on the target refresh interval duration and the target refresh amount.
本实施例直接通过计算基准刷新量与内存单元对应的时间比值之间的比值,得到内存单元在目标刷新间隔时长内的目标刷新量,计算方式简单,效率更高,可以进一步提高本公开实施例内存刷新参数确定的效率。This embodiment directly obtains the target refresh amount of the memory unit within the target refresh interval by calculating the ratio between the baseline refresh amount and the time ratio corresponding to the memory unit. The calculation method is simple and more efficient, which can further improve the efficiency of determining the memory refresh parameters of the disclosed embodiment.
本公开的示例性实施方式还提供了一种计算机可读存储介质,可以实现为一种程序产品的形式,其包括程序代码,当程序产品在电子设备上运行时,程序代码用于使电子设备执行本说明书上述“示例性方法”部分中描述的根据本公开各种示例性实施方式的步骤。在一种实施方式中,该程序产品可以实现为便携式紧凑盘只读存储器(CD-ROM)并包括程序代码,并可以在电子设备,例如个人电脑上运行。然而,本公开的程序产品不限于此,在本文件中,可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The exemplary embodiments of the present disclosure also provide a computer-readable storage medium, which can be implemented in the form of a program product, which includes a program code, and when the program product is run on an electronic device, the program code is used to cause the electronic device to perform the steps described in the above "Exemplary Method" section of this specification according to various exemplary embodiments of the present disclosure. In one embodiment, the program product can be implemented as a portable compact disk read-only memory (CD-ROM) and includes program code, and can be run on an electronic device, such as a personal computer. However, the program product of the present disclosure is not limited to this, and in this document, the readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.
程序产品可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以为但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。可读信号介质还可以是可读存储介质以外的 任何可读介质,该可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、有线、光缆、RF等等,或者上述的任意合适的组合。The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言的任意组合来编写用于执行本公开操作的程序代码,程序设计语言包括面向对象的程序设计语言—诸如Java、C++等,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到用户计算设备,或者,可以连接到外部计算设备(例如利用因特网服务提供商来通过因特网连接)。在本公开实施例中,计算机可读存储介质中存储的程序代码被执行时可以实现如上内存刷新参数确定方法或内存刷新方法中的任一步骤。The program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as an independent software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., using an Internet service provider to connect through the Internet). In the embodiments of the present disclosure, when the program code stored in the computer-readable storage medium is executed, any step in the above memory refresh parameter determination method or memory refresh method may be implemented.
在本公开一个实施例中,计算机可读存储介质中存储的程序代码被执行时可以实现如下步骤:In one embodiment of the present disclosure, when the program code stored in the computer-readable storage medium is executed, the following steps can be implemented:
针对待测半导体中的每个内存单元,确定内存单元的数据保持时长与基准内存单元的基准数据保持时长之间的时间比值;其中,基准内存单元是指待测半导体中数据保持时长最短的内存单元;For each memory cell in the semiconductor under test, determining a time ratio between a data retention time of the memory cell and a reference data retention time of a reference memory cell; wherein the reference memory cell refers to a memory cell with the shortest data retention time in the semiconductor under test;
针对每个内存单元,根据基准内存单元的基准刷新间隔时长与时间比值确定内存单元的目标刷新间隔时长;For each memory unit, determining a target refresh interval duration of the memory unit according to a reference refresh interval duration of the reference memory unit and a time ratio;
针对每个内存单元,根据基准内存单元的在基准刷新间隔时长内对内存数据的基准刷新量与时间比值确定内存单元在目标刷新间隔时长内的目标刷新量。For each memory unit, a target refresh amount of the memory unit within a target refresh interval is determined according to a ratio of a reference refresh amount of memory data of the reference memory unit within a reference refresh interval to a time ratio.
本公开实施例针对待测半导体中的每个内存单元,确定内存单元的数据保持时长与基准内存单元的基准数据保持时长之间的时间比值,第一方面,根据基准内存单元的基准刷新间隔时长与时间比值确定各内存单元的目标刷新间隔时长,从而避免了传统方式中统一使用各内存单元中时间最长的刷新间隔时长,整体的刷新间隔时长更短,内存刷新效率更高;且每个内存单元均具有适配于对应的数据保持时长的目标刷新间隔时长,以保障正常的数据刷新;The disclosed embodiment determines the time ratio between the data retention time of each memory cell in the semiconductor to be tested and the reference data retention time of the reference memory cell. In the first aspect, the target refresh interval of each memory cell is determined according to the reference refresh interval of the reference memory cell and the time ratio, thereby avoiding the traditional method of uniformly using the longest refresh interval of each memory cell, the overall refresh interval is shorter, and the memory refresh efficiency is higher; and each memory cell has a target refresh interval adapted to the corresponding data retention time to ensure normal data refresh;
第二方面,本公开实施例根据基准内存单元的在基准刷新间隔时长内对内存数据的基准刷新量与时间比值确定内存单元在目标刷新间隔时长内的目标刷新量,避免了传统方式中统一使用最大刷新量(例如上述示例中BANK3的刷新量4),刷新量减小,进一步降低了内存刷新的功耗。On the second aspect, the disclosed embodiment determines the target refresh amount of the memory unit within the target refresh interval based on the ratio of the benchmark refresh amount of the memory data of the benchmark memory unit within the benchmark refresh interval to the time, thereby avoiding the traditional method of uniformly using the maximum refresh amount (for example, the refresh amount of 4 for BANK3 in the above example), reducing the refresh amount and further reducing the power consumption of the memory refresh.
因此,本公开实施例在提高内存刷新的效率的同时大大降低了内存刷新的功耗,从而解决了目前DRAM芯片的功耗较大的技术问题,达到了降低DRAM芯片的功耗的技术效果。Therefore, the disclosed embodiments improve the efficiency of memory refresh while greatly reducing the power consumption of memory refresh, thereby solving the current technical problem of high power consumption of DRAM chips and achieving the technical effect of reducing the power consumption of DRAM chips.
在本公开一个可选的实施例中,计算机可读存储介质中存储的程序代码被执行时可以实现如下步骤:获取待测半导体中各内存单元在数据保持测试中的数据保持时长; 将各数据保持时长中的最小值对应的内存单元确定为基准内存单元。In an optional embodiment of the present disclosure, the program code stored in a computer-readable storage medium can implement the following steps when executed: obtaining the data retention time of each memory cell in the semiconductor under test in a data retention test; determining the memory cell corresponding to the minimum value of each data retention time as the reference memory cell.
本公开实施例中的数据保持时长是基于数据保持测试中获取得到的,而非根据经验拟合得到,得到的基准内存单元是基于实际生产的,基于该基准内存单元确定得到的各内存单元的目标刷新间隔时长与目标刷新量也更为可靠。The data retention time in the disclosed embodiment is based on that obtained from the data retention test rather than being obtained based on empirical fitting. The obtained benchmark memory unit is based on actual production, and the target refresh interval time and target refresh amount of each memory unit determined based on the benchmark memory unit are also more reliable.
在本公开一个可选的实施例中,计算机可读存储介质中存储的程序代码被执行时可以实现如下步骤:对待测半导体进行量产测试,得到待测半导体的测试结果;从测试结果中提取得到各内存单元的数据保持时长。In an optional embodiment of the present disclosure, the program code stored in the computer-readable storage medium can implement the following steps when executed: perform mass production testing on the semiconductor to be tested to obtain test results of the semiconductor to be tested; and extract the data retention time of each memory unit from the test results.
本公开实施例无需单独进行数据保持测试,可以在进行量产测试的同时新增数据保持测试,与其他项目同步测试,在测试完成后从测试结果中提取所需要的数据保持时长即可,节省测试时间与测试成本。The disclosed embodiments do not need to perform data retention tests separately. Data retention tests can be added while mass production tests are being performed, and tests can be performed synchronously with other projects. After the test is completed, the required data retention time can be extracted from the test results, saving test time and test costs.
在本公开一个可选的实施例中,计算机可读存储介质中存储的程序代码被执行时可以实现如下步骤:将各内存单元对应的时间比值存储于待测半导体中预设存储模块。In an optional embodiment of the present disclosure, the program code stored in the computer-readable storage medium can implement the following steps when executed: storing the time ratio corresponding to each memory unit in a preset storage module in the semiconductor to be tested.
在本公开一个可选的实施例中,计算机可读存储介质中存储的程序代码被执行时可以实现如下步骤:将各内存单元对应的目标刷新量存储于待测半导体中预设存储模块。In an optional embodiment of the present disclosure, the program code stored in the computer-readable storage medium can implement the following steps when executed: storing the target refresh amount corresponding to each memory unit in a preset storage module in the semiconductor to be tested.
将各内存单元对应的时间比值与目标刷新量存储于该预设存储模块,以方便控制设备读取,进而提高内存刷新参数确定的便利性与效率。The time ratio and target refresh amount corresponding to each memory unit are stored in the preset storage module to facilitate the control device to read, thereby improving the convenience and efficiency of determining the memory refresh parameters.
在本公开一个可选的实施例中,预设存储模块为待测半导体中的可读寄存器。In an optional embodiment of the present disclosure, the preset storage module is a readable register in the semiconductor to be tested.
可读寄存器是指待测半导体,例如DRAM芯片中的可读性的模式寄存器(例如MR寄存器),该可读性的模式寄存器可以被控制设备,例如DRAM芯片的CPU进行数据读取访问,即方便获取存储的各内存单元的时间比值、目标刷新间隔时长以及目标刷新量等,提高内存刷新的效率、便利性以及DRAM芯片的整体性能。A readable register refers to a semiconductor to be tested, such as a readable mode register (such as an MR register) in a DRAM chip. The readable mode register can be accessed by a control device, such as the CPU of a DRAM chip, for data reading, thereby facilitating the acquisition of the time ratio of each stored memory unit, the target refresh interval duration, and the target refresh amount, etc., thereby improving the efficiency and convenience of memory refresh and the overall performance of the DRAM chip.
在本公开一个可选的实施例中,计算机可读存储介质中存储的程序代码被执行时可以实现如下步骤:针对每个内存单元,计算基准内存单元的基准刷新间隔时长与内存单元对应的时间比值之间的比值,得到内存单元的目标刷新间隔时长。In an optional embodiment of the present disclosure, the program code stored in a computer-readable storage medium can implement the following steps when executed: for each memory unit, calculate the ratio between the baseline refresh interval duration of the baseline memory unit and the time ratio corresponding to the memory unit to obtain the target refresh interval duration of the memory unit.
本实施例直接通过计算基准内存单元的基准刷新间隔时长与内存单元对应的时间比值之间的比值得到内存单元的目标刷新间隔时长,计算方式简单,效率更高,可以进一步提高本公开实施例内存刷新参数确定的效率。This embodiment directly obtains the target refresh interval of the memory unit by calculating the ratio between the benchmark refresh interval of the benchmark memory unit and the time ratio corresponding to the memory unit. The calculation method is simple and more efficient, which can further improve the efficiency of determining the memory refresh parameters of the disclosed embodiment.
在本公开一个可选的实施例中,计算机可读存储介质中存储的程序代码被执行时可以实现如下步骤:确定基准内存单元在基准刷新间隔时长内对内存数据的基准刷新量;针对每个内存单元,计算基准刷新量与内存单元对应的时间比值之间的比值,得到内存单元在目标刷新间隔时长内的目标刷新量。In an optional embodiment of the present disclosure, the program code stored in a computer-readable storage medium can implement the following steps when executed: determining a baseline refresh amount of memory data by a baseline memory unit within a baseline refresh interval; for each memory unit, calculating the ratio between the baseline refresh amount and the time ratio corresponding to the memory unit, to obtain a target refresh amount of the memory unit within a target refresh interval.
本实施例直接通过计算基准刷新量与内存单元对应的时间比值之间的比值,得到内存单元在目标刷新间隔时长内的目标刷新量,计算方式简单,效率更高,可以进一步提高本公开实施例内存刷新参数确定的效率。This embodiment directly obtains the target refresh amount of the memory unit within the target refresh interval by calculating the ratio between the baseline refresh amount and the time ratio corresponding to the memory unit. The calculation method is simple and more efficient, which can further improve the efficiency of determining the memory refresh parameters of the disclosed embodiment.
在本公开一个可选的实施例中,基准刷新量为在基准刷新间隔时长内对内存单元中各数据单元的刷新单元数量。In an optional embodiment of the present disclosure, the reference refresh amount is the number of refresh units of each data unit in the memory unit within the reference refresh interval.
以数据单元来对刷新量进行计量,相对于对内存数据进行实时计算的计算量更小,可以节省计算资源,进一步提高内存刷新参数确定的效率。Measuring the refresh amount in data units has a smaller amount of calculation than real-time calculation of memory data, which can save computing resources and further improve the efficiency of determining memory refresh parameters.
在本公开一个可选的实施例中,待测半导体为动态随机存取存储器。In an optional embodiment of the present disclosure, the semiconductor to be tested is a dynamic random access memory.
即待测半导体为DRAM芯片,基于本公开实施例确定DRAM芯片中进行内存刷新时各内存单元的目标刷新间隔时长,以及在目标刷新间隔时长内的目标刷新量,可以大大提高DRAM芯片内存刷新的效率,以及降低内存刷新的功耗。That is, the semiconductor to be tested is a DRAM chip. Based on the embodiments of the present disclosure, the target refresh interval of each memory unit when performing memory refresh in the DRAM chip and the target refresh amount within the target refresh interval are determined, which can greatly improve the efficiency of DRAM chip memory refresh and reduce the power consumption of memory refresh.
在本公开一个实施例中,计算机可读存储介质中存储的程序代码被执行时可以实现如下步骤:In one embodiment of the present disclosure, when the program code stored in the computer-readable storage medium is executed, the following steps can be implemented:
获取待测半导体中每个内存单元的目标刷新间隔时长,以及在目标刷新间隔时长内的目标刷新量;其中,目标刷新间隔时长与目标刷新量是根据如上任一项的内存刷新参数确定方法确定得到的;Obtaining a target refresh interval duration and a target refresh amount within the target refresh interval duration for each memory cell in the semiconductor under test; wherein the target refresh interval duration and the target refresh amount are determined according to any of the memory refresh parameter determination methods described above;
基于目标刷新间隔时长与目标刷新量控制待测半导体中对应的各内存单元进行内存刷新。Based on the target refresh interval duration and the target refresh amount, each corresponding memory unit in the semiconductor under test is controlled to perform memory refresh.
本实施例直接通过计算基准刷新量与内存单元对应的时间比值之间的比值,得到内存单元在目标刷新间隔时长内的目标刷新量,计算方式简单,效率更高,可以进一步提高本公开实施例内存刷新参数确定的效率。This embodiment directly obtains the target refresh amount of the memory unit within the target refresh interval by calculating the ratio between the baseline refresh amount and the time ratio corresponding to the memory unit. The calculation method is simple and more efficient, which can further improve the efficiency of determining the memory refresh parameters of the disclosed embodiment.
请参见图10,本公开的示例性实施方式还提供了一种电子设备1000,可以是信息平台的后台服务器。下面参考图10对该电子设备1000进行说明。应当理解,图10显示的电子设备1000仅仅是一个示例,不应对本公开实施方式的功能和使用范围带来任何限制。Referring to FIG. 10 , an exemplary embodiment of the present disclosure further provides an electronic device 1000, which may be a background server of an information platform. The electronic device 1000 is described below with reference to FIG. 10 . It should be understood that the electronic device 1000 shown in FIG. 10 is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
如图10所示,电子设备1000以通用计算设备的形式表现。电子设备1000的组件可以包括但不限于:至少一个处理单元1010、至少一个存储单元1020、连接不同系统组件(包括存储单元1020和处理单元1010)的总线1030。As shown in Fig. 10, the electronic device 1000 is in the form of a general computing device. The components of the electronic device 1000 may include but are not limited to: at least one processing unit 1010, at least one storage unit 1020, and a bus 1030 connecting different system components (including the storage unit 1020 and the processing unit 1010).
其中,存储单元存储有程序代码,程序代码可以被处理单元1010执行,使得处理单元1010执行本说明书上述“示例性方法”部分中描述的根据本发明各种示例性实施方式的步骤。例如,处理单元1010可以执行如图2所示的方法步骤等。The storage unit stores program codes, which can be executed by the processing unit 1010, so that the processing unit 1010 performs the steps of various exemplary embodiments of the present invention described in the above "Exemplary Method" section of this specification. For example, the processing unit 1010 can perform the method steps shown in Figure 2, etc.
存储单元1020可以包括易失性存储单元,例如随机存取存储单元(RAM)1021和/或高速缓存存储单元1022,还可以进一步包括只读存储单元(ROM)1023。The storage unit 1020 may include a volatile storage unit, such as a random access storage unit (RAM) 1021 and/or a cache storage unit 1022 , and may further include a read-only storage unit (ROM) 1023 .
存储单元1020还可以包括具有一组(至少一个)程序模块1025的程序/实用工具1024,这样的程序模块1025包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。The storage unit 1020 may also include a program/utility 1024 having a set (at least one) of program modules 1025, such program modules 1025 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
总线1030可以包括数据总线、地址总线和控制总线。The bus 1030 may include a data bus, an address bus, and a control bus.
电子设备1000也可以与一个或多个外部设备2000(例如键盘、指向设备、蓝牙设备等)通信,这种通信可以通过输入/输出(I/O)接口1040进行。电子设备1000还可以通过网络适配器1050与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器1050通过总线1030与电子设备1000的其它模块通信。应当明白,尽管图中未示出,可以结合电子设备1000 使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。The electronic device 1000 may also communicate with one or more external devices 2000 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), and such communication may be performed via an input/output (I/O) interface 1040. The electronic device 1000 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and/or public networks, such as the Internet) via a network adapter 1050. As shown, the network adapter 1050 communicates with other modules of the electronic device 1000 via a bus 1030. It should be understood that, although not shown in the figure, other hardware and/or software modules may be used in conjunction with the electronic device 1000, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.
在本公开实施例中,电子设备中存储的程序代码被执行时可以实现如上内存刷新参数确定方法或内存刷新方法中的任一步骤。In the embodiments of the present disclosure, when the program code stored in the electronic device is executed, any step in the above-mentioned memory refresh parameter determination method or memory refresh method can be implemented.
在本公开一个实施例中,电子设备中存储的程序代码被执行时可以实现如下步骤:In one embodiment of the present disclosure, when the program code stored in the electronic device is executed, the following steps can be implemented:
针对待测半导体中的每个内存单元,确定内存单元的数据保持时长与基准内存单元的基准数据保持时长之间的时间比值;其中,基准内存单元是指待测半导体中数据保持时长最短的内存单元;For each memory cell in the semiconductor under test, determining a time ratio between a data retention time of the memory cell and a reference data retention time of a reference memory cell; wherein the reference memory cell refers to a memory cell with the shortest data retention time in the semiconductor under test;
针对每个内存单元,根据基准内存单元的基准刷新间隔时长与时间比值确定内存单元的目标刷新间隔时长;For each memory unit, determining a target refresh interval duration of the memory unit according to a reference refresh interval duration of the reference memory unit and a time ratio;
针对每个内存单元,根据基准内存单元的在基准刷新间隔时长内对内存数据的基准刷新量与时间比值确定内存单元在目标刷新间隔时长内的目标刷新量。For each memory unit, a target refresh amount of the memory unit within a target refresh interval is determined according to a ratio of a reference refresh amount of memory data of the reference memory unit within a reference refresh interval to a time ratio.
本公开实施例针对待测半导体中的每个内存单元,确定内存单元的数据保持时长与基准内存单元的基准数据保持时长之间的时间比值,第一方面,根据基准内存单元的基准刷新间隔时长与时间比值确定各内存单元的目标刷新间隔时长,从而避免了传统方式中统一使用各内存单元中时间最长的刷新间隔时长,整体的刷新间隔时长更短,内存刷新效率更高;且每个内存单元均具有适配于对应的数据保持时长的目标刷新间隔时长,以保障正常的数据刷新;The disclosed embodiment determines the time ratio between the data retention time of each memory cell in the semiconductor to be tested and the reference data retention time of the reference memory cell. In the first aspect, the target refresh interval of each memory cell is determined according to the reference refresh interval of the reference memory cell and the time ratio, thereby avoiding the traditional method of uniformly using the longest refresh interval of each memory cell, the overall refresh interval is shorter, and the memory refresh efficiency is higher; and each memory cell has a target refresh interval adapted to the corresponding data retention time to ensure normal data refresh;
第二方面,本公开实施例根据基准内存单元的在基准刷新间隔时长内对内存数据的基准刷新量与时间比值确定内存单元在目标刷新间隔时长内的目标刷新量,避免了传统方式中统一使用最大刷新量(例如上述示例中BANK3的刷新量4),刷新量减小,进一步降低了内存刷新的功耗。On the second aspect, the disclosed embodiment determines the target refresh amount of the memory unit within the target refresh interval based on the ratio of the benchmark refresh amount of the memory data of the benchmark memory unit within the benchmark refresh interval to the time, thereby avoiding the traditional method of uniformly using the maximum refresh amount (for example, the refresh amount of 4 for BANK3 in the above example), reducing the refresh amount and further reducing the power consumption of the memory refresh.
因此,本公开实施例在提高内存刷新的效率的同时大大降低了内存刷新的功耗,从而解决了目前DRAM芯片的功耗较大的技术问题,达到了降低DRAM芯片的功耗的技术效果。Therefore, the disclosed embodiments improve the efficiency of memory refresh while greatly reducing the power consumption of memory refresh, thereby solving the current technical problem of high power consumption of DRAM chips and achieving the technical effect of reducing the power consumption of DRAM chips.
在本公开一个可选的实施例中,电子设备中存储的程序代码被执行时可以实现如下步骤:获取待测半导体中各内存单元在数据保持测试中的数据保持时长;将各数据保持时长中的最小值对应的内存单元确定为基准内存单元。In an optional embodiment of the present disclosure, the program code stored in the electronic device can implement the following steps when executed: obtaining the data retention time of each memory unit in the semiconductor under test in the data retention test; determining the memory unit corresponding to the minimum value of each data retention time as the reference memory unit.
本公开实施例中的数据保持时长是基于数据保持测试中获取得到的,而非根据经验拟合得到,得到的基准内存单元是基于实际生产的,基于该基准内存单元确定得到的各内存单元的目标刷新间隔时长与目标刷新量也更为可靠。The data retention time in the disclosed embodiment is based on that obtained from the data retention test rather than being obtained based on empirical fitting. The obtained benchmark memory unit is based on actual production, and the target refresh interval time and target refresh amount of each memory unit determined based on the benchmark memory unit are also more reliable.
在本公开一个可选的实施例中,电子设备中存储的程序代码被执行时可以实现如下步骤:对待测半导体进行量产测试,得到待测半导体的测试结果;从测试结果中提取得到各内存单元的数据保持时长。In an optional embodiment of the present disclosure, the program code stored in the electronic device can implement the following steps when executed: perform mass production testing on the semiconductor to be tested to obtain test results of the semiconductor to be tested; and extract the data retention time of each memory unit from the test results.
本公开实施例无需单独进行数据保持测试,可以在进行量产测试的同时新增数据保持测试,与其他项目同步测试,在测试完成后从测试结果中提取所需要的数据保持时长即可,节省测试时间与测试成本。The disclosed embodiments do not need to perform data retention tests separately. Data retention tests can be added while mass production tests are being performed, and tests can be performed synchronously with other projects. After the test is completed, the required data retention time can be extracted from the test results, saving test time and test costs.
在本公开一个可选的实施例中,电子设备中存储的程序代码被执行时可以实现如下步骤:将各内存单元对应的时间比值存储于待测半导体中预设存储模块。In an optional embodiment of the present disclosure, when the program code stored in the electronic device is executed, the following steps can be implemented: storing the time ratio corresponding to each memory unit in a preset storage module in the semiconductor to be tested.
在本公开一个可选的实施例中,电子设备中存储的程序代码被执行时可以实现如下步骤:将各内存单元对应的目标刷新量存储于待测半导体中预设存储模块。In an optional embodiment of the present disclosure, when the program code stored in the electronic device is executed, the following steps can be implemented: storing the target refresh amount corresponding to each memory unit in a preset storage module in the semiconductor to be tested.
将各内存单元对应的时间比值与目标刷新量存储于该预设存储模块,以方便控制设备读取,进而提高内存刷新参数确定的便利性与效率。The time ratio and target refresh amount corresponding to each memory unit are stored in the preset storage module to facilitate the control device to read, thereby improving the convenience and efficiency of determining the memory refresh parameters.
在本公开一个可选的实施例中,预设存储模块为待测半导体中的可读寄存器。In an optional embodiment of the present disclosure, the preset storage module is a readable register in the semiconductor to be tested.
可读寄存器是指待测半导体,例如DRAM芯片中的可读性的模式寄存器(例如MR寄存器),该可读性的模式寄存器可以被控制设备,例如DRAM芯片的CPU进行数据读取访问,即方便获取存储的各内存单元的时间比值、目标刷新间隔时长以及目标刷新量等,提高内存刷新的效率、便利性以及DRAM芯片的整体性能。A readable register refers to a semiconductor to be tested, such as a readable mode register (such as an MR register) in a DRAM chip. The readable mode register can be accessed by a control device, such as the CPU of a DRAM chip, for data reading, thereby facilitating the acquisition of the time ratio of each stored memory unit, the target refresh interval duration, and the target refresh amount, etc., thereby improving the efficiency and convenience of memory refresh and the overall performance of the DRAM chip.
在本公开一个可选的实施例中,电子设备中存储的程序代码被执行时可以实现如下步骤:针对每个内存单元,计算基准内存单元的基准刷新间隔时长与内存单元对应的时间比值之间的比值,得到内存单元的目标刷新间隔时长。In an optional embodiment of the present disclosure, the program code stored in the electronic device can implement the following steps when executed: for each memory unit, calculate the ratio between the benchmark refresh interval duration of the benchmark memory unit and the time ratio corresponding to the memory unit to obtain the target refresh interval duration of the memory unit.
本实施例直接通过计算基准内存单元的基准刷新间隔时长与内存单元对应的时间比值之间的比值得到内存单元的目标刷新间隔时长,计算方式简单,效率更高,可以进一步提高本公开实施例内存刷新参数确定的效率。This embodiment directly obtains the target refresh interval of the memory unit by calculating the ratio between the benchmark refresh interval of the benchmark memory unit and the time ratio corresponding to the memory unit. The calculation method is simple and more efficient, which can further improve the efficiency of determining the memory refresh parameters of the disclosed embodiment.
在本公开一个可选的实施例中,电子设备中存储的程序代码被执行时可以实现如下步骤:确定基准内存单元在基准刷新间隔时长内对内存数据的基准刷新量;针对每个内存单元,计算基准刷新量与内存单元对应的时间比值之间的比值,得到内存单元在目标刷新间隔时长内的目标刷新量。In an optional embodiment of the present disclosure, the program code stored in the electronic device can implement the following steps when executed: determine a baseline refresh amount of memory data by a baseline memory unit within a baseline refresh interval; for each memory unit, calculate the ratio between the baseline refresh amount and the time ratio corresponding to the memory unit, and obtain a target refresh amount of the memory unit within a target refresh interval.
本实施例直接通过计算基准刷新量与内存单元对应的时间比值之间的比值,得到内存单元在目标刷新间隔时长内的目标刷新量,计算方式简单,效率更高,可以进一步提高本公开实施例内存刷新参数确定的效率。This embodiment directly obtains the target refresh amount of the memory unit within the target refresh interval by calculating the ratio between the baseline refresh amount and the time ratio corresponding to the memory unit. The calculation method is simple and more efficient, which can further improve the efficiency of determining the memory refresh parameters of the disclosed embodiment.
在本公开一个可选的实施例中,基准刷新量为在基准刷新间隔时长内对内存单元中各数据单元的刷新单元数量。In an optional embodiment of the present disclosure, the reference refresh amount is the number of refresh units of each data unit in the memory unit within the reference refresh interval.
以数据单元来对刷新量进行计量,相对于对内存数据进行实时计算的计算量更小,可以节省计算资源,进一步提高内存刷新参数确定的效率。Measuring the refresh amount in data units has a smaller amount of calculation than real-time calculation of memory data, which can save computing resources and further improve the efficiency of determining memory refresh parameters.
在本公开一个可选的实施例中,待测半导体为动态随机存取存储器。In an optional embodiment of the present disclosure, the semiconductor to be tested is a dynamic random access memory.
即待测半导体为DRAM芯片,基于本公开实施例确定DRAM芯片中进行内存刷新时各内存单元的目标刷新间隔时长,以及在目标刷新间隔时长内的目标刷新量,可以大大提高DRAM芯片内存刷新的效率,以及降低内存刷新的功耗。That is, the semiconductor to be tested is a DRAM chip. Based on the embodiments of the present disclosure, the target refresh interval of each memory unit when performing memory refresh in the DRAM chip and the target refresh amount within the target refresh interval are determined, which can greatly improve the efficiency of DRAM chip memory refresh and reduce the power consumption of memory refresh.
在本公开一个实施例中,电子设备中存储的程序代码被执行时可以实现如下步骤:In one embodiment of the present disclosure, when the program code stored in the electronic device is executed, the following steps can be implemented:
获取待测半导体中每个内存单元的目标刷新间隔时长,以及在目标刷新间隔时长内的目标刷新量;其中,目标刷新间隔时长与目标刷新量是根据如上任一项的内存刷新参数确定方法确定得到的;Obtaining a target refresh interval duration and a target refresh amount within the target refresh interval duration for each memory cell in the semiconductor under test; wherein the target refresh interval duration and the target refresh amount are determined according to any of the memory refresh parameter determination methods described above;
基于目标刷新间隔时长与目标刷新量控制待测半导体中对应的各内存单元进行内 存刷新。Based on the target refresh interval and the target refresh amount, each corresponding memory unit in the semiconductor under test is controlled to perform memory refresh.
本实施例直接通过计算基准刷新量与内存单元对应的时间比值之间的比值,得到内存单元在目标刷新间隔时长内的目标刷新量,计算方式简单,效率更高,可以进一步提高本公开实施例内存刷新参数确定的效率。This embodiment directly obtains the target refresh amount of the memory unit within the target refresh interval by calculating the ratio between the baseline refresh amount and the time ratio corresponding to the memory unit. The calculation method is simple and more efficient, which can further improve the efficiency of determining the memory refresh parameters of the disclosed embodiment.
应当注意,尽管在上文详细描述中提及了用于动作执行的设备的若干模块或者单元,但是这种划分并非强制性的。实际上,根据本公开的示例性实施方式,上文描述的两个或更多模块或者单元的特征和功能可以在一个模块或者单元中具体化。反之,上文描述的一个模块或者单元的特征和功能可以进一步划分为由多个模块或者单元来具体化。It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the exemplary embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
所属技术领域的技术人员能够理解,本公开的各个方面可以实现为系统、方法或程序产品。因此,本公开的各个方面可以具体实现为以下形式,即:完全的硬件实施方式、完全的软件实施方式(包括固件、微代码等),或硬件和软件方面结合的实施方式,这里可以统称为“电路”、“模块”或“系统”。本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其他实施方式。本公开旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施方式仅被视为示例性的,本公开的真正范围和精神由权利要求指出。It will be appreciated by those skilled in the art that various aspects of the present disclosure may be implemented as systems, methods or program products. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or implementations combining hardware and software aspects, which may be collectively referred to herein as "circuit", "module" or "system". Those skilled in the art will readily think of other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptive changes of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and implementation are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限定。It should be understood that the present disclosure is not limited to the exact structures that have 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 disclosure is limited only by the appended claims.

Claims (15)

  1. 一种内存刷新参数确定方法,其中,包括:A method for determining memory refresh parameters, comprising:
    针对待测半导体中的每个内存单元,确定所述内存单元的数据保持时长与基准内存单元的基准数据保持时长之间的时间比值;其中,所述基准内存单元是指所述待测半导体中所述数据保持时长最短的内存单元;For each memory cell in the semiconductor under test, determining a time ratio between a data retention time of the memory cell and a reference data retention time of a reference memory cell; wherein the reference memory cell refers to a memory cell in the semiconductor under test with the shortest data retention time;
    针对每个所述内存单元,根据所述基准内存单元的基准刷新间隔时长与所述时间比值确定所述内存单元的目标刷新间隔时长;For each of the memory units, determining a target refresh interval duration of the memory unit according to a reference refresh interval duration of the reference memory unit and the time ratio;
    针对每个所述内存单元,根据所述基准内存单元的在所述基准刷新间隔时长内对内存数据的基准刷新量与所述时间比值确定所述内存单元在所述目标刷新间隔时长内的目标刷新量。For each of the memory units, a target refresh amount of the memory unit within the target refresh interval is determined according to a reference refresh amount of the memory data of the reference memory unit within the reference refresh interval and the time ratio.
  2. 根据权利要求1所述的内存刷新参数确定方法,其中,在所述针对待测半导体中的每个内存单元,确定所述内存单元的数据保持时长与基准内存单元的基准数据保持时长之间的时间比值之前,所述方法还包括:The memory refresh parameter determination method according to claim 1, wherein, before determining the time ratio between the data retention time of each memory cell in the semiconductor to be tested and the reference data retention time of the reference memory cell, the method further comprises:
    获取所述待测半导体中各所述内存单元在数据保持测试中的所述数据保持时长;Obtaining the data retention time of each memory cell in the semiconductor under test in a data retention test;
    将各所述数据保持时长中的最小值对应的所述内存单元确定为所述基准内存单元。The memory unit corresponding to the minimum value among the data retention time lengths is determined as the reference memory unit.
  3. 根据权利要求2所述的内存刷新参数确定方法,其中,所述获取所述待测半导体中各所述内存单元在数据保持测试中的所述数据保持时长,包括:The memory refresh parameter determination method according to claim 2, wherein the step of obtaining the data retention time of each memory unit in the semiconductor under test in a data retention test comprises:
    对所述待测半导体进行量产测试,得到所述待测半导体的测试结果;Performing mass production testing on the semiconductor to be tested to obtain a test result of the semiconductor to be tested;
    从所述测试结果中提取得到各内存单元的所述数据保持时长。The data retention time of each memory unit is extracted from the test results.
  4. 根据权利要求1所述的内存刷新参数确定方法,其中,在所述针对待测半导体中的每个内存单元,确定所述内存单元的数据保持时长与基准内存单元的基准数据保持时长之间的时间比值之后,所述方法还包括:The method for determining memory refresh parameters according to claim 1, wherein, after determining the time ratio between the data retention time of each memory cell in the semiconductor to be tested and the reference data retention time of the reference memory cell, the method further comprises:
    将各所述内存单元对应的所述时间比值存储于所述待测半导体中预设存储模块。The time ratio corresponding to each of the memory units is stored in a preset storage module in the semiconductor to be tested.
  5. 根据权利要求1所述的内存刷新参数确定方法,其中,所述方法还包括:The method for determining memory refresh parameters according to claim 1, wherein the method further comprises:
    将各所述内存单元对应的所述目标刷新量存储于所述待测半导体中预设存储模块。The target refresh amount corresponding to each of the memory cells is stored in a preset storage module in the semiconductor to be tested.
  6. 根据权利要求4或5所述的内存刷新参数确定方法,其中,所述预设存储模块为所述待测半导体中的可读寄存器。According to the memory refresh parameter determination method according to claim 4 or 5, wherein the preset storage module is a readable register in the semiconductor to be tested.
  7. 根据权利要求1所述的内存刷新参数确定方法,其中,所述针对每个所述内存单元,根据所述基准内存单元的基准刷新间隔时长与所述时间比值确定所述内存单元的目标刷新间隔时长,包括:The memory refresh parameter determination method according to claim 1, wherein, for each of the memory units, determining the target refresh interval duration of the memory unit according to the reference refresh interval duration of the reference memory unit and the time ratio comprises:
    针对每个所述内存单元,计算所述基准内存单元的所述基准刷新间隔时长与所述内存单元对应的所述时间比值之间的比值,得到所述内存单元的所述目标刷新间隔时长。For each of the memory units, the ratio between the reference refresh interval duration of the reference memory unit and the time ratio corresponding to the memory unit is calculated to obtain the target refresh interval duration of the memory unit.
  8. 根据权利要求1所述的内存刷新参数确定方法,其中,所述针对每个所述内存单元,根据所述基准内存单元的在所述基准刷新间隔时长内对内存数据的基准刷新量与所述时间比值确定所述内存单元在所述目标刷新间隔时长内的目标刷新量, 包括:The method for determining memory refresh parameters according to claim 1, wherein for each of the memory units, determining the target refresh amount of the memory unit within the target refresh interval duration according to the ratio of the baseline refresh amount of the memory data of the baseline memory unit within the baseline refresh interval duration to the time, comprises:
    确定所述基准内存单元在所述基准刷新间隔时长内对内存数据的所述基准刷新量;Determine the reference refresh amount of memory data by the reference memory unit within the reference refresh interval duration;
    针对每个所述内存单元,计算所述基准刷新量与所述内存单元对应的所述时间比值之间的比值,得到所述内存单元在所述目标刷新间隔时长内的所述目标刷新量。For each of the memory units, the ratio between the reference refresh amount and the time ratio corresponding to the memory unit is calculated to obtain the target refresh amount of the memory unit within the target refresh interval.
  9. 根据权利要求1所述的内存刷新参数确定方法,其中,所述基准刷新量为在所述基准刷新间隔时长内对所述内存单元中各数据单元的刷新单元数量。The memory refresh parameter determination method according to claim 1, wherein the reference refresh amount is the number of refresh units for each data unit in the memory unit within the reference refresh interval.
  10. 根据权利要求1所述的内存刷新参数确定方法,其中,所述待测半导体为动态随机存取存储器。The memory refresh parameter determination method according to claim 1, wherein the semiconductor to be tested is a dynamic random access memory.
  11. 一种内存刷新方法,其中,包括:A memory refresh method, comprising:
    获取待测半导体中每个内存单元的目标刷新间隔时长,以及在所述目标刷新间隔时长内的目标刷新量;其中,所述目标刷新间隔时长与所述目标刷新量是根据如权利要求1-10任一项所述的内存刷新参数确定方法确定得到的;Obtaining a target refresh interval duration of each memory cell in the semiconductor under test, and a target refresh amount within the target refresh interval duration; wherein the target refresh interval duration and the target refresh amount are determined according to the memory refresh parameter determination method according to any one of claims 1 to 10;
    基于所述目标刷新间隔时长与所述目标刷新量控制所述待测半导体中对应的各所述内存单元进行内存刷新。Based on the target refresh interval duration and the target refresh amount, each corresponding memory unit in the semiconductor under test is controlled to perform memory refresh.
  12. 一种内存刷新参数确定装置,其中,所述装置包括:A memory refresh parameter determination device, wherein the device comprises:
    第一确定模块,用于针对待测半导体中的每个内存单元,确定所述内存单元的数据保持时长与基准内存单元的基准数据保持时长之间的时间比值;其中,所述基准内存单元是指所述待测半导体中所述数据保持时长最短的内存单元;A first determination module is used to determine, for each memory cell in the semiconductor under test, a time ratio between a data retention time of the memory cell and a reference data retention time of a reference memory cell; wherein the reference memory cell refers to a memory cell in the semiconductor under test having the shortest data retention time;
    第二确定模块,用于针对每个所述内存单元,根据所述基准内存单元的基准刷新间隔时长与所述时间比值确定所述内存单元的目标刷新间隔时长;A second determination module is used to determine, for each of the memory units, a target refresh interval duration of the memory unit according to a reference refresh interval duration of the reference memory unit and the time ratio;
    第三确定模块,用于针对每个所述内存单元,根据所述基准内存单元的在所述基准刷新间隔时长内对内存数据的基准刷新量与所述时间比值确定所述内存单元在所述目标刷新间隔时长内的目标刷新量。The third determination module is used to determine, for each of the memory units, a target refresh amount of the memory unit within the target refresh interval duration based on a benchmark refresh amount of the memory data of the benchmark memory unit within the benchmark refresh interval duration and the time ratio.
  13. 一种内存刷新装置,其中,所述装置包括:A memory refresh device, wherein the device comprises:
    获取模块,用于获取待测半导体中每个内存单元的目标刷新间隔时长,以及在所述目标刷新间隔时长内的目标刷新量;其中,所述目标刷新间隔时长与所述目标刷新量是根据如权利要求1-10任一项所述的内存刷新参数确定方法确定得到的;An acquisition module, used to acquire a target refresh interval duration of each memory unit in the semiconductor to be tested, and a target refresh amount within the target refresh interval duration; wherein the target refresh interval duration and the target refresh amount are determined according to the memory refresh parameter determination method according to any one of claims 1 to 10;
    控制模块,用于基于所述目标刷新间隔时长与所述目标刷新量控制所述待测半导体中对应的各所述内存单元进行内存刷新。A control module is used to control the corresponding memory units in the semiconductor to be tested to perform memory refresh based on the target refresh interval duration and the target refresh amount.
  14. 一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现权利要求1至11任一项所述的方法。A computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the method according to any one of claims 1 to 11 is implemented.
  15. 一种电子设备,其中,包括:An electronic device, comprising:
    处理器;以及Processor; and
    存储器,用于存储所述处理器的可执行指令;A memory, configured to store executable instructions of the processor;
    其中,所述处理器配置为经由执行所述可执行指令来执行权利要求1至11任一项所述的方法。The processor is configured to perform the method of any one of claims 1 to 11 by executing the executable instructions.
PCT/CN2022/129356 2022-10-17 2022-11-02 Memory refresh parameter determination method and apparatus, memory refresh method and apparatus, and medium and device WO2024082343A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211269164.5 2022-10-17
CN202211269164.5A CN117935874A (en) 2022-10-17 2022-10-17 Memory refresh parameter determination, memory refresh method, device, medium and equipment

Publications (1)

Publication Number Publication Date
WO2024082343A1 true WO2024082343A1 (en) 2024-04-25

Family

ID=90736706

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/129356 WO2024082343A1 (en) 2022-10-17 2022-11-02 Memory refresh parameter determination method and apparatus, memory refresh method and apparatus, and medium and device

Country Status (2)

Country Link
CN (1) CN117935874A (en)
WO (1) WO2024082343A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102194513A (en) * 2010-03-11 2011-09-21 复旦大学 Circuit, method and memory for automatically adjusting refresh frequency of memory
CN102326205A (en) * 2009-02-19 2012-01-18 飞思卡尔半导体公司 Dynamic random access memory (DRAM) refresh
CN108231109A (en) * 2014-06-09 2018-06-29 华为技术有限公司 Method for refreshing, equipment and the system of dynamic random access memory DRAM
CN108231108A (en) * 2016-12-14 2018-06-29 爱思开海力士有限公司 Memory device and its operating method
US20200327928A1 (en) * 2019-04-12 2020-10-15 Western Digital Technologies, Inc. Granular refresh rate control for memory devices

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102326205A (en) * 2009-02-19 2012-01-18 飞思卡尔半导体公司 Dynamic random access memory (DRAM) refresh
CN102194513A (en) * 2010-03-11 2011-09-21 复旦大学 Circuit, method and memory for automatically adjusting refresh frequency of memory
CN108231109A (en) * 2014-06-09 2018-06-29 华为技术有限公司 Method for refreshing, equipment and the system of dynamic random access memory DRAM
CN108231108A (en) * 2016-12-14 2018-06-29 爱思开海力士有限公司 Memory device and its operating method
US20200327928A1 (en) * 2019-04-12 2020-10-15 Western Digital Technologies, Inc. Granular refresh rate control for memory devices

Also Published As

Publication number Publication date
CN117935874A (en) 2024-04-26

Similar Documents

Publication Publication Date Title
WO2022198952A1 (en) Method and apparatus for determining signal margin of storage unit, storage medium, and electronic device
KR102321793B1 (en) Semiconductor memory device managing flexsible refresh skip area
WO2015188732A1 (en) Method, device and system for refreshing dynamic random access memory (dram)
WO2022198911A1 (en) Method and apparatus for determining mismatch of inductive amplifier, and storage medium and electronic device
US8130576B2 (en) Memory throughput increase via fine granularity of precharge management
WO2024082343A1 (en) Memory refresh parameter determination method and apparatus, memory refresh method and apparatus, and medium and device
US9007817B2 (en) Pre-charging bitlines in a static random access memory (SRAM) prior to data access for reducing leakage power, and related systems and methods
CN114566205B (en) Method and device for testing memory chip, memory medium and electronic equipment
WO2023137845A1 (en) Test method and apparatus for storage chip, and storage medium and electronic device
WO2023201883A1 (en) Memory failure test method and apparatus, storage medium, and electronic device
CN114822675A (en) Memory detection method and device, electronic equipment and storage medium
WO2023168806A1 (en) Memory failure testing method and apparatus, and storage medium and electronic device
US20230230651A1 (en) Method and device for testing memory chip, storage medium and electronic device
CN114582412B (en) Method and device for testing memory chip, memory medium and electronic equipment
US20230280927A1 (en) Method and apparatus for testing memory chip, and storage medium
CN111899782A (en) Test method, test device, electronic equipment and storage medium
US11978504B2 (en) Method and apparatus for determining sense boundary of sense amplifier, medium, and device
US20240133737A1 (en) Test system and method
US20240230401A9 (en) Test system and method
US20230342083A1 (en) Data writing method, test method, writing apparatus, medium, and electronic device
WO2023178828A1 (en) Induction boundary determination method and apparatus for induction amplifier, and medium and device
WO2023178829A1 (en) Method and apparatus for determining sense boundary of sense amplifier, medium, and device
US20230307035A1 (en) Method and apparatus for determining sense boundary of sense amplifier, medium, and device
WO2023102779A1 (en) Memory, memory test method, and electronic device
WO2023130567A1 (en) Memory power consumption determination method and apparatus, storage medium and electronic device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22962523

Country of ref document: EP

Kind code of ref document: A1