Chip aging test method and controller

By designing a chip aging test controller, using CPU and programmable logic devices to test and incentivize multiple GPU chips in conventional high and low temperature test chambers, the problem of high cost and insufficient flexibility in GPU chip aging test is solved, and flexible and Economical testing plan.

CN118962414AInactive Publication Date: 2024-11-15NANJING SIETIUM SEMICON CO LTD

Patent Information

Application Number
CN202411456781.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-18
Publication Date
2024-11-15
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the prior art, GPU chip aging test requires test machines with high and low temperature and ATE functions, which are costly and do not have flexibility, making it difficult to conduct accelerated aging tests in all test sites or qualification requirements.

Method used

Design a chip aging test controller, including CPU and programmable logic devices, read test data through SD card and configure DMA module and data separation module to achieve simultaneous test incentives for multiple chips under test, and get rid of expensive ATE machines Taiwan's dependence.

Benefits of technology

It realizes GPU chip aging test in conventional high and low temperature test chambers, reducing costs, improving testing flexibility, and avoiding dependence on specific models of ATE machines.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118962414A_ABST
    Figure CN118962414A_ABST
Patent Text Reader

Abstract

The invention discloses a chip aging test method and a controller, and relates to the technical field of chip test.The method comprises the steps that a CPU reads test data; the process control state machine responds to the start instruction to read data length information; the process control state machine configures reading parameters of the DMA module according to the data length information, and reads target data needing to be sent in the same time from the DDR module according to the reading parameters; the data separation module divides the target data into a sending data stream and a standard data stream, sends the sending data stream to the tested chip, and sends the standard data stream to the waveform checking module; and the waveform inspection module receives a return signal sent by the tested chip, compares the return signal with the standard data stream, and returns a comparison result. According to the scheme, the chip aging test controller can send test excitation to a plurality of chips to be tested at the same time, so that the dependence on the environment of a test machine is eliminated, and the implementation cost is reduced while the test flexibility is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of chip testing, and in particular to a chip aging testing method and a controller. Background Art

[0002] During the reliability test and mass production test of the chip, it is usually necessary to conduct accelerated aging test on the chip. This experiment applies higher working stress to multiple devices at the same time to simulate the working process of the chip in its entire life cycle (several years) in a short time (several days). After reaching the simulation time, all functions of the chip are tested again to evaluate whether the chip meets the initial life requirements during the design and mass production process. In this process, the correct application of working stress determines the correctness of the aging test results. The common practice is to apply high temperature and high voltage to the chip, and during this period, the transistors inside the chip are in a continuous flipping process.

[0003] During the aging process, a high temperature environment can be achieved through a high and low temperature test chamber, and a high voltage environment can be achieved by modifying the voltage value supplied to the chip. However, to achieve continuous transistor flipping inside the chip, it needs to be customized according to different chip types. For example, MCU (single-chip microcomputer) chips can solidify a piece of code inside the chip and execute it repeatedly; storage chips can use a main controller to repeatedly erase and write internal storage units.

[0004] As for GPU (graphics processing unit) chips, GPUs are large-scale integrated circuits. Their special design means that they cannot run independently of the CPU (Central Processing Unit), nor can they mount multiple devices under test on one main controller like storage chips. Therefore, ATE test machines with high and low temperature functions are usually used to inject test vectors through the chip's DFT (Design For Test) interface to achieve continuous flipping of internal transistors.

[0005] In principle, ATE test machines with high and low temperature functions can meet the stress application requirements of large digital chips such as GPUs. However, in actual implementation, because the GPU has a large number of DFT vector signal paths and a high vector depth (data volume), this solution is usually accompanied by obvious shortcomings: 1. ATE machines that have both high and low temperature and ATE functions and are compatible with large-scale integrated circuits are usually very expensive. Whether purchased or rented, they will introduce higher costs. For cost-sensitive products or newly developed products of the company, it will introduce additional cost pressure; 2. For some scenarios that require testing sites or testing qualifications, it may not be possible to find a suitable testing machine, which will result in the inability to continue the accelerated aging test. Summary of the invention

[0006] The present invention aims to at least solve the technical problems existing in the prior art. To this end, the first aspect of the present invention provides a chip aging test method, which is applied to a chip aging test controller. The controller includes a CPU and a programmable logic device. The CPU is connected to an SD card. The programmable logic device is connected to multiple chips under test. The programmable logic device includes a DDR module, a BRAM module, a process control state machine, a DMA module, a data separation module, and a waveform inspection module. The method includes: The CPU reads the test data from the SD card, and stores the test stimulus data in the test data and the corresponding cycle number configuration information in the DDR module, and stores the input and output direction configuration information and data length information in the test data in the BRAM module; The process control state machine receives a start instruction sent by the CPU, and reads the data length information from the BRAM module in response to the start instruction; The process control state machine configures the reading parameters of the DMA module according to the data length information, and controls the DMA module to read the target data to be sent at the same time from the DDR module according to the reading parameters, wherein the target data includes test stimulus data and standard data; the standard data is the expected data returned by the test stimulus data after being tested by the chip under test; The DMA module inputs the target data into a data separation module, the data separation module divides the target data into a transmission data stream containing the test stimulus data and a standard data stream containing the standard data, and sends the transmission data stream to the chip under test, and sends the standard data stream to the waveform inspection module; After the chip under test performs an aging test using the data in the transmitted data stream, the waveform inspection module receives a return signal sent by the chip under test, compares the return signal with the standard data stream, and returns the comparison result to the CPU, so that the CPU can monitor the test process in real time according to the comparison result.

