FPGA-based chip testing system for WGL and its application
By automatically converting and verifying WGL files through the FPGA-based chip test system, the problem of low efficiency in ATE test file conversion and verification in chip development is solved, the false screening rate and communication costs are reduced, and the test efficiency is improved.
Patent Information
- Application Number
- CN202111662278.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-31
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2041-12-31
AI Technical Summary
During the chip development process, existing technology is difficult to convert and verify ATE test files quickly and efficiently, resulting in low chip yield and low test efficiency, which increases communication and iteration costs for small and medium-sized companies.
Using an FPGA-based chip test system, the WGL file is automatically converted into a synthesized code file through a WGL file processing device, and logic synthesis and PR processing are performed on the FPGA to generate a bitfile file for verification to ensure the correctness of the file, and when necessary Adjust wait delay information to match chip internal delays.
It reduces the false screening rate of ATE machines, reduces the iteration cost of communication with ATE machines, improves test efficiency, and ensures the correctness of files provided to the ATE test end.
Smart Images

Figure CN114325336B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of chip development, and in particular to a WGL-oriented chip testing system based on FPGA and its application. Background Art
[0002] Automatic test equipment ATE (Automatic Test Equipment) is a test device used to provide test patterns to test chips (i.e. chip DUTs) and analyze the chip's response to the test patterns to detect whether the chip is good or bad. The basic process is as follows: Provide a chip test environment through an ATE machine (or ATE test platform), apply a test vector ATE pattern, measure the chip response output (response), and compare it with the predicted result in advance. If it meets the requirements, the chip is judged to be good, otherwise, the chip is judged to be bad. Among them, before the chip is mass-produced (production), each chip must pass the ATE pattern for automated chip testing and screening.
[0003] When developing chips, designers usually use electronic design automation (EDA) simulation tools to generate simulation test models required to check specific features, characteristics or behaviors of specific devices, and the design team stores simulation files associated with the generated test patterns in the file server. These EDA-related simulation files can be provided to ATE testers for ATE testing. Since the simulation files generated by EDA simulation tools cannot generally be used directly for ATE testing, they need to be converted to a test file format that ATE can recognize. At present, chip EDA verification personnel usually provide VCD (Value Change Dump) waveform files for ATE testing. After obtaining the VCD waveform files, ATE testers convert them into WGL (Waveform Generation Language) files, and then convert the WGL files into ATE patterns and complete chip testing and screening on the ATE machine.
[0004] At present, during the ATE test process, the phenomenon of low chip yield is often encountered, that is, a large number of chips are screened out by ATE because they fail the test. For the above-mentioned scene, it is often necessary to find the reason for the low yield, and debug the EDA verification information and ATE test information to determine whether the chip is really unqualified or the ATE machine misscreens. At this time, the chip is actually qualified, but the measured chip response output does not match the pre-predicted result, causing the ATE machine to misjudge the chip as bad. When judging whether the ATE machine has misscreened, it may be necessary to perform iterative testing on the ATE machine and / or communicate test information with the ATE test company that provides the ATE machine. Since the use fee of the ATE machine is relatively expensive, the cost of the above-mentioned iteration and communication is relatively high, and the communication efficiency is low, which is unacceptable for general small and medium-sized companies. Therefore, the current work of judging whether the ATE machine has misscreened is often done by testers manually checking the test process information. Considering the file conversion process of generating ATE machine files, the focus of the inspection work is usually on the WGL file converted from the VCD file and the ATE machine file converted from the WGL file. However, due to the lack of a test system for checking and debugging the above conversion files, the current speed and efficiency of checking and debugging are low, which takes up a lot of time for testers and affects the entire chip development cycle.
[0005] On the other hand, FPGA (Field Programmable Gate Array) can perform RTL verification, accelerate simulation progress, and carry out research and development of embedded and related applications in advance. FPGA prototype verification is widely used in current digital chip design. It can transplant RTL to field programmable gate array (FPGA) to verify the functions and performance of application-specific integrated circuits (ASIC), application-specific standard products (ASSP) and system-on-chip (SoC). With the increasing complexity of hardware, the number of related software that needs to be verified is increasing, and the scope of use of FPGA verification is also more extensive. However, traditional FPGA-based chip automation test platforms usually send input / output IO (Input / Output) stimuli through UART (Universal Asynchronous Receiver / Transmitter, a universal serial data bus). The disadvantage of this method is that the speed is relatively slow. When there are many IO stimuli, it takes a lot of time, resulting in low test efficiency.
[0006] In summary, whether it is possible to provide a chip testing solution based on FPGA verification that is simple in structure, easy to build, can be used to quickly and efficiently verify the correctness of conversion files during ATE testing, and reduce the communication and iteration costs with ATE machines is one of the technical problems that urgently need to be solved. Summary of the invention
[0007] The purpose of the present invention is to overcome the shortcomings of the prior art and provide a chip test system and application based on FPGA and facing WGL. The test system provided by the present invention includes a WGL file processing device and an FPGA automated test platform, which can automatically convert the WGL file into a synthesizable code file, and after being converted into a bitfile file through synthesis and PR processing, it is downloaded to the FPGA for correctness verification of the WGL file, thereby ensuring the correctness of the WGL file provided to the ATE test end, reducing the ATE machine misscreening caused by WGL file errors, and thus reducing the communication iteration cost with the ATE machine, with a simple structure, convenient construction, and high test efficiency. Furthermore, before the ATE machine is tested, the above-mentioned test system can also be used to adjust the waiting delay of the WGL file to ensure that the WGL file matches the chip internal delay information of the test chip (chip DUT), avoiding the ATE machine misscreening caused by insufficient waiting delay of the WGL file.
[0008] To achieve the above objectives, the present invention provides the following technical solutions:
[0009] A WGL-oriented chip testing system based on FPGA includes a WGL file processing device and an automated testing platform, wherein the automated testing platform includes a Socket baseboard and an FPGA sub-board, wherein the Socket baseboard is provided with a slot for installing the aforementioned FPGA sub-board and a socket for installing the chip;
[0010] The WGL file processing device is used to obtain a waveform generation language WGL file to be tested, convert the aforementioned WGL file into a synthesizable code file based on a hardware description language through a script, perform logic synthesis processing on the aforementioned synthesizable code file to convert it into a gate-level netlist, then process the gate-level netlist to obtain a PR netlist, convert the PR netlist into a bitfile file, and burn the bitfile file into the FPGA daughter board;
[0011] The FPGA daughter board is used to send IO stimulus information to the chip of the Socket baseboard through the slot after power-on reset, and obtain the actual return value output by the aforementioned chip, and compare the aforementioned actual return value with the preset ideal return value to verify the correctness of the aforementioned WGL file. When the actual return value is inconsistent with the ideal return value, the file verification test result is determined to be failed, otherwise the file verification test result is determined to be passed.
[0012] Furthermore, the synthesizable code file is a synthesizable Verilog file based on a synthesizable Verilog language, and the synthesizable Verilog file is processed by an FPGA synthesis tool Synplify and a PR tool Vivado to generate a bitfile file.
[0013] Further, the WGL file processing device further comprises a waiting delay adjustment unit, wherein the waiting delay adjustment unit is configured to: adjust the waiting delay information in the aforementioned WGL file when the file verification test result fails;
[0014] The WGL file processing device can perform the above conversion processing on the adjusted WGL file to obtain the adjusted bitfile file, and burn the adjusted bitfile file to the FPGA daughter board for re-verification.
[0015] Furthermore, the waiting delay adjustment unit is also configured to obtain chip corner information corner of the chip on the Socket baseboard, obtain the preset internal delay value of the corner of the chip based on a preset chip corner and chip internal delay value mapping table, and adjust the waiting delay information in the WGL file according to the internal delay value.
[0016] Furthermore, the verification test result of the adjusted WGL file is obtained, and when it is determined to be passed, the adjusted WGL file is triggered to be converted into an ATE machine file, and the ATE machine file includes test vector ATE pattern information and timing information.
[0017] Furthermore, a logic analyzer chipsope is provided on the FPGA daughter board. When it is determined that the file verification test result fails, the online logic analyzer chipsope is started to monitor the IO port information of the FPGA daughter board.
[0018] Furthermore, the FPGA daughter board is provided with a prompt light, and when the file verification test result is determined to be passed, the prompt light on the FPGA daughter board is triggered to light up.
[0019] The present invention also provides a chip ATE testing method, comprising the following steps:
[0020] Receiving a VCD waveform file for ATE testing provided by an EDA verification end, and converting the aforementioned VCD waveform file to generate a WGL file;
[0021] Test the WGL file through the aforementioned system and obtain the test results;
[0022] When the test result is determined to be passed, the aforementioned WGL file is converted into an ATE machine file and input into the ATE test end for functional testing; otherwise, the waiting delay information in the aforementioned WGL file is adjusted and input into the aforementioned system for retesting and obtaining the test result, until the test result of the adjusted WGL file is passed, the adjusted WGL file with adjusted waiting delay is converted into an ATE machine file and input into the ATE test end for functional testing.
[0023] The present invention also provides a chip ATE test optimization method, comprising the following steps:
[0024] Obtain ATE test results of the chip in the ATE test terminal;
[0025] When the ATE test result of the aforementioned chip is unqualified, a WGL file corresponding to the test vector ATE pattern is obtained, the WGL file is tested by the aforementioned system, and the test result is obtained;
[0026] When the test result is determined to be a failure, the waiting delay information in the aforementioned WGL file is adjusted and input into the aforementioned system for retesting and obtaining the test result. When the test result of the adjusted WGL file is a pass, the adjusted WGL file with the adjusted waiting delay is converted into an ATE machine file and input into the aforementioned ATE test terminal for testing.
[0027] The present invention also provides a WGL-oriented file testing method based on FPGA, comprising the following steps:
[0028] Obtain a waveform generation language WGL file to be tested, and convert the WGL file into a synthesizable code file based on a hardware description language through a script;
[0029] After the aforementioned synthesizable code file is converted into a gate-level netlist through logic synthesis, the gate-level netlist is processed to obtain a PR netlist, the PR netlist is converted into a bitfile file, and the bitfile file is burned into the FPGA daughter board;
[0030] After the power-on reset is started, the IO stimulus information is sent to the chip on the socket baseboard through the slot through the FPGA daughter board, and the actual return value output by the aforementioned chip is obtained;
[0031] The above-mentioned actual return value is compared with the preset ideal return value to verify the correctness of the above-mentioned WGL file. When the actual return value is inconsistent with the ideal return value, the file verification test result is determined to be failed, otherwise the file verification test result is determined to be passed.
[0032] Due to the adoption of the above technical solution, the present invention has the following advantages and positive effects compared with the prior art, as an example: the test system provided by the present invention includes a WGL file processing device and an FPGA automated test platform, which can automatically convert the WGL file into a synthesizable code file, and after being converted into a bitfile file through synthesis and PR processing, it is downloaded to the FPGA for correctness verification of the WGL file, thereby ensuring the correctness of the WGL file provided to the ATE test end, reducing the ATE machine misscreening caused by WGL file errors, and thus reducing the communication iteration cost with the ATE machine, with a simple structure, convenient construction, and high test efficiency. Further, before the ATE machine is tested, the above test system can also be used to adjust the waiting delay of the WGL file to ensure that the WGL file matches the chip internal delay information of the test chip (chip DUT), avoiding the ATE machine misscreening caused by insufficient waiting delay of the WGL file. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 A schematic diagram of information processing for testing a WGL file provided in an embodiment of the present invention.
[0034] Figure 2 A schematic diagram of information processing for performing file adjustment and error detection according to file verification test results provided by an embodiment of the present invention.
[0035] Figure 3 A flowchart of a chip ATE testing method provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0036] The following is a further detailed description of the FPGA-based WGL-oriented chip testing system and application disclosed in the present invention in conjunction with the accompanying drawings and specific embodiments. It should be noted that the technical features or combinations of technical features described in the following embodiments should not be considered isolated, and they can be combined with each other to achieve better technical effects. In the drawings of the following embodiments, the same reference numerals appearing in each drawing represent the same features or components, which can be applied to different embodiments. Therefore, once an item is defined in one drawing, it does not need to be further discussed in subsequent drawings.
[0037] It should be noted that the structures, proportions, sizes, etc. illustrated in the drawings of this specification are only used to match the contents disclosed in the specification for people familiar with this technology to understand and read, and are not used to limit the limiting conditions for the implementation of the invention. Any modification of the structure, change of the proportion relationship or adjustment of the size should fall within the scope of the technical content disclosed by the invention without affecting the effects and purposes that can be achieved by the invention. The scope of the preferred embodiments of the present invention includes other implementations, in which the functions can be performed in a substantially simultaneous manner or in a reverse order according to the functions involved, which should be understood by those skilled in the art of the technical field to which the embodiments of the present invention belong.
[0038] Techniques, methods, and devices known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, the techniques, methods, and devices should be considered part of the authorization specification. In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values. Example
[0039] See also Figure 1 As shown, a WGL-oriented chip testing system based on FPGA is provided by the present invention.
[0040] The test system includes a WGL (Waveform Generation Language) file processing device and an automated test platform.
[0041] The automated testing platform may include a Socket base plate and an FPGA sub-board. The Socket base plate is provided with a slot for installing the aforementioned FPGA sub-board and a socket for installing the chip, and the chip is installed on the socket.
[0042] According to the needs, for chips of different sizes and different packaging types, multiple socket boards can be provided to install test chips of different sizes and types. The advantage of using a socket board is that the test chip can be taken in and out at any time.
[0043] The WGL file processing device is used to obtain a waveform generation language WGL file to be tested, convert the aforementioned WGL file into a synthesizable code file based on a hardware description language through a script, perform logic synthesis processing on the aforementioned synthesizable code file to convert it into a gate-level netlist (also known as a gate-level circuit netlist), then process the gate-level netlist to obtain a PR netlist, convert the PR netlist into a bitfile file, and burn the bitfile file onto an FPGA daughter board.
[0044] The WGL file mainly describes the input and output (IO) pin signal names required for the test, as well as information about the test process. The main syntax structure of WGL includes waveform blocks, timing blocks, signal blocks, subroutine blocks, and scan chain blocks.
[0045] The WGL file to be verified can be converted from the (E)VCD file provided by the EDA verifier. Both VCD files and EVCD files are ASCII-based file formats used to record signal information generated by EDA simulation tools. Their formats are basically the same. The main difference between the two is that EVCD files carry pin type information, that is, marking whether the pin is an input pin or an output pin, while VCD files do not carry this pin type information. In specific implementation, the conversion from VCD files to WGL files can be performed through dedicated conversion software or conversion scripts, which belongs to the prior art and will not be repeated here.
[0046] The synthesizable code file is a synthesizable Verilog file written in the synthesizable Verilog language, and the synthesizable code file is characterized in that it can be synthesized into a netlist. In this embodiment, the script for converting the WGL file into the synthesizable code file is preferably a Python script.
[0047] As an example of a typical method, the synthesizable Verilog file can be processed by the FPGA synthesis tool synplify and the PR tool vivado to generate a bitfile file (bitstream file), and the generated bitfile can be burned into the FPGA daughter board for operation.
[0048] The FPGA synthesis tool synplify is used to synthesize the synthesizable Verilog file. The synplify synthesis process mainly includes three aspects: First, compile the HDL source code. Synplify translates the input HDL source code into a boolean expression. Second, optimize the compiled results. Eliminate redundant logic and reuse modules through logic optimization. This optimization is for logical relationships and has nothing to do with specific devices. Third, perform logic mapping and structural level optimization on the optimized results, and finally generate a netlist. Synplify can map the compiled logical relationships into the underlying hardware modules and primitives of the FPGA, generate a netlist, and optimize it.
[0049] After the netlist is placed and routed, a PR (Placement Routing) netlist can be obtained, whose function and timing are closest to the physical chip. Specifically, the PR tool vivado can be used to place and route the netlist and generate a binary bitfile file, which can then be burned into the FPGA daughter board (FPGA chip board).
[0050] The FPGA daughter board is used to send IO stimulus information to the chip of the Socket baseboard through the slot after power-on reset, and obtain the actual return value output by the aforementioned chip; and compare the aforementioned actual return value with the preset ideal return value to verify the correctness of the aforementioned WGL file. When the actual return value is inconsistent with the ideal return value, the file verification test result is determined to be a failure (fail), otherwise the file verification test result is determined to be a pass (pass).
[0051] The specific steps for performing file testing of WGL files based on the aforementioned testing system may be as follows.
[0052] S100, obtaining a waveform generation language WGL file to be tested, and converting the WGL file into a synthesizable code file based on a hardware description language through a script.
[0053] S200, converting the synthesizable code file into a gate-level netlist through logic synthesis, processing the gate-level netlist to obtain a PR netlist, converting the PR netlist into a bitfile, and burning the bitfile into the FPGA daughter board.
[0054] S300, after the power-on reset is started, the IO stimulus information is sent to the chip on the socket base plate through the slot via the FPGA daughter board, and the actual return value output by the aforementioned chip is obtained.
[0055] S400, compare the above-mentioned actual return value with the preset ideal return value to verify the correctness of the above-mentioned WGL file. When the actual return value is inconsistent with the ideal return value, the file verification test result is determined to be failed, that is, the WGL file is wrong; otherwise, the file verification test result is determined to be passed, that is, the WGL file is correct.
[0056] Chip manufacturing is a physical process, and there are process deviations (including doping concentration, diffusion depth, etching degree, etc.), which lead to different situations between different batches, between different wafers in the same batch, and between different chips on the same wafer. On a wafer, it is impossible for the average drift velocity of carriers at every point to be the same. With different voltages and temperatures, their characteristics will also be different. They are classified into PVT (i.e., Process Voltage Temperature), among which Process is divided into different corners. Taking the 5-corner model as an example, it includes TT, FF, SS, FS, and SF 5 corners, among which TT refers to Typical N Typical P, FF refers to Fast N Fast P, SS refers to Slow N Slow P, FS refers to Fast N Slow P, and SF refers to Slow N Fast P.
[0057] Since different chips may use different chip corner information, resulting in different delays inside the chip, in this embodiment, in order to avoid ATE machine misscreening due to insufficient waiting delay in the WGL file (in this case, the chip to be tested in the ATE test is actually a qualified chip, but due to the wrong waiting delay information in the WGL file, the corresponding ATE pattern obtained by conversion is wrong, causing the ATE machine to determine that the chip is unqualified and misscreening), it is also possible to trigger the adjustment of the waiting delay information in the WGL file when the file verification test result of the WGL file fails, see Figure 2 shown.
[0058] At this time, the WGL file processing device further includes a waiting delay adjustment unit, and the waiting delay adjustment unit is configured to adjust the waiting delay information in the aforementioned WGL file when the file verification test result fails.
[0059] Preferably, the waiting delay adjustment unit is configured to: obtain the chip corner information corner of the chip on the Socket baseboard, obtain the preset internal delay value of the corner of the chip based on a preset chip corner and chip internal delay value mapping table, and adjust the waiting delay information in the WGL file according to the internal delay value.
[0060] The WGL file processing device can perform the above conversion processing on the adjusted WGL file to obtain the adjusted bitfile file, and burn the adjusted bitfile file to the FPGA daughter board for re-verification.
[0061] The verification test result of the adjusted WGL file is obtained, and when the file verification test result is determined to be passed, the adjusted WGL file is converted into an ATE machine file, at which time, the WGL file is a WGL file with adjusted waiting delay. The ATE machine file includes test vector ATE pattern information and timing information.
[0062] By using the above test system, the correctness of the WGL file (which needs to be converted into ATE pattern later) provided to the ATE test end can be ensured, so that the waiting delay information in the WGL file matches the internal chip delay information of the test chip, reducing the ATE machine misscreening caused by WGL file errors.
[0063] In an application scenario, after the test chip is returned, the test chip can be placed on the small automated test platform of the above-mentioned test system, and the chip can be tested using the provided WGL file. The correctness of the WGL file can be verified and adjusted based on the test results, so that the waiting delay information in the WGL file matches the internal delay information of the chip, ensuring that the WGL file provided to the ATE test end is correct. In this way, the WGL file can be pre-checked before the ATE machine performs ATE testing on the chip to be tested, reducing the ATE machine's misscreening caused by WGL file errors, thereby reducing the communication and iteration costs with the ATE machine.
[0064] In another application scenario, when the test chip fails (i.e., is judged as unqualified) in the ATE machine test, for example, when the DDR fails in the ATE machine screening, the unqualified chip is placed on the small automated test platform of the above test system, the WGL file corresponding to the test vector ATE pattern is obtained, the chip is tested with the WGL file, and the waiting delay information in the WGL file is adjusted to match the internal delay information of the test chip. In actual testing, it is found that the machine misscreening is often due to insufficient waiting delay in the WGL file, so the adjustment is generally to increase the waiting delay in the WGL file; then after the WGL file with increased waiting delay passes the test, the adjusted WGL file with adjusted waiting delay is converted into an ATE machine file and input into the aforementioned ATE test terminal for another ATE test of the aforementioned test chip. In this way, the communication and iteration cost with the ATE machine can be reduced.
[0065] In this embodiment, a logic analyzer chipsope is also provided on the FPGA daughter board. When the WGL file verification test result is determined to be a failure, the online logic analyzer chipsope can also be started to monitor the IO port information of the FPGA daughter board for error detection. Figure 2 shown.
[0066] In this implementation, the WGL file that failed the test is debugged. This is because the WGL file is converted from the VCD file, and errors may occur during the conversion process: since the VCD file is difficult to compare after conversion, the VCD file contains all the information of each pin and must be periodized using a fixed cycle. When determining the timing format for each cycle, some timing information may be omitted. The converted signal will be different from the original signal, causing errors in the converted WGL file.
[0067] The logic analyzer Chipscope can capture the IO value and internal stimulus information of the FPGA in real time to determine the time point and signal when the problem occurs. The logic analyzer Chipscope can capture thousands of signals for analysis at a time, with high analysis efficiency.
[0068] In this embodiment, according to actual testing experience, when a WGL file verification test result fails, the waiting delay adjustment unit can be started first to adjust the waiting delay information. If it still shows failure after adjustment, the online logic analyzer chipsope can be started to monitor the IO port information of the FPGA sub-board; or, the online logic analyzer chipsope can be started first to monitor the IO port information of the FPGA sub-board, and then the waiting delay adjustment unit can be started to adjust the waiting delay information.
[0069] In another implementation of this embodiment, the FPGA sub-board may also be provided with a prompt light, which triggers the prompt light on the FPGA sub-board to light up when the file verification test result is passed. At the same time, it may also trigger the conversion of the aforementioned WGL file into an ATE machine file, wherein the ATE machine file includes test vector ATE pattern information and timing information. Of course, the above prompt method is preferred but not limited. For example, those skilled in the art may also select other prompt structures based on sound and / or light to indicate that the test result has passed, such as a buzzer, as needed.
[0070] The above-mentioned test system provided by the present invention can complete the construction of the automatic test platform through an FPGA development board and a socket board, and the time for modifying and iterating once can be controlled in a relatively short time (measured in minutes); the synthesizable Verilog file is synthesized, PR is converted into a bitfile file and downloaded to the FPGA, and the IO stimulus can be sent in a short time (measured in seconds) by utilizing the parallel and fast advantages of the FPGA. Compared with the high time consumption of sending IO stimulus through the traditional UART, it has the advantages of simple structure, convenient construction and fast speed. Further, before testing on the ATE machine, the correctness test of the WGL file can be completed by using this test system, and the delay can be adjusted to match the internal delay of the test chip; at the same time, for the WGL file that fails the test, the FPGA logic analyzer chipscope can be used to capture the FPGA IO value and the time point when the internal stimulus is sent in real time and efficiently, which is convenient for efficient error detection, ensuring the correctness of the WGL file provided to the ATE test end, and can effectively reduce the communication iteration cost with the ATE machine.
[0071] Another embodiment of the present invention further provides a chip ATE testing method, see Figure 3 As shown, the chip ATE testing method includes the following steps.
[0072] S11, receiving a VCD waveform file for ATE testing provided by an EDA verification terminal, and converting the VCD waveform file to generate a WGL file.
[0073] S12, testing the WGL file through the testing system in the aforementioned embodiment, and obtaining the test result.
[0074] The test system includes a WGL file processing device and an automated test platform, wherein the automated test platform includes a Socket baseboard and an FPGA subboard, wherein the Socket baseboard is provided with a slot for installing the aforementioned FPGA subboard and a socket for installing a chip. The WGL file processing device is used to obtain a waveform generation language WGL file to be tested, convert the aforementioned WGL file into a synthesizable code file based on a hardware description language through a script, perform logic synthesis processing on the aforementioned synthesizable code file to convert it into a gate-level netlist, and then process the gate-level netlist to obtain a PR netlist, convert the PR netlist into a bitfile file, and then burn the bitfile file onto the FPGA subboard. The FPGA subboard is used to send IO stimulus information to the chip of the Socket baseboard through the socket after power-on reset, and obtain the actual return value output by the aforementioned chip, and compare the aforementioned actual return value with the preset ideal return value to verify the correctness of the aforementioned WGL file. When the actual return value is inconsistent with the ideal return value, the file verification test result is determined to be failed, otherwise the file verification test result is determined to be passed.
[0075] S13, when the test result is determined to be passed, the WGL file is converted into an ATE machine file and then input into the ATE test terminal for functional testing.
[0076] S14, when the test result is determined to be a failure, the waiting delay information in the aforementioned WGL file is adjusted to obtain an adjusted WGL file, and the adjusted WGL file is input into the aforementioned system for retesting and obtaining the test result, that is, returning to execute step S12.
[0077] When the test result of the adjusted WGL file is passed, the adjusted WGL file with adjusted waiting delay is converted into an ATE machine file and then input into the ATE test end for functional testing.
[0078] For other technical features, please refer to the previous embodiments and will not be described in detail here.
[0079] Another embodiment of the present invention further provides a method for optimizing chip ATE testing, the method comprising the following steps.
[0080] S21, obtaining ATE test results of the chip in the ATE test end.
[0081] S22, when the ATE test result of the aforementioned chip is unqualified, obtain a WGL file corresponding to the test vector ATE pattern, test the WGL file through the aforementioned test system, and obtain the test result.
[0082] The test system includes a WGL file processing device and an automated test platform, wherein the automated test platform includes a Socket baseboard and an FPGA subboard, wherein the Socket baseboard is provided with a slot for installing the aforementioned FPGA subboard and a socket for installing a chip. The WGL file processing device is used to obtain a waveform generation language WGL file to be tested, convert the aforementioned WGL file into a synthesizable code file based on a hardware description language through a script, perform logic synthesis processing on the aforementioned synthesizable code file to convert it into a gate-level netlist, and then process the gate-level netlist to obtain a PR netlist, convert the PR netlist into a bitfile file, and then burn the bitfile file onto the FPGA subboard. The FPGA subboard is used to send IO stimulus information to the chip of the Socket baseboard through the socket after power-on reset, and obtain the actual return value output by the aforementioned chip, and compare the aforementioned actual return value with the preset ideal return value to verify the correctness of the aforementioned WGL file. When the actual return value is inconsistent with the ideal return value, the file verification test result is determined to be failed, otherwise the file verification test result is determined to be passed.
[0083] S23, when the test result is determined to be a failure, the waiting delay information in the aforementioned WGL file is adjusted and input into the aforementioned system for retesting and obtaining the test result, until the test result of the adjusted WGL file is passed, the adjusted WGL file with the adjusted waiting delay is converted into an ATE machine file and input into the aforementioned ATE test terminal for testing.
[0084] For other technical features, please refer to the previous embodiments and will not be described in detail here.
[0085] In the above description, the disclosure of the present invention is not intended to limit itself to these aspects. Rather, within the scope of the target protection of the present disclosure, the components can be selectively and operatively combined in any number. In addition, terms such as "include", "encompass" and "have" should be interpreted as inclusive or open by default, rather than exclusive or closed, unless they are explicitly defined to the contrary. All technical, scientific or other terms are consistent with the meanings understood by those skilled in the art, unless they are defined to the contrary. Common terms found in dictionaries should not be interpreted too idealistically or too impractically in the context of relevant technical documents, unless the present disclosure explicitly defines them as such. Any changes and modifications made by a person of ordinary skill in the field of the present invention based on the above disclosure belong to the scope of protection of the claims.
Claims
1. FPGA-based chip test system for WGL, Features: It includes a WGL file processing device and an automated testing platform, wherein the automated testing platform includes a Socket baseboard and an FPGA sub-board, wherein the Socket baseboard is provided with a slot for installing the aforementioned FPGA sub-board and a socket for installing a chip; The WGL file processing device is used to obtain a waveform generation language WGL file to be tested, convert the aforementioned WGL file into a synthesizable code file based on a hardware description language through a script, perform logic synthesis processing on the aforementioned synthesizable code file to convert it into a gate-level netlist, then process the gate-level netlist to obtain a PR netlist, convert the PR netlist into a bitfile file, and burn the bitfile file into the FPGA daughter board; The FPGA daughter board is used to send IO stimulus information to the chip of the socket baseboard through the slot after power-on reset, and obtain the actual return value output by the aforementioned chip, and compare the aforementioned actual return value with the preset ideal return value to verify the correctness of the aforementioned WGL file. When the actual return value is inconsistent with the ideal return value, the file verification test result is determined to be failed, otherwise the file verification test result is determined to be passed; The WGL file processing device further includes a waiting delay adjustment unit, which is configured to: when the file verification test result fails, adjust the waiting delay information in the aforementioned WGL file; wherein, the chip corner information corner of the chip on the socket baseboard is obtained, based on a preset chip corner and chip internal delay value mapping table, the preset internal delay value of the chip corner is obtained, and the waiting delay information in the WGL file is adjusted according to the internal delay value; The WGL file processing device can perform the above conversion processing on the adjusted WGL file to obtain the adjusted bitfile file, and burn the adjusted bitfile file to the FPGA daughter board for re-verification.
2. The system according to claim 1, Features: The synthesizable code file is a synthesizable Verilog file based on the synthesizable Verilog language, and the synthesizable Verilog file is processed by the FPGA synthesis tool Synplify and the PR tool Vivado to generate a bitfile file.
3. The system according to claim 1, Features: The verification test result of the adjusted WGL file is obtained. When it is determined to be passed, the adjusted WGL file is triggered to be converted into an ATE machine file, wherein the ATE machine file includes test vector ATE pattern information and timing information.
4. The system according to claim 1, Features: The FPGA sub-board is provided with a logic analyzer chipsope. When the file verification test result is determined to fail, the logic analyzer chipsope is started to monitor the IO port information of the FPGA sub-board.
5. The system according to claim 1, Features: The FPGA daughter board is provided with a prompt light, and when the file verification test result is determined to be passed, the prompt light on the FPGA daughter board is triggered to light up.
6. A chip ATE testing method, Features Includes steps: Receiving a VCD waveform file for ATE testing provided by an EDA verification end, and converting the aforementioned VCD waveform file to generate a WGL file; Testing the WGL file by the system described in claim 1 and obtaining the test result; When the test result is judged as passed, the aforementioned WGL file is converted into an ATE machine file and input into the ATE test terminal for functional testing; Otherwise, adjust the waiting delay information in the aforementioned WGL file and input it into the aforementioned system for retesting and obtaining the test results. When the test result of the adjusted WGL file is passed, convert the adjusted WGL file with adjusted waiting delay into an ATE machine file and input it into the ATE test end for functional testing.
7. A chip ATE test optimization method, Features Includes steps: Obtain ATE test results of the chip in the ATE test terminal; When the ATE test result of the aforementioned chip is unqualified, obtaining a WGL file corresponding to the test vector ATE pattern, testing the WGL file through the system described in claim 1, and obtaining the test result; When the test result is determined to be a failure, the waiting delay information in the aforementioned WGL file is adjusted and input into the aforementioned system for retesting and obtaining the test result. When the test result of the adjusted WGL file is a pass, the adjusted WGL file with the adjusted waiting delay is converted into an ATE machine file and input into the aforementioned ATE test terminal for testing.
8. A file testing method using the system of claim 1, Features Includes steps: Obtain a waveform generation language WGL file to be tested, and convert the WGL file into a synthesizable code file based on a hardware description language through a script; After the aforementioned synthesizable code file is converted into a gate-level netlist through logic synthesis, the gate-level netlist is processed to obtain a PR netlist, the PR netlist is converted into a bitfile file, and the bitfile file is burned into the FPGA daughter board; After the power-on reset is started, the IO stimulus information is sent to the chip on the socket baseboard through the slot through the FPGA daughter board, and the actual return value output by the aforementioned chip is obtained; The above-mentioned actual return value is compared with the preset ideal return value to verify the correctness of the above-mentioned WGL file. When the actual return value is inconsistent with the ideal return value, the file verification test result is determined to be failed, otherwise the file verification test result is determined to be passed.
Citation Information
Patent Citations
ATE-based function test method and tool
CN112710947A
Probe signal multiplexing method in FPGA prototype verification
CN113504463A
Method to verify correctness of computer system software and hardware components and corresponding test environment
GB201304892D0
Timing verifying method for logical simulation
JP2001306646A
Method and Apparatus of ATE IC Scan Test Using FPGA-Based System
US20110078525A1
