[go: up one dir, main page]

CN111858195A - Interface parameter adapting method for DRAM interface read check and storage medium - Google Patents

Interface parameter adapting method for DRAM interface read check and storage medium Download PDF

Info

Publication number
CN111858195A
CN111858195A CN202010522534.6A CN202010522534A CN111858195A CN 111858195 A CN111858195 A CN 111858195A CN 202010522534 A CN202010522534 A CN 202010522534A CN 111858195 A CN111858195 A CN 111858195A
Authority
CN
China
Prior art keywords
time sequence
parameter
adjusting
interface
frequency
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202010522534.6A
Other languages
Chinese (zh)
Inventor
汤云平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Rockchip Electronics Co Ltd
Original Assignee
Rockchip Electronics Co Ltd
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 Rockchip Electronics Co Ltd filed Critical Rockchip Electronics Co Ltd
Priority to CN202010522534.6A priority Critical patent/CN111858195A/en
Publication of CN111858195A publication Critical patent/CN111858195A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/273Tester hardware, i.e. output processing circuits
    • G06F11/2733Test interface between tester and unit under test

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

A DRAM interface read check interface parameter adaptation method and a storage medium are provided, wherein the method comprises the following steps of adjusting memory particles to a rated frequency for operation, writing check data, adjusting the memory particles to be higher than the rated frequency, adjusting a time sequence parameter, reading the check data and checking to obtain a time sequence parameter interval capable of obtaining correct check data, and obtaining an optimal time sequence parameter according to the time sequence parameter interval. By over-clocking the DRAM above the nominal frequency, the environmental requirements of the ddr grains can be raised and the range over which the timing parameters can be selected becomes smaller. The steps are repeated for specific frequency, so that the system can automatically adjust parameters of any frequency, and the optimization of system power consumption is realized. The DRAM time sequence parameter debugged in this way is more stable in actual work.

Description