[0007] Optionally, the programmable logic device further includes a pin direction controller, and after the process control state machine receives the start instruction sent by the CPU, further includes: The process control state machine reads the input and output direction configuration information from the BRAM module in response to the start instruction; The process control state machine sends the input and output direction configuration information to the pin direction controller through the data separation module and the waveform transceiver.

[0008] Optionally, the programmable logic device further includes a first first-in first-out memory and a waveform transceiver, and the sending data stream to the chip under test includes: The data separation module sends the transmission data stream to the first first-in first-out memory for buffering; The first FIFO memory sends the transmit data stream to a waveform transceiver, and the waveform transceiver sends the transmit data stream to a pin direction controller; The pin direction controller configures the input and output interface of the programmable logic device connected to the chip under test according to the input and output direction configuration information; The pin direction controller sends the transmission data stream to the chip under test through the input and output interface.

[0009] Optionally, the waveform transceiver includes a control state machine, a transmit asynchronous FIFO, a clock control state machine, and a clock enable module, and the waveform transceiver sends the transmit data stream to the pin direction controller, including: The waveform transceiver inputs the transmit data stream into the control state machine; After receiving the start control signal and configuration information sent by the CPU, the control state machine generates a start / end control symbol of the transmission data stream according to the start control signal and the configuration information; The control state machine combines the start / stop control symbol and the transmit data stream and inputs them into the transmit asynchronous FIFO; The transmitting asynchronous FIFO converts the clock frequency of the transmitting data stream into the clock frequency of the chip under test; The sending asynchronous FIFO inputs the start / stop control character into the clock control state machine; The clock control state machine sends a clock enable signal to the clock enable module according to the start / stop control character, and controls the opening and closing of the associated clock according to the start / stop control character; When the associated clock is turned on, the clock control state machine sends a read enable signal to the transmit asynchronous FIFO, and the transmit asynchronous FIFO sends the transmit data stream to the pin direction controller according to the read enable signal; When the associated clock is turned off, the clock control state machine stops sending a read enable signal to the transmit asynchronous FIFO, and the transmit asynchronous FIFO stops sending the transmit data stream to the pin direction controller.

[0010] Optionally, controlling the on / off of the associated clock according to the start / stop control character includes: When it is determined that the data position of the current transmitted data stream corresponds to the start control character, the associated clock is controlled to be turned on; when it is determined that the data position of the current transmitted data stream corresponds to the end control character, the associated clock is controlled to be turned off.

[0011] Optionally, the waveform transceiver further includes a receiving asynchronous FIFO, the programmable logic device further includes a second first-in first-out memory, and the waveform inspection module receives a return signal sent by the chip under test, including: After receiving the write enable signal sent by the clock control state machine, the receiving asynchronous FIFO receives the return signal sent by the chip under test; The receiving asynchronous FIFO sends the return signal to the second first-in first-out memory, and the second first-in first-out memory sends the return signal to the waveform inspection module.

[0012] The second aspect of the present invention provides a chip aging test controller, the controller includes a CPU and a programmable logic device, the CPU is connected to an SD card, the programmable logic device is connected to multiple chips under test, and the programmable logic device includes a DDR module, a BRAM module, a process control state machine, a DMA module, a data separation module, and a waveform inspection module; The CPU is used to: Reading test data from the SD card, and storing test stimulus data in the test data and corresponding cycle number configuration information in the DDR module, and storing input and output direction configuration information and data length information in the test data in the BRAM module; The process control state machine is used to: receiving a start instruction sent by the CPU, and reading the data length information from the BRAM module in response to the start instruction; Configure the reading parameters of the DMA module according to the data length information, and control the DMA module to read the test stimulus data that needs to be sent at the same time from the DDR module according to the reading parameters; The DMA module is used to: Inputting the test stimulus data into a data separation module; The data separation module is used for: The test stimulus data is divided into a transmission data stream and a standard data stream, and the transmission data stream is sent to the chip under test, and the standard data stream is sent to the waveform inspection module; the standard data stream is the expected data after the test corresponding to the transmission data stream; The waveform inspection module is used for: After the chip under test performs an aging test using the data in the transmitted data stream, a return signal sent by the chip under test is received, the return signal is compared with the standard data stream, and the comparison result is returned to the CPU, so that the CPU can monitor the test process in real time according to the comparison result.

[0013] Optionally, the programmable logic device further includes a pin direction controller, and the process control state machine is used for: In response to the start instruction, reading the input and output direction configuration information from the BRAM module; The input-output direction configuration information is sent to the pin direction controller through the data separation module and the waveform transceiver.

[0014] Optionally, the programmable logic device further includes a first first-in first-out memory and a waveform transceiver, and the data separation module is used for: Sending the transmission data stream to a first first-in first-out memory for buffering; The first first-in first-out memory is used for: Sending the transmit data stream to a waveform transceiver so that the waveform transceiver sends the transmit data stream to a pin direction controller; The pin direction controller is used to: According to the input-output direction configuration information, configuring the input-output interface of the programmable logic device connected to the chip under test; The transmission data stream is sent to the chip under test through the input and output interface.

[0015] Optionally, the waveform transceiver includes a control state machine, a transmit asynchronous FIFO, a clock control state machine, and a clock enable module, and the waveform transceiver is used to: The waveform transceiver inputs the transmit data stream into the control state machine; The control state machine is used to: After receiving the start control signal and the configuration information sent by the CPU, generating a start / end control symbol of the sending data stream according to the start control signal and the configuration information; Combining the start / stop control symbol and the transmit data stream and inputting them into the transmit asynchronous FIFO; The transmit asynchronous FIFO is used to: Converting the clock frequency of the transmitted data stream into the clock frequency of the chip under test; Inputting the start / stop control character into the clock control state machine; The clock control state machine is used to: Sending a clock enable signal to the clock enable module according to the start / stop control character, and controlling the on / off of the associated clock according to the start / stop control character; When the associated clock is turned on, a read enable signal is sent to the transmit asynchronous FIFO, so that the transmit asynchronous FIFO sends the transmit data stream to the pin direction controller according to the read enable signal; When the associated clock is turned off, the sending of the read enable signal to the sending asynchronous FIFO is stopped, so that the sending asynchronous FIFO stops sending the sending data stream to the pin direction controller.

[0016] The embodiments of the present invention have the following beneficial effects: In an embodiment of the present invention, the CPU reads test data from the SD card, and stores the test stimulus data in the test data and the corresponding loop count configuration information in the DDR module, and stores the input / output direction configuration information and data length information in the test data in the BRAM module; the process control state machine receives a start instruction sent by the CPU, and reads the data length information from the BRAM module in response to the start instruction; the process control state machine configures the read parameters of the DMA module according to the data length information, and controls the DMA module to read the target data to be sent at the same time from the DDR module according to the read parameters, and the target data includes the test stimulus data and the standard data. The target data is input into the data separation module by the DMA module, and the data separation module divides the target data into a sending data stream containing the test stimulus data and a standard data stream containing the standard data, and sends the sending data stream to the chip under test, and sends the standard data stream to the waveform inspection module; after the chip under test performs an aging test using the data in the sending data stream, the waveform inspection module receives the return signal sent by the chip under test, compares the return signal with the standard data stream, and returns the comparison result to the CPU, so that the CPU can monitor the test process in real time according to the comparison result. The chip aging test controller of this solution includes a CPU and a programmable logic device. The CPU can read test data from an SD card. The programmable logic device is connected to multiple chips under test. The programmable logic device includes various modules for performing chip aging tests, so that the chip aging test controller can send test stimuli to multiple chips under test at the same time, thereby getting rid of environmental dependence on ATE test machines, making the aging test process no longer dependent on expensive or even specific models of ATE test machines, while improving test flexibility and reducing implementation costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 This is a schematic diagram of the connection between a chip aging test controller and a chip under test provided by an embodiment of the present invention; Figure 2 It is a schematic diagram of the internal structure of a chip aging test controller provided by an embodiment of the present invention; Figure 3 is a flowchart of a chip aging test method provided by an embodiment of the present invention; Figure 4 It is a schematic diagram of the internal structure of a waveform transceiver provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0018] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0019] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present disclosure, unless otherwise specified, "multiple" means two or more. In addition, the use of "based on" or "according to" means openness and inclusiveness, because the process, steps, calculations or other actions "based on" or "according to" one or more of the conditions or values ​​may be based on additional conditions or values ​​beyond the described values ​​in practice.

[0020] The present disclosure aims to propose a test solution that uses a universal design architecture to replace ATE machines at a lower cost, sends DFT test vectors to GPUs or other chips under test, and then cooperates with conventional high and low temperature test chambers to meet accelerated aging tests, thereby getting rid of dependence on high-cost ATE machines.

[0021] This design places a chip aging test controller and multiple chips under test (DUT) on a test board, and sends test stimuli to multiple chips under test at the same time, thereby getting rid of the environmental dependence on ATE test machines with high and low temperature functions. The chip aging test controller can use commercially available general-purpose programmable devices, and the cost can be effectively controlled. Figure 1 The present invention provides a schematic diagram of the connection between a chip aging test controller and a chip under test.

[0022] like Figure 1 As shown in the figure, controller represents the chip aging test controller, and DUT0, DUT1, ..., DUTN represent N chips under test. The controller sends test stimulus to multiple chips under test at the same time, and the test stimulus specifically includes test data and clock signal.

[0023] Figure 2 The diagram is a schematic diagram of the internal structure of a chip aging test controller provided by an embodiment of the present invention.

[0024] like Figure 2As shown, the chip aging test controller (controller) includes a CPU and a programmable logic device (PL). The CPU is connected to an SD (SD Card) card, and the programmable logic device is connected to multiple chips under test (DUT). The programmable logic device includes a DDR module, a BRAM module, a process control state machine, a DMA module, a data separation module, and a waveform inspection module.

[0025] Specifically, the CPU is responsible for system initialization and test process control, while the programmable logic device is responsible for DFT-related timing. The controller can be a programmable chip or a finished single-board module. It replaces the role of the ATE machine in the aging test system.

