Chip testing method and system, terminal equipment and storage medium

By optimizing the DFT and functional testing process in chip testing, using the interfaces of the main control chip and the chip under test for data comparison and real-time monitoring, the problem of low testing efficiency of traditional chips is solved, and efficient and accurate output of test results is achieved.

CN119001391APending Publication Date: 2024-11-22SHENZHEN STATE MICROELECTRONICS CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410762015.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

In traditional chip testing, DFT testing and functional testing are independent of each other, resulting in high difficulty, long cycle and low efficiency.

Method used

Design a chip test method, enter DFT or functional test mode through the main control chip, use the original DFT test data to generate target test data, run the test program, input and output data through the test interface of the tested chip, and compare the actual measured data and predicted data. To obtain test results, monitor current and voltage in real time, optimize test process and data processing.

Benefits of technology

It effectively improves the efficiency of chip testing, simplifies the test process, reduces the data storage space requirements, and realizes the parallelization of functional testing and DFT testing on the same test board, improving the accuracy and reliability of test results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119001391A_ABST
    Figure CN119001391A_ABST
Patent Text Reader

Abstract

The invention is suitable for the technical field of chip testing, and provides a chip testing method and system, terminal equipment and a storage medium, the method is applied to a testing board, the testing board comprises a main control chip and a tested chip, and the method comprises the steps that if the main control chip enters a DFT testing mode, DFT target testing data is obtained according to DFT original testing data; running the DFT test program, and inputting DFT target test data to the tested chip through the DFT test input interface of the tested chip; obtaining DFT actual measurement data of the tested chip through a DFT test output interface of the tested chip; and finally, according to a comparison result of the DFT actual measurement data and the DFT prediction data, obtaining a DFT test result of the tested chip and outputting the DFT test result. According to the embodiment of the invention, the test efficiency of the whole chip test can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of chip testing technology, and in particular, relates to a chip testing method, system, terminal device and storage medium. Background Art

[0002] In order to ensure the quality and reliability of the chip, reliability design for test (DFT) test and functional test are often performed during the chip production test. Traditional DFT test and functional test are independent of each other in the design process. Due to the limited storage depth of the test machine and other issues, the DFT test is difficult and the test cycle is too long, resulting in low test efficiency of the entire chip test. Summary of the invention

[0003] In view of this, the embodiments of the present application provide a chip testing method, system, terminal device and storage medium to solve the problem of low chip testing efficiency in the prior art.

[0004] A first aspect of an embodiment of the present application provides a chip testing method, which is applied to a test board, wherein the test board includes a main control chip and a chip under test, and the chip testing method includes:

[0005] If the main control chip enters the DFT test mode, DFT target test data is obtained according to the DFT original test data;

[0006] Running a DFT test program, and inputting the DFT target test data into the chip under test through the DFT test input interface of the chip under test;

[0007] Obtaining DFT measured data of the chip under test through the DFT test output interface of the chip under test;

[0008] According to the comparison result between the DFT measured data and the DFT predicted data, the DFT test result of the chip under test is obtained and output.

[0009] A second aspect of an embodiment of the present application provides a chip testing system, the chip testing system comprising a testing board, a host computer, and a power module, wherein the testing board is configured with a main control chip, a chip under test, a power supply monitoring module, a communication module, and a storage module;

[0010] The power supply module is connected to the test board and is used to provide power to the test board;

[0011] The host computer is connected to the main control chip through the communication module on the test board, and is used to send a DFT test instruction or a functional test instruction to the main control chip, and output a DFT test result or a functional test result after the test is completed;

[0012] The storage module is used to store DFT original test data, functional test data, DFT test program and functional test program;

[0013] The power supply monitoring module is used to monitor the DFT measured current and / or DFT measured voltage of the chip under test in real time, and to monitor the functional measured current and / or functional measured voltage of the chip under test in real time.

[0014] The third aspect of an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the chip testing method described in the first aspect of the embodiment of the present application are implemented.

[0015] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the chip testing method as described in the first aspect of the embodiment of the present application are implemented.