Interface parameter adapting method for DRAM interface read check and storage medium
Technical Field
The invention relates to the field of storage, in particular to a scheme capable of reading and checking a debug DRAM interface.
Background
At present, for the read dq calibration (interface read calibration; dq: data input and output pin, calibration) of DRAM, different DRAM particle materials need to be distinguished, and different read dq calibration strategies are used. The DDR3/LPDDR3 on the market offers MPR (multi purpose processor) mode or MRR (modegerster read) MR32/MR40 to perform read replication, but MPR or MRR MR32/MR40 only offers a read replication template for DQ0, and other DQs are highly dependent on the implementation of the particle vendor. In addition, such as DDR2 grain, itself does not provide MPR support, so currently, for the DRAM field, read dq calibration needs to distinguish different sizes of grains, and adaptability is poor. In the prior art, only the interface automatic read-write test method recorded in the device and method for realizing the DDR interface automatic read-write test based on the FPGA application No. 201710419906.0 exists, and no parameter adjustment scheme for DDR particles exists.
Disclosure of Invention
Therefore, a new method for reading and checking the DRAM interface is needed to be provided, so that the problem of configuration of the reading and checking parameters of the DRAM interface is solved;
in order to achieve the above object, the inventor provides an interface parameter adapting method for DRAM interface read verification, which includes the following steps of adjusting memory particles to a rated frequency for operation, writing verification data, adjusting the memory particles to a frequency higher than the rated frequency, adjusting timing parameters, reading the verification data and performing verification, obtaining a timing parameter interval in which correct verification data can be obtained, and obtaining an optimal timing parameter according to the timing parameter interval.
Specifically, the optimal timing parameter is a median value of the timing parameter intervals.
In particular, the timing parameter comprises a phase.
A DRAM interface read check interface parameter adaptive storage medium stores a computer program, and the computer program is executed when being operated, the computer program comprises the following steps of adjusting memory particles to a rated frequency for operation, writing check data in, adjusting the memory particles to be higher than the rated frequency, adjusting time sequence parameters, reading the check data and checking to obtain a time sequence parameter interval capable of obtaining correct check data, and obtaining an optimal time sequence parameter according to the time sequence parameter interval.
Specifically, the optimal timing parameter is a median value of the timing parameter intervals.
In particular, the timing parameter comprises a phase.
By over-clocking the DRAM above the nominal frequency, the environmental requirements of the ddr grains can be raised and the range over which the timing parameters can be selected becomes smaller. The steps are repeated for specific frequency, so that the system can automatically adjust parameters of any frequency, and the optimization of system power consumption is realized. The DRAM time sequence parameter debugged in this way is more stable in actual work.
Drawings
Fig. 1 is a flowchart of a DRAM interface parameter adaptation method according to an embodiment of the present invention.
Detailed Description
To explain technical contents, structural features, and objects and effects of the technical solutions in detail, the following detailed description is given with reference to the accompanying drawings in conjunction with the embodiments.
Referring to fig. 1, the interface parameter adapting method for DRAM interface read verification according to the present invention includes the following steps, S100 adjusts memory particles to a rated frequency for operation, writes verification data, S102 adjusts the memory particles to a frequency higher than the rated frequency, adjusts timing parameters, reads the verification data and performs verification, obtains a timing parameter interval in which correct verification data can be obtained, and obtains an optimal timing parameter according to the timing parameter interval. Data required for interface read verification (read dq verification) is written into the DRAM granule as verification data by using the stability of reading and writing at low frequency. Here, low frequency may refer to the frequency at which the particle can operate stably, i.e. the nominal frequency or the default frequency, so-called low frequency unfixed value, which may generally be a most conservative value, e.g. 300 MHz. Higher than nominal frequency refers to a frequency at which the current default configuration does not allow, requiring various types of parameter debugging for interface read verification, which may also be referred to herein as high frequency. The specific frequency value can be adjusted according to the reading and checking requirements of the actual interface and different memory particles. The time sequence parameter intervals all refer to: the upper limit and the lower limit of the parameter are in the interval of the parameter which can stably work under the specific high frequency. The optimal timing parameter can be designed as the median value of the timing parameter interval.
The difference between low and high frequencies is that at low frequencies, the time for one period is long and at high frequencies, the time for one period is shorter. The low-frequency time period is long, the time sequence parameter is limited slightly, the time sequence parameter range of stable particles is wider, and the parameter selectable range is wider. Therefore, factory default parameters are generally not problematic. On the contrary, the high frequency time period is short, the selectable range of the parameters is small, the default parameters cannot be used and need to be adjusted. Thus, for each different specific frequency higher than the rated frequency, the optimal parameter configuration corresponding to the specific frequency can be determined by adopting the method. In practical application, the system automatically adjusts the frequency of the DRAM according to the load to realize the optimal performance and power consumption. Because the load of the system (which can be considered as a DRAM plus a host computer) changes in real time and needs different frequencies to meet the requirement, and each frequency needs different parameters, the configuration is carried out by the scheme, so that the system can automatically adjust the parameters of any frequency, and the optimization of the power consumption of the system is realized.
In particular, the timing parameter comprises a phase. In a high-frequency state, check data read from the DRAM is sampled by adjusting the phase difference between DQ and DQS (DQ strobe), a sampling interval is determined, and read DQ calibration is completed.
In other embodiments, if the DRAM supports MPR or the LPDDR3 and DDR3 granules of the MR32/MR40 register, the operation frequency of the granules is directly increased to a high-frequency state that the granules cannot stably operate, and the granules automatically perform timing phase adjustment and correction by configuring the MPR or MR32/MR40 register. If the particles cannot automatically complete the above steps, step S100 is performed. By supporting the MPR or the MR32/MR40 particle characteristics, the automation degree of interface read verification can be improved, and the debugging efficiency is improved.
A DRAM interface read check interface parameter adaptive storage medium stores a computer program, and the computer program is executed when being operated, the computer program comprises the following steps of adjusting memory particles to a rated frequency for operation, writing check data in, adjusting the memory particles to be higher than the rated frequency, adjusting time sequence parameters, reading the check data and checking to obtain a time sequence parameter interval capable of obtaining correct check data, and obtaining an optimal time sequence parameter according to the time sequence parameter interval.
Specifically, the optimal timing parameter is a median value of the timing parameter intervals.
In particular, the timing parameter comprises a phase.
It should be noted that, although the above embodiments have been described herein, the invention is not limited thereto. Therefore, based on the innovative concepts of the present invention, the technical solutions of the present invention can be directly or indirectly applied to other related technical fields by making changes and modifications to the embodiments described herein, or by using equivalent structures or equivalent processes performed in the content of the present specification and the attached drawings, which are included in the scope of the present invention.