[0026] Figure 3 is a flowchart of the steps of a chip aging test method provided by an embodiment of the present invention. The method is applied to Figure 2 Chip aging test controller in Figure 3 As shown, the method includes: Step 101, the CPU reads the test data from the SD card, and saves the test stimulus data in the test data and the corresponding cycle number configuration information in the DDR module, and saves the input and output direction configuration information and data length information in the test data in the BRAM module.

[0027] The DFT test data is saved in the SD card in the form of a file and read from the SD card by the CPU.

[0028] The test data includes test stimulus data (pattern data) and configuration parameter data corresponding to each test stimulus data. The configuration parameter data includes stimulus data length information, input and output (GPIO) direction configuration information, and loop count configuration information for each test stimulus data.

[0029] The stimulus data length information is the sum of the lengths of all test stimulus data, which is calculated based on the number of bits of the test stimulus data.

[0030] The CPU transmits the input and output direction configuration information and data length information through Figure 2 The RAM protocol conversion (AXIL-BRAM) module in the chip aging test controller is used to convert the data into data that conforms to the BRAM protocol, and the converted input and output direction configuration information and data length information are saved in the BRAM (Block Memory) of the chip aging test controller for subsequent retrieval during operation.

[0031] The CPU saves the test stimulus data and the corresponding cycle count configuration information in the DDR (Double Data Rate) module.

[0032] Step 102: The process control state machine receives a start instruction sent by the CPU, and reads the data length information from the BRAM module in response to the start instruction.

[0033] After the test data and configuration data are read from the SD card and written into the corresponding module, the test can be started. The operation is initiated and controlled by the CPU, and the timing of each module is scheduled by the process control state machine of the programmable logic device.

[0034] Specifically, the CPU sends a test start instruction to the programmable logic device, which is received by the process control state machine in the programmable logic device, and reads data length information of the test stimulus data from the BRAM module according to the start instruction.

[0035] Step 103, the process control state machine configures the read parameters of the DMA module according to the data length information, and controls the DMA module to read the target data that needs to be sent at the same time from the DDR module according to the read parameters, and the target data includes test stimulus data and standard data; the standard data is the expected data returned by the test stimulus data after the chip under test is tested.

[0036] Since DDR is a memory with a relatively large capacity, the stored data includes a lot of other data in addition to the test stimulus data. When the DMA module fetches data from the DDR module, it can only fetch one segment at a time.

[0037] The process control state machine configures the reading parameters of the DMA module according to the data length information. The DDR can know the starting position and the ending position of this reading according to the reading parameters. The data read by the DDR each time is the target data. The target data includes the test stimulus data that needs to be sent at the same time, and the standard data corresponding to the test stimulus data. The standard data refers to the expected data returned by the test stimulus data after the chip under test is tested.

[0038] Step 104, the DMA module inputs the target data into a data separation module, the data separation module divides the target data into a transmission data stream containing the test stimulus data and a standard data stream containing the standard data, and sends the transmission data stream to the chip under test, and sends the standard data stream to the waveform inspection module.

[0039] The input data separation (Bit_Division) module separates the data stream into a transmission data stream and a standard data stream. The transmission data stream is buffered by the FIFO (First In First Out Memory) module and then passed to the Pattern Transceiver (Pattern Transceiver) and then sent to the chip under test.

[0040] The standard data stream is buffered by the FIFO module and then transmitted to the Pattern Checker module.

[0041] Step 105: After the chip under test performs an aging test using the data in the transmitted data stream, the waveform inspection module receives a return signal sent by the chip under test, compares the return signal with the standard data stream, and returns the comparison result to the CPU, so that the CPU can monitor the test process in real time according to the comparison result.

[0042] The chip under test uses the test vectors in the transmitted data stream to continuously flip the transistors for aging testing. During the aging test of the chip under test, a return signal is generated and sent to the waveform check module. The waveform check module is used to compare the waveform of the return signal with the waveform of the standard data stream to see if they are equal, and return the comparison result to the CPU for real-time monitoring.

[0043] During real-time monitoring, if the waveform of the comparison return signal does not match the waveform of the standard data stream, it means that the chip is aged or the chip aging test controller may have hardware damage. At this time, it is necessary to report to the operator to decide whether to continue the experiment or to troubleshoot the entire chip aging test controller.

[0044] When a set of test data is sent and the data is received and compared, it means that the execution of a set of test data is completed. You can choose to cycle the current test data or switch to the next set of test data according to the configuration information of the number of cycles of the test data.

[0045] The design scheme of the chip aging test controller proposed in the present disclosure is to place a chip aging test controller and multiple chips under test (DUT) on a test board at the same time, and send test stimuli to multiple chips under test at the same time, thereby getting rid of the environmental dependence on ATE test machines with high and low temperature functions. The chip aging test controller can use commercially available general-purpose programmable devices, and the cost can be effectively controlled.

