CN117573625B - Processing method for ATE test - Google Patents
Processing method for ATE test Download PDFInfo
- Publication number
- CN117573625B CN117573625B CN202311617664.8A CN202311617664A CN117573625B CN 117573625 B CN117573625 B CN 117573625B CN 202311617664 A CN202311617664 A CN 202311617664A CN 117573625 B CN117573625 B CN 117573625B
- Authority
- CN
- China
- Prior art keywords
- svf
- segment
- sentence
- preset
- file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 30
- 238000003672 processing method Methods 0.000 title claims abstract description 16
- 238000000034 method Methods 0.000 claims abstract description 18
- 239000012634 fragment Substances 0.000 claims description 4
- 238000006243 chemical reaction Methods 0.000 description 10
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/28—Testing of electronic circuits, e.g. by signal tracer
- G01R31/2832—Specific tests of electronic circuits not provided for elsewhere
- G01R31/2834—Automated test systems [ATE]; using microprocessors or computers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/11—File system administration, e.g. details of archiving or snapshots
- G06F16/116—Details of conversion of file system types or formats
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
- G06F16/162—Delete operations
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Computer Hardware Design (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present application relates to the field of electronic digital data processing technology, and in particular, to a processing method for ATE testing. The method comprises the following steps: obtaining an SVF file; determining a start target segment; starting from the starting target segment, judging whether SVF sentence segments included in the SVF file meet a preset second condition according to the sequence from top to bottom, and if the SVF sentence segments to be judged meet the preset second condition and corresponding associated SVF sentence segments exist, converting the SVF sentence segments to be judged and the corresponding associated SVF sentence segments into a corresponding operation and adding the corresponding operation to a preset operation list file; obtaining a modified operation list file, wherein the modified operation list file is obtained by adding operation processing, deleting operation processing or/and modifying operation processing to the operation list file; the modified operation list file is converted to a SVF new file. The invention improves the efficiency of ATE test.
Description
Technical Field
The invention relates to the technical field of electric digital data processing, in particular to a processing method for ATE test.
Background
ATE (automatic test equipment) refers to an automatic integrated circuit tester, and the basic flow of testing ATE in the prior art is as follows: firstly, preparing a test code; secondly, generating a corresponding log file according to the prepared test code; then, converting the generated log file into an SVF file, SVF (serial vector format) referring to a serial vector format, which can be implemented based on a written script; finally, the SVF file is converted to a bin file, which conversion process may be implemented based on software provided by the ATE vendor.
In the debugging (debug) stage of the ATE test, since the readability of the SVF file and the bin file is poor, the common practice in the prior art is to modify the test code, and then repeat the above processes of generating the corresponding log file according to the test code, converting the generated log file into the SVF file, and converting the SVF file into the bin file, where the SVF file is a file obtained by converting the SVF file into the bin file in the intranet environment, and the process of converting the SVF file into the bin file is performed in the extranet environment, so that before converting the SVF file into the bin file, the SVF file needs to be exported from the intranet environment, and the time for exporting the SVF file is often longer, which results in longer time spent for repeating the above processes after modifying the test code, and has the problem of lower efficiency of the ATE test.
Disclosure of Invention
The invention aims to provide a processing method for ATE test, so as to improve the efficiency of ATE test.
According to the present invention, there is provided a processing method for ATE testing, the processing method comprising the steps of:
s100, an SVF file is obtained, wherein the SVF file comprises a plurality of SVF statement segments, and each SVF statement segment comprises a plurality of SVF statements.
S200, starting from a first SVF statement segment of an SVF file, judging whether the SVF statement segment included in the SVF file meets a preset first condition according to the sequence from top to bottom, and determining the first SVF statement segment meeting the preset first condition as a starting target segment; the first condition includes: the comment line of the SVF sentence segment is provided with a write command, the chain length of the SVF sentence segment is a preset chain length, and the element at the first preset position in the vector of the SVF sentence segment is a preset element.
S300, starting from the starting target segment, judging whether SVF sentence segments included in the SVF file meet a preset second condition according to the sequence from top to bottom, and if the SVF sentence segments to be judged meet the preset second condition and corresponding associated SVF sentence segments exist, converting the SVF sentence segments to be judged and the corresponding associated SVF sentence segments into a corresponding operation and adding the operation to a preset operation list file; if the SVF sentence segment to be judged does not meet the preset second condition and is not any associated SVF sentence segment corresponding to the SVF sentence segment meeting the preset second condition, adding the SVF sentence segment to be judged to a preset operation list file; initializing the operation list file into an empty file; the preset second condition includes: the addresses in the comment line of the SVF sentence segment exist in a preset address list.
S400, outputting the operation list file.
S500, a modified operation list file is obtained, wherein the modified operation list file is obtained by adding operation processing, deleting operation processing or/and modifying operation processing to the operation list file.
S600, converting the modified operation list file into a SVF new file.
Compared with the prior art, the invention has at least the following beneficial effects:
after the SVF file is obtained, judging whether SVF sentence segments in the SVF file meet a preset first condition according to the sequence from top to bottom, and determining a start target segment according to the SVF sentence segments, the first SVF sentence segments in the SVF file meet the preset first condition; the method comprises the steps of starting from a starting target segment, judging whether SVF sentence segments in an SVF file meet a preset second condition and whether corresponding associated SVF sentence segments exist, if so, converting the SVF sentence segments to be judged and the corresponding associated SVF sentence segments into a corresponding operation, and adding the operation to a preset operation list file; and if the SVF sentence segment to be judged does not meet the second condition and is not the associated SVF sentence segment of any SVF sentence segment meeting the second condition, adding the SVF sentence to be judged to the operation list file. The invention outputs the operation list file, thus, the user can see the operation list file converted based on SVF, the content in the operation list can be divided into 2 parts, one part is SVF statement, the part is the content which does not need to be modified by the user, and the content with poor readability for the user; some of the operations are operations after the SVF statement conversion, and some of the operations are contents which a user may need to modify and are also contents which are better readable for the user, and the user can directly modify or delete the operations after the SVF statement conversion or add operations between or before or after some operations. According to the invention, SVF files with poor readability are converted into operation list files with good readability, so that a user can directly modify the operation list files based on the operation list files with good readability, the SVF is not required to be modified by modifying test codes in a program debugging stage of ATE test, a process of exporting the SVF files from an intranet to an extranet is not required, and the efficiency of ATE test is further improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a processing method for ATE testing according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to fall within the scope of the invention.
According to the present embodiment, as shown in fig. 1, there is provided a processing method for ATE testing, the processing method including the steps of:
s100, an SVF file is obtained, wherein the SVF file comprises a plurality of SVF statement segments, and each SVF statement segment comprises a plurality of SVF statements.
Those skilled in the art will appreciate that the format of the SVF file is known in the art and will not be described in detail herein. It should be appreciated that, there is a space between any two adjacent SVF sentence segments in the SVF file, and the SVF sentence segments in the SVF file may be determined by identifying the space.
S200, starting from a first SVF statement segment of an SVF file, judging whether the SVF statement segment included in the SVF file meets a preset first condition according to the sequence from top to bottom, and determining the first SVF statement segment meeting the preset first condition as a starting target segment; the first condition includes: the comment line of the SVF sentence segment is provided with a write command, the chain length of the SVF sentence segment is a preset chain length, and the element at the first preset position in the vector of the SVF sentence segment is a preset element.
Those skilled in the art will appreciate that the two initials for the annotation row in the SVF file are two exclamation marks. Alternatively, the present embodiment determines whether the comment line exists in the SVF statement segment by identifying whether two initials of the SVF statement are two exclamation marks. In this embodiment, whether a write command exists in the comment line is determined by searching whether a write character exists in the comment line, and if the write character exists in the comment line, the write command exists in the comment line is determined; otherwise, judging that the annotation line does not have a write command.
Those skilled in the art will appreciate that the instructions run by the SVF file are mostly SIR instructions, which are used to indicate commands to internal registers (IR registers) of the state machine, and SDR instructions, which are used to indicate commands to data registers (DR registers) of the state machine. As a specific embodiment, SDR 74 TDI (00000000787C 082C 67D) in the SVF file represents an SDR instruction, where 74 is chain length and 00000000787C082C67D is vector, as known to those skilled in the art.
In this embodiment, the preset chain length, the first preset position and the preset element may be all obtained by a mode of input in advance by the user, and as a specific implementation manner, the preset chain length input in advance by the user is 74, and the first preset position input in advance by the user includes the first 4 bits and the last 4 bits in the vector, where the preset element corresponding to the first 4 bits is 0000, and the last 4 is C67D. Thus, when a write command exists in the comment line of a certain SVF sentence segment in the SVF file, the chain length of the SVF sentence segment is 74, the first 4 bits in the vector of the SVF sentence segment are 0000, and the last 4 bits in the vector are C67D, the SVF sentence segment is determined as an SVF sentence segment satisfying the preset first condition.
In this embodiment, whether the SVF sentence segments included in the SVF file meet the preset first condition is determined according to the sequence from top to bottom, if a certain SVF sentence segment meets the first condition, the SVF sentence segment is determined as a starting target segment, and the SVF sentence segment behind the starting target segment is not determined.
S300, starting from the starting target segment, judging whether SVF sentence segments included in the SVF file meet a preset second condition according to the sequence from top to bottom, and if the SVF sentence segments to be judged meet the preset second condition and corresponding associated SVF sentence segments exist, converting the SVF sentence segments to be judged and the corresponding associated SVF sentence segments into a corresponding operation and adding the operation to a preset operation list file; if the SVF sentence segment to be judged does not meet the preset second condition and is not any associated SVF sentence segment corresponding to the SVF sentence segment meeting the preset second condition, adding the SVF sentence segment to be judged to a preset operation list file; initializing the operation list file into an empty file; the preset second condition includes: the addresses in the comment line of the SVF sentence segment exist in a preset address list.
In this embodiment, when the converted operation or SVF sentence segment is added to the operation list file, the position added to the operation list file refers to the position of the SVF sentence segment before conversion in the SVF file, that is, the relative positional relationship between the SVF sentence segment before conversion and the SVF sentence segment after conversion and other SVF sentence segments is kept unchanged.
In this embodiment, the preset address list is obtained by a manner of input by a user in advance, where the preset address list includes a plurality of addresses, and whether the addresses in the comment line of the SVF sentence segment exist in the preset address list is determined by matching the addresses in the comment line of the SVF sentence segment with each address in the preset address list. Specifically, in this embodiment, it is first determined whether an annotation line exists in the SVF sentence segment, if so, it is further identified whether an address key exists in the annotation line, and if so, the number after the address key is determined as the address. As a specific implementation manner, the annotation behavior of a certain SVF sentence segment in the SVF file is || dft_phy_write: addr 02003c data 0001, then addr is the address key, and 02003c is the address.
In this embodiment, the address existing in the preset address list is the address corresponding to the SVF file portion that the user desires to modify, if the address in the comment line of a certain SVF sentence segment does not exist in the preset address list, it is determined that the SVF sentence segment is not the SVF file portion that the user desires to modify, and the SVF sentence segment is directly added to the preset operation list file without converting and modifying the SVF sentence segment.
In this embodiment, the operations include two kinds, one is a write operation and one is a read operation, wherein the write operation includes a write key, a preset symbol, an address key, an address, a data key, and data, for example, the write operation is write:addr 02003C data 0001, wherein write is the write key, addr is the preset symbol, addr is the address key, 02003C is the address, data is the data key, and 0001 is the data. The read operation includes a read key, a preset symbol, an address key, an address, a data key, and data, e.g., the read operation is read, addr 02000f data 00ff, wherein read is the read key, addr is the preset symbol, addr is the address key, 02000f is the address, data is the data key, and 00ff is the data.
S400, outputting the operation list file.
S500, a modified operation list file is obtained, wherein the modified operation list file is obtained by adding operation processing, deleting operation processing or/and modifying operation processing to the operation list file.
In this embodiment, the adding operation refers to adding a read operation or a write operation, the deleting operation refers to deleting a read operation or a write operation, and the modifying operation refers to modifying a read operation or a write operation.
S600, converting the modified operation list file into a SVF new file.
Specifically, in the process of converting the modified operation list file into the SVF new file, unconverted SVF sentences in the modified operation list file are directly added to the SVF new file without conversion; and converting the read operation and the write operation in the modified operation list file into corresponding SVF sentences, and then adding the corresponding SVF sentences to a SVF new file, wherein the position relationship among each SVF sentence in the SVF new file is consistent with the relative position relationship in the modified operation list file. Initializing the SVF new file into an empty file, and determining the finally obtained SVF new file as a converted SVF file. After the final SVF new file is obtained, the SVF new file is converted into a bin file.
In this embodiment, a method for converting a write operation and a read operation into a corresponding SVF statement is preset, where, when the write operation is converted into the corresponding SVF statement, whether the write operation is preceded and followed by a write operation is also considered, for example, for a write operation of addr 02003c data 0001, and neither the write operation is followed nor preceded, then the write operation is converted into the SVF statement as follows:
SDR 33 TDI(00002C67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!dft_phy_write: addr 02003c data 0001
SDR 74 TDI(00000000C1001E2C67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!close write cmd sib
SDR 74 TDI(000000000100221C67D);
RUNTEST 10TCK ENDSTATE IDLE;
for a write to addr 02003c data 0001 write operation, which was preceded and not followed by a write operation, then the write operation is converted to an SVF statement as follows:
!!dft_phy_write: addr 02003c data 0001
SDR 74 TDI(00000000C1001E2C67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!close write cmd sib
SDR 74 TDI(000000000100221C67D);
RUNTEST 10TCK ENDSTATE IDLE;
for a write to addr 02003c data 0001 write operation, which was not preceded and followed by a write operation, then the write operation is converted to an SVF statement as follows:
SDR 33 TDI(00002C67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!dft_phy_write: addr 02003c data 0001
SDR 74 TDI(00000000C1001E2C67D);
RUNTEST 10TCK ENDSTATE IDLE;
for a read-addr 02000f data 00ff read operation, the conversion to SVF statements is as follows:
!!enable tdr5 for tdr_read
SDR 49 TDI(000000001C67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!enable tdr4
SDR 49 TDI(000020000C67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!dft_phy_write: addr 02000f data 00ff
SDR 74 TDI(0000007F810007AC67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!close write cmd sib
SDR 74 TDI(0000007F8100079C67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!enable tdr5 for tdr_read
SDR 49 TDI(000000001C67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!dft_phy_read: addr 02000f data 00ff
SDR 49 TDI(000000001C67D);
RUNTEST 10TCK ENDSTATE IDLE;
SDR 49 TDI(000000001C67D) TDO(0000001FE0000) MASK(00001FFFE0000);
RUNTEST 10TCK ENDSTATE IDLE;
after the SVF file is obtained, the processing method for ATE test of the embodiment firstly judges whether SVF sentence segments in the SVF file meet a preset first condition according to the sequence from top to bottom, and determines a start target segment according to the SVF sentence segments of the SVF file, wherein the first SVF sentence segments meet the preset first condition; in the embodiment, starting from a starting target segment, judging whether an SVF sentence segment in an SVF file meets a preset second condition and whether a corresponding associated SVF sentence segment exists, if so, converting the SVF sentence segment to be judged and the corresponding associated SVF sentence segment into a corresponding operation, and adding the operation into a preset operation list file; and if the SVF sentence segment to be judged does not meet the second condition and is not the associated SVF sentence segment of any SVF sentence segment meeting the second condition, adding the SVF sentence to be judged to the operation list file. The embodiment outputs the obtained operation list file, so that a user can see the operation list file converted based on SVF, the content in the operation list can be divided into 2 parts, one part is SVF statement, and the part is the content which does not need to be modified by the user and is the content with poor readability for the user; some of the operations are operations after the SVF statement conversion, and some of the operations are contents which a user may need to modify and are also contents which are better readable for the user, and the user can directly modify or delete the operations after the SVF statement conversion or add operations between or before or after some operations. According to the embodiment, the SVF file with poor readability is converted into the operation list file with good readability, so that a user can directly modify the operation list file with good readability, the SVF is not required to be modified by modifying test codes in the program debugging stage of the ATE test, the process of exporting the SVF file from the intranet to the extranet is not required, and the efficiency of the ATE test is further improved.
In this embodiment, S300 further includes: if the SVF sentence segment to be judged meets the preset second condition and no corresponding associated SVF sentence segment exists, converting the SVF sentence segment to be judged into a writing operation and adding the writing operation into a preset operation list file.
In this embodiment, if the SVF sentence segment to be judged meets the preset second condition, the process of judging that the SVF sentence segment to be judged does not have the corresponding associated SVF sentence segment includes: judging whether the front 1 segment and the rear 1 segment of the SVF sentence segment to be judged in the SVF file are SVF sentence segments corresponding to writing operation, if yes, judging that the SVF sentence segment to be judged does not have corresponding associated SVF sentence segments.
For example, if the example SVF sentence segment meets a preset second condition and no corresponding associated SVF sentence segment exists, converting the example SVF sentence segment into a write operation, which is write, addr 02003c data 0001; the example SVF statement segment is as follows:
!!dft_phy_write: addr 02003c data 0001
SDR 74 TDI(00000000C1001E2C67D);
RUNTEST 10TCK ENDSTATE IDLE;
in this embodiment, when the SVF sentence segment to be judged satisfies the preset second condition and there is a corresponding associated SVF sentence segment, the process of obtaining the associated SVF sentence segment corresponding to the SVF sentence segment to be judged includes:
s310, judging whether the SVF sentence segment to be judged is the SVF sentence segment corresponding to the read operation; if yes, the process proceeds to S320, and if no, the process proceeds to S330.
In this embodiment, S310 includes: acquiring whether an element at a second preset position in a vector in an SVF statement segment to be judged is a preset first value, if so, judging that the SVF statement segment to be judged is an SVF statement segment corresponding to a read operation; otherwise, judging the SVF sentence segment to be judged as the SVF sentence segment corresponding to the writing operation.
In this embodiment, the second preset position and the preset first value are both input in advance by the user.
S320, the first n of SVF statement segments to be judged in the SVF file 1 SVF sentence fragments and post n 2 The SVF sentence segments are determined to be associated SVF sentence segments corresponding to the SVF sentence segments to be judged, n 1 Is a preset first integer value, n 2 Is a preset second integer value.
For example, if the example SVF sentence segment satisfies the preset second condition and is the SVF sentence segment corresponding to the read operation, the example SVF sentence segment, the first n 1 SVF sentence fragments and post n 2 Converting the SVF statement segments into a read by addr 02000f data 00ff; the example SVF statement segment, top n 1 SVF sentence fragments and post n 2 The SVF statement sections are as follows:
!!enable tdr5 for tdr_read
SDR 49 TDI(000000001C67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!enable tdr4
SDR 49 TDI(000020000C67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!dft_phy_write: addr 02000f data 00ff
SDR 74 TDI(0000007F810007AC67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!close write cmd sib
SDR 74 TDI(0000007F8100079C67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!enable tdr5 for tdr_read
SDR 49 TDI(000000001C67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!dft_phy_read: addr 02000f data 00ff
SDR 49 TDI(000000001C67D);
RUNTEST 10TCK ENDSTATE IDLE;
SDR 49 TDI(000000001C67D) TDO(0000001FE0000) MASK(00001FFFE0000);
RUNTEST 10TCK ENDSTATE IDLE;
s330, if the front 1 segment of the SVF statement segment to be judged in the SVF file is the SVF statement segment corresponding to the writing operation and the rear 1 segment is not the SVF statement segment corresponding to the writing operation, the rear n of the SVF statement segment to be judged in the SVF file is determined 3 The SVF sentence segments are determined to be associated SVF sentence segments corresponding to the SVF sentence segments to be judged; if the first 1 segment of the SVF statement segment to be judged in the SVF file is not the SVF statement segment corresponding to the writing operation and the last 1 segment is the SVF statement segment corresponding to the writing operation, the first n of the SVF statement segment to be judged in the SVF file is obtained 4 The SVF sentence segments are determined to be associated SVF sentence segments corresponding to the SVF sentence segments to be judged; n is n 3 Is a preset third integer value, n 4 Is a preset fourth integer value.
For example, if the example SVF sentence segment satisfies a preset second condition, the first 1 segment is a SVF sentence segment corresponding to a write operation, and the second 1 segment is not a SVF sentence segment corresponding to a write operation, converting the example SVF sentence segment and the second 1 SVF sentence segment into a write operation, where the write operation is addr 02003c data 0001; the example SVF statement segment and the last 1 SVF statement segment are as follows:
!!dft_phy_write: addr 02003c data 0001
SDR 74 TDI(00000000C1001E2C67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!close write cmd sib
SDR 74 TDI(000000000100221C67D);
RUNTEST 10TCK ENDSTATE IDLE;
for another example, if the example SVF sentence segment satisfies a preset second condition, the first 1 segment is not an SVF sentence segment corresponding to a write operation, and the second 1 segment is an SVF sentence segment corresponding to a write operation, then converting the example SVF sentence segment and the first 1 SVF sentence segment into a write operation, where the write operation is addr 02003c data 0001; the example SVF statement segment and the first 1 SVF statement segment are as follows:
SDR 33 TDI(00002C67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!dft_phy_write: addr 02003c data 0001
SDR 74 TDI(00000000C1001E2C67D);
RUNTEST 10TCK ENDSTATE IDLE;
in this embodiment, in S300, the converting the SVF sentence segment to be judged and the corresponding associated SVF sentence segment into a corresponding operation includes:
s301, if the SVF sentence segment to be judged is the SVF sentence segment corresponding to the read operation, converting the SVF sentence segment and the corresponding associated SVF sentence segment into a read operation.
S302, if the SVF sentence segment to be judged is the SVF sentence segment corresponding to the writing operation, converting the SVF sentence segment and the corresponding associated SVF sentence segment into a writing operation.
As a specific embodiment, part of SVF statement segments in the SVF file are:
SDR 33 TDI(00002C67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!dft_phy_write: addr 70f810 data 0000
SDR 74 TDI(00000000787C082C67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!dft_phy_write: addr 0900e1 data ffef
SDR 74 TDI(00007FF7C48070AC67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!close write cmd sib
SDR 74 TDI(000000000100221C67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!enable tdr5 for tdr_read
SDR 49 TDI(000000001C67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!enable tdr4
SDR 49 TDI(000020000C67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!dft_phy_write: addr 020044 data 00ff
SDR 74 TDI(0000007F8100222C67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!close write cmd sib
SDR 74 TDI(0000007F8100221C67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!enable tdr5 for tdr_read
SDR 49 TDI(000000001C67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!dft_phy_read: addr 020044 data 00ff
SDR 49 TDI(000000001C67D);
RUNTEST 10TCK ENDSTATE IDLE;
SDR 49 TDI(000000001C67D) TDO(0000001FE0000) MASK(00001FFFE0000);
RUNTEST 10TCK ENDSTATE IDLE;
the operation list file of the corresponding part is:
write: addr 70f810 data 0000
write: addr 0900e1 data ffef
read: addr 020044 data 00ff
the user adds a write operation (write: addr 02003c data 0001) and a read operation (read: addr 02000f data 00 ff) to the partial operation list file to obtain a partial modified first operation list file; the partially modified first operation list file is:
write: addr 70f810 data 0000
write: addr 02003c data 0001
write: addr 0900e1 data ffef
read: addr 020044 data 00ff
read: addr 02000f data 00ff
converting the partially modified first operation list file into an SVF file is:
SDR 33 TDI(00002C67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!dft_phy_write: addr 70f810 data 0000
SDR 74 TDI(00000000787C082C67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!dft_phy_write: addr 02003c data 0001
SDR 74 TDI(00000000C1001E2C67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!dft_phy_write: addr 0900e1 data ffef
SDR 74 TDI(00007FF7C48070AC67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!close write cmd sib
SDR 74 TDI(000000000100221C67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!enable tdr5 for tdr_read
SDR 49 TDI(000000001C67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!enable tdr4
SDR 49 TDI(000020000C67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!dft_phy_write: addr 020044 data 00ff
SDR 74 TDI(0000007F8100222C67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!close write cmd sib
SDR 74 TDI(0000007F8100221C67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!enable tdr5 for tdr_read
SDR 49 TDI(000000001C67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!dft_phy_read: addr 020044 data 00ff
SDR 49 TDI(000000001C67D);
RUNTEST 10TCK ENDSTATE IDLE;
SDR 49 TDI(000000001C67D) TDO(0000001FE0000) MASK(00001FFFE0000);
RUNTEST 10TCK ENDSTATE IDLE;
!!enable tdr5 for tdr_read
SDR 49 TDI(000000001C67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!enable tdr4
SDR 49 TDI(000020000C67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!dft_phy_write: addr 02000f data 00ff
SDR 74 TDI(0000007F810007AC67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!close write cmd sib
SDR 74 TDI(0000007F8100079C67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!enable tdr5 for tdr_read
SDR 49 TDI(000000001C67D);
RUNTEST 10TCK ENDSTATE IDLE;
!!dft_phy_read: addr 02000f data 00ff
SDR 49 TDI(000000001C67D);
RUNTEST 10TCK ENDSTATE IDLE;
SDR 49 TDI(000000001C67D) TDO(0000001FE0000) MASK(00001FFFE0000);
RUNTEST 10TCK ENDSTATE IDLE;
while certain specific embodiments of the invention have been described in detail by way of example, it will be appreciated by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the invention. Those skilled in the art will also appreciate that many modifications may be made to the embodiments without departing from the scope and spirit of the invention. The scope of the invention is defined by the appended claims.
Claims (7)
1. A processing method for ATE testing, the processing method comprising the steps of:
s100, obtaining an SVF file, wherein the SVF file comprises a plurality of SVF statement segments, and each SVF statement segment comprises a plurality of SVF statements;
s200, starting from a first SVF statement segment of an SVF file, judging whether the SVF statement segment included in the SVF file meets a preset first condition according to the sequence from top to bottom, and determining the first SVF statement segment meeting the preset first condition as a starting target segment; the first condition includes: a write command exists in an annotation row of the SVF sentence segment, the chain length of the SVF sentence segment is a preset chain length, and an element at a first preset position in a vector of the SVF sentence segment is a preset element;
s300, starting from the starting target segment, judging whether SVF sentence segments included in the SVF file meet a preset second condition according to the sequence from top to bottom, and if the SVF sentence segments to be judged meet the preset second condition and corresponding associated SVF sentence segments exist, converting the SVF sentence segments to be judged and the corresponding associated SVF sentence segments into a corresponding operation and adding the operation to a preset operation list file; if the SVF sentence segment to be judged does not meet the preset second condition and is not any associated SVF sentence segment corresponding to the SVF sentence segment meeting the preset second condition, adding the SVF sentence segment to be judged to a preset operation list file; initializing the operation list file into an empty file; the preset second condition includes: the address in the annotation line of the SVF sentence segment exists in a preset address list;
s400, outputting the operation list file;
s500, obtaining a modified operation list file, wherein the modified operation list file is obtained by performing at least one of adding operation processing, deleting operation processing and modifying operation processing on the operation list file;
s600, converting the modified operation list file into a SVF new file.
2. The processing method for ATE testing of claim 1, wherein S300 further comprises: when the SVF sentence segment to be judged meets a preset second condition and a corresponding associated SVF sentence segment exists, the process of obtaining the associated SVF sentence segment corresponding to the SVF sentence segment to be judged comprises the following steps:
s310, judging whether the SVF sentence segment to be judged is the SVF sentence segment corresponding to the read operation; if yes, go to S320, if no, go to S330;
s320, the first n of SVF statement segments to be judged in the SVF file 1 SVF sentence fragments and post n 2 The SVF sentence segments are determined to be associated SVF sentence segments corresponding to the SVF sentence segments to be judged, n 1 Is a preset first integer value, n 2 Is a preset second integer value;
s330, if the front 1 segment of the SVF statement segment to be judged in the SVF file is the SVF statement segment corresponding to the writing operation and the rear 1 segment is not the SVF statement segment corresponding to the writing operation, the rear n of the SVF statement segment to be judged in the SVF file is determined 3 The SVF sentence segments are determined to be associated SVF sentence segments corresponding to the SVF sentence segments to be judged; if the first 1 segment of the SVF statement segment to be judged in the SVF file is not the SVF statement segment corresponding to the writing operation and the last 1 segment is the SVF statement segment corresponding to the writing operation, the first n of the SVF statement segment to be judged in the SVF file is obtained 4 The SVF sentence segments are determined to be associated SVF sentence segments corresponding to the SVF sentence segments to be judged; n is n 3 Is a preset third integer value, n 4 Is a preset fourth integer value.
3. The processing method for ATE testing of claim 1, wherein S300 further comprises: if the SVF sentence segment to be judged meets the preset second condition and no corresponding associated SVF sentence segment exists, converting the SVF sentence segment to be judged into a writing operation and adding the writing operation into a preset operation list file.
4. The method according to claim 3, wherein if the SVF statement segment to be judged meets the preset second condition, the step of judging that the SVF statement segment to be judged does not have the corresponding associated SVF statement segment includes: judging whether the front 1 segment and the rear 1 segment of the SVF sentence segment to be judged in the SVF file are SVF sentence segments corresponding to writing operation, if yes, judging that the SVF sentence segment to be judged does not have corresponding associated SVF sentence segments.
5. The method according to claim 1, wherein in S300, the converting the SVF statement segment to be determined and the corresponding associated SVF statement segment into a corresponding operation includes:
s301, if the SVF sentence segment to be judged is the SVF sentence segment corresponding to the read operation, converting the SVF sentence segment and the corresponding associated SVF sentence segment into a read operation;
s302, if the SVF sentence segment to be judged is the SVF sentence segment corresponding to the writing operation, converting the SVF sentence segment and the corresponding associated SVF sentence segment into a writing operation.
6. The processing method for ATE testing of claim 2, wherein S310 comprises: acquiring whether an element at a second preset position in a vector in an SVF statement segment to be judged is a preset first value, if so, judging that the SVF statement segment to be judged is an SVF statement segment corresponding to a read operation; otherwise, judging the SVF sentence segment to be judged as the SVF sentence segment corresponding to the writing operation.
7. The method of claim 5, wherein the read operation comprises a read key, a preset symbol, an address key, an address, a data key, and data, and the write operation comprises a write key, a preset symbol, an address key, an address, a data key, and data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311617664.8A CN117573625B (en) | 2023-11-30 | 2023-11-30 | Processing method for ATE test |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311617664.8A CN117573625B (en) | 2023-11-30 | 2023-11-30 | Processing method for ATE test |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117573625A CN117573625A (en) | 2024-02-20 |
CN117573625B true CN117573625B (en) | 2024-03-22 |
Family
ID=89895291
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311617664.8A Active CN117573625B (en) | 2023-11-30 | 2023-11-30 | Processing method for ATE test |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117573625B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101266548A (en) * | 2007-03-14 | 2008-09-17 | 中兴通讯股份有限公司 | Device and method for in-system programming for programmable logic device |
CN101788946A (en) * | 2010-01-19 | 2010-07-28 | 中兴通讯股份有限公司 | Method and device for sintering firmware connected with E2PROM (Electrically Erasable Programmable Read-Only Memory) on CPLD (Complex Programable Logic Device) |
CN115268862A (en) * | 2022-06-22 | 2022-11-01 | 苏州睿芯集成电路科技有限公司 | Method for realizing SVF file for verifying chip debugging function based on python |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11747400B2 (en) * | 2021-07-20 | 2023-09-05 | The United States Of America, As Represented By The Secretary Of The Navy | Method of converting a serial vector format (SVF) file to a vector compatible with a semiconductor testing system |
-
2023
- 2023-11-30 CN CN202311617664.8A patent/CN117573625B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101266548A (en) * | 2007-03-14 | 2008-09-17 | 中兴通讯股份有限公司 | Device and method for in-system programming for programmable logic device |
CN101788946A (en) * | 2010-01-19 | 2010-07-28 | 中兴通讯股份有限公司 | Method and device for sintering firmware connected with E2PROM (Electrically Erasable Programmable Read-Only Memory) on CPLD (Complex Programable Logic Device) |
CN115268862A (en) * | 2022-06-22 | 2022-11-01 | 苏州睿芯集成电路科技有限公司 | Method for realizing SVF file for verifying chip debugging function based on python |
Also Published As
Publication number | Publication date |
---|---|
CN117573625A (en) | 2024-02-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108614707B (en) | Static code checking method, device, storage medium and computer equipment | |
CN109800175B (en) | Ether house intelligent contract reentry vulnerability detection method based on code instrumentation | |
US8010844B2 (en) | File mutation method and system using file section information and mutation rules | |
US5926638A (en) | Program debugging system for debugging a program having graphical user interface | |
CN108549605B (en) | Automatic testing method | |
KR100915762B1 (en) | Pseudo translation within integrated development environment | |
US9152731B2 (en) | Detecting a broken point in a web application automatic test case | |
US20070061641A1 (en) | Apparatus and method for generating test driver | |
CN111124479B (en) | Method and system for analyzing configuration file and electronic equipment | |
CN112378420A (en) | Signal simulation method and system for automobile navigation test and electronic equipment | |
CN115455873A (en) | HDL code generation method supporting embedded scripting language | |
CN110737431B (en) | Software development method, development platform, terminal device and storage medium | |
CN114661615A (en) | FPGA software testing method and device | |
CN117573625B (en) | Processing method for ATE test | |
CN116541307B (en) | Data processing method for comparing pom versions | |
CN112631944A (en) | Source code detection method and device based on abstract syntax tree and computer storage medium | |
CN117950669A (en) | Hot patch generation method and device, electronic equipment and storage medium | |
CN112630632B (en) | Implementation method of on-line logic analyzer based on automatic signal pulling | |
CN113760249B (en) | Program file processing method, device and equipment | |
KR20070021879A (en) | Apparatus and method for generation of test driver | |
US7340727B2 (en) | Verilog to C++ language translator | |
CN113033137B (en) | Method and device for establishing digital component model and server | |
CN116991706B (en) | Vehicle automatic test method, device, equipment and storage medium | |
CN113568662B (en) | Code change influence range analysis method and system based on calling relation | |
CN111930413B (en) | Automatic patch generation method, device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |