Memory, memory testing system and memory testing method
By building a direct output circuit in memory and outputting the third test clock signal based on the external clock signal, the inaccuracy problem caused by different clock signal input delays in multi-chip parallel tests is solved, and the test accuracy is improved.
Patent Information
- Application Number
- CN202011166903.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-27
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2040-10-27
AI Technical Summary
In multi-chip parallel testing, due to the different input delays of the chip test clock signal, the test results are inaccurate and cannot represent the actual output delay of the chip.
By introducing input circuits, test path selection circuits and output circuits into the memory, the third test clock signal is directly output based on the external clock signal, and the time delay of the external signal input is obtained, the clock signal input delay error is avoided, and the test accuracy is improved.
It effectively avoids errors caused by clock signal input delay, improves the accuracy of multi-chip parallel testing, and ensures that the test results truly reflect the actual output delay of the chip.
Smart Images

Figure CN114496050B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of semiconductor chip testing, and in particular to a memory, a memory testing system and a memory testing method. Background Art
[0002] The purpose of semiconductor chip testing is to screen out semiconductor chips whose product performance does not meet the expected performance. There are many factors that cause semiconductor chip performance to be unqualified. For example, semiconductor chips may produce process errors during the manufacturing process, resulting in the output delay of the formed semiconductor chips not meeting the expected performance.
[0003] The method of semiconductor chip testing is generally carried out through multi-chip parallel testing in order to save testing time. In multi-chip parallel testing, the chip test card tests hundreds or thousands of chips on a wafer at the same time.
[0004] In order to save testing resources, the chips tested in parallel use the same clock signal. There is a different time delay when the clock signal is input into each chip being tested, resulting in the chip output delay obtained by the test not representing the actual output delay of the chip, thus causing inaccurate results of multi-chip parallel testing. Summary of the invention
[0005] The embodiments of the present invention provide a memory, a memory testing system and a memory testing method, which quantify the time delay of a clock signal input to each chip being tested, thereby obtaining the actual output delay of the chip and improving the accuracy of multi-chip parallel testing.
[0006] To solve the above technical problems, an embodiment of the present invention provides a memory, including: an input circuit, suitable for receiving an external clock signal and outputting a first test clock signal; a test path selection circuit, connected to the input circuit, suitable for outputting a second test clock signal according to a read clock command; an output circuit, connected to the test path selection circuit, suitable for converting the second test clock signal into a third test clock signal and outputting it to the outside of the memory.
[0007] A direct output circuit is formed by an input circuit, a test path selection circuit and an output circuit. The direct output circuit outputs a third test clock signal directly based on an external clock signal, thereby obtaining the time delay of the external signal input to the memory, avoiding errors caused by different time delays when the clock signal is input to each chip being tested, and improving the accuracy of multi-chip parallel testing.
[0008] In addition, the input circuit also outputs a first normal clock signal, and the first normal clock signal has the same frequency and phase as the first test clock signal.
[0009] In addition, the memory further comprises a storage block, and the first normal clock signal is suitable as a clock source for performing read and write operations on the storage block.
[0010] In addition, the first test clock signal has the same frequency as the external clock signal.
[0011] In addition, when the read clock command is low, the second test clock signal output by the test path selection circuit is at a low level; when the read clock command is high, the second test clock signal output by the test path selection circuit has the same frequency as the first test clock signal.
[0012] In addition, the memory further includes a test mode module, which outputs a read clock command.
[0013] An embodiment of the present invention also provides a memory testing system, comprising: a plurality of the above-mentioned memories, the memories being numbered sequentially from 1 to N, where N is an integer greater than or equal to 2; a test card, which outputs address information, command information, a zeroth test clock signal, and chip select information to the memories numbered from 1 to N, and receives data information from the memories numbered from 1 to N.
[0014] In addition, the test card has N chip selection output terminals for outputting chip selection information and N data receiving terminals for receiving data information, which are connected to the memories numbered 1 to N in a one-to-one correspondence.
[0015] In addition, the memories numbered 1 to N share the address information, command information and the zeroth test clock signal output by the test card.
[0016] In addition, the zeroth test clock signal of the test card is sent to the input circuit of the memory, and the third test clock signal of the memory is sent to the data receiving end corresponding to the test card.
[0017] The memories numbered 1 to N are tested in parallel using the same test card. The memories numbered 1 to N include the above-mentioned direct output circuit. Based on the zeroth test clock signal provided by the test card, the third test clock signal is output, thereby obtaining the time delay of the zeroth clock signal being input to the memory, avoiding errors caused by different time delays when the zeroth test clock signal is input to each chip being tested, and improving the accuracy of multi-chip parallel testing using the test card.
[0018] An embodiment of the present invention also provides a memory testing method, including: a test card, outputting address information, command information, a zeroth test clock signal, and chip select information to memories numbered 1 to N in sequence, and receiving data information of memories numbered 1 to N, where N is an integer greater than or equal to 2; the data information output by each memory includes main path delay information and test path delay information, the test card sequentially numbers the main path delay information of memories numbered 1 to N as the first main path delay information to the Nth main path delay information, and the test card sequentially numbers the test path delay information of memories numbered 1 to N as the first test path delay information to the Nth test path delay information; sequentially defining the first main path actual delay to the Nth main path actual delay, corresponding to the main path actual delay of memories numbered 1 to N; the first main path actual delay is equal to the first main path delay information, the difference between the Mth test path delay information and the first test path delay information is equal to the clock deviation value, the Mth main path actual delay is equal to the Mth main path delay information minus the clock deviation value, and M is an integer greater than 1 and less than or equal to N.
[0019] In addition, the memory includes: an input circuit, which receives the zeroth test clock signal and outputs a first test clock signal and a first normal clock signal, wherein the delay of the first test clock signal relative to the zeroth test clock signal is the input circuit delay information; a test path selection circuit, which is connected to the input circuit and is suitable for outputting a second test clock signal according to a read clock command, wherein the delay of the second test clock signal relative to the first test clock signal is the test path selection circuit delay information; an output circuit, which is connected to the test path selection circuit and is suitable for converting the second test clock signal into a third test clock signal and outputting it to the test card, wherein the delay of the third test clock signal relative to the second test clock signal is the output circuit delay information; wherein the test path delay information includes input circuit delay information, test path selection circuit delay information and output circuit delay information.
[0020] In addition, the memory also includes a storage block, and the first normal clock signal is suitable for being a clock source for reading and writing operations on the storage block; the main path delay information includes input circuit delay information, time for reading and writing operations on the storage block, and output circuit delay information.
[0021] In addition, the memory also includes a test mode module, the test mode module receives command information, and the test mode module also outputs a read clock command.
[0022] The test card provides the memory with the zeroth test clock signal, the memory feeds back the main path delay information and the test path delay information, obtains the actual main path delay of the memory based on the main path delay information, records that the difference between the Mth test path delay information and the first test path delay information is equal to the clock deviation value, and obtains the actual main path delay based on the main path delay information and the clock deviation value to avoid errors caused by different time delays when the clock signal is input into each chip being tested, thereby improving the accuracy of multi-chip parallel testing. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] One or more embodiments are exemplarily described by pictures in the corresponding drawings. Unless otherwise stated, the pictures in the drawings are not limited to scale.
[0024] Figure 1 A schematic diagram of a memory provided for a first embodiment of the present invention;
[0025] Figure 2 A schematic diagram of the circuit structure of a memory provided in the first embodiment of the present invention;
[0026] Figure 3 A schematic diagram of the structure of a memory test system provided by a second embodiment of the present invention;
[0027] Figure 4 A schematic diagram of a flow chart of a memory testing method provided in a third embodiment of the present invention;
[0028] Figure 5 Schematic diagram of the principle of clock deviation in parallel testing of multiple chips. DETAILED DESCRIPTION
[0029] At present, the method of testing semiconductor chips is generally carried out through multi-chip parallel testing, the purpose is to save testing time. In multi-chip parallel testing, the chip test card tests hundreds or thousands of chips on a wafer at the same time. In order to save testing resources, the chips tested in parallel use the same clock signal. There is a different time delay when the clock signal is input to each chip being tested, resulting in the chip output delay obtained by the test not representing the actual output delay of the chip, resulting in inaccurate results of multi-chip parallel testing. Reference Figure 5 , there is a delay from the clock end CLK of the test card to the clock end CLK of Chip1, for example, 0.5ns, and there is a delay from the clock end CLK of the test card to the clock end CLK of Chip2, for example, 0.9ns. The delay from the clock end CLK of the test card to the clock end CLK of Chip1 is set to 0 by default, and the deviation between 0.5ns and 0.9ns is the clock deviation value of Chip2 during parallel testing, and the clock deviation value is 0.9ns-0.5ns=0.4ns.
[0030] To solve the above problems, the first embodiment of the present invention provides a memory, including: an input circuit, suitable for receiving an external clock signal and outputting a first test clock signal; a test path selection circuit, connected to the input circuit, suitable for outputting a second test clock signal according to a read clock command; an output circuit, connected to the test path selection circuit, suitable for converting the second test clock signal into a third test clock signal and outputting it to the outside of the memory.
[0031] To make the purpose, technical scheme and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. However, it will be appreciated by those skilled in the art that in the embodiments of the present invention, many technical details are proposed in order to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present application can be implemented. The division of the following embodiments is for the convenience of description and should not constitute any limitation on the specific implementation of the present invention. The various embodiments can be combined with each other and quoted from each other without contradiction.
[0032] Figure 1 A schematic diagram of a memory provided in accordance with a first embodiment of the present invention, Figure 2 This is a schematic diagram of the circuit structure of the memory provided in the first embodiment of the present invention. The memory of this embodiment is specifically described below.
[0033] refer to Figure 1 , the memory 100 comprises:
[0034] The input circuit 101 is adapted to receive an external clock signal OutClk and output a first test clock signal TestClk1. The external clock signal OutClk is a clock signal provided by an external device to the memory 100. The external clock signal OutClk is a normal working signal or a test signal of the memory 100. The first test clock signal TestClk1 is a clock signal input to the test path selection circuit 102. Specifically, the first test clock signal TestClk1 has the same frequency as the external clock signal OutClk.
[0035] The delay between the first test clock signal TestClk1 and the external clock signal OutClk is represented by the input circuit delay information.
[0036] The test path selection circuit 102 is connected to the input circuit 101 and is adapted to output a second test clock signal TestClk2 according to the read clock command ReadClkout. The second test clock signal TestClk2 is the clock signal of the input-output circuit 103.
[0037] In this embodiment, the memory 100 further includes a test mode module 104, which is used to output a read clock command ReadClkout. Specifically, the memory 100 outputs the read clock command ReadClkout based on the received command information to enable the test path selection circuit 102.
[0038] The read clock command ReadClkout is a start signal of the test path selection circuit 102. When the read clock command ReadClkout is at a high level, the test path selection circuit 102 outputs the second test clock signal TestClk2 according to the first test clock signal TestClk1. When the read clock command ReadClkout is at a low level, the second test clock signal TestClk2 output by the test path selection circuit 102 is at a low level. Specifically, when the read clock command ReadClkout is at a high level, the frequency of the second test clock signal TestClk2 is the same as that of the first test clock signal TestClk1.
[0039] The delay between the second test clock signal TestClk2 and the first test clock signal TestClk1 is represented by the test path selection circuit delay information.
[0040] The output circuit 103 is connected to the test path selection circuit 102 and is adapted to convert the second test clock signal TestClk2 into a third test clock signal TestClk3 and output it to the outside of the memory 100. The third test clock signal TestClk3 is an output clock signal outputted by the memory 100 to the outside of the memory 100.
[0041] The delay between the third test clock signal TestClk3 and the second test clock signal TestClk2 is represented by output circuit delay information.
[0042] The input circuit 101 , the test path selection circuit 102 and the output circuit 103 serve as a first data path to directly output the received external clock signal OutClk. The input circuit delay information, the test path selection circuit delay information and the output circuit delay information together constitute the test path delay information of the memory 100 .
[0043] In this embodiment, the memory 100 further includes a storage block 105, which is a storage unit of the memory 100 for storing data, and the input circuit 101 further outputs a first normal clock signal Clk, which is a clock source suitable for performing read and write operations on the storage block 105. Specifically, the frequency and phase of the first normal clock signal Clk are the same as the frequency and phase of the first test clock signal TestClk1.
[0044] refer to Figure 1 and Figure 4 The storage block 105 operates based on the first normal clock signal Clk, and the memory 100 performs a read operation based on the received command information CMD to read data from the storage block 105. The data is output to the test card 200 through the TDQ terminal of the memory. The test card obtains the main data path delay information of the memory 100 by sending the zeroth test clock signal TestClk0 to the memory 100 and receiving the interval time of the read data, wherein the input circuit delay information, the time for reading and writing operations on the storage block, and the output circuit delay information together constitute the main path delay information of the memory 100.
[0045] The test card 200 , the input circuit 101 and the storage block 105 serve as a second data path for providing the external clock signal OutClk to the storage block 105 , so that the memory 100 can operate normally.
[0046] Specifically, the test card 200 provides the zeroth test clock signal TestClk0 and the command information CMD to the memory 100, the input circuit 101 sends the first normal clock signal Clk based on the zeroth test clock signal TestClk0, the storage block 105 reads data based on the first normal clock signal Clk, and the memory 100 transmits the data read from the storage block 105 back to the test card 200 through the output terminal TDQ. That is, the test card 200, the input circuit 101, and the storage block 105 serve as the second data path for obtaining the main path delay information of the memory 100.
[0047] In one example, refer to Figure 2 The input circuit 101 includes a receiving circuit 111, which is used to generate a first test clock signal TestClk1 and a first normal clock signal Clk according to the external clock signal OutClk. The first test clock signal TestClk1 has the same frequency as the external clock signal OutClk, and the first test clock signal TestClk1 has the same frequency and phase as the first normal clock signal Clk.
[0048] In one example, refer to Figure 2The test path selection circuit 102 includes an AND gate structure 112. The two input ends of the AND gate structure 112 are respectively used to receive the read clock command ReadClkout and the first test clock signal TestClk1. When the read clock command ReadClkout is at a high level, the test path selection circuit 102 outputs the second test clock signal TestClk2 according to the first test clock signal TestClk1. The frequency of the second test clock signal TestClk2 is the same as that of the first test clock signal TestClk1. When the read clock command ReadClkout is at a low level, the second test clock signal TestClk2 output by the test path selection circuit 102 is at a low level.
[0049] In one example, refer to Figure 2 The output circuit 103 includes a transmitting circuit 113, which is used to convert the second test clock signal TestClk2 into a third test clock signal TestClk3 and output it to the outside of the memory 100. That is, the input circuit 101, the test path selection circuit 102 and the output circuit 103 act as a first data path to directly output the received external clock signal OutClk.
[0050] The storage block 105 operates based on the first normal clock signal Clk, and the memory 100 performs a read operation based on the command information CMD to read data from the storage block 105. The test card obtains the main data path delay information of the memory 100 by sending a clock signal to the storage area and receiving the interval time of the read data.
[0051] Based on the input circuit delay information, output circuit delay information, test path selection circuit delay information and the time for reading and writing the storage block of the memory 100, the test path delay information and the main path delay information of the memory 100 are obtained. Among them, the input circuit delay information, the test path selection circuit delay information and the output circuit delay information together constitute the test path delay information of the memory 100; the input circuit delay information, the time for reading and writing the storage block and the output circuit delay information together constitute the main path delay information of the memory 100.
[0052] Compared with the related art, a direct output circuit is formed by an input circuit, a test path selection circuit and an output circuit. The direct output circuit directly outputs a third test clock signal based on an external clock signal to obtain the time delay of the external signal input into the memory, thereby avoiding errors caused by different time delays when the clock signal is input into each chip being tested, and improving the accuracy of multi-chip parallel testing.
[0053] It is worth mentioning that all modules involved in this embodiment are logic modules. In practical applications, a logic unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, this embodiment does not introduce units that are not closely related to solving the technical problem proposed by the present invention, but this does not mean that there are no other units in this embodiment.
[0054] A second embodiment of the present invention relates to a memory testing system.
[0055] Figure 3 This is a structural diagram of a memory test system provided in the second embodiment of the present invention. The memory test system provided in this embodiment will be described in detail below in conjunction with the accompanying drawings, and the parts that are the same or corresponding to the first embodiment will not be described in detail below.
[0056] refer to Figure 3 The memory test system includes: a plurality of memories as provided in the first embodiment, the memories are numbered from 1 to N in sequence, N is an integer greater than or equal to 2, such as memory 1 (Chip1, 201), memory 2 (Chip2, 202) ... memory N (ChipN, 203); a test card 200, outputs address information Adress, command information CMD, a zeroth test clock signal TestClk0, and a chip select signal to the memories numbered from 1 to N, and receives data information from the memories numbered from 1 to N.
[0057] Specifically, the memory common test cards 200 numbered 1 to N output address information Adress, command information CMD, and the zeroth test clock signal TestClk0.
[0058] The test card 200 has N chip selection output terminals for outputting chip selection information and N data receiving terminals for receiving data information, and is connected to the memories numbered 1 to N in a one-to-one correspondence.
[0059] Specifically, the test card establishes a data transmission loop with the memory 1 (Chip1, 201) through the first chip select output terminal CS1 and the first data receiving terminal TDQ1, and the data information of the memory 1 (Chip1, 201) is fed back to the test card 200 through the first data receiving terminal TDQ1. The test card 200 and the memory 1 (Chip1, 201) form a data transmission closed loop through the first chip select output terminal CS1 and the first data receiving terminal TDQ1, that is, the data transmission between the memories numbered 1 to N and the test card 200 does not affect each other.
[0060] Specifically, the zeroth test clock signal TestClk0 of the test card 200 is sent to the input circuit 101 of the memory, and the memory sends the third test clock signal TestClk3 and the data stored in the storage block 105 to the data receiving end corresponding to the test card 200. The zeroth test clock signal TestClk0 is the external clock signal OutClk input to the memory, and the zeroth test clock signal TestClk0 is the normal working signal and test signal of the memory 100; according to the third test clock signal TestClk3 fed back by the memory, the test path delay information of the memory is obtained, and according to the data stored in the storage block 105 fed back by the memory, the main path delay information of the memory is obtained; according to the Nth main path delay information and the Nth test path delay information fed back by the memories numbered 1 to N, the clock deviation value corresponding to each memory is obtained, and the clock deviation value of the memory numbered N is the Nth test path delay information-first test path delay information; the actual delay of the Nth main path of the memory numbered N is the Nth main path delay information-clock deviation value.
[0061] Compared with the related art, the memories numbered 1 to N are tested in parallel through the same test card. The memories numbered 1 to N include the above-mentioned direct output circuit. Based on the zeroth test clock signal provided by the test card, the third test clock signal is output, thereby obtaining the time delay of the zeroth clock signal input to the memory, avoiding the error caused by different time delays when the zeroth test clock signal is input to each chip being tested, and improving the accuracy of multi-chip parallel testing through the test card.
[0062] It is worth mentioning that all modules involved in this embodiment are logic modules. In practical applications, a logic unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, this embodiment does not introduce units that are not closely related to solving the technical problem proposed by the present invention, but this does not mean that there are no other units in this embodiment.
[0063] Since the first embodiment corresponds to this embodiment, this embodiment can be implemented in conjunction with the first embodiment. The relevant technical details mentioned in the first embodiment are still valid in this embodiment, and the technical effects that can be achieved in the first embodiment can also be achieved in this embodiment. In order to reduce repetition, they are not repeated here. Accordingly, the relevant technical details mentioned in this embodiment can also be applied in the first embodiment.
[0064] A third embodiment of the present invention relates to a memory testing method.
[0065] A memory testing method comprises: a test card, outputting address information, command information, a zeroth test clock signal, and chip selection information to memories numbered 1 to N in sequence, and receiving data information of the memories numbered 1 to N, where N is an integer greater than or equal to 2; the data information output by each memory comprises main path delay information and test path delay information, the test card sequentially numbers the main path delay information of the memories numbered 1 to N as first main path delay information to Nth main path delay information, and the test card sequentially numbers the test path delay information of the memories numbered 1 to N as first test path delay information to Nth test path delay information; sequentially defining the first main path actual delay to the Nth main path actual delay, corresponding to the main path actual delay of the memories numbered 1 to N; the first main path actual delay is equal to the first main path delay information, the difference between the Mth test path delay information and the first test path delay information is equal to the clock deviation value, the Mth main path actual delay is equal to the Mth main path delay information minus the clock deviation value, and M is an integer greater than 1 and less than or equal to N.
[0066] Figure 4 This is a flow chart of a memory testing method provided in the third embodiment of the present invention. The memory testing method provided in this embodiment will be described in detail below in conjunction with the accompanying drawings, and the parts that are the same or corresponding to the first and second embodiments will not be described in detail below.
[0067] refer to Figure 4 , memory test methods include:
[0068] Step 301, output address information, command information, the zeroth test clock signal, and chip selection information to memories numbered 1 to N in sequence.
[0069] Specifically, combined Figure 3 The test card 200 outputs address information Adress, command information CMD, the zeroth test clock signal TestClk0, and chip selection information to memories numbered 1 to N in sequence, where N is an integer greater than or equal to 2.
[0070] The test card 200 has N chip selection output terminals for outputting chip selection information and N data receiving terminals for receiving data information, and is connected to the memories numbered 1 to N in a one-to-one correspondence.
[0071] The memory common test cards 200 numbered 1 to N output address information Adress, command information CMD and the zeroth test clock signal TestClk0, wherein the zeroth test clock signal TestClk0 is an external clock signal input to the memory.
[0072] Step 302: Obtain data information output by each memory in the memories numbered 1 to N.
[0073] Specifically, combined Figure 3 The test card 200 receives data information of memories numbered 1 to N. The data information output by each memory includes main path delay information and test path delay information. The test card sequentially numbers the main path delay information of memories numbered 1 to N as first main path delay information to Nth main path delay information, and the test card sequentially numbers the test path delay information of memories numbered 1 to N as first test path delay information to Nth test path delay information.
[0074] Combination Figure 1 , the memory 100 includes: an input circuit 101, receiving the zeroth test clock signal TestClk0, and outputting the first test clock signal TestClk1 and the first normal clock signal Clk, the delay of the first test clock signal TestClk1 relative to the zeroth test clock signal TestClk0 is the input circuit delay information; a test path selection circuit 102, connected to the input circuit 101, suitable for outputting the second test clock signal TestClk2 according to the read clock command ReadClkout, the delay of the second test clock signal TestClk2 relative to the first test clock signal TestClk1 is the test path selection circuit delay information; an output circuit 103, connected to the test path selection circuit 102, suitable for converting the second test clock signal TestClk2 into a third test clock signal TestClk3 and outputting it to the test card 200, the delay of the third test clock signal TestClk3 relative to the second test clock signal TestClk2 is the output circuit delay information;
[0075] Specifically, the input circuit 101 receives the zeroth test clock signal TestClk0 and outputs the first test clock signal TestClk1. The input circuit 101 is also used to output the normal clock signal Clk according to the zeroth test clock signal TestClk0. The delay between the first test clock signal TestClk1 and the zeroth test clock signal TestClk0 is characterized by the input circuit delay information.
[0076] The test path selection circuit 102 is adapted to output a second test clock signal TestClk2 according to the read clock command ReadClkout. The delay between the second test clock signal TestClk2 and the first test clock signal TestClk1 is characterized by the test path selection circuit delay information.
[0077] In this embodiment, the memory 100 further includes a test mode module 104, which receives command information CMD and outputs a read clock command ReadClkout. Specifically, the memory 100 outputs a read clock command ReadClkout based on the received command information CMD to turn on the test path selection circuit 102. When the read clock command ReadClkout is at a high level, the test path selection circuit 102 outputs a second test clock signal TestClk2 according to the first test clock signal TestClk1, and when the read clock command ReadClkout is at a low level, the second test clock signal TestClk2 output by the test path selection circuit 102 is at a low level.
[0078] The output circuit 103 is adapted to convert the second test clock signal TestClk2 into a third test clock signal TestClk3 and output it to the outside of the memory 100. The delay between the third test clock signal TestClk3 and the second test clock signal TestClk2 is represented by the output circuit delay information.
[0079] In this embodiment, the test path delay information includes input circuit delay information, test path selection circuit delay information and output circuit delay information.
[0080] The memory 100 further includes a storage block 105, and the first normal clock signal Clk is suitable as a clock source for performing read and write operations on the storage block 105. Specifically, the frequency and phase of the first normal clock signal Clk are the same as those of the first test clock signal TestClk1.
[0081] The storage block 105 operates based on the first normal clock signal Clk, and the memory 100 performs a read operation based on the command information CMD to read data from the storage block 105. The test card obtains the main data path delay information of the memory 100 by sending a clock signal to the storage area and receiving the interval time of the read data.
[0082] Specifically, the test card 200 provides the zeroth test clock signal TestClk0 and the command information CMD to the memory 100, the input circuit 101 sends the first normal clock signal Clk based on the zeroth test clock signal TestClk0, the storage block 105 reads data based on the first normal clock signal Clk, and the memory 100 transmits the data read from the storage block 105 back to the test card 200 through TDQ. That is, the test card 200, the input circuit 101, and the storage block 105 serve as the second data path for obtaining the main path delay information of the memory 100.
[0083] In this embodiment, the main path delay information includes input circuit delay information, time for performing read and write operations on the storage block, and output circuit delay information.
[0084] Step 303, define the actual delay of the first main path to the actual delay of the Nth main path in sequence, corresponding to the actual delay of the main paths of the memories numbered 1 to N; step 304, obtain the clock deviation value; step 305, obtain the actual delay of the Mth main path.
[0085] Specifically, the actual delay of the first main path is equal to the delay information of the first main path, and correspondingly, the actual delay of the Nth main path is equal to the delay information of the Nth main path.
[0086] The difference between the Mth test path delay information and the first test path delay information is equal to the clock deviation value, the actual delay of the Mth main path is equal to the Mth main path delay information minus the clock deviation value, and M is an integer greater than 1 and less than or equal to N.
[0087] Specifically, for memory N (ChipN, 203), the difference between the Nth test path delay information and the first test path delay information of memory N (ChipN, 203) is equal to the clock deviation value, and the actual delay of the Nth main path is equal to the Nth main path delay information minus the clock deviation value.
[0088] The data information fed back by the memory includes the data information shown in Table 1 and Table 2:
[0089] Table 1
[0090]
[0091]
[0092] Table 2
[0093] Main path delay information Test path delay information Clock deviation value Memory 1 (Chip 1, 201) <![CDATA[Z1]]> <![CDATA[C1]]> / Memory 2 (Chip 2, 202) <![CDATA[Z2]]> <![CDATA[C2]]> <![CDATA[C2—C1]]> …… …… …… …… Memory N (ChipN, 203) <![CDATA[Z N ]]> <![CDATA[C N ]]> <![CDATA[C N —C1]]>
[0094] According to the test path delay information fed back by the memories numbered 1 to N, the clock deviation value corresponding to each memory is obtained; for example, the clock deviation value of the memory numbered N is the test path delay information - the first test path delay information, that is, t = C N —C1.
[0095] According to the main path delay information fed back by the memories numbered 1 to N, the actual main path delay corresponding to each memory is obtained; for example, the actual main path delay of the memory numbered N is the main path delay information—clock deviation value, that is, T N =Z N —t.
[0096] For example, refer to Figure 3For example, the zeroth test clock signal delay D01 of the chip numbered 1 is 0.2ns, the input circuit delay information D12 is 0.4ns, the test path selection circuit delay information D42 is 0.3ns, and the output circuit delay information D32 is 0.5ns, that is, the first test path delay information C1 of the chip numbered 1 is 1.4ns; taking N equals 2 as an example, the zeroth test clock signal delay D02 of the chip numbered 2 is 0.5ns, the input circuit delay information D12 is 0.5ns, the test path selection circuit delay information D42 is 0.2ns, and the output circuit delay information D32 is 0.4ns, that is, the second test path delay information C1 of the chip numbered 2 is 1.6ns, then the clock deviation value t of the memory numbered 2 is 0.2ns; if the obtained second main path delay information Z2 of the chip numbered 2 is 15ns, then the actual delay T2 of the second main path of the chip numbered 2 is 14.8ns.
[0097] Compared with the related art, the test card provides the memory with the zeroth test clock signal, the memory feeds back the main path delay information and the test path delay information, obtains the actual main path delay of the memory based on the main path delay information, records the difference between the Mth test path delay information and the first test path delay information as the clock deviation value, and obtains the actual main path delay based on the main path delay information and the clock deviation value, so as to avoid errors caused by different time delays when the clock signal is input into each chip being tested, thereby improving the accuracy of multi-chip parallel testing.
[0098] The above-mentioned various steps are divided only for the purpose of clear description. When implemented, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they include the same logical relationship, they are all within the protection scope of this patent. Adding insignificant modifications to the process or introducing insignificant designs that do not change the core design of the process are all within the protection scope of this patent.
[0099] Since the first embodiment and the second embodiment correspond to each other with the present embodiment, the present embodiment can be implemented in conjunction with the first embodiment and the second embodiment. The relevant technical details mentioned in the first embodiment and the second embodiment are still valid in the present embodiment, and the technical effects that can be achieved in the first embodiment and the second embodiment can also be achieved in the present embodiment. In order to reduce repetition, they are not repeated here. Accordingly, the relevant technical details mentioned in the present embodiment can also be applied in the first embodiment and the second embodiment.
[0100] Those skilled in the art will appreciate that the above embodiments are specific embodiments for implementing the present invention, and that in actual applications, various changes may be made in form and detail without departing from the spirit and scope of the present invention.
Claims
1. A memory testing system, characterized in that: include: A plurality of memories, the memories are numbered from 1 to N in sequence, where N is an integer greater than or equal to 2; A test card outputs address information, command information, a zeroth test clock signal, and chip selection information to the memories numbered 1 to N, and receives data information from the memories numbered 1 to N; Wherein, the memory comprises: An input circuit, adapted to receive an external clock signal and output a first test clock signal; a test path selection circuit, connected to the input circuit, adapted to output a second test clock signal according to the read clock command; an output circuit, connected to the test path selection circuit, adapted to convert the second test clock signal into a third test clock signal and output it to the outside of the memory; The data information includes main path delay information and test path delay information; the main path delay information includes the input circuit delay information, the time for reading and writing operations on the storage block, and the output circuit delay information; the test path delay information includes the input circuit delay information, the test path selection circuit delay information, and the output circuit delay information; the input circuit delay information represents the delay between the first test clock signal and the external clock signal; the test path selection circuit delay information represents the delay between the second test clock signal and the first test clock signal; the input circuit delay information represents the delay between the first test clock signal and the external clock signal; the output circuit delay information represents the delay between the third test clock signal and the second test clock signal.
2. The memory test system according to claim 1, characterized in that: The input circuit also outputs a first normal clock signal having the same frequency and phase as the first test clock signal, and the first test clock signal having the same frequency as the external clock signal.
3. The memory test system according to claim 1, characterized in that: The test path selection circuit comprises an AND gate structure, wherein two input terminals of the AND gate structure are respectively used to receive the read clock command and the first test clock signal; When the read clock command is low, the second test clock signal output by the test path selection circuit is at a low level; when the read clock command is high, the second test clock signal output by the test path selection circuit has the same frequency as the first test clock signal.
4. The memory test system according to claim 1, characterized in that: The memory further includes a test mode module that outputs the read clock command.
5. The memory test system according to claim 2, characterized in that: The memory further includes a storage block, and the first normal clock signal is a clock source suitable for performing read and write operations on the storage block.
6. The memory test system according to claim 1, characterized in that: The test card has N chip selection output terminals for outputting the chip selection information and N data receiving terminals for receiving the data information, and is connected to the memories numbered 1 to N in a one-to-one correspondence.
7. The memory test system according to claim 6, characterized in that: The memories numbered 1 to N share the address information, the command information and the zeroth test clock signal output by the test card.
8. The memory test system according to claim 7, characterized in that: The zeroth test clock signal of the test card is sent to the input circuit of the memory, and the third test clock signal of the memory is sent to the data receiving end corresponding to the test card.
9. A memory testing method, characterized in that: include: The test card outputs address information, command information, a zeroth test clock signal, and chip selection information to memories numbered 1 to N in sequence, and receives data information from the memories numbered 1 to N, where N is an integer greater than or equal to 2; The data information output by each memory includes main path delay information and test path delay information, the main path delay information received by the test card from the memory numbered 1 to N is sequentially numbered as the first main path delay information to the Nth main path delay information, and the test path delay information received by the test card from the memory numbered 1 to N is sequentially numbered as the first test path delay information to the Nth test path delay information; Defining the first main path actual delay to the Nth main path actual delay in sequence, corresponding to the main path actual delays of the memories numbered 1 to N; The actual delay of the first main path is equal to the first main path delay information. The difference between the Mth test path delay information and the first test path delay information is equal to the clock deviation value. The actual delay of the Mth main path is equal to the Mth main path delay information minus the clock deviation value, and M is an integer greater than 1 and less than or equal to N.
10. The memory testing method according to claim 9, characterized in that: The memory comprises: An input circuit receives the zeroth test clock signal and outputs a first test clock signal and a first normal clock signal, wherein a delay of the first test clock signal relative to the zeroth test clock signal is input circuit delay information; a test path selection circuit connected to the input circuit and adapted to output a second test clock signal according to the read clock command, wherein a delay of the second test clock signal relative to the first test clock signal is test path selection circuit delay information; an output circuit, connected to the test path selection circuit, adapted to convert the second test clock signal into a third test clock signal and output it to the test card, wherein a delay of the third test clock signal relative to the second test clock signal is output circuit delay information; The test path delay information includes the input circuit delay information, the test path selection circuit delay information and the output circuit delay information.
11. The memory testing method according to claim 10, characterized in that: The memory also includes a storage block, and the first normal clock signal is suitable as a clock source for performing read and write operations on the storage block; the main path delay information includes the input circuit delay information, the time for performing read and write operations on the storage block, and the output circuit delay information.
12. The memory testing method according to claim 11, characterized in that: The memory further comprises a test mode module, wherein the test mode module receives the command information and outputs the read clock command.