[0046] In summary, in an embodiment of the present invention, the CPU reads test data from the SD card, and stores the test stimulus data in the test data and the corresponding loop count configuration information in the DDR module, and stores the input / output direction configuration information and data length information in the test data in the BRAM module; the process control state machine receives a start instruction sent by the CPU, and reads the data length information from the BRAM module in response to the start instruction; the process control state machine configures the read parameters of the DMA module according to the data length information, and controls the DMA module to read the target data that needs to be sent at the same time from the DDR module according to the read parameters. The target data includes the test stimulus data and the target length information. The target data is the standard data; the standard data is the expected data returned by the test stimulus data after the chip under test is tested; the DMA module inputs the target data into the data separation module, the data separation module divides the target data into a sending data stream containing the test stimulus data and a standard data stream containing the standard data, and sends the sending data stream to the chip under test, and sends the standard data stream to the waveform inspection module; after the chip under test performs an aging test using the data in the sending data stream, the waveform inspection module receives the return signal sent by the chip under test, compares the return signal with the standard data stream, and returns the comparison result to the CPU, so that the CPU can monitor the test process in real time according to the comparison result. The chip aging test controller of this solution includes a CPU and a programmable logic device. The CPU can read test data from an SD card. The programmable logic device is connected to multiple chips under test. The programmable logic device includes various modules for performing chip aging tests, so that the chip aging test controller can send test stimuli to multiple chips under test at the same time, thereby getting rid of environmental dependence on ATE test machines, making the aging test process no longer dependent on expensive or even specific models of ATE test machines, while improving test flexibility and reducing implementation costs.

[0047] In a possible implementation manner, the programmable logic device further includes a pin direction controller, and after the process control state machine receives the start instruction sent by the CPU in step 102, it further includes: Step 201, the process control state machine responds to the start instruction and reads the input and output direction configuration information from the BRAM module; Step 202: The process control state machine sends the input and output direction configuration information to the pin direction controller through the data separation module and the waveform transceiver.

[0048] When a programmable logic device is connected to the chip under test, the input and output directions of the pins are not fixed for each test working mode. In fact, the input and output directions of the pins vary according to different working modes. Therefore, the input and output directions of the pins should be configured according to each working mode.

[0049] In a specific implementation, each set of test stimulus data corresponds to input / output (GPIO) direction configuration information, and the input / output direction configuration information is stored in a BRAM module.

[0050] like Figure 2 As shown, when the test starts, the process control state machine reads the input and output direction configuration information from the BRAM module, and sends the input and output direction configuration information to the pin direction controller through the data separation module and the waveform transceiver.

[0051] The pin direction controller can control the input and output directions of the pins according to the input and output direction configuration information.

[0052] In a possible implementation, the programmable logic device further includes a first first-in first-out memory and a waveform transceiver, and step 104 includes: Step 1041, the data separation module sends the transmission data stream to the first first-in first-out memory for buffering; Step 1042: The first FIFO memory sends the transmit data stream to a waveform transceiver, and the waveform transceiver sends the transmit data stream to a pin direction controller; Step 1043: the pin direction controller configures the input and output interface of the programmable logic device connected to the chip under test according to the input and output direction configuration information; Step 1044: The pin direction controller sends the transmit data stream to the chip under test through the input / output interface.

[0053] In step 1041 to step 1044 , a first first in first out (FIFO) memory is a digital circuit for data buffering, and can buffer the transmission data stream.

[0054] like Figure 2 As shown, the first FIFO memory sends the transmit data stream to the pattern transceiver, and the pattern transceiver sends the transmit data stream to the pin direction controller (GPIO Direction Control).

[0055] The pin direction controller can configure the direction of the input and output interface according to the input and output direction configuration information, and then send the transmit data stream to the chip under test (DUT) through the input and output interface.

[0056] In a possible implementation, the waveform transceiver includes a control state machine, a transmit asynchronous FIFO, a clock control state machine, and a clock enable module. In step 1042, the waveform transceiver sends the transmit data stream to the pin direction controller, including: Step 10421, the waveform transceiver inputs the transmit data stream into a control state machine; Step 10422: After receiving the start control signal and configuration information sent by the CPU, the control state machine generates a start / end control symbol of the transmission data stream according to the start control signal and the configuration information; Step 10423: The control state machine combines the start / stop control symbol and the transmit data stream and inputs them into the transmit asynchronous FIFO. Step 10424: the transmitting asynchronous FIFO converts the clock frequency of the transmitting data stream into the clock frequency of the chip under test; Step 10425, the sending asynchronous FIFO inputs the start / stop control character into the clock control state machine; Step 10426: the clock control state machine sends a clock enable signal to the clock enable module according to the start / stop control character, and controls the on / off of the associated clock according to the start / stop control character; Step 10427: When the associated clock is turned on, the clock control state machine sends a read enable signal to the transmit asynchronous FIFO, and the transmit asynchronous FIFO sends the transmit data stream to the pin direction controller according to the read enable signal; Step 10428: When the associated clock is turned off, the clock control state machine stops sending a read enable signal to the transmit asynchronous FIFO, and the transmit asynchronous FIFO stops sending the transmit data stream to the pin direction controller.

[0057] Figure 4 It is a schematic diagram of the internal structure of a waveform transceiver provided in an embodiment of the present invention.

[0058] like Figure 4 As shown, the waveform transceiver is used to receive the transmission data stream of the first first-in first-out memory. After the transmission data stream is processed by the waveform transceiver and sent to the chip under test, the waveform transceiver receives the return signal of the chip under test and sends the return signal to the second first-in first-out memory. The second first-in first-out memory then sends the return signal out.