[0016] The chip testing method provided in the first aspect of the embodiment of the present application is applied to a test board, which includes a main control chip and a chip under test. If the main control chip enters the DFT test mode, DFT target test data is obtained according to the DFT original test data; the DFT test program is run, and the DFT target test data is input to the chip under test through the DFT test input interface of the chip under test; the DFT measured data of the chip under test is obtained through the DFT test output interface of the chip under test; finally, the DFT test result of the chip under test is obtained and output according to the comparison result of the DFT measured data and the DFT predicted data. In this way, the test efficiency of the entire chip test can be effectively improved.

[0017] It can be understood that the beneficial effects of the second to fourth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0019] Figure 1 It is a structural schematic diagram of a test board provided in an embodiment of the present application;

[0020] Figure 2This is a schematic diagram of the first process of the chip testing method provided in the embodiment of the present application;

[0021] Figure 3 This is a schematic diagram of DFT original test data provided by an embodiment of the present application;

[0022] Figure 4 This is a second flow chart of the chip testing method provided in the embodiment of the present application;

[0023] Figure 5 This is a third flow chart of the chip testing method provided in the embodiment of the present application;

[0024] Figure 6 This is a schematic diagram of a DFT test result provided in an embodiment of the present application;

[0025] Figure 7 This is a fourth flow chart of the chip testing method provided in the embodiment of the present application;

[0026] Figure 8 This is a schematic diagram of the first structure of the chip testing system provided in the embodiment of the present application;

[0027] Fig. 9 is a second structural schematic diagram of a chip testing system provided in an embodiment of the present application;

[0028] Fig.10 It is a schematic diagram of the structure of the terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0029] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0030] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0031] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0032] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways. "Multiple" means "two" or "more than two".

[0033] The embodiment of the present application provides a chip testing method, which is aimed at DFT testing and functional testing in the chip production test process. If the main control chip enters the DFT test mode, DFT target test data is obtained according to the DFT original test data; the DFT test program is run, and the DFT target test data is input into the chip under test through the DFT test input interface of the chip under test; the DFT measured data of the chip under test is obtained through the DFT test output interface of the chip under test; the DFT test result of the chip under test is obtained and output according to the comparison result of the DFT measured data and the DFT predicted data; if the main control chip enters the functional test mode, the functional test program is run, and the functional test data is input into the chip under test through the functional test input interface of the chip under test; the functional measured data of the chip under test is obtained through the functional test output interface of the chip under test; the functional test result of the chip under test is obtained and output according to the comparison result of the functional measured data and the functional predicted data; the test efficiency of the entire chip test can be effectively improved.

[0034] Embodiment 1

[0035] like Figure 1 As shown, the test board 1 provided in the embodiment of the present application includes a main control chip 11, a chip under test 12 and a power supply monitoring module 13;

[0036] Among them, the main control chip 11 can specifically be a ZYNQ main control chip (including a programmable logic (PL) part, with parallel processing capabilities, and a general purpose input / output interface (GPIO) of more than 200; a processing system (PS) part, including a dual-core or more ARM Cortex-A series processor, and a 64-bit general GPIO, which can perform high-speed program operations and external interactive processing), or other types of main control chips that can be used to test the functions of the chip under test, which is not limited here.

[0037] The main control chip 11 and the chip under test 12 are interconnected through a first bus 17 and a second bus 18. The first bus 17 is used for data interaction between the main control chip 11 and the chip under test 12 in the DFT test mode, and the second bus 18 is used for data interaction between the main control chip 11 and the chip under test 12 in the functional test mode.

[0038] The power supply monitoring module 13 is connected to the main control chip 11 and the chip under test 12 respectively, and is used to monitor the DFT measured current and / or DFT measured voltage of the chip under test 12 in real time in the DFT test mode; and to monitor the functional measured current and / or functional measured voltage of the chip under test 12 in real time in the functional test mode.

