The present application relates to the field of memories, and in particular to a method for testing a memory.
Upon testing a memory, the memory can generate a valid data window based on an external clock signal, and a testing device for the memory acquires data for testing.
Some testing devices can automatically track a data strobe signal (DQS) to acquire data for testing, while some testing devices do not have an automatic tracking function. As the parameters such as temperature and voltage change, the data window of the memory will be shifted, the testing devices without the automatic tracking function cannot correctly capture valid data which the shifted data window has, and thus cannot accurately acquire data, which causes an inaccurate testing for the memory.
Therefore, it is an urgent problem to improve accuracy of a testing device without an automatic tracking function.
The technical problem to be solved by the present application is to provide a method for testing a memory, which can improve accuracy of a testing device without an automatic tracking function.
In order to solve the above-mentioned problem, the present application provides a method for testing a memory, including the steps of: providing a database, the database including a deviation value between a data strobe signal and a clock signal and a corresponding relationship between the deviation value and a memory parameter; searching the database for a deviation value corresponding to a preset memory parameter when a read command is applied to the memory under the preset memory parameter; acquiring a time value at which an output signal is to be captured according to the deviation value; and capturing the output signal at the time value to perform the testing for the memory.
The advantages of the present application lie in that the deviation value between the data strobe signal and the clock signal and the corresponding relationship between the deviation value and the memory parameter are formed into a database, the time value at which the output signal is to be captured may be directly acquired based on the records of the database when testing, and the output signal is captured at the time value to perform the testing for the memory, whereby the testing device without the automatic tracking function can also accurately obtain the testing data.
To describe the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the accompanying drawings required for describing the embodiments of the present application. Apparently, the accompanying drawings in the following description show merely some embodiments of the present application, and those of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts.
In order to make the objective, technical means and effects of the present application more clearly, the present application will be further elaborated below with reference to the accompanying drawings. It should be understood that the embodiments described here are merely some embodiments, rather than all embodiments, of the present application, are not intended to limit the present application. Based on the embodiments of the present application, all other embodiments derived by those of ordinary skill in the art without creative efforts shall fall within the scope of protection of the present application.
The deviation value tDQSCK between the data strobe signal DQS and the clock signal CK is the timing from elapse of the read delay to the actual valid DQS/DQ output, which is a conventional parameter of a semiconductor memory.
The memory parameter refers to a parameter that affects the performance of the memory, which includes at least voltage and temperature.
In this embodiment, a pairing combination of voltage and temperature corresponds to one deviation value between the data strobe signal and the clock signal, in the database. For example, if voltages V1, V2, and temperatures T1, T2 are stored in the database, voltage V1 and temperature T1 correspond to tDQSCK-1, voltage V2 and temperature T1 correspond to tDQSCK-1, voltage V1 and temperature T2 correspond to tDQSCK-3, and voltage V2 and temperature T2 correspond to tDQSCK-3. The above only lists the case that two voltages and two temperatures are included. In actual use, the number of voltage and temperature in the database may be set according to the voltage requirements of the memory itself and the environment.
The database may be stored in a firmware of a testing device in the form of a lookup table.
In step S11, the database is searched for a deviation value corresponding to a preset memory parameter when a read command is applied to the memory under the preset memory parameter.
For example, if a read command is applied to the memory under voltage V1 and temperature T1, the database is searched for the deviation value tDQSCK corresponding to the combination of voltage V1 and temperature T1.
In step S12, a time value at which an output signal is to be captured is acquired according to the deviation value.
In this step, the sum of the deviation value and the time value at which the read delay elapses is taken as the time value at which the output signal is to be captured. That is, the time value is determined to determine the time when data is captured based on the data strobe signal.
In step S13, the output signal is captured at the time value to perform the testing for the memory.
With respect to the method for testing a memory according to the present application, the deviation value between the data strobe signal and the clock signal is stored in the database, and the time value at which the output signal is to be captured is acquired according to the deviation value, and thus the valid data which the shifted data window has can be captured, in order to perform the testing for the memory. In the present application, it is not necessary to track the data strobe signal to realize the testing for the memory device, which greatly improves the testing accuracy of the testing device without the automatic tracking function.
Furthermore, the present application further provides a method for forming the database. The method for forming the database is realized based on applying a read command to the memory.
In step S20, a read command is applied to a memory under a memory parameter.
For example, a read command is applied to a memory under voltage V1 and temperature T1.
In step S21, a plurality of output signals of the memory is captured at a set timestep taking a preset time value as a starting point.
Specifically, in this embodiment, the output signals of the memory is captured at a set timestep taking the time value RL at which the read delay elapses as the starting point, and the positions at which the output signals of the memory are captured are indicated by the arrows shown in
In step S22, the difference between a time value at which a valid output signal is captured and the preset time value is taken as the deviation value between the data strobe signal and the clock signal, which corresponds to the memory parameter.
The output signal captured at different time values may be a valid signal or an invalid signal. Whether the output signal is invalid may be determined by comparing the captured output signal with a testing signal. If the output signal is consistent with the testing signal, it means that the output signal is a valid signal, and if the output signal is inconsistent with the testing signal, it means that the output signal is an invalid signal.
Further, a group of graphs may be provided at a certain time value for the memory as a strobe signal to capture the corresponding output signal. If the number of the valid signals of the output signals corresponding to the group of graphs is above a preset percentage, the output signal at the time value is considered to be a valid signal, and if the number of the valid signals of the output signals corresponding to the group of graphs is below the preset percentage, the output signal at the time value is considered to be an invalid signal.
Further, in order to improve the accuracy of data collection of the database, the setting of the preset time value must meets the following requirements: after the preset time value, the change trend of the output signal may follow an order of: an invalid signal, a valid signal, and an invalid signal. State differently, the output signal captured at the preset time value is an invalid signal, the output signal becomes a valid signal after several preset timesteps have elapsed, and the output signal becomes an invalid signal after several preset timesteps have further elapsed.
Further, capturing the output signal is stopped when the output signal is converted from a valid signal into an invalid signal. In other words, the output signal being converted from a valid signal into an invalid signal is used as a criterion for stopping capturing the output signal. In order to further improve the accuracy of data collection, it is usually necessary to collect a plurality of consecutive output signals which are all valid signals. In this case, capturing the output signal is stopped when the output signal is converted from a valid signal into an invalid signal.
Further, capturing the output signal may also be stopped one clock period after the actual valid DQS/DQ is output. For example, as shown in
In the case that a plurality of consecutive output signals are all valid signals, determining the deviation value between the data strobe signal and the clock signal which corresponds to the memory parameter may include: taking the difference between a time value a first valid output signal is captured and the preset time value as an initial value; taking the difference between a time value a last valid output signal is captured and the preset time value as an end value; and selecting a value within the time range formed by the initial value and the end value as the deviation value between the data strobe signal and the clock signal, which corresponds to the memory parameter, for example, selecting an intermediate value within the time range formed by the initial value and the final value as the deviation value between the data strobe signal and the clock signal, which corresponds to the memory parameter.
In step S23, the memory parameter is changed and the above steps are repeated to form the database.
For example, the memory parameter is changed to be the combination of voltage V2 and temperature T1, steps S20 to S22 are repeated to acquire the deviation value between the data strobe signal and the clock signal, which corresponds to the memory parameter. By analogy, the database is formed.
The foregoing descriptions are only the preferred embodiments of the present application. It should be noted that, several improvements and modifications can be made by those of ordinary skill in the art without departing from the principle of the present application, and these improvements and modifications should also be considered within the scope of protection of the present application.
Number | Date | Country | Kind |
---|---|---|---|
202010228553.8 | Mar 2020 | CN | national |
The present application is a continuation application of International Patent Application No. PCT/CN2021/079977, filed on Mar. 10, 2021, which claims priority to Chinese Patent Application No. 202010228553.8, filed with the China National Intellectual Property Administration (CNIPA) on Mar. 27, 2020 and entitled “METHOD FOR TESTING MEMORY”. The disclosures of International Patent Application No. PCT/CN2021/079977 and Chinese Patent Application No. 202010228553.8 are incorporated herein by reference in their entireties.
Number | Name | Date | Kind |
---|---|---|---|
10115480 | Gamini et al. | Oct 2018 | B1 |
10622044 | Duggal | Apr 2020 | B2 |
20050135167 | Manabe | Jun 2005 | A1 |
20060036389 | Ozora | Feb 2006 | A1 |
20060193413 | Shandilya et al. | Aug 2006 | A1 |
20060262613 | Braun et al. | Nov 2006 | A1 |
20070147167 | Chu | Jun 2007 | A1 |
20100153792 | Jang | Jun 2010 | A1 |
20110121814 | Uematsu | May 2011 | A1 |
20110126062 | Chiang | May 2011 | A1 |
20120047411 | Lai | Feb 2012 | A1 |
20130070544 | Nishiwaki | Mar 2013 | A1 |
20140006886 | Song | Jan 2014 | A1 |
20150228358 | Agata | Aug 2015 | A1 |
20160124873 | Xu | May 2016 | A1 |
20170345489 | Zeng | Nov 2017 | A1 |
20200073568 | Chaiken | Mar 2020 | A1 |
Number | Date | Country |
---|---|---|
1851821 | Oct 2006 | CN |
101770815 | Jul 2010 | CN |
106297889 | Jan 2017 | CN |
108231110 | Jun 2018 | CN |
108922570 | Nov 2018 | CN |
110800060 | Feb 2020 | CN |
100606244 | Jul 2006 | KR |
2020009652 | Jan 2020 | WO |
Entry |
---|
International Search Report as cited in PCT Application No. PCT/CN2021/079977 dated Jun. 10, 2021, 5 pages. |
Written Opinion cited in PCT/CN2021/079977, dated Jun. 10, 2021, 8 pages. |
Juseop Park et al., “A Built-In Self Test Compensating Process-Voltage Variation in Data Paths of High Performance DRAMs”, <2018 IEEE International Memory Workshop (IMW)>, full text, Jun. 21, 2018, 4 pages. |
Notice of Allowance of the Chinese application No. 202010228553.8, dated Mar. 18, 2022, 8 pages. |
Number | Date | Country | |
---|---|---|---|
20220075550 A1 | Mar 2022 | US |
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2021/079977 | Mar 2021 | US |
Child | 17455300 | US |