[0059] The waveform transceiver specifically includes a control state machine, a transmit asynchronous FIFO, a clock control state machine, a clock enable module, and a receive asynchronous FIFO.

[0060] The control state machine is used to receive the transmit data stream (TX Pattern), as well as the start control signal (Start Control) and configuration information (Config Info) sent by the CPU. The control state machine generates the start / end control symbol of the transmit data stream based on the start control signal and configuration information. The start / end control symbol indicates the start and end position when reading the transmit data stream.

[0061] The control state machine combines the start / stop bit and the transmit data stream into the transmit asynchronous FIFO. The asynchronous FIFO is a digital circuit dedicated to data buffering and cross-clock domain processing. The transmit asynchronous FIFO is used to process the transmit data stream across clock domains, and the receive asynchronous FIFO is used to process the received return signal across clock domains.

[0062] For DFT signals, they usually operate within 20 MHz, but for programmable logic devices, the clock frequency is 100 MHz to 400 MHz, which involves the issue of cross-clock domains. Figure 4 On the left side of the dotted line, the clock frequency runs at 100 MHz-400 MHz. On the right side of the dotted line, the frequency to be sent to the DUT through the DFT interface is actually much slower than 100 MHz-400 MHz. If no processing is done for different clock frequencies, packet loss will occur. Therefore, an asynchronous FIFO is used here to buffer and convert different clock frequencies. Specifically, the sending asynchronous FIFO converts the clock frequency of the sending data stream to the clock frequency of the chip under test. After the test is completed, the receiving asynchronous FIFO converts the received return signal into the clock frequency of the programmable logic device.

[0063] After receiving the start / stop control character, the clock control state machine will control the opening or closing of the clock enable module. The opening or closing of the clock enable module can realize the control of the associated clock, that is, when there is test stimulus data input, the associated clock is turned on, and when there is no valid test stimulus data input, the corresponding associated clock is cut off.

[0064] When the accompanying clock is turned on, the clock control state machine sends a read enable signal to the transmit asynchronous FIFO, and the transmit asynchronous FIFO sends the transmit data stream to the pin direction controller according to the read enable signal; When the accompanying clock is turned off, the clock control state machine stops sending a read enable signal to the transmit asynchronous FIFO, and the transmit asynchronous FIFO stops sending data streams to the pin direction controller.

[0065] In one possible implementation, step 10426 includes: When it is determined that the data position of the current transmitted data stream corresponds to the start control character, the associated clock is controlled to be turned on; when it is determined that the data position of the current transmitted data stream corresponds to the end control character, the associated clock is controlled to be turned off.

[0066] In an embodiment of the present invention, the clock enable module controls the on / off of the associated clock according to the start / stop control symbol. Specifically, when the data position of the transmitted data stream corresponds to the start control symbol, the associated clock is controlled to be on; when the data position of the transmitted data stream corresponds to the stop control symbol, the associated clock is controlled to be off.

[0067] In a possible implementation manner, the waveform transceiver further includes a receiving asynchronous FIFO, and step 105 includes: Step 1051: after receiving the write enable signal sent by the clock control state machine, the receiving asynchronous FIFO receives a return signal sent by the chip under test; Step 1052: The receiving asynchronous FIFO sends the return signal to the second FIFO, and the second FIFO sends the return signal to the waveform inspection module.

[0068] In step 1051-step 1052, the chip under test outputs a return signal in the aging test, and after receiving the write enable signal sent by the clock control state machine, the receiving asynchronous FIFO receives the return signal sent by the chip under test. The receiving asynchronous FIFO is used to perform cross-clock domain processing on the received return signal, and send the processed return signal to the second first-in first-out memory, and the second first-in first-out memory then sends the return signal to the waveform inspection module.

[0069] like Figure 2 As shown, an embodiment of the present invention further provides a chip aging test controller, the controller includes a CPU and a programmable logic device, the CPU is connected to an SD card, the programmable logic device is connected to multiple chips under test, and the programmable logic device includes a DDR module, a BRAM module, a process control state machine, a DMA module, a data separation module, and a waveform inspection module; The CPU is used to: Reading test data from the SD card, and storing test stimulus data in the test data and corresponding cycle number configuration information in the DDR module, and storing input and output direction configuration information and data length information in the test data in the BRAM module; The process control state machine is used to: receiving a start instruction sent by the CPU, and reading the data length information from the BRAM module in response to the start instruction; Configure the reading parameters of the DMA module according to the data length information, and control the DMA module to read the test stimulus data that needs to be sent at the same time from the DDR module according to the reading parameters; The DMA module is used to: Inputting the test stimulus data into a data separation module; The data separation module is used for: The test stimulus data is divided into a transmission data stream and a standard data stream, and the transmission data stream is sent to the chip under test, and the standard data stream is sent to the waveform inspection module; the standard data stream is the expected data after the test corresponding to the transmission data stream; The waveform inspection module is used for: After the chip under test performs an aging test using the data in the transmitted data stream, a return signal sent by the chip under test is received, the return signal is compared with the standard data stream, and the comparison result is returned to the CPU, so that the CPU can monitor the test process in real time according to the comparison result.