[0039] based on Figure 1 The test board shown in the figure, the embodiment of the present application provides a chip testing method, the specific process is as follows Figure 2 As shown, the following steps S1 to S4 are included:

[0040] Step S1: If the main control chip enters the DFT test mode, DFT target test data is obtained according to the DFT original test data, and then step S2 is entered.

[0041] In applications, the DFT original test data can be generated by the user or an automated test data (vector) generation tool according to the specifications of the chip under test, which is not limited here.

[0042] In applications, such as Figure 3 The X state (uncertain state) in the DFT raw test data shown is usually used to represent unknown or unconcerned signal states (for example, a test vector may only focus on a specific logic function in the circuit, and does not require the states of other parts of the circuit. In this case, the input or output states of these unconcerned parts will be marked as X state). The X state can be identified and processed in the machine (Automatic Test Equipment, ATE) (also called the host computer), but the main control chip does not directly process the X state, and Figure 3 The DFT raw test data shown is a text file, which takes up a lot of space. Therefore, processing X-state data is a difficult point in software design processing in DFT testing, and is also the key issue to be solved in this application. As described below, a specific processing flow of DFT raw test data is given.

[0043] like Figure 4 As shown, in one embodiment, step S1 specifically includes the following steps S31 to S34:

[0044] Step S31, obtain DFT original test data in text file format, and proceed to step S32.

[0045] In applications, such as Figure 1 The test board shown can also include an SD card ( Figure 1 Not given), used to store DFT original test data and auxiliary processing data of DFT original test data. The specific capacity of the SD card can be the data size that the SD card controller can process, such as 4-32GB. This is just an example and is not limited. The SD card controller is included in the main control chip. When obtaining the DFT original test data, the DFT original test data stored in the SD card can be directly read through the SD card controller in the main control chip.

[0046] In the application, the DFT raw test data can be defined as a text file in a.vcd format, which contains input vector data (signal) and output vector data (signal).

[0047] Step S32: Delete the input vector data in the DFT original test data through a deletion operation to obtain first operation data, and then proceed to step S33.

[0048] In the application, the input vector data in the DFT original test data is deleted through the deletion operation. When the first operation data is obtained, the input vector data can be manually deleted. The obtained first operation data can be a file in the a1.txt format.

[0049] Step S33: Replace "1" and "X" in the first operation data with "0" and "1" through a first replacement operation to obtain second operation data, and proceed to step S34.

[0050] In the application, through the first replacement operation, the "1" and "X" in the first operation data are replaced with "0" and "1". When obtaining the second operation data, the "1" and "X" in the first operation data can be manually replaced with "0" and "1" to obtain a file in the b1.txt format.

[0051] Step S34: Convert the "0" and "1" in the text file format in the second operation data into "0" and "1" in the binary format through a first conversion operation to obtain first target test data.

[0052] In the application, since the file in b1.txt format is a text file, the original program processing is complex. Therefore, it is necessary to improve the program to convert the text file data in b1.txt format into a binary format file in S.bin, i.e., the first target test data, and store the converted binary format file in the SD card for subsequent calls.

[0053] In one embodiment, Figure 5As shown, after step S31, the following steps S35 to S36 are also included:

[0054] Step S35: Replace "X" in the DFT original test data with "0" through a second replacement operation to obtain third operation data, and proceed to step S36.

[0055] In the application, after obtaining the DFT original test data in the text file format in step S31, the second replacement operation can be directly performed to manually replace "X" in the DFT original test data with "0" to obtain the third operation data in the a2.txt format.

[0056] Step S36: Convert the "0" and "1" in the text file format in the third operation data into "0" and "1" in the binary format through a second conversion operation to obtain second target test data.

[0057] In the application, since the file in a2.txt format is a text file, the original program processing is complex. Therefore, it is necessary to improve the program to convert the text file data in a2.txt format into a binary file in M.bin format, i.e., the second target test data, and store the converted binary file in the SD card for subsequent calls.

[0058] In the application, after the obtained S.bin and M.bin format files are copied to the SD card, after the DFT test program is run, the program will read and perform DFT tests in sequence according to the pre-agreed rules.