Claims (6)

1. The interface parameter adaptation method for DRAM interface read check is characterized by comprising the following steps of adjusting memory particles to a rated frequency for operation, writing check data, adjusting the memory particles to be higher than the rated frequency, adjusting time sequence parameters, reading the check data and checking to obtain a time sequence parameter interval capable of obtaining correct check data, and obtaining optimal time sequence parameters according to the time sequence parameter interval.
2. The method of claim 1, wherein the optimal timing parameter is a median value of timing parameter intervals.
3. The method of claim 1, wherein the timing parameter comprises a phase.
4. The interface parameter adaptive storage medium for DRAM interface read check is characterized in that a computer program is stored, and the computer program is executed when being executed, wherein the computer program comprises the following steps of adjusting memory particles to a rated frequency for operation, writing check data, adjusting the memory particles to be higher than the rated frequency, adjusting time sequence parameters, reading the check data and checking to obtain a time sequence parameter interval capable of obtaining correct check data, and obtaining an optimal time sequence parameter according to the time sequence parameter interval.
5. The DRAM interface read verify interface parameter adaptation storage medium of claim 4, wherein the optimal timing parameter is a median of timing parameter intervals.
6. The interface parameter adaptation storage medium of DRAM interface read verification of claim 4, wherein the timing parameter comprises a phase.
CN202010522534.6A 2020-06-10 2020-06-10 Interface parameter adapting method for DRAM interface read check and storage medium Pending CN111858195A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010522534.6A CN111858195A (en) 2020-06-10 2020-06-10 Interface parameter adapting method for DRAM interface read check and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010522534.6A CN111858195A (en) 2020-06-10 2020-06-10 Interface parameter adapting method for DRAM interface read check and storage medium

Publications (1)

Publication Number Publication Date
CN111858195A true CN111858195A (en) 2020-10-30

Family

ID=72986418

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010522534.6A Pending CN111858195A (en) 2020-06-10 2020-06-10 Interface parameter adapting method for DRAM interface read check and storage medium

Country Status (1)

