A method for adaptively generating ATE test code in EDA simulation

Through the method of adaptively generating ATE test codes in EDA simulation, the problem that traditional methods cannot realize bidirectional testing of circuit pins is solved, and efficient test code generation for complex circuit systems is realized, which simplifies the testing process and improves the testing efficiency.

CN114460436BActive Publication Date: 2024-11-1958TH RES INST OF CETC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111583691.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-22
Publication Date
2024-11-19
Estimated Expiration
2041-12-22

AI Technical Summary

Technical Problem

Traditional methods cannot realize the bidirectional test code conversion of circuit pins in EDA simulation, resulting in complex and large number of test codes, which is difficult to meet the needs of complex circuit systems.

Method used

The method of adaptively generating ATE test codes in EDA simulation, by performing ATE test on the circuit under test, writing pin information files, generating test code grabbing modules and instantiation modules, integrating them into the simulation platform, realizing the input of bidirectional ports Switch and output to generate ATE test code.

Benefits of technology

The test code generation process is simplified, the workload is reduced, and the two-way testing of complex circuit systems is realized, which improves the testing efficiency and coverage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114460436B_ABST
    Figure CN114460436B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for adaptively generating ATE test codes in EDA simulation, and belongs to the field of digital integrated circuit EDA simulation. The method includes performing ATE test on a circuit under test; writing a pin information file according to the pins of the circuit under test; generating a test code capture module and an instantiation module using an automatic generation script according to the pin information file; integrating the instantiation module into an EDA simulation platform; selecting a corresponding function in the EDA simulation platform for simulation, and outputting ATE test codes at the same time, so that the test codes can be directly generated according to the simulation functions in the EDA simulation without additional workload.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of digital integrated circuit EDA simulation, and in particular to a method for adaptively generating ATE test codes in EDA simulation. Background Art

[0002] With the development of integrated circuits and the current market application needs, the scale of monolithic integrated circuits is getting larger and larger, the number of circuit pins is increasing, and the overall function of the circuit is becoming more and more complex. In order to ensure the quality of the circuit and reduce the risk of quality zeroing due to failure problems after the product circuit is put on the market, generally before the circuit is put on the market, a relatively complete and complex ATE test will be performed to ensure the quality of the product.

[0003] In order to screen out defective products during the ATE test phase, it is necessary to design a complex ATE test program to ensure full-node and full-function coverage testing. In order to meet this requirement, the test vectors designed are often very complex and the number of test codes is also very large. The traditional method is to perform EDA simulation on a function to be tested on ATE, generate a vcd file during the simulation, and then use Synopsys' ns software to convert the vcd into a format file that can be used by the test machine. When converting, it is necessary to define whether the pin is input or output under the current function, and this conversion method cannot achieve test code conversion for bidirectional pins under a certain function.

[0004] In order to reduce the workload of massive test code generation, adapt to more complex circuit systems, and realize bidirectional testing of some circuit pins, a method for adaptively generating ATE test codes in EDA simulation is proposed. Summary of the invention

[0005] The object of the present invention is to provide a method for adaptively generating ATE test codes in EDA simulation to solve the problems in the background technology.

[0006] To solve the above technical problems, the present invention provides a method for adaptively generating ATE test codes in EDA simulation, comprising:

[0007] Perform ATE testing on the circuit under test;

[0008] Compile a pin information file according to the pins of the circuit under test;

[0009] Generate a test code capture module and an instantiation module using an automatic generation script according to the pin information file;

[0010] Integrating the instantiation module into the EDA simulation platform;

[0011] The corresponding functions in the EDA simulation platform are selected for simulation, and ATE test codes are output at the same time.

[0012] Optionally, the test code capture module includes a sampling clock, and the sampling clock captures the signal value on the pin of the circuit under test.

[0013] Optionally, the signal value includes an input signal and an output signal, the input signal is 0 or 1, and the output signal is a high level H or a low level L.

[0014] Optionally, the pin information file is a TXT file, including pin names, pin direction types, and pin input and output signals.

[0015] Optionally, the pin name, the pin direction type and the pin input / output signal are all OEN signals, and the pin name, the pin direction type and the pin input / output signal are separated by spaces.

[0016] Optionally, the automatically generated script defines a sampling frequency of the test code capture module at its start position.

[0017] Optionally, the sampling frequency is greater than twice the port flipping frequency of the circuit under test.

[0018] Optionally, the test code capture module is composed of Verilog language, and the test code capture module is instantiated into the top-level testbench in the EDA simulation platform.

[0019] Optionally, the automatically generated script is a perl script.

[0020] Optionally, different circuits under test correspond to different pin information files.

[0021] In the method for adaptively generating ATE test code in EDA simulation provided by the present invention, first, the circuit under test is subjected to ATE test, and then, according to the pins of the circuit under test, a pin information file of the circuit under test is written, and according to the obtained pin information file, a test code capture module and an instantiation module are generated by automatically generating a script, and the instantiation module is integrated into the EDA simulation platform, and finally, the corresponding function in the EDA simulation platform is selected for simulation, and the ATE test code is generated and outputted at the same time, so that the test code can be directly generated according to the simulation function in the EDA simulation without the need for additional workload. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 It is a flow chart of a method for adaptively generating ATE test codes in EDA simulation provided by the present invention;