[0059] In an application, if there are multiple DFT original test data, the above steps S31 to S36 are performed multiple times to obtain multiple groups of files in S.bin and M.bin formats for subsequent DFT tests.

[0060] Step S2, run the DFT test program, input the DFT target test data into the chip under test through the DFT test input interface of the chip under test, and enter step S3.

[0061] In applications, such as Figure 1 The test board shown can also include FLASH and DDR ( Figure 1 Not shown), where FLASH is used to store DFT test programs and functional test programs, and DDR is used to run test programs (including but not limited to running DFT test programs and functional test programs).

[0062] In the application, the main control chip loads the DFT test program stored in FLASH into DDR for execution. DDR memory can provide faster reading and writing speeds and can support the processor to access data at high speed, thereby greatly improving the overall operating efficiency of the system.

[0063] In the application, the DFT test input interface includes but is not limited to a JTAG (Joint Test Action Group) interface or a dedicated test input pin. The DFT target test data (including the first target test data and the second target test data) is input into the chip under test through the DFT test input interface, and the DFT target test data is applied to each test point of the chip under test to trigger different states of the internal logic to detect the correctness of the circuit.

[0064] In one embodiment, before step S3, the method further includes:

[0065] Monitoring the DFT measured current and / or DFT measured voltage of the chip under test in real time through a power supply monitoring module;

[0066] If the DFT measured current exceeds the DFT preset current threshold, and / or the DFT measured voltage exceeds the DFT preset voltage threshold, the current DFT test process is stopped.

[0067] In applications, the DFT preset current threshold and the DFT preset voltage threshold can be set according to actual needs and are not limited here.

[0068] In applications, such as Figure 1 The test board shown, wherein the power supply monitoring module is also used to always monitor whether the DFT measured current and / or DFT measured voltage of the chip under test exceeds the DFT preset current threshold and / or DFT preset voltage threshold after the test board is powered on, if the DFT test mode is entered, and once it is detected that the DFT measured current exceeds the DFT preset current threshold and / or the DFT measured voltage exceeds the DFT preset voltage threshold, the current DFT test process is immediately stopped. Through the real-time current and / or voltage monitoring mechanism, the chip under test can be protected, and faults in the DFT test can be discovered and eliminated in a timely manner, thereby ensuring the accuracy of the DFT test results.

[0069] Step S3: Obtain the DFT measured data of the chip under test through the DFT test output interface of the chip under test, and proceed to step S4.

[0070] In the application, the DFT test output interface includes but is not limited to a test access port (TAP) or a dedicated test output pin. After the DFT test is completed, the DFT measured data is returned through the DFT test output interface of the chip under test, so that the user can judge the DFT test result of the chip under test based on the DFT measured data.

[0071] Step S4: According to the comparison result between the DFT measured data and the DFT predicted data, the DFT test result of the chip under test is obtained and output.

[0072] In the application, DFT prediction data can be obtained when acquiring DFT original test data, and is used to compare with DFT measured data. The DFT test results of the chip under test are judged based on the comparison results and output to the host computer.

[0073] In the application, if the DFT measured data and the DFT predicted data are consistent, it indicates that the test result of the chip under test is a success, and the test result does not need to be output to save test time; if the DFT measured data and the DFT predicted data are inconsistent, it indicates that the test result of the chip under test is a failure, and the test result needs to be output for user inspection.

[0074] In applications, such as Figure 6 The DFT test results shown in the figure are as follows: ① is the DFT target test data (vector) input to the chip under test; ② is the DFT measured data (vector) output by the chip under test; ③ is the result of the current row data (vector): "0" indicates that the current row has an error; ④ is the DFT predicted data (vector) of the chip under test; ⑤ is the current test row number, displayed in decimal or hexadecimal. It can be seen from the test results that the current DFT test results are incorrect, and the test results need to be output and printed so that the user can improve the test process or redesign the test program based on the test results. If the DFT test results are correct, the print data information will not be output to save test time.