Country Link
CN (1) CN111858195A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114020667A (en) * 2021-10-20 2022-02-08 瑞芯微电子股份有限公司 Method and storage device for supporting ddr to automatically adjust optimal signal parameters
CN117785743A (en) * 2023-12-26 2024-03-29 湖南长城银河科技有限公司 Peripheral interface timing parameter adaptive adjustment method and timing parameter adjustment device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034572A (en) * 2012-12-14 2013-04-10 深圳Tcl新技术有限公司 Method and system for debugging double data rate synchronous dynamic random access memory (DDR SDRAM)
CN104951376A (en) * 2014-03-26 2015-09-30 联发科技股份有限公司 Parameter optimization method and parameter optimization device
CN105701042A (en) * 2016-03-02 2016-06-22 珠海全志科技股份有限公司 Method and system for optimizing signal quality of memory control interface
CN106057247A (en) * 2016-02-05 2016-10-26 四川长虹电器股份有限公司 Method for testing signal integrity of DRAM system of television
CN109960616A (en) * 2017-12-22 2019-07-02 龙芯中科技术有限公司 The adjustment method and system of processor-based memory parameters
CN110428856A (en) * 2019-07-29 2019-11-08 珠海市一微半导体有限公司 It is a kind of for reading and writing the delay parameter optimization method and system of DDR memory
CN111009271A (en) * 2019-11-18 2020-04-14 广东高云半导体科技股份有限公司 PSRAM (programmable system random access memory) initialization method, device, equipment and medium based on FPGA (field programmable gate array)
CN111161772A (en) * 2018-11-07 2020-05-15 瑞昱半导体股份有限公司 Memory signal phase difference correction circuit and method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034572A (en) * 2012-12-14 2013-04-10 深圳Tcl新技术有限公司 Method and system for debugging double data rate synchronous dynamic random access memory (DDR SDRAM)
CN104951376A (en) * 2014-03-26 2015-09-30 联发科技股份有限公司 Parameter optimization method and parameter optimization device
CN106057247A (en) * 2016-02-05 2016-10-26 四川长虹电器股份有限公司 Method for testing signal integrity of DRAM system of television
CN105701042A (en) * 2016-03-02 2016-06-22 珠海全志科技股份有限公司 Method and system for optimizing signal quality of memory control interface
CN109960616A (en) * 2017-12-22 2019-07-02 龙芯中科技术有限公司 The adjustment method and system of processor-based memory parameters
CN111161772A (en) * 2018-11-07 2020-05-15 瑞昱半导体股份有限公司 Memory signal phase difference correction circuit and method
CN110428856A (en) * 2019-07-29 2019-11-08 珠海市一微半导体有限公司 It is a kind of for reading and writing the delay parameter optimization method and system of DDR memory
CN111009271A (en) * 2019-11-18 2020-04-14 广东高云半导体科技股份有限公司 PSRAM (programmable system random access memory) initialization method, device, equipment and medium based on FPGA (field programmable gate array)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114020667A (en) * 2021-10-20 2022-02-08 瑞芯微电子股份有限公司 Method and storage device for supporting ddr to automatically adjust optimal signal parameters
CN117785743A (en) * 2023-12-26 2024-03-29 湖南长城银河科技有限公司 Peripheral interface timing parameter adaptive adjustment method and timing parameter adjustment device
CN117785743B (en) * 2023-12-26 2025-03-14 湖南长城银河科技有限公司 Peripheral interface time sequence parameter self-adaptive adjusting method and time sequence parameter adjusting device

Similar Documents

Publication Publication Date Title
US11200931B2 (en) Apparatuses and methods for setting a duty cycle adjuster for improving clock duty cycle
US9075543B2 (en) Method of application memory preservation for dynamic calibration of memory interfaces
EP3649645B1 (en) Double data rate synchronous dynamic random access memory ("ddr sdram") data strobe signal calibration
TWI861158B (en) Operation method of system-on-chip configured to control memory device
US20230401008A1 (en) Command address input buffer bias current reduction
KR20130131454A (en) Method and system for dynamic power management of memories
CN106374916B (en) Timing control all-digital DLL control circuit and NAND FLash controller control method
CN111858195A (en) Interface parameter adapting method for DRAM interface read check and storage medium
US11923042B2 (en) Apparatus, memory device, and method reducing clock training time
CN116075812A (en) Memory Subsystem Calibration Using Surrogate Results
CN101620880B (en) Memory controller, PCB, computer system and memory adjustment method
US9104533B2 (en) Voltage and timing calibration method used in memory system
CN110998730A (en) Apparatus and method for writing background data patterns in a memory device
KR20220085237A (en) Storage controller, storage device, and operation method of storage device
US8799606B2 (en) Computer memory subsystem for enhancing signal quality
CN111857570B (en) DRAM interface type detection method and storage medium
US20230305716A1 (en) Data storage system and parameter margin evaluation method
CN119885996A (en) Method, device, equipment and medium for verifying embedded multimedia card interface prototype
CN119127326A (en) A storage device and data reading method thereof
HK40021324A (en) Double data rate synchronous dynamic random access memory data strobe signal calibration
HK40021324B (en) Double data rate synchronous dynamic random access memory data strobe signal calibration

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201030