[0023] Figure 2It is a structural diagram of the method for adaptively generating ATE test codes in EDA simulation provided by the present invention in an EDA simulation environment. DETAILED DESCRIPTION

[0024] The following is a further detailed description of a method for adaptively generating ATE test codes in EDA simulation proposed by the present invention in conjunction with the accompanying drawings and specific embodiments. The advantages and features of the present invention will become clearer according to the following description and claims. It should be noted that the accompanying drawings are in a very simplified form and are not in precise proportions, and are only used to conveniently and clearly assist in explaining the purpose of the embodiments of the present invention.

[0025] The present invention provides a method for adaptively generating ATE test codes in EDA simulation, the process of which is as follows: Figure 1 As shown, the following steps are included: first, perform ATE testing on the circuit under test, then write the pin information file of the circuit under test according to the pins of the circuit under test, generate the test code capture module and the instantiation module through automatic script generation according to the obtained pin information file, integrate the instantiation module into the EDA simulation platform, and finally select the corresponding function in the EDA simulation platform for simulation, and generate and output the ATE test code at the same time. Therefore, the test code can be directly generated according to the simulation function in the EDA simulation without additional workload.

[0026] The test code capture module is composed of Verilog language, and the test code capture module is instantiated into the top-level testbench in the EDA simulation platform. The test code capture module includes a sampling clock, and the sampling clock captures the signal value on the pin of the circuit under test, so that the input and output switching of the bidirectional port of the circuit under test in the ATE test can be realized. Among them, the signal value on the pin of the circuit under test includes an input signal and an output signal, the input signal is 0 or 1, and the output signal is a high level H or a low level L.

[0027] The pin information file is a TXT file, which includes the pin name, pin direction type and pin input and output signals. According to the pin information file, a test code capture module is automatically generated, and the pin name, pin direction type and pin input and output signals are separated by spaces, so that the test code capture module can recognize the pin information file and automatically generate a script, and output the Verilog code to form a test code capture module. In this embodiment, the pin name, pin direction type and pin input and output signals are all OEN signals. The test code capture module will determine the printing rules based on these signals, that is, 0 or 1 of the input signal, and the high level H or low level L of the output signal.

[0028] The automatic generation script is a script described in Perl language, and its main function is to generate two Verilog codes, one is the Verilog code of the ATE test code capture module, and the other is the instantiation Verilog code of the ATE test code capture module. The script reads the information in the pin information file for the user to integrate the test code capture module into the top-level testbench.

[0029] The automatically generated script defines the sampling frequency of the test code capture module at its beginning position. The sampling frequency can be changed according to the actual situation; and the sampling frequency is greater than twice the port flip frequency of the circuit under test to avoid errors in the test code and ensure stable operation.

[0030] Different circuits under test correspond to different pin information files.

[0031] like Figure 2 As shown, when used in the EDA verification platform, all pins on the circuit under test are connected to the test code capture module. The test code capture module prints {0,1} or {H,L} to the pin information file according to the type of input and output. The generated test code file can be used directly on the test machine to perform ATE testing on the circuit.

[0032] The captured ATE test code is used in the ATE test machine for chip screening. After the test code capture module is integrated into the EDA test environment, all test codes can be generated simultaneously with the EDA simulation without the need for additional operations.

[0033] The above description is only a description of the preferred embodiments of the present invention, and is not intended to limit the scope of the present invention. Any changes or modifications made by a person skilled in the art in the field of the present invention based on the above disclosure shall fall within the scope of protection of the claims.

Claims

1. A method for adaptively generating ATE test code in EDA simulation, characterized in that: include: Perform ATE testing on the circuit under test; Compile a pin information file according to the pins of the circuit under test; Generate a test code capture module and an instantiation module using an automatic generation script according to the pin information file; Integrating the instantiation module into the EDA simulation platform; Select the corresponding function in the EDA simulation platform for simulation and output ATE test code at the same time; The test code capture module includes a sampling clock, and the sampling clock captures the signal value on the pin of the circuit under test; The signal value includes an input signal and an output signal, the input signal is 0 or 1, and the output signal is a high level H or a low level L; The pin information file is a TXT file, including pin names, pin direction types, and pin input and output signals.

2. The method for adaptively generating ATE test code in EDA simulation as claimed in claim 1, characterized in that: The pin name, the pin direction type and the pin input / output signal are all OEN signals, and the pin name, the pin direction type and the pin input / output signal are separated by spaces.

3. The method for adaptively generating ATE test code in EDA simulation as claimed in claim 1, characterized in that: The automatically generated script defines the sampling frequency of the test code capture module at its beginning position.

4. The method for adaptively generating ATE test code in EDA simulation as claimed in claim 3, characterized in that: The sampling frequency is greater than twice the port flipping frequency of the circuit under test.

5. The method for adaptively generating ATE test code in EDA simulation as claimed in claim 1, characterized in that: The test code capture module is composed of Verilog language, and the test code capture module is instantiated into the top-level testbench in the EDA simulation platform.

6. The method for adaptively generating ATE test code in EDA simulation as claimed in claim 1, characterized in that: The automatically generated script is a perl script.

7. The method for adaptively generating ATE test code in EDA simulation as claimed in claim 1, characterized in that: Different circuits under test correspond to different pin information files.