Background
The microsystem chip is formed by integrating a plurality of functional chips including a processor, a memory and the like into a package, thereby realizing a basically complete function. The microsystem chip does not need a PCB board as a carrier for connecting chips, and the problem that the system performance is bottleneck due to inherent deficiency of the PCB can be solved. The microsystem chip has the characteristics of short development period, multiple functions, low power consumption, better performance, low cost price, small volume and light weight, and is widely applied to the fields of aerospace and the like.
Microsystem chip interconnect testing, in short, involves configuring the internal sub-module chips into corresponding test patterns and then applying specific test vectors. A good test method is to quickly locate a specific failed interconnect line at as high a fault coverage as possible.
However, the microsystem chip is usually tested by a functional verification method, but it is difficult to precisely locate the fault location when the functional test fails.
Disclosure of Invention
Therefore, the technical problem to be solved by the invention is to overcome the problem that the fault position is difficult to accurately position under the condition of functional test failure in the prior art, thereby providing a method for rapidly testing the fault of the interconnection line in the micro-system chip.
In order to solve the technical problems, the invention provides a method for rapidly testing the fault of an interconnection line in a micro system chip, which comprises a fault positioning algorithm, a micro system chip test board, ATE (automatic test equipment) and a test machine program, wherein the test method generates a corresponding configuration vector and a test vector by calling the fault positioning algorithm, the test machine program designed on the basis of an ATE platform calls the configuration vector to configure the micro system chip, and the test machine program calls the test vector to judge the fault of the interconnection line in the micro system chip, and the method comprises the following steps:
step S1: welding a micro system chip test board according to the requirement of a micro system chip to be tested;
step S2: connecting the micro-system chip, the micro-system chip test board and the tester;
step S3: generating a configuration vector and a test vector according to a micro system chip interconnection test algorithm;
step S4: the tester writes the configuration vector into the internal chip through the JTAG interface;
step S5: the testing machine inputs corresponding signals to the pins;
step S6: and comparing whether the test vector is consistent with the response vector so as to judge whether the chip fails.
In an embodiment of the present invention, the fault location algorithm is to configure a chip into a corresponding test model and generate a test vector by analyzing a boundary scan file of the chip and a netlist file of a microsystem.
In an embodiment of the present invention, the microsystem chip to be tested, the microsystem chip test board and the ATE are hardware components of the test method.
In one embodiment of the invention, the ATE test platform is built by using an edwang 93000 tester.
In an embodiment of the present invention, the test machine program calls the configuration vector to perform fault model configuration on the micro system chip, and calls the test vector to perform testing on the internal interconnection line of the micro system chip.
Compared with the prior art, the technical scheme of the invention has the following advantages: according to the method for rapidly testing the faults of the interconnection lines in the micro-system chip, the faults of the interconnection lines in the micro-system chip are accurately positioned and can be rapidly realized on the basis of not increasing the cost by directly testing the faults of the interconnection lines in the micro-system chip through ATE.
Detailed Description
As shown in fig. 1 and fig. 4, this embodiment provides a method for rapidly testing a fault of an interconnection line in a microsystem chip, including a fault location algorithm, a microsystem chip test board, ATE, and a test machine program, where the test method generates a corresponding configuration vector and a test vector by calling the fault location algorithm, and at the same time, the test machine program designed based on an ATE platform calls the configuration vector to configure the microsystem chip, and the test machine program calls the test vector to perform fault judgment on the interconnection line in the microsystem chip, and the method includes the following steps:
step S1: welding a micro system chip test board according to the requirement of a micro system chip to be tested;
step S2: connecting the micro-system chip, the micro-system chip test board and the tester;
step S3: generating a configuration vector and a test vector according to a micro system chip interconnection test algorithm;
step S4: the tester writes the configuration vector into the internal chip through the JTAG interface;
step S5: the testing machine inputs corresponding signals to the pins;
step S6: and comparing whether the test vector is consistent with the response vector so as to judge whether the chip fails.
Further, taking a typical microsystem chip as an example, fig. 2 is an internal interconnection network of the typical microsystem chip. FIG. 3 is a diagram of a typical chip boundary scan architecture. Assuming that the PINA of the DSP of FIG. 2 and the connection between the FPGA and the PINB are to be tested, the following procedures are required:
the first step is as follows: analyzing an EXTEST instruction of the DSP through a boundary scan file BSDL of the DSP;
the second step is that: analyzing an EXTEST instruction of the FPGA through a boundary scan file BSDL of the FPGA;
the third step: firstly, controlling the PINA to be output and the PINB to be input through a boundary scan EXTEST instruction;
the fourth step: PINA output is high, and PINB recognition is high;
the fifth step: PINA output is low, and PINB recognition is low;
and a sixth step: secondly, controlling the PINB to be output and the PINA to be input through a boundary scan EXTEST instruction;
the seventh step: the output of the PINB is high, and the PINA recognition is high;
eighth step: PINB output is low and PINA recognition is low.
Furthermore, the DSP of the first step is a digital signal processing chip, a Harvard structure with separated programs and data is adopted in the DSP chip, a special hardware multiplier is provided, pipeline operation is widely adopted, special DSP instructions are provided, and various digital signal processing algorithms can be rapidly realized. The BSDL file is a description of IEEE1149.1 or JTAG design spreadsheet in an IC, the EXTEST instruction means that the IC works in a boundary scan external test mode, namely, the operation of the IC influences the normal work of a chip and is used for chip external test, an output pin in the test mode has BSC update latch driving, BSCscan latches captured input data shift operation, test excitation can be input from TDI, and test response can be observed from TDO. After the shift operation, the new test stimulus is stored into the update latch of the BSC. The FPGA of the second step is a product which is further developed on the basis of programmable devices such as PAL, GAL and the like, and appears as a semi-custom circuit in the field of Application Specific Integrated Circuits (ASIC), thereby not only solving the defects of the custom circuit, but also overcoming the defect that the gate circuit number of the original programmable device is limited.
The PINA and the PINB in the third step refer to a port pin with a boundary register.
The fourth and fifth steps are identified by the boundary scan command by changing the output high and low of the PINA, the PINB.
The sixth step is reverse test, which inverts the port states of the PINA and the PINB and changes the input state into the output state
And the output state is changed into the input state.
The seventh step and the eighth step are identified by changing the output high and low of the PINB through a boundary scanning instruction.
The fault location algorithm is to configure the chip into a corresponding test model and generate a test vector by analyzing a boundary scan file of the chip and a netlist file of the microsystem.
The micro-system chip to be tested, the micro-system chip test board and the ATE are hardware components of the test method.
The ATE test platform is built by an Edwarden 93000 tester.
And the test machine platform program calls the configuration vector to carry out fault model configuration on the micro system chip and calls the test vector to test the internal interconnection line of the micro system chip.
It should be understood that the above examples are only for clarity of illustration and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. And obvious variations or modifications of the invention may be made without departing from the spirit or scope of the invention.