A chip system-level testing system and method
Through a chip system-level test system that simulates real terminal usage scenarios, the missed detection problem in automated testing is solved, the reliability and fault coverage of testing is improved, the rapid and accurate fault screening and classification are achieved, and the testing efficiency and product are improved. quality.
Patent Information
- Application Number
- CN202410954787.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-17
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-07-17
AI Technical Summary
Existing automated tests (ATEs) have a large number of missed detections when detecting chip failures, resulting in system-level testing (SLTs) being costly and inefficient when they find the remaining 0.5% faults, making it difficult to improve the coverage of test failures early in development.
Adopt chip system-level testing system to perform functional testing of chips to be tested by simulating the use scenarios of real terminals, and use control modules, test modules and modules to be tested to perform chip pickup, in-place detection, and program through serial communication interfaces and I/O interfaces. Firm and test, generate test results and visualize them to improve test efficiency and accuracy.
It improves the reliability and fault coverage of chip testing, reduces subsequent rework and repairs, meets the testing needs of different types of chips, realizes fast and accurate fault screening and classification, and improves testing efficiency and product quality.
Smart Images

Figure CN118501669B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of chip testing, and in particular to a chip system-level testing system and method. Background Art
[0002] As technology develops, a device may contain billions of transistors. As the process node shrinks, even if the test fault coverage of automated testing (ATE) reaches 99.5%, a large number of transistors will be missed. System-level testing (SLT) can detect faults in the remaining 0.5% of undetected transistors.
[0003] System-level testing (SLT) refers to testing the chip under test (DUT) in a simulated terminal usage scenario. Testing is completed purely through running and use, rather than structural testing in automated testing (ATE). There is no need to create test vectors like traditional automated testing (ATE). Compared with automated testing (ATE), it is more reliable and can improve chip development efficiency. Summary of the invention
[0004] The present application provides a chip system-level testing system and method, which performs functional testing on the chip to be tested by simulating real terminal usage scenarios to ensure the normal operation of various functions of the chip. Compared with traditional automated testing, it has higher reliability and can improve the test fault coverage in the early stage of test development, more comprehensively detect various functions of the chip, further improve test efficiency and product quality, and reduce rework and repair in subsequent links.
[0005] To achieve one, part, or all of the above purposes or other purposes, the present invention provides a chip system-level testing system and method.
[0006] A chip system-level testing method, comprising:
[0007] Step S1: The control module is connected to the robot server through the serial communication interface to control the robot to complete the picking of the chip under test and place the chip under test into the designated tray;
[0008] Step S2: After the chip under test is placed, the test module controls the chip under test to power on and reads chip information to perform chip in-place detection;
[0009] Step S3: the test module infuses the test program into the chip under test and burns the program, and after burning is completed, outputs an excitation signal and a detection signal to test the chip under test;
[0010] Step S4: the test module records the test data and generates test result information and sends it to the control module;
[0011] Step S5: the control module receives the test result information and performs visualization processing on the test result information through the extended interface;
[0012] Step S6: After the test process is completed, the control module controls the robot arm to pick up the tested chip and place it in the corresponding discharge tray according to the test result information.
[0013] The specific process of chip in-place detection in step S2 is as follows:
[0014] After the chip under test is powered on, the FPGA chip controls the test program to be loaded into the DDR dynamic storage chip and outputs a detection analog JTAG signal to read the information of the chip under test; after the information of the chip under test is read, the FPGA chip outputs a low-level pulse signal to control the PROGRAM_B pin to be pulled low to complete the chip reset operation, and at the same time detects whether the INIT_B pin generates an interrupt signal. If an interrupt signal is generated, the chip under test is in place.
[0015] The specific process of detecting the simulated JTAG signal to read the information of the chip under test is as follows:
[0016] After the detection simulates the JTAG signal to send a specific command to the chip under test, the chip under test replies with a chip ID;
[0017] The relevant parameter information of the chip under test is obtained by reading the chip ID and comparing it with the UI input information. If all the information is the same, the information of the chip under test is read successfully; if the comparison is NULL, it means that the process is abnormal, and the information of the chip under test fails to be read.
[0018] In step S3, before program burning, it is necessary to pull up the PROGRAM_B and INIT_B pins to complete the FPGA chip configuration initialization.
[0019] The testing process in step S3 is specifically as follows:
[0020] The test program includes a test code, and the test program is cached in the DDR dynamic memory chip of the test module;
[0021] The test module burns different test codes into the chip under test according to different functions, and inputs different excitation signals to the corresponding pins of the chip under test;
[0022] The test module detects whether the output signal of the pin corresponding to the chip under test is normal, and sends the test result information to the control module;
[0023] The test module can be expanded into multiple copies via an Ethernet interface to form an expandable test platform.
[0024] A chip system-level test system, using the above test method, comprises: a control module, a test module and a module to be tested;
[0025] The module to be tested is externally connected to a plurality of test interfaces, and the test interfaces correspond to different types of chips to be tested. After the chip to be tested is inserted into the corresponding test interface, the chip to be tested is connected to the test module via an I / O interface;
[0026] The control module controls the pickup and installation of the chip under test, and sends test start information to the test module;
[0027] The test module controls the chip under test to power on and perform chip in-place detection according to the test start information, identifies the test points of the chip under test and performs functional tests on the chip under test through a test program, and records test data to generate test result information and sends it to the control module;
[0028] The control module receives the test result information and performs visualization processing.
[0029] The control module includes a main control chip, and the main control chip uploads the test result information to a database;
[0030] The control module performs visualization processing on the test result information through an expansion interface.
[0031] The main control chip is composed of an ARM chip, a DDR dynamic memory chip, an EMMC static memory chip, a power management chip and a peripheral interface;
[0032] The DDR dynamic memory chip is connected to the ARM chip via a parallel interface and is wired using a Fly-by topology structure;
[0033] The EMMC static storage chip is connected to the ARM chip via a parallel interface and is used for storing the control module data;
[0034] The power management chip is connected to the ARM chip via a serial bus IIC to provide power for the control module.
[0035] The main control chip also includes a serial communication interface that supports peripheral expansion. The serial communication interface is used to establish a connection with a robotic arm server to control the robotic arm to complete the picking of the chip under test and place the chip under test in a designated tray.
[0036] The test module interface connects the control module and the module to be tested;
[0037] The test module includes an FPGA chip, a DDR dynamic memory chip, a Flash memory chip and a power management chip;
[0038] The FPGA chip is connected to the main control chip via an SPI interface to obtain a test program;
[0039] The FPGA chip is connected to the chip under test through an I / O interface, and outputs an excitation signal and a detection signal to test the chip under test;
[0040] The DDR dynamic memory chip is used for storing and loading the test program and caching the test result information;
[0041] The Flash storage chip is used to store the startup program of the FPGA chip;
[0042] The power management chip supplies power to the test module.
[0043] The module to be tested also includes a power management chip that provides an adjustable power supply;
[0044] The power control chip controls the power management chip to supply power to the module to be tested;
[0045] A current detection chip is connected between the power management chip and the electronic switch to detect the real-time current and transmit the detection result to the power control chip;
[0046] The FPGA chip is connected to the electronic switch via an I / O interface, the electronic switch is connected to the chip under test, and the FPGA chip controls the power on and off of the chip under test via the electronic switch.
[0047] Compared with the prior art, the beneficial effects of the present invention mainly include:
[0048] 1. The present application provides a chip system-level testing method, which simulates the performance of the chip under test through a test program. The test program tests the M4K, DSP and other internal resources of the chip under test by calling the internal IP core of the chip under test, such as reading and writing tests on the M4K, and performing a large number of AND or OR operations on the DSP. It can quickly detect internal faults of the chip and perform fast and accurate screening and classification. The present application provides a chip system-level testing method, which is more reliable than traditional automated testing, and can improve the test fault coverage in the early stage of test development, more comprehensively detect the various functions of the chip, further improve test efficiency and product quality, and reduce rework and repair in subsequent links.
[0049] 2. A chip system-level test system provided by the present application, wherein the module to be tested is connected to multiple test interfaces. After the chip to be tested is inserted into the corresponding test interface, the chip to be tested is connected to the test module through the I / O interface, the control module controls the pickup and installation of the chip to be tested, the test module controls the power-on of the chip to be tested to perform chip in-situ detection, identifies the test points of the chip to be tested and performs functional tests on the chip to be tested through the test program, records the test data to generate test result information and sends it to the control module, the control module receives the test result information and performs visual processing. The present application can meet the testing requirements of different types of chips. The user only needs to insert the chip to be tested into the corresponding test interface and start the test system. The system automatically identifies the test points of the chip to be tested, performs comprehensive and efficient testing on the chip, and the test results are automatically saved and a detailed report is provided to facilitate subsequent analysis and processing by the user.
[0050] In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the technical solutions in the specific embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0052] Figure 1 A schematic diagram of the structure of a chip system-level test system provided in an embodiment of the present application.
[0053] Figure 2 A schematic diagram of a partial structure of a module to be tested provided in an embodiment of the present application.
[0054] Figure 3 A communication protocol followed by the embodiments of the present application. DETAILED DESCRIPTION
[0055] The above and other technical contents, features and effects of the present invention will be clearly presented in the following detailed description of a preferred embodiment with reference to the drawings. The directional terms mentioned in the following embodiments, such as up, down, left, right, front or back, etc., are only referenced to the directions of the attached drawings. Therefore, the directional terms used are used to illustrate and not to limit the present invention.
[0056] The present application provides a chip system-level testing system and method, which performs functional testing on the chip to be tested by simulating real terminal usage scenarios to ensure the normal operation of various functions of the chip. Compared with traditional automated testing, it has higher reliability and can improve the test fault coverage in the early stage of test development, more comprehensively detect various functions of the chip, further improve test efficiency and product quality, and reduce rework and repair in subsequent links.
[0057] The following will describe the various embodiments of the present application in detail with reference to the accompanying drawings. However, it will be appreciated by those skilled in the art that in the various embodiments of the present application, many technical details are provided 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 solution claimed in the present application can be implemented.
[0058] Embodiment 1:
[0059] Embodiment 1 of the present application provides a chip system-level testing system, including: a control module, a testing module and a module to be tested.
[0060] like Figure 1 Shown is a schematic diagram of the structure of a chip system-level testing system provided in an embodiment of the present application.
[0061] like Figure 1 As shown, the module to be tested includes a chip under test (DUT), the chip under test (DUT) is connected to the test module through an I / O interface, the control module controls the picking and installation of the chip under test (DUT), sends a test start message to the test module, the test module controls the power-on of the chip under test to perform chip in-situ detection according to the test start message, performs a functional test on the chip under test through a test program, records the test data to generate test result information and sends it to the control module, the control module receives the test result information and performs visualization processing.
[0062] As a preferred embodiment of the present invention, in this embodiment, the test module records the test data and generates the test result information as a test log file (log file).
[0063] The control module includes a main control chip, which uploads the test result information to a database, and the control module visualizes the test result information through an expansion interface.
[0064] The main control chip uploads the test result information to the database including: the main control chip sends the test log file (log file) to the server via Ethernet for archiving;
[0065] The control module visualizes the test result information through the extended interface, including:
[0066] The main control chip is provided with an expansion interface, which cooperates with keyboard, mouse, U disk and other devices to visualize the test log file (log file), output the operation interface of the system-level test (SLT), and complete the local output of the test log file (log file) through the Android operation interface installed on it.
[0067] In addition, the main control chip is equipped with a serial communication interface that supports peripheral expansion. The main control chip establishes a connection with the robotic arm server through the serial communication interface. After the test process is completed, the main control chip controls the robotic arm to pick up the tested chip and place it in the corresponding output tray according to the test result information.
[0068] As a preferred embodiment of the present invention, the main control chip in this embodiment is the RK3399JD4-V2 core board, the expansion interface is the HDMI interface, and the serial communication interface is the RS232 and RS485 interfaces.
[0069] The main control chip RK3399JD4-V2 core board in the control module includes: RK3399 chip, two DDR3L chips, an EMMC static storage chip, a PMIC chip and a peripheral interface. The peripheral interface is connected to the bottom board DIMM slot through the gold finger interface for communication.
[0070] Among them, DDR3L is a double-rate synchronous dynamic random access memory. The RK3399 chip and two DDR3L chips are connected through a parallel interface, and the wiring adopts the fly-by form; the EMMC static storage chip is used as the system static storage and is connected to the RK3399 through a parallel port; PMIC is RK808, which is a power management chip that supplies power to RK3399, DDR3L, EMMC static storage chip and some peripheral devices. It is connected to the RK3399 chip through IIC and can be controlled by the main control after power-on.
[0071] like Figure 1 As shown, the peripheral interface RS485 converts the serial port into a data communication protocol signal that complies with the RS485 protocol through MAX3485, thereby realizing data communication between RK3399 and external devices;
[0072] The peripheral interface Ethernet phy chip is RTL8211FS, which communicates with RK3399 through the RGMII protocol, and sends the parallel signal of RK3399 to the external UTP through Ethernet phy to communicate with the outside world. The communication protocol complies with TCP / IP.
[0073] The peripheral interface USB can be connected to various enumeration devices such as external mouse, keyboard, U disk, barcode scanner, etc. The mouse and keyboard can be used to control the interactive interface of the system, enter the information of the chip under test (DUT), and view the test result information, etc. It is mainly used for information transmission of human-computer interaction to realize visual operation;
[0074] RS232 is a dedicated interface that uses the MAX3243 chip conversion protocol for communication with the robotic arm server. The data format complies with the communication protocol to enable the robotic arm to respond quickly to control commands, control the robotic arm to complete the picking of the chip under test, and place the chip under test in the designated tray.
[0075] like Figure 3 Shown is a communication protocol followed by an embodiment of the present application.
[0076] As a preferred embodiment of the present invention, the communication protocol in this embodiment is as follows:
[0077] like Figure 3 As shown in the figure, the RK3399 chip receives the instruction from the FPGA chip and returns 1, then sends a serial message to the robot arm; if it returns 2, the robot arm operation is not performed and polling continues; if it times out, the test is interrupted and the RK3399 chip enters the standby state. The default timeout is 60 seconds.
[0078] The Micro SIM interface is a 3G / 4G communication interface, which is connected to the USB.20 output by the hub management interface. The SIM communication module is used to replace the wired Ethernet to realize LTE communication networking;
[0079] AP6365S is connected to RK3399 through the parallel port, and can be connected to the RK3399 chip through Bluetooth or wireless network to achieve wireless communication networking.
[0080] like Figure 1 As shown, the test module is connected with the control module and the module to be tested through an interface.
[0081] like Figure 1 As shown, the test module mainly includes FPGA chip, four DDR3L chips, Flash storage chip, Power management chip, serial port, Ethernet and SD-card port.
[0082] The FPGA chip obtains the test program from RK3399 through the SPI interface and temporarily stores the test code in DDR3L. After the storage is completed, the test program is repeatedly read from DDR3L and the excitation signal is output to activate.
[0083] The FPGA chip is connected to the chip under test through the I / O interface, the test program is written into the chip under test (DUT), and various functions of the chip under test (DUT) are tested.
[0084] The FPGA chip is also equipped with a serial communication interface (RS232 interface) that supports peripheral expansion. The serial communication interface is used to establish a connection with the robotic arm server to control the robotic arm to complete the picking and classification of the chip under test.
[0085] As a preferred embodiment of the present invention, the power control FPGA chip in this embodiment is XC7K160T-2FBG676I.
[0086] DDR3L in the test module is used for storage and loading of test programs and caching of test result information; Flash storage chip is used to store the startup program of FPGA chip; Power power management chip is responsible for power supply; Ethernet is a reserved port, using serdes as the optical port, using optical fiber communication, as the reserved communication port between RK3399 and FPGA; SD-Card is a reserved port, by operating the keyboard and mouse, the test log file (log file) can be quickly exported on the local UI interface; the serial port is responsible for communicating with the power monitoring chip of the module under test, RS232 is responsible for communicating with the robotic arm, controlling the robotic arm to pick up and classify chips; other IO interfaces are used to control the power on and off of the chip under test in conjunction with the robotic arm.
[0087] Power Management Integrated Circuits (PMICs) are chips that are responsible for the conversion, distribution, detection and other power management of electrical energy in electronic equipment systems. They are mainly responsible for identifying the CPU power supply amplitude, generating corresponding short-term waves, and driving the subsequent circuits to output power.
[0088] like Figure 2 Shown is a partial structural schematic diagram of the module to be tested provided in an embodiment of the present application.
[0089] like Figure 2 As shown, the chip under test (DUT) is connected to the FPGA chip through I / O interfaces such as JTAG / PROM / INIT / SPI / PROG / DONE / MODE; the FPGA chip controls the electronic switch through the GPIO interface.
[0090] like Figure 1 As shown, the module under test includes a chip under test (DUT) and a power control circuit, and the power control circuit includes a power control chip (power control FPGA chip), a power management chip (PMIC chip), a current detection chip, an electronic switch (power tube switch) and a serial port.
[0091] The power management chip (PMIC chip) is connected to the electronic switch through the current detection chip. The electronic switch is connected to the chip under test (DUT) and connected to the FPGA chip through the I / O interface. The FPGA chip controls the power on and off of the chip under test through the electronic switch, and the power management chip (PMIC chip) is controlled by the power control FPGA chip.
[0092] The power control chip is an FPGA chip used to control the PMIC chip. The internal registers of the chip can be configured through the IIC protocol to control the power on and off and the voltage output by the PMIC.
[0093] The power management chip (PMIC chip) is used to provide adjustable power for the chip under test (DUT); the current detection chip detects the real-time current of the chip under test (DUT) and transmits it to the power control FPGA chip through IIC; the electronic switch (power tube switch) is controlled by the FPGA chip of the test module and is turned off after the chip test is completed; most of the IO interfaces of the chip under test (DUT) are directly connected to the IO interfaces of the FPGA chip in the test module to receive excitation signals and detection signals; the serial port is connected to the RK3399 chip and the FPGA chip to transmit current and voltage information.
[0094] Example 2
[0095] Embodiment 2 provides a chip system-level testing method, wherein the power control FPGA chip in Embodiment 2 is EQ6HL45. The method comprises:
[0096] Step S1: The control module is connected to the robot server through the serial communication interface to control the robot to complete the picking of the chip under test and place the chip under test into the designated tray;
[0097] Step S2: After the chip under test is placed, the test module receives the information transmitted by the control module, controls the module under test to power the chip under test (DUT) and performs chip in-place detection;
[0098] The specific process of chip in-situ detection is as follows:
[0099] After the chip under test (DUT) is powered on, the FPGA chip controls the test program to be loaded into DDR and outputs the detection analog JTAG signal. Specific commands such as 0x95 are sent to the chip under test through the JTAG port, and the chip will reply with an ID. The relevant performance parameters of the chip under test are obtained by reading the chip ID. After the information of the chip under test is read, the FPGA chip outputs a low-level pulse signal to control the PROGRAM_B pin to pull down to complete the chip reset operation, and at the same time detects whether the INIT_B pin generates an interrupt signal. If an interrupt signal is generated, the chip under test is in place.
[0100] The specific process of reading the chip ID includes:
[0101] By reading the chip ID, the relevant parameter information of the chip under test (including chip CP information and package model, etc.) is obtained and compared with the UI input information. If all the information is the same, the chip under test information is read successfully, that is, the ID is obtained successfully; if the comparison is NULL, it means that the process is abnormal, then the chip under test information reading fails, the process is abnormal, the chip is not placed correctly, and needs to be re-placed.
[0102] The measured information adopts the 64-bit representation method of the unique ID representation rule, and the efuses are 0-63 from left to right, as shown in Table 1.
[0103]
[0104] Table 1
[0105] LOT ID: The original user input is 6 characters, which is represented by 36 bits in efuse. The calculation method is:
[0106] The ASCII code of each character is 0X30, which is converted to 8 bits of binary. The last 6 bits are retained and the first 2 bits are discarded. In this way, each character gets 6 bits, and the 6 6 bits are concatenated in sequence to get 36 bits.
[0107] The method for calculating 36 bits of LOT ID UJW192 is as follows in Table 2.
[0108]
[0109] Table 2
[0110] in:
[0111] 6 6 bits are concatenated in order to get 36 bits: 100101011010100111000001001001000010;
[0112] Wafer ID: The value range is 1-25. The user input is in decimal, and 5 bits are used in efuse to represent it. For example, if the wafer ID is 24, the binary representation is 11000.
[0113] X coordinate: the value range is 0-127. The user input is in decimal, and 7 bits are used in efuse to represent it. For example, if the X coordinate is 125, the binary representation is 1111101.
[0114] Y coordinate: the value range is 0-127. The user input is in decimal, and 7 bits are used in efuse to represent it. For example, the Y coordinate of 125 is represented by 1111101 in binary.
[0115] CP flag is set: the user enters 1 character, success is S, failure is F, and 1 bit is used in efuse to represent it, for example: 1 means success, 0 means failure;
[0116] Chip model: It is represented by 4-bit binary. To avoid confusion, all 0s and all 1s are discarded and not used. See Table 3 for chip model representation.
[0117]
[0118] Table 3
[0119] Chip package: It is represented by 4-bit binary. In order to avoid confusion, all 0s and all 1s are discarded and not used. The chip package representation is shown in Table 4.
[0120]
[0121] Table 4
[0122] Example of chip parameters:
[0123] send_efuse_message_usb2cable2jtag2fpga UJW192 24 125 125 S EQ6HL45CSG324;
[0124] When automatically scanning the chip under test, the chip model and package type are displayed on the interface, and the 64-bit information in eufse is displayed in hexadecimal, such as "Device:EQ6HL45 Package:CSG324 UID:BCE1254D";
[0125] If there is no efuse information, only the device model is displayed, and the other contents are empty, such as "Device:EQ6HL45Package:NULL UID:NULL"; or replaced by a space, such as "Device:EQ6HL45 Package: UID: ".
[0126] As a preferred embodiment of the present invention, the PROGRAM_B pin in this embodiment is valid at a low level. When the PROGRAM_B pulse signal is at a low level, the FPGA configuration is cleared and a new configuration sequence is started; the configuration reset is started at the falling edge, and the configuration (i.e., programming) sequence starts at the next rising edge; when the chip under test (DUT) is powered on, the PROGRAM_B pulse signal is kept at a low level, and the FPGA configuration will not be kept in a reset state.
[0127] As a preferred embodiment of the present invention, the INIT_B pin in this embodiment is used to delay the power-on configuration sequence, and the INIT_B pin is also valid at a low level; when the FPGA is in a configuration reset state, the FPGA is initializing (clearing) its configuration memory or the FPGA detects a configuration error, the FPGA drives the pin to a low level; after the FPGA initialization process is completed, the INIT_B pin is released to a high impedance state, at which time an external resistor pulls INIT_B high (connecting INIT_B to a pull-up resistor to a high level); when the initialization process is completed and a high level is detected at the INIT_B input, the FPGA continues to execute the rest of the configuration sequence indicated by the M[2:0] pin setting.
[0128] Step S3: After the chip in-place detection process is completed, the PROG_B and INIT_B pins of the DUT are pulled high to complete the FPGA chip configuration initialization, and the test program is injected into the chip under test (DUT) in a passive parallel loading mode by simulating the programmable read-only memory PROM or Flash chip and the test program is burned;
[0129] The test program includes a test code, and the test program is cached in a DDR dynamic memory chip of the test module;
[0130] The performance test of the chip under test (DUT) has multiple test items, different test items correspond to different test codes, and one test item corresponds to the burning of one test code; the multiple test items of the performance test of the chip under test (DUT) are implemented through FPGA modular design. The module of the FPGA modular design of this application is a cased module, which is similar to a function and has many state machines;
[0131] The test module burns different test codes (detection signals) into the chip under test according to different functions, and inputs different excitation signals to the corresponding pins of the chip under test;
[0132] The test module compares the output signal of the corresponding pin of the tested chip after running with the expected result stored in the test module, detects whether the output signal of the corresponding pin of the tested chip is normal and generates test result information, and the test result information is sent to the control module;
[0133] In step S3, the test module sends a test pattern to the chip under test (DUT) of the module under test through the JTAG port / PROM to test the chip performance:
[0134] These include DSP (Digital Signal Processing) test, M4K (Memory 4Kbits) test, CLK TREE test, CLB test, and SW test.
[0135] DSP includes four mult (4-way multiplication), Mult Acc (multiplication and accumulation), Mult comp (complex multiplication), Simple_Mult (simple multiplication), two_mult (two-way multiplication), etc.
[0136] M4K includes ram1port (single-port RAM), ram2ports (pseudo dual-port), ramreal2ports (true dual-port), read-only memory (ROM), etc.
[0137] SW (the corresponding frequency can be changed to high and low level test) and CLB also apply corresponding test stimuli externally, burn patterns to the chip under test (DUT), run the test program, traverse the corresponding resources inside the chip under test, and compare the output results with the expected results to judge the performance of the chip under test.
[0138] Here are three test examples:
[0139] Take Mult Acc (multiplication and accumulation) in DSP test as an example. When the chip is powered on, T10 gives 50M, D4 gives a high level, and C1 gives a low level. The pattern: acc_16+16_ac is burned into the chip under test (DUT). After running, it is detected whether h17 is low and whether the frequency of H18 is 5Mhz. If H17 is high, it is fai1 (failed); then C1 gives a high level. At this time, H17 is high, which means it is correct.
[0140] Taking SW test as an example, the chip is powered on, C4 and A2 send 1Mclk, and pattern: sw4_6 is burned to the chip under test (DUT). After running, it is detected whether the frequency of N4 and P4 is 1Mhz.
[0141] Take the M4K test as an example. The chip is powered on, T10 is given 50M, D4 is given a high level, and pattern: W8d512 is burned to the chip under test (DUT). After running, check whether h17 is low and whether the H18 frequency is 5Mhz. If H17 is high, it will fail.
[0142] Step S4: The test module records the test data and generates test result information (log file) and sends it to the control module;
[0143] Step S5: The control module receives the test result information, and the control module automatically uploads the received test result information (log file) to the FTP server via Ethernet, or connects to an external display via the HDMI interface, operates the mouse and keyboard, and opens and views it locally;
[0144] The control module controls the robot arm to pick up the tested chip and place it in the corresponding discharge tray according to the received test result information.
[0145] As a preferred embodiment of the present invention, the test module in this embodiment can be expanded to multiple copies through the Ethernet interface, and each test module communicates through Ethernet to test more chips under test (DUT) at the same time, forming an expandable test platform to further improve test efficiency.
[0146] In summary, the present application provides a chip system-level testing system and method.
[0147] The present application provides a chip system-level testing method, which simulates the performance of the chip under test through a test program. The test program tests the M4K, DSP and other internal resources of the chip under test by calling the internal IP core of the chip under test, such as reading and writing tests on the M4K, and performing a large number of AND or OR operations on the DSP. It can quickly detect internal faults of the chip and perform fast and accurate screening and classification. The present application provides a chip system-level testing method, which is more reliable than traditional automated testing, and can improve the test fault coverage in the early stage of test development, more comprehensively detect the various functions of the chip, further improve test efficiency and product quality, and reduce rework and repair in subsequent links.
[0148] The present application provides a chip system-level test system, in which a module to be tested is connected to multiple test interfaces. After the chip to be tested is inserted into the corresponding test interface, the chip to be tested is connected to the test module through the I / O interface, the control module controls the pickup and installation of the chip to be tested, the test module controls the power-on of the chip to be tested to perform chip in-situ detection, identifies the test points of the chip to be tested and performs functional tests on the chip to be tested through the test program, records the test data to generate test result information and sends it to the control module, the control module receives the test result information and performs visual processing. The present application can meet the testing needs of different types of chips. The user only needs to insert the chip to be tested into the corresponding test interface and start the test system. The system automatically identifies the test points of the chip to be tested, performs comprehensive and efficient testing on the chip, and the test results are automatically saved and provide detailed reports to facilitate subsequent analysis and processing by the user.
[0149] In order to facilitate the description, some common English nouns or letters used in the present invention are only used for exemplary reference rather than restrictive interpretation or specific usage, and the protection scope of the present invention should not be limited by their possible Chinese translations or specific letters.
[0150] It should also be noted that, in this document, relational terms such as "first" and "second" are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations.
Claims
1. A chip system-level testing method, characterized in that: include: Step S1: The control module is connected to the robot server through the serial communication interface to control the robot to complete the picking of the chip under test and place the chip under test into the designated tray; Step S2: After the chip under test is placed, the test module controls the chip under test to power on and reads chip information to perform chip in-place detection; Step S3: the test module infuses the test program into the chip under test and burns the program, and after burning is completed, outputs an excitation signal and a detection signal to test the chip under test; Step S4: the test module records the test data and generates test result information and sends it to the control module; Step S5: the control module receives the test result information and performs visualization processing on the test result information through the extended interface; Step S6: After the test process is completed, the control module controls the robot arm to pick up the tested chip and place it in the corresponding discharge tray according to the test result information; The specific process of chip in-place detection in step S2 is as follows: After the chip under test is powered on, the FPGA chip controls the test program to be loaded into the DDR dynamic storage chip and outputs a detection analog JTAG signal to read the information of the chip under test; after the information of the chip under test is read, the FPGA chip outputs a low-level pulse signal to control the PROGRAM_B pin to be pulled low to complete the chip reset operation, and at the same time detects whether the INIT_B pin generates an interrupt signal. If an interrupt signal is generated, the chip under test is in place; The testing process in step S3 is specifically as follows: The test program includes a test code, and the test program is cached in the DDR dynamic storage chip of the test module; the test module burns different test codes into the chip under test according to different functions, and inputs different excitation signals to the corresponding pins of the chip under test; the test module detects whether the output signal of the corresponding pin of the chip under test is normal after the operation of the chip under test, and sends the test result information to the control module.
2. A chip system level testing method according to claim 1, characterized in that: The specific process of detecting the simulated JTAG signal to read the information of the chip under test is as follows: After the detection simulates the JTAG signal to send a command to the chip under test, the chip under test replies with a chip ID; The relevant parameter information of the chip under test is obtained by reading the chip ID and comparing it with the UI input information. If all the information is the same, the information of the chip under test is read successfully; if the comparison is NULL, it means that the process is abnormal, and the information of the chip under test fails to be read.
3. A chip system level testing method according to claim 1, characterized in that: In step S3, before program burning, it is necessary to pull up the PROGRAM_B and INIT_B pins to complete the FPGA chip configuration initialization.
4. A chip system level testing method according to claim 1, characterized in that: The test module can be expanded into multiple copies via an Ethernet interface to form an expandable test platform.
5. A chip system-level testing system, characterized in that: The test method according to any one of claims 1 to 4 comprises: a control module, a test module and a module to be tested; The module to be tested is externally connected to a plurality of test interfaces, and the test interfaces correspond to different types of chips to be tested. After the chip to be tested is inserted into the corresponding test interface, the chip to be tested is connected to the test module via an I / O interface; The control module controls the pickup and installation of the chip under test, and sends test start information to the test module; The test module controls the chip under test to power on and perform chip in-place detection according to the test start information, identifies the test points of the chip under test and performs functional tests on the chip under test through a test program, and records test data to generate test result information and sends it to the control module; The control module receives the test result information and performs visualization processing.
6. A chip system level test system according to claim 5, characterized in that: The control module includes a main control chip, and the main control chip uploads the test result information to a database; The control module performs visualization processing on the test result information through an expansion interface.
7. A chip system level test system according to claim 6, characterized in that: The main control chip is composed of an ARM chip, a DDR dynamic memory chip, an EMMC static memory chip, a power management chip and a peripheral interface; The DDR dynamic memory chip is connected to the ARM chip via a parallel interface and is wired using a Fly-by topology structure; The EMMC static storage chip is connected to the ARM chip via a parallel interface and is used for storing the control module data; The power management chip is connected to the ARM chip via a serial bus IIC to provide power for the control module.
8. A chip system level test system according to claim 6, characterized in that: The main control chip also includes a serial communication interface that supports peripheral expansion. The serial communication interface is used to establish a connection with a robotic arm server to control the robotic arm to complete the picking of the chip under test and place the chip under test in a designated tray.
9. A chip system level test system according to claim 6, characterized in that: The test module interface connects the control module and the module to be tested; The test module includes an FPGA chip, a DDR dynamic memory chip, a Flash memory chip and a power management chip; The FPGA chip is connected to the main control chip via an SPI interface to obtain a test program; The FPGA chip is connected to the chip under test through an I / O interface, and outputs an excitation signal and a detection signal to test the chip under test; The DDR dynamic memory chip is used for storing and loading the test program and caching the test result information; The Flash storage chip is used to store the startup program of the FPGA chip; The power management chip supplies power to the test module.
10. A chip system level test system according to claim 9, characterized in that: The module to be tested also includes a power management chip that provides an adjustable power supply; The power control chip controls the power management chip to supply power to the module to be tested; A current detection chip is connected between the power management chip and the electronic switch to detect the real-time current and transmit the detection result to the power control chip; The FPGA chip is connected to the electronic switch via an I / O interface, the electronic switch is connected to the chip under test, and the FPGA chip controls the power on and off of the chip under test via the electronic switch.