[0075] like Figure 7 The chip testing method provided in the embodiment of the present application further includes the following steps S5 to S7:

[0076] Step S5: If the main control chip enters the functional test mode, a functional test program is run, and functional test data is input to the chip under test through the functional test input interface of the chip under test, and then the process proceeds to step S6.

[0077] In applications, functional test data may be generated by a user or an automated test data (vector) generation tool according to the specifications of the chip under test, which is not limited here.

[0078] In the application, the functional test program is stored in FLASH and can be run in DDR memory. After the main control chip enters the functional test mode, the main control chip loads the functional test program stored in FLASH into DDR for execution. DDR memory can provide faster read and write speeds, and can support the processor to access data at high speed, thereby greatly improving the overall operating efficiency of the system.

[0079] In applications, the functional test input interface includes but is not limited to a digital input interface, an analog input interface, a parallel data interface (such as SPI (Serial Peripheral Interface), I2C (Inter-Integrated Circuit), etc.), a JTAG (Joint Test Action Group) interface, and other dedicated test input pins, etc. The functional test data is input into the chip under test through the functional test input interface to trigger the corresponding operation of the internal logic of the chip under test.

[0080] In one embodiment, before step S6, the method further includes:

[0081] The functional measured current and / or functional measured voltage of the chip under test are monitored in real time through a power supply monitoring module;

[0082] If the function measured current exceeds the function preset current threshold, and / or the function measured voltage exceeds the function preset voltage threshold, the current function test process is stopped.

[0083] In applications, such as Figure 1 The test board shown, wherein the power supply monitoring module is also used to always monitor whether the functional measured current and / or functional measured voltage of the chip under test exceeds the functional preset current threshold and / or functional preset voltage threshold after the test board is powered on, if the functional test mode is entered, and once it is detected that the functional measured current exceeds the functional preset current threshold and / or the functional measured voltage exceeds the functional preset voltage threshold, the current functional test process is immediately stopped. Through the real-time current and / or voltage monitoring mechanism, the chip under test can be protected, and faults in the functional test can be discovered and eliminated in a timely manner, thereby ensuring the accuracy of the functional test results.

[0084] Step S6, obtaining the functional measured data of the chip under test through the functional test output interface of the chip under test, and proceeding to step S7.

[0085] In the application, the functional test output interface includes but is not limited to the digital output interface, analog output interface, parallel / serial data interface and other dedicated test output pins, etc. After the functional test is completed, the functional test output interface of the chip under test returns the functional test data, so that the user can judge the functional test result of the chip under test according to the functional test data.

[0086] Step S7: According to the comparison result between the function measured data and the function predicted data, the function test result of the chip under test is obtained and outputted.

[0087] In the application, the function prediction data can be obtained when acquiring the function test data, and is used to compare with the function measured data. The function test result of the chip under test is judged according to the comparison result and output to the host computer.

[0088] In the application, if the actual function measured data is consistent with the function predicted data, it indicates that the test result of the chip under test is a success, and the test result does not need to be output to save test time; if the actual function measured data is inconsistent with the function predicted data, it indicates that the test result of the chip under test is a failure, and the test result needs to be output for user inspection.

[0089] In one embodiment, the chip testing method provided in the embodiment of the present application further includes:

[0090] If the chip under test is first subjected to a DFT test, a start address of the DFT test is inserted into the DFT test program, so that the chip under test enters a functional test mode according to the start address after the DFT test is completed;

[0091] If the chip under test is first subjected to a functional test, the startup address of the DFT test is inserted into the functional test program, so that the chip under test enters a DFT test mode according to the startup address after the functional test is completed.

[0092] In application, the DFT test and functional test included in the chip testing method provided by the embodiment of the present application have no order distinction, and only the startup address of the second test needs to be inserted into the test program of the previous test. The main control chip can automatically load the test program according to the startup address.

[0093] In summary, the chip testing method provided by the embodiment of the present application, in addition to effectively improving the test efficiency of the entire chip test, also has the following advantages: on the same test board, functional testing and DFT testing can be performed separately (the test order is not limited); not only is a special algorithm designed in the test program for X-state processing to solve the problem of FPGA not recognizing the X-state, but an automatic data conversion program is also designed to convert the DFT original test data .vcd format text file into a .bin format binary file, and the vector file is reduced by 8 times, effectively saving data storage space.

[0094] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0095] Embodiment 2

[0096] The embodiment of the present application also provides a chip testing system 100 for executing the method steps in the above chip testing method embodiment.

[0097] like Figure 8 As shown, the chip testing system 100 provided in the embodiment of the present application includes:

[0098] A test board 1, a host computer 2 and a power module 3, wherein the test board is equipped with a main control chip 11, a chip under test 12, a power supply monitoring module 13, a communication module 14 and a storage module 15;

[0099] The power supply module 3 is connected to the test board 1 and is used to provide power to the test board 1;

[0100] The host computer 2 is connected to the main control chip 11 through the communication module 14 on the test board 1, and is used to send a DFT test instruction or a functional test instruction to the main control chip 11, and output a DFT test result or a functional test result after the test is completed;

[0101] The storage module 15 is used to store DFT original test data, functional test data, DFT test program and functional test program;

[0102] The power supply monitoring module 13 is used to monitor the DFT measured current and / or DFT measured voltage of the chip under test 12 in real time, and monitor the functional measured current and / or functional measured voltage of the chip under test in real time.

[0103] In application, the main control chip 11 and the chip under test 12 are interconnected through a first bus 17 and a second bus 18. The first bus 17 is used for data interaction between the main control chip 11 and the chip under test 12 in the DFT test mode, and the second bus 18 is used for data interaction between the main control chip 11 and the chip under test 12 in the functional test mode.

[0104] In the application, the host computer can be a personal computer (PC), a mobile phone, a tablet computer, a wearable device, an augmented reality (AR) / virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), etc. These are just examples and are not limited to these devices.

[0105] In applications, the main control chip 11 may specifically be a ZYNQ main control chip, or may be other types of chips, which are not limited here.

[0106] In one embodiment, the main control chip is further used for:

[0107] Get the DFT raw test data in text file format;

[0108] By means of a deletion operation, the input vector data in the DFT original test data is deleted to obtain first operation data;

[0109] By a first replacement operation, "1" and "X" in the first operation data are replaced with "0" and "1" to obtain second operation data;

[0110] Through the first conversion operation, the "0" and "1" in the text file format in the second operation data are converted into "0" and "1" in the binary format to obtain the first target test data.

[0111] In one embodiment, the main control chip is further used for:

[0112] By performing a second replacement operation, “X” in the DFT original test data is replaced with “0” to obtain third operation data;

[0113] Through the second conversion operation, the "0" and "1" in the text file format in the third operation data are converted into "0" and "1" in the binary format to obtain the second target test data.

[0114] In one embodiment, the main control chip is further used for:

[0115] If the chip under test is first subjected to a DFT test, inserting the startup address of the functional test into the DFT test program, so that the chip under test enters a functional test mode according to the startup address after the DFT test is completed;

[0116] If the chip under test is first subjected to a functional test, the startup address of the DFT test is inserted into the functional test program, so that the chip under test enters a DFT test mode according to the startup address after the functional test is completed.

[0117] In one embodiment, the chip testing system 100 provided in the embodiment of the present application can also be as follows: Fig. 9 As shown, the communication module 14 may be a UART (Universal Asynchronous Receiver / Transmitter), and the storage module 15 may specifically include an SD card storage unit 51, a FLASH storage unit 52, and a DDR memory unit 53. The JTAG interface 16 is used to burn a program into the main control chip or FLASH, or to perform online debugging, etc.

[0118] In the application, the information of the test process including the test results (abnormal results and normal results) and other important information can be output to the host computer through UART for interaction with the user.

[0119] In applications, the SD card storage unit 51 can be specifically used to store DFT original test data, DFT target test data, functional test data, and other auxiliary processing data generated during the chip test process, which is not limited here.