[0070] Optionally, the programmable logic device further includes a pin direction controller, and the process control state machine is used for: In response to the start instruction, reading the input and output direction configuration information from the BRAM module; The input-output direction configuration information is sent to the pin direction controller through the data separation module and the waveform transceiver.

[0071] Optionally, the programmable logic device further includes a first first-in first-out memory and a waveform transceiver, and the data separation module is used for: Sending the transmission data stream to a first first-in first-out memory for buffering; The first first-in first-out memory is used for: Sending the transmit data stream to a waveform transceiver so that the waveform transceiver sends the transmit data stream to a pin direction controller; The pin direction controller is used to: According to the input-output direction configuration information, configuring the input-output interface of the programmable logic device connected to the chip under test; The transmission data stream is sent to the chip under test through the input and output interface.

[0072] Optionally, the waveform transceiver includes a control state machine, a transmit asynchronous FIFO, a clock control state machine, and a clock enable module, and the waveform transceiver is used to: The waveform transceiver inputs the transmit data stream into the control state machine; The control state machine is used to: After receiving the start control signal and the configuration information sent by the CPU, generating a start / end control symbol of the sending data stream according to the start control signal and the configuration information; Combining the start / stop control symbol and the transmit data stream and inputting them into the transmit asynchronous FIFO; The transmit asynchronous FIFO is used to: Converting the clock frequency of the transmitted data stream into the clock frequency of the chip under test; Inputting the start / stop control character into the clock control state machine; The clock control state machine is used to: Sending a clock enable signal to the clock enable module according to the start / stop control character, and controlling the on / off of the associated clock according to the start / stop control character; When the associated clock is turned on, a read enable signal is sent to the transmit asynchronous FIFO, so that the transmit asynchronous FIFO sends the transmit data stream to the pin direction controller according to the read enable signal; When the associated clock is turned off, the sending of the read enable signal to the sending asynchronous FIFO is stopped, so that the sending asynchronous FIFO stops sending the sending data stream to the pin direction controller.

[0073] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0074] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0075] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that comply with the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0076] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A chip aging test method, characterized in that: Applied to a chip aging test controller, the controller includes a CPU and a programmable logic device, the CPU is connected to an SD card, the programmable logic device is connected to multiple chips under test, the programmable logic device includes a DDR module, a BRAM module, a process control state machine, a DMA module, a data separation module, and a waveform inspection module, and the method includes: The CPU reads the test data from the SD card, and stores the test stimulus data in the test data and the corresponding cycle number configuration information in the DDR module, and stores the input and output direction configuration information and data length information in the test data in the BRAM module; The process control state machine receives a start instruction sent by the CPU, and reads the data length information from the BRAM module in response to the start instruction; The process control state machine configures the reading parameters of the DMA module according to the data length information, and controls the DMA module to read the target data to be sent at the same time from the DDR module according to the reading parameters, wherein the target data includes test stimulus data and standard data; the standard data is the expected data returned by the test stimulus data after being tested by the chip under test; The DMA module inputs the target data into a data separation module, the data separation module divides the target data into a transmission data stream containing the test stimulus data and a standard data stream containing the standard data, and sends the transmission data stream to the chip under test, and sends the standard data stream to the waveform inspection module; After the chip under test performs an aging test using the data in the transmitted data stream, the waveform inspection module receives a return signal sent by the chip under test, compares the return signal with the standard data stream, and returns the comparison result to the CPU, so that the CPU can monitor the test process in real time according to the comparison result.

2. The method according to claim 1, characterized in that The programmable logic device further includes a pin direction controller, which, after the process control state machine receives a start instruction sent by the CPU, further includes: The process control state machine reads the input and output direction configuration information from the BRAM module in response to the start instruction; The process control state machine sends the input and output direction configuration information to the pin direction controller through the data separation module and the waveform transceiver.

3. The method according to claim 2, characterized in that The programmable logic device further includes a first first-in first-out memory and a waveform transceiver, and the sending data stream to the chip under test includes: The data separation module sends the transmission data stream to the first first-in first-out memory for buffering; The first FIFO memory sends the transmit data stream to a waveform transceiver, and the waveform transceiver sends the transmit data stream to a pin direction controller; The pin direction controller configures the input and output interface of the programmable logic device connected to the chip under test according to the input and output direction configuration information; The pin direction controller sends the transmission data stream to the chip under test through the input and output interface.

4. The method according to claim 3, characterized in that The waveform transceiver includes a control state machine, a transmission asynchronous FIFO, a clock control state machine, and a clock enable module. The waveform transceiver sends the transmission data stream to the pin direction controller, including: The waveform transceiver inputs the transmit data stream into the control state machine; After receiving the start control signal and configuration information sent by the CPU, the control state machine generates a start / end control symbol of the transmission data stream according to the start control signal and the configuration information; The control state machine combines the start / stop control symbol and the transmit data stream and inputs them into the transmit asynchronous FIFO; The transmitting asynchronous FIFO converts the clock frequency of the transmitting data stream into the clock frequency of the chip under test; The sending asynchronous FIFO inputs the start / stop control character into the clock control state machine; The clock control state machine sends a clock enable signal to the clock enable module according to the start / stop control character, and controls the opening and closing of the associated clock according to the start / stop control character; When the associated clock is turned on, the clock control state machine sends a read enable signal to the transmit asynchronous FIFO, and the transmit asynchronous FIFO sends the transmit data stream to the pin direction controller according to the read enable signal; When the associated clock is turned off, the clock control state machine stops sending a read enable signal to the transmit asynchronous FIFO, and the transmit asynchronous FIFO stops sending the transmit data stream to the pin direction controller.