[0120] In applications, the FLASH storage unit 52 can be specifically used to store DFT test programs, functional test programs, and other test programs, which are not limited here.

[0121] In applications, the DDR memory unit 53 can be specifically used to run a DFT test program, a functional test program, and other test programs, which are not limited here.

[0122] Based on the system-on-chip test system provided above, the functional test hardware and the DFT test hardware are designed on the same test board, and the functional test and the DFT test can be performed separately, reducing the design time, quantity and cost of the test board (it should be noted that in the DFT design phase, all DFT pin wirings should be processed with equal length to avoid timing problems in the subsequent DFT program design phase); in the embodiment of the present application, an SD card is used for test data (vector) storage, up to 32GB, and the test vector depth can reach more than 10 times that of the machine (host computer); in the 28 million lines of test data (vectors) of a certain platform, it is estimated that the entire test process is within 5 minutes; based on the current test system, the DFT test ports can reach up to 64, and the introduction of logic design on this platform can further improve the test efficiency and the number of test ports.

[0123] In application, each unit in the above device may be a software program module, or may be implemented by different logic circuits integrated in a processor or independent physical components connected to a processor, or may be implemented by multiple distributed processors.

[0124] Embodiment 3

[0125] like Fig.10 As shown, the embodiment of the present application further provides a terminal device 200, including: at least one processor 201 ( Fig.10 Only one processor is shown in the figure), memory 202, and a computer program 203 stored in the memory 202 and executable on at least one processor 201. When the processor 201 executes the computer program 203, the steps in the above-mentioned method embodiments are implemented.

[0126] In the application, the terminal device may include, but is not limited to, a processor, a memory, Fig.10 It is only an example of a terminal device and does not constitute a limitation on the terminal device. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components, such as human-computer interaction devices, input and output devices, network access devices, etc. The network access device may include a communication module for the terminal device to communicate with the user terminal.

[0127] In applications, the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. For example, the processor may be a timing controller (TCON). A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

[0128] In applications, the memory may be an internal storage unit of a terminal device in some embodiments, for example, a hard disk or memory of the terminal device. The memory may also be an external storage device of the terminal device in other embodiments, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc., equipped on the terminal device. The memory may also include both an internal storage unit of the terminal device and an external storage device. The memory is used to store operating systems, applications, boot loaders, data, and other programs, such as program codes of computer programs. The memory may also be used to temporarily store data that has been output or is to be output.

[0129] In the application, the communication module can be set as any device that can directly or indirectly perform long-distance wired or wireless communication with the user terminal according to actual needs. For example, the communication module can provide communication solutions including wireless local area networks (WLAN) (such as Wi-Fi networks), Bluetooth, Zigbee, mobile communication networks, global navigation satellite systems (GNSS), frequency modulation (FM), near field communication technology (NFC), infrared technology (IR), etc., which are applied to network devices. The communication module may include an antenna, and the antenna may have only one array element or an antenna array including multiple array elements. The communication module can receive electromagnetic waves through the antenna, frequency modulate and filter the electromagnetic wave signals, and send the processed signals to the processor. The communication module can also receive the signal to be sent from the processor, frequency modulate and amplify it, and convert it into electromagnetic waves for radiation through the antenna.

[0130] It should be noted that the information interaction, execution process, etc. between the above-mentioned systems / modules are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0131] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example for illustration. In actual applications, the above-mentioned function allocation can be completed by different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The functional modules in the embodiment can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software functional modules. In addition, the specific names of the functional modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0132] The embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0133] An embodiment of the present application provides a computer program product. When the computer program product runs on a terminal device, the terminal device can implement the steps in the above-mentioned various method embodiments.

[0134] If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include at least: any entity or device capable of carrying the computer program code to the terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a disk or an optical disk.