5. The method according to claim 4, characterized in that The controlling the on / off of the associated clock according to the start / stop control character comprises: When it is determined that the data position of the current transmitted data stream corresponds to the start control character, the associated clock is controlled to be turned on; when it is determined that the data position of the current transmitted data stream corresponds to the end control character, the associated clock is controlled to be turned off.

6. The method according to claim 4, characterized in that The waveform transceiver further includes a receiving asynchronous FIFO, the programmable logic device further includes a second first-in first-out memory, and the waveform inspection module receives a return signal sent by the chip under test, including: After receiving the write enable signal sent by the clock control state machine, the receiving asynchronous FIFO receives the return signal sent by the chip under test; The receiving asynchronous FIFO sends the return signal to the second FIFO, and the second FIFO sends the return signal to the waveform inspection module.

7. A chip aging test controller, characterized in that: The controller includes a CPU and a programmable logic device, the CPU is connected to an SD card, the programmable logic device is connected to a plurality of chips under test, and the programmable logic device includes a DDR module, a BRAM module, a process control state machine, a DMA module, a data separation module, and a waveform inspection module; The CPU is used to: Reading test data from the SD card, and storing test stimulus data in the test data and corresponding cycle number configuration information in the DDR module, and storing input and output direction configuration information and data length information in the test data in the BRAM module; The process control state machine is used to: receiving a start instruction sent by the CPU, and reading the data length information from the BRAM module in response to the start instruction; Configure the reading parameters of the DMA module according to the data length information, and control the DMA module to read the test stimulus data that needs to be sent at the same time from the DDR module according to the reading parameters; The DMA module is used to: Inputting the test stimulus data into a data separation module; The data separation module is used for: The test stimulus data is divided into a transmission data stream and a standard data stream, and the transmission data stream is sent to the chip under test, and the standard data stream is sent to the waveform inspection module; the standard data stream is the expected data after the test corresponding to the transmission data stream; The waveform inspection module is used for: After the chip under test performs an aging test using the data in the transmitted data stream, a return signal sent by the chip under test is received, the return signal is compared with the standard data stream, and the comparison result is returned to the CPU, so that the CPU can monitor the test process in real time according to the comparison result.

8. The controller according to claim 7, characterized in that: The programmable logic device further comprises a pin direction controller, and the process control state machine is used for: In response to the start instruction, reading the input and output direction configuration information from the BRAM module; The input and output direction configuration information is sent to the pin direction controller through the data separation module and the waveform transceiver.

9. The controller according to claim 7, characterized in that: The programmable logic device further includes a first first-in first-out memory, a waveform transceiver, and the data separation module is used for: Sending the transmission data stream to a first first-in first-out memory for buffering; The first first-in first-out memory is used for: Sending the transmit data stream to a waveform transceiver so that the waveform transceiver sends the transmit data stream to a pin direction controller; The pin direction controller is used to: According to the input-output direction configuration information, configuring the input-output interface of the programmable logic device connected to the chip under test; The transmission data stream is sent to the chip under test through the input and output interface.

10. The controller according to claim 9, characterized in that: The waveform transceiver includes a control state machine, a transmission asynchronous FIFO, a clock control state machine, and a clock enable module, and the waveform transceiver is used for: The waveform transceiver inputs the transmit data stream into the control state machine; The control state machine is used to: After receiving the start control signal and the configuration information sent by the CPU, generating a start / end control symbol of the sending data stream according to the start control signal and the configuration information; Combining the start / stop control symbol and the transmit data stream and inputting them into the transmit asynchronous FIFO; The transmit asynchronous FIFO is used for: Converting the clock frequency of the transmitted data stream into the clock frequency of the chip under test; Inputting the start / stop control character into the clock control state machine; The clock control state machine is used to: Sending a clock enable signal to the clock enable module according to the start / stop control character, and controlling the on / off of the associated clock according to the start / stop control character; When the associated clock is turned on, a read enable signal is sent to the transmit asynchronous FIFO, so that the transmit asynchronous FIFO sends the transmit data stream to the pin direction controller according to the read enable signal; When the associated clock is turned off, the sending of the read enable signal to the sending asynchronous FIFO is stopped, so that the sending asynchronous FIFO stops sending the sending data stream to the pin direction controller.

Citation Information

Patent Citations

  • Dynamic allocation method for on-line programming of integrated circuit tester

    CN102565671A

  • Ethernet interface and data processing device and method thereof

    CN106330629A

  • A semiconductor memory aging test core board

    CN109346119A

  • Chip-level test verification system and chip detection method

    CN114441934A

  • Chip function test method and system based on multi-core CPU

    CN117234831A

Cited By

  • Automatic hardware testing system and method based on state machine

    CN122526915A

  • A state machine-based hardware automated testing system and method

    CN122526915B