[0135] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0136] Those of ordinary skill in the art will appreciate that the modules and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0137] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0138] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0139] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A chip testing method, It is characterized in that Applied to a test board, the test board includes a main control chip and a chip under test, and the chip testing method includes: If the main control chip enters the DFT test mode, DFT target test data is obtained according to the DFT original test data; Running a DFT test program, and inputting the DFT target test data into the chip under test through the DFT test input interface of the chip under test; Obtaining DFT measured data of the chip under test through the DFT test output interface of the chip under test; According to the comparison result between the DFT measured data and the DFT predicted data, the DFT test result of the chip under test is obtained and output.

2. The chip testing method according to claim 1, It is characterized in that The test board also includes a power supply monitoring module; Before obtaining the DFT measured data of the chip under test through the DFT test output interface of the chip under test, the method includes: Monitoring the DFT measured current and / or DFT measured voltage of the chip under test in real time through a power supply monitoring module; If the DFT measured current exceeds the DFT preset current threshold, and / or the DFT measured voltage exceeds the DFT preset voltage threshold, the current DFT test process is stopped.

3. The chip testing method according to claim 2, It is characterized in that The step of obtaining DFT target test data according to the DFT original test data includes: Get the DFT raw test data in text file format; By means of a deletion operation, the input vector data in the DFT original test data is deleted to obtain first operation data; By a first replacement operation, "1" and "X" in the first operation data are replaced with "0" and "1" to obtain second operation data; Through the first conversion operation, the "0" and "1" in the text file format in the second operation data are converted into "0" and "1" in the binary format to obtain the first target test data.

4. The chip testing method according to claim 3, It is characterized in that After obtaining the DFT original test data in text file format, the method further includes: By performing a second replacement operation, "X" in the DFT original test data is replaced with "0" to obtain third operation data; Through the second conversion operation, the "0" and "1" in the text file format in the third operation data are converted into "0" and "1" in the binary format to obtain the second target test data.

5. The chip testing method according to any one of claims 1 to 4, It is characterized in that The chip testing method further includes: If the main control chip enters the functional test mode, a functional test program is run to input functional test data into the chip under test through the functional test input interface of the chip under test; Acquiring functional measured data of the chip under test through a functional test output interface of the chip under test; According to the comparison result between the functional measured data and the functional predicted data, the functional test result of the chip under test is obtained and output.

6. The chip testing method according to claim 5, It is characterized in that Before obtaining the functional measured data of the chip under test through the functional test output interface of the chip under test, the method includes: The functional measured current and / or functional measured voltage of the chip under test are monitored in real time through a power supply monitoring module; If the function measured current exceeds the function preset current threshold, and / or the function measured voltage exceeds the function preset voltage threshold, the current function test process is stopped.

7. The chip testing method according to claim 6, It is characterized in that include: If the chip under test is first subjected to a DFT test, inserting the startup address of the functional test into the DFT test program, so that the chip under test enters a functional test mode according to the startup address after the DFT test is completed; If the chip under test is first subjected to a functional test, the startup address of the DFT test is inserted into the functional test program, so that the chip under test enters a DFT test mode according to the startup address after the functional test is completed.

8. A chip testing system, It is characterized in that The chip testing system comprises a test board, a host computer, and a power module. The test board is equipped with a main control chip, a chip under test, a power supply monitoring module, a communication module, and a storage module; The power supply module is connected to the test board and is used to provide power to the test board; The host computer is connected to the main control chip through the communication module on the test board, and is used to send a DFT test instruction or a functional test instruction to the main control chip, and output a DFT test result or a functional test result after the test is completed; The storage module is used to store DFT original test data, functional test data, DFT test program and functional test program; The power supply monitoring module is used to monitor the DFT measured current and / or DFT measured voltage of the chip under test in real time, and to monitor the functional measured current and / or functional measured voltage of the chip under test in real time.

9. A terminal device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the chip testing method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium storing a computer program. It is characterized in that When the computer program is executed by a processor, the steps of the chip testing method according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Chip testability design method, electronic equipment and computer readable storage medium

    CN120652270A

  • Chip testability design method, electronic device and computer readable storage medium

    CN120652270B