Method and device for updating test file

By analyzing the connection type, operation type and overlap type of the chip file update item, the update strategy of the test file is determined, which solves the problem that the test file cannot be updated synchronously after the chip file is updated, and improves the update efficiency and accuracy.

CN120234249APending Publication Date: 2025-07-01CHONGQING XINLIANXIN INTELLIGENT TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510395183.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-31
Publication Date
2025-07-01

AI Technical Summary

Technical Problem

In the prior art, after the chip file is updated, the test file cannot be updated synchronously, resulting in low update efficiency.

Method used

By comparing the first chip file and the second chip file, the connection type, operation type and overlap type of the first update item are determined, and their impact on the test file is analyzed, and then whether to update is determined.

Benefits of technology

Without affecting the testing requirements of the test files, the update efficiency of the test files is improved to ensure the accuracy and consistency of the update process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120234249A_ABST
    Figure CN120234249A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a method and device for updating a test file, and the method comprises the steps: comparing a first chip file with a second chip file, and determining first updating information containing a plurality of first updating items; comparing the first chip file with the test file, and determining second update information containing a plurality of second update items; for any first update item, determining a connection type to which the first update item belongs based on a change object indicated by the first update item; determining an operation type corresponding to the first update item based on a change mode indicated by the first update item, and determining an overlapping type corresponding to the first update item based on whether overlapping change with the first update item exists in the plurality of second update items; and according to the connection type corresponding to the first update item, and / or the operation type corresponding to the first update item, and / or the overlapping type corresponding to the first update item, determining whether to update the test file according to the first update item.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of FPGA verification, and in particular, to a method and device for updating test files. Background Art

[0002] During the chip testing stage, the test system designs test files for chip files. There are significant differences between the test files and the chip files to achieve special test purposes of the test system. During the testing process of the chip, the chip file is updated. Correspondingly, the test system also needs to be updated synchronously.

[0003] Currently, since the test file has certain modifications to the original chip file, when the chip file is updated, the test file cannot be directly updated according to the updated chip file. Generally, testers compare the updated information of the chip file with the test file to determine whether synchronous update is possible, which results in a problem of low update efficiency.

[0004] In summary, how to improve the update efficiency is a technical problem that urgently needs to be solved currently. Summary of the Invention

[0005] A method and device for updating a test file provided by an embodiment of the present invention are used to solve the problem of low update efficiency in the prior art.

[0006] In a first aspect, an embodiment of the present invention provides a method for updating a test file, including: comparing a first chip file and a second chip file to determine first update information including a plurality of first update items; the second chip file is obtained by modifying the first chip file based on iterative updates; comparing the first chip file and a test file to determine second update information including a plurality of second update items; the test file is obtained by modifying the first chip file based on test requirements; for any first update item, determining the connection type to which the first update item belongs based on the change object indicated by the first update item; determining the operation type corresponding to the first update item based on the change method indicated by the first update item, and determining the overlap type corresponding to the first update item based on whether there is an overlapping change with the first update item among the plurality of second update items; determining whether to update the test file according to the first update item based on the connection type corresponding to the first update item, and / or the operation type corresponding to the first update item, and / or the overlap type corresponding to the first update item.

[0007] In the above technical solution, by considering the connection type, operation type, and overlap type corresponding to the first update item, it can be analyzed whether the first update item will affect the second update item of the test file, so that the test file can be updated without affecting the test requirements of the test file.

[0008] Optionally, determining the connection type to which the first update item belongs based on the change object indicated by the first update item includes: if the change object indicated by the first update item is the connection relationship between target units, determining that the connection type to which the first update item belongs is the connection type; otherwise, it is the non-connection type.

[0009] Optionally, determining the overlap type corresponding to the first update item based on whether there is an overlapping change with the first update item among the multiple second update items includes: determining the modification position corresponding to the first update item in the first chip file; if there is a second update item among the multiple second update items that is the same as the modification position, there is an overlapping change with the first update item, and determining that the overlap type corresponding to the first update item is the overlap type; otherwise, it is the non-overlap type.

[0010] Optionally, determining whether to update the test file according to the first update item based on the connection type corresponding to the first update item, and / or the operation type corresponding to the first update item, and / or the overlap type corresponding to the first update item includes: if the connection type corresponding to the first update item is the connection type and the operation type corresponding to the first update item is to add a connection line in the way of adding an input end, update the test file according to the first update item.

[0011] Optionally, the connection type corresponding to the first update item is the connection type; determining whether to update the test file according to the first update item based on the connection type corresponding to the first update item, and / or the operation type corresponding to the first update item, and / or the overlap type corresponding to the first update item includes: if the operation type corresponding to the first update item is to modify or delete a connection line in the way of modifying or deleting an input end, update the test file according to the first update item.

[0012] Optionally, the connection type corresponding to the first update item is a connection type; determining whether to update the test file according to the first update item based on the connection type corresponding to the first update item, and / or the operation type corresponding to the first update item, and / or the overlap type corresponding to the first update item, includes: if the operation type corresponding to the first update item is to modify or delete a connection line by modifying or deleting an output terminal, and there is a third unit in the test file that involves the output terminal, then reject the update of the test file; the third unit is other units except the first unit and the second unit corresponding to the connection relationship; if the operation type corresponding to the first update item is to modify or delete a connection line by modifying or deleting an output terminal, and there is no third unit in the test file that involves the output terminal, then update the test file according to the first update item.

[0013] Optionally, determining whether to update the test file according to the first update item based on the connection type corresponding to the first update item, and / or the operation type corresponding to the first update item, and / or the overlap type corresponding to the first update item, includes: if the operation type corresponding to the first update item is to delete a connection line by deleting an output terminal, and the overlap type corresponding to the first update item is an overlap type, then reject the update of the test file.

[0014] Optionally, determining whether to update the test file according to the first update item based on the connection type corresponding to the first update item, and / or the operation type corresponding to the first update item, and / or the overlap type corresponding to the first update item, includes: the connection type corresponding to the first update item is a connection type, the operation type corresponding to the first update item is to modify the connection relationship by modifying a connection line, and the overlap type corresponding to the first update item is a non-overlap type, then update the test file according to the first update item.

[0015] Optionally, updating the test file according to the first update item includes: if the modification of the connection line causes a change in the output terminal, then determine the unit with the output terminal as the input information, and update the unit in the test file according to the first update item.

[0016] Optionally, determining whether to update the test file according to the first update item based on the connection type corresponding to the first update item, and / or the operation type corresponding to the first update item, and / or the overlap type corresponding to the first update item includes: if the connection type corresponding to the first update item is a connection type, the operation type corresponding to the first update item is to modify the connection relationship by modifying the connection line, and the overlap type corresponding to the first update item is an overlap type, determining whether there is a modification to the connection relationship in the test file; if there is, rejecting the update of the test file.

[0017] Optionally, determining whether to update the test file according to the first update item based on the connection type corresponding to the first update item, and / or the operation type corresponding to the first update item, and / or the overlap type corresponding to the first update item includes: if the connection type corresponding to the first update item is a non-connection type, the overlap type corresponding to the first update item is a non-overlap type, and the first update item is for the input end, updating the test file according to the first update item; if the connection type corresponding to the first update item is a non-connection type, the overlap type corresponding to the first update item is a non-overlap type, and the first update item is for the output ends of multiple units, rejecting the update of the test file; if the first update item is for the output end of a single unit, updating the test file according to the first update item.

[0018] Optionally, determining whether to update the test file according to the first update item based on the connection type corresponding to the first update item, and / or the operation type corresponding to the first update item, and / or the overlap type corresponding to the first update item includes: if the connection type corresponding to the first update item is a non-connection type, the overlap type corresponding to the first update item is a non-overlap type, and the operation type corresponding to the first update item is a deletion operation for a unit, determining whether there are associated units at the output end of the unit; if there are associated units, rejecting the update of the test file; otherwise, updating the test file according to the first update item.

[0019] Optionally, determining whether to update the test file according to the first update item based on the connection type corresponding to the first update item, and / or the operation type corresponding to the first update item, and / or the overlap type corresponding to the first update item includes: if the connection type corresponding to the first update item is a non-connection type and the overlap type corresponding to the first update item is an overlap type, rejecting the update of the test file.

[0020] Second aspect, an embodiment of the present invention provides a device for updating a test file, including: an obtaining unit, configured to compare a first chip file and a second chip file to determine first update information including a plurality of first update items; the second chip file is obtained by modifying the first chip file based on iterative updates. A processing unit, configured to compare the first chip file and the test file to determine second update information including a plurality of second update items; the test file is obtained by modifying the first chip file based on test requirements; for any first update item, determine the connection type to which the first update item belongs based on the change object indicated by the first update item; determine the operation type corresponding to the first update item based on the change method indicated by the first update item, and determine the overlap type corresponding to the first update item based on whether there is an overlapping change with the first update item among the plurality of second update items; determine whether to update the test file according to the first update item according to the connection type corresponding to the first update item, and / or the operation type corresponding to the first update item, and / or the overlap type corresponding to the first update item.

[0021] Optionally, the processing unit is specifically configured to: if the change object indicated by the first update item is the connection relationship between target units, determine that the connection type to which the first update item belongs is a connection type; otherwise, it is a non-connection type.

[0022] Optionally, the processing unit is specifically configured to: determine the modification position corresponding to the first update item in the first chip file; if there is a second update item among the plurality of second update items that is the same as the modification position, there is an overlapping change with the first update item, and determine that the overlap type corresponding to the first update item is an overlap type; otherwise, it is a non-overlap type.

[0023] Optionally, the processing unit is specifically configured to: if the connection type corresponding to the first update item is a connection type and the operation type corresponding to the first update item is to add a connection line by adding an input terminal, update the test file according to the first update item.

[0024] Optionally, the connection type corresponding to the first update item is a connection type; the processing unit is specifically configured to: if the operation type corresponding to the first update item is to modify or delete a connection line by modifying or deleting an input terminal, update the test file according to the first update item.

[0025] The connection type corresponding to the first update item is a connection type; specifically, the processing unit is configured to: if the operation type corresponding to the first update item is to modify or delete a connection line by modifying or deleting an output end, and there is a third unit related to the output end in the test file, reject the update of the test file; the third unit is other units except the first unit and the second unit corresponding to the connection relationship; if the operation type corresponding to the first update item is to modify or delete a connection line by modifying or deleting an output end, and there is no third unit related to the output end in the test file, update the test file according to the first update item.

[0026] Optionally, the processing unit is specifically configured to: if the operation type corresponding to the first update item is to delete a connection line by deleting an output end, and the overlap type corresponding to the first update item is an overlap type, reject the update of the test file.

[0027] Optionally, the processing unit is specifically configured to: the connection type corresponding to the first update item is a connection type, the operation type corresponding to the first update item is to modify the connection relationship by modifying a connection line, and the overlap type corresponding to the first update item is a non - overlap type, update the test file according to the first update item.

[0028] Optionally, the processing unit is specifically configured to: if the modification of the connection line causes a change in the output end, determine the unit that uses the output end as input information, and update the unit in the test file according to the first update item.

[0029] Optionally, the processing unit is specifically configured to: the connection type corresponding to the first update item is a connection type, the operation type corresponding to the first update item is to modify the connection relationship by modifying a connection line, and the overlap type corresponding to the first update item is an overlap type, determine whether there is a modification to the connection relationship in the test file; if so, reject the update of the test file.

[0030] Optionally, the processing unit is specifically configured to: if the connection type corresponding to the first update item is a non - connection type, the overlap type corresponding to the first update item is a non - overlap type, and the first update item is for an input end, update the test file according to the first update item; if the connection type corresponding to the first update item is a non - connection type, the overlap type corresponding to the first update item is a non - overlap type, and the first update item is for the output ends of multiple units, reject the update of the test file; if the first update item is for the output end of a single unit, update the test file according to the first update item.

[0031] Optionally, the processing unit is specifically configured to: if the connection type corresponding to the first update item is a non-connection type, the overlap type corresponding to the first update item is a non-overlap type, and the operation type corresponding to the first update item is a deletion operation for a unit, determine whether there is an associated unit at the output end of the unit; if there is an associated unit, reject updating the test file; otherwise, update the test file according to the first update item.

[0032] Optionally, the processing unit is specifically configured to: if the connection type corresponding to the first update item is a non-connection type and the overlap type corresponding to the first update item is an overlap type, reject updating the test file.

[0033] In a third aspect, an embodiment of the present application further provides a computing device, including: a memory for storing a program; a processor for calling the program stored in the memory and executing a method for updating a test file as described in the first aspect according to the obtained program.

[0034] In a fourth aspect, an embodiment of the present application further provides a computer-readable non-volatile storage medium, including a computer-readable program, which when read and executed by a computer, causes the computer to execute a method for updating a test file as described in the first aspect.

[0035] In a fifth aspect, an embodiment of the present application provides a computer program product. The computer program product includes a computer program stored on a computer-readable storage medium. The computer program includes program instructions, which when executed by a computer device, cause the computer device to execute the steps of the method for updating a test file as described in the first aspect above. Description of the Drawings

[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0037] Figure 1 It is a flowchart of a method for updating a test file provided by an embodiment of the present invention;

[0038] Figure 2 It is a circuit comparison diagram of a second chip file and a test file provided by an embodiment of the present invention;

[0039] Figure 3 It is a circuit comparison diagram of a second chip file and a test file provided by an embodiment of the present invention;

[0040] Figure 4A circuit comparison diagram of a second chip file and a test file provided by an embodiment of the present invention;

[0041] Figure 5 A circuit comparison diagram of a second chip file and a test file provided by an embodiment of the present invention;

[0042] Figure 6 A circuit comparison diagram of a second chip file and a test file provided by an embodiment of the present invention;

[0043] Figure 7 A circuit comparison diagram of a second chip file and a test file provided by an embodiment of the present invention;

[0044] Figure 8 A circuit comparison diagram of a second chip file and a test file provided by an embodiment of the present invention;

[0045] Figure 9 A circuit comparison diagram of a second chip file and a test file provided by an embodiment of the present invention;

[0046] Figure 10 A circuit comparison diagram of a second chip file and a test file provided by an embodiment of the present invention;

[0047] Figure 11 A circuit comparison diagram of a second chip file and a test file provided by an embodiment of the present invention;

[0048] Figure 12 A circuit comparison diagram of a second chip file and a test file provided by an embodiment of the present invention;

[0049] Figure 13 A schematic structural diagram of a device for updating a test file provided by an embodiment of the present invention;

[0050] Figure 14 A schematic structural diagram of a computing device provided by an embodiment of the present invention. Detailed implementation manners

[0051] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only some of the embodiments of the present invention, rather than all of them. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0052] In the stage of chip verification, such as FPGA verification and MPW testing, test files of the test system correspond to various parts in the chip file. The test files are determined based on the chip file, but there are significant differences between the test files and the chip file, so as to achieve special test purposes of the test system. However, as the chip verification process progresses, the chip file will also be updated according to the results of the test system. To facilitate subsequent verification of the chip file, the test files also need to be updated synchronously.

[0053] However, since there are modification points in the test file for the chip file, in order to prevent conflicts between the modification points in the test file for the chip file and the update points of the chip file, the test system cannot be directly updated synchronously. Therefore, generally, staff need to manually judge whether the test file can be directly updated, which will affect the update efficiency.

[0054] In summary, the embodiments of the present invention provide a method for updating test files to improve the update efficiency.

[0055] As Figure 1 shown, it is a flowchart of a method for updating test files provided by an embodiment of the present invention. The method includes the following steps:

[0056] Step 101, compare the first chip file and the second chip file to determine first update information including a plurality of first update items.

[0057] In the embodiments of the present invention, during the verification process of the chip file, the second chip file is obtained by updating based on the first chip file. To accurately determine whether the test file needs to be updated synchronously, first, the first update information needs to be determined according to the first chip file and the second chip file.

[0058] Step 102, compare the first chip file and the test file to determine second update information including a plurality of second update items.

[0059] In the embodiments of the present invention, since the test system adjusts the first chip file according to the test requirements to obtain the test file, there is a part of the content in the test file that is the same as the first chip file, and there is also a part of the content that is different from the first chip file. The same content indicates that this part is not the content to be tested in the test requirements, and the different content indicates that this part is the content to be tested in the test requirements.

[0060] Considering that directly synchronously updating the test file when there is an association between the first update information of the second chip file and the second update information in the test file will affect the test requirements. Therefore, it is necessary to determine the second update information based on the first chip file and the test file, where the second update information is the information modified in the test file for the first chip file.

[0061] Step 103, for any first update item, determine the connection type to which the first update item belongs based on the changed object indicated by the first update item; determine the operation type corresponding to the first update item based on the change method indicated by the first update item, and determine the overlap type corresponding to the first update item based on whether there is an overlapping change with the first update item among multiple second update items.

[0062] In an embodiment of the present invention, the following describes how to determine the connection type corresponding to the first update item. The connection type to which the first update item belongs can be determined in various ways. In a possible case, if the changed object indicated by the first update item is the connection relationship between target units, then determine that the connection type to which the first update item belongs is the connection type; otherwise, the connection type to which the first update item belongs is the non-connection type.

[0063] In another possible case, if the statement type of the first update item is a logical assignment statement, then the connection type to which the first update item belongs is the non-connection type; if the statement type of the first update item is not a logical assignment statement, then the connection type to which the first update item belongs is the connection type.

[0064] The following describes how to determine the overlap type corresponding to the first update item.

[0065] Determine the modification position corresponding to the first update item in the first chip file. If there is a second update item among multiple second update items with the same modification position as the first update item, then there is an overlapping change with the first update item, and determine that the overlap type corresponding to the first update item is the overlap type; otherwise, it is the non-overlap type.

[0066] Step 104, determine whether to update the test file according to the first update item based on the connection type corresponding to the first update item, and / or the operation type corresponding to the first update item, and / or the overlap type corresponding to the first update item.

[0067] In an embodiment of the present invention, since there is a part of the content in the test file that is the same as that in the first chip file and there is also a part of the content that is different from that in the first chip file, therefore, by according to the connection type corresponding to the first update item, and / or the operation type corresponding to the first update item, and / or the overlap type corresponding to the first update item, it can be determined whether the first update item affects the second update item of the test file, and according to whether the first update item affects the second update item of the test file, determine whether to update the test file according to the first update item.

[0068] As can be seen from the above steps 101 to 104, by considering the connection type, operation type, and overlap type corresponding to the first update item, it can be analyzed whether the first update item will affect the second update item of the test file, so that the test file can be updated without affecting the test requirements of the test file.

[0069] Since the connection type corresponding to the first update item includes connection type and non-connection type, the operation type corresponding to the first update item is also diverse, and the overlap type corresponding to the first update item is divided into overlap type and non-overlap type. In order to accurately determine whether to update the test file according to the first update item, the following will be specifically introduced through multiple embodiments.

[0070] Embodiment 1

[0071] The connection type corresponding to the first update item is connection type, the overlap type corresponding to the first update item is non-overlap type, and the operation type corresponding to the first update item is to add an input terminal and the connection line corresponding to the added input terminal, then update the test file according to the first update item.

[0072] Specifically, the connection type corresponding to the first update item is connection type, the operation type corresponding to the first update item is to add a connection line in the way of adding an input terminal, and the overlap type corresponding to the first update item is non-overlap type. According to the connection type corresponding to the first update item, and / or the operation type corresponding to the first update item, and / or the overlap type corresponding to the first update item, it can be determined that compared with the test file, both the input terminal and the connection line are newly added, and there is no correlation with the second update item of the test file. That is to say, the first update item will not affect the second update item of the test file either. Therefore, the test file can be updated according to the first update item.

[0073] For example, as Figure 2 shown, the modification position corresponding to the first update item in the first chip file corresponds to the Figure 2 dashed box area in, where the operation type corresponding to the first update item is to add an input terminal pin1 and the connection line net4 corresponding to the added input terminal on cell1. Since both the input terminal pin1 and the connection line corresponding to the input terminal net1 are newly added, through Figure 2 it can be seen that there is no correlation between the first update item and the second update item of the test file. Therefore, the test file can be updated according to the first update item.

[0074] Embodiment 2

[0075] If the operation type corresponding to the first update item is to modify or delete the connection line by modifying or deleting the input end, then update the test file according to the first update item. It should be noted that when the operation type corresponding to the first update item is to modify or delete the connection line by modifying or deleting the input end, there are the following situations:

[0076] In a possible situation, the connection type corresponding to the first update item is connection type, the overlapping type corresponding to the first update item is non-overlapping type, and the operation type corresponding to the first update item is to modify the input end. When modifying the input end, the input end of the connection line will also be modified accordingly. It should be noted that here the connection line is modified only by modifying the input end of the connection line, and the connection relationship is not modified.

[0077] Therefore, it can be known that since there is only one input source corresponding to one input end, and the first update item and the second update item of the test file are not in the same place, it can be known that modifying only the input end has no correlation with the second update item of the test file and will not affect the second update item of the test file. Therefore, the test file can be updated according to the first update item.

[0078] For example, as Figure 3 shown, the modification position corresponding to the first update item in the first chip file is in the Figure 3 dashed box area. The operation type corresponding to the first update item is to modify the input end pin3 of cell1 to input end pin4. Since there is only one input source corresponding to one input end, and as can be seen from Figure 3 the first update item and the second update item of the test file are not in the same place, modifying the input end pin3 to input end pin4 has no correlation with the second update item of the test file and will not affect the second update item of the test file. Therefore, the test file can be updated according to the first update item.

[0079] In another possible situation, the connection type corresponding to the first update item is connection type, the overlapping type corresponding to the first update item is non-overlapping type, and the operation type corresponding to the first update item is to delete the input end and delete the connection line. It should be noted that when deleting the connection line, the connection relationship of the connection line will also be deleted.

[0080] Therefore, it can be known that since the first update item and the second update item of the test file are not in the same place, deleting the input end and the connection line corresponding to the input end will not affect the second update item of the test file. Therefore, the test file can be updated according to the first update item.

[0081] For example, as Figure 4 shown, the modification position corresponding to the first update item in the first chip file is in the Figure 4In the dashed box area, the operation type corresponding to the first update item is to delete the input terminal pin1 of cell1 and the connection line net1. From Figure 4 it can be seen that deleting the input terminal pin1 and the corresponding connection line net1 of the input terminal will not affect the second update item of the test file. Therefore, the test file can be updated according to the first update item.

[0082] In another possible case, the connection type corresponding to the first update item is connection type, the overlap type corresponding to the first update item is overlap type, and the operation type corresponding to the first update item is to modify the input terminal. Since the overlap type corresponding to the first update item is overlap type, there is a second update item in the test file that overlaps and changes with the first update item, and the operation type corresponding to the second update item is to modify the connection relationship by modifying the connection line.

[0083] Since the first update item is to modify the input terminal, that is to say, the second chip file no longer needs this input terminal and needs to modify this input terminal. Then correspondingly in the test file, the test file also has no meaning to test this input terminal and the connection line related to this input terminal. Therefore, the test file can be updated according to the first update item, and the modification of the connection line in the second update item can be cancelled.

[0084] For example, as Figure 5 shown, the modification position corresponding to the first update item in the first chip file is in the Figure 5 dashed box area. The operation type corresponding to the first update item is to modify the input terminal pin3 of cell1 to input terminal pin4, and the operation type corresponding to the second update item is to modify net1 of cell1 to net2. It is shown by the blue line in Figure 5 . The input terminal in net2 is input terminal pin3. Since input terminal pin3 is modified to input terminal pin4, that is to say, input terminal pin3 has been deleted and the second chip file no longer needs input terminal pin3. Then the corresponding test file also has no meaning to test pin3 and the connection line net2 corresponding to pin3. Therefore, the test file can be updated according to the first update item, and the modification of the connection line in the second update item can be cancelled.

[0085] In another possible case, the connection type corresponding to the first update item is connection type, the overlap type corresponding to the first update item is overlap type, and the operation type corresponding to the first update item is to delete the input terminal and the connection line corresponding to the input terminal. Since the overlap type corresponding to the first update item is overlap type, there is a second update item in the test file that overlaps and changes with the first update item, and the operation type corresponding to the second update item is to modify the connection relationship by modifying the connection line. It should be noted that when deleting the connection line, the connection relationship corresponding to the connection line will also be deleted.

[0086] Since the first update item is to delete the input terminal and the connection line corresponding to the input terminal, this also indicates that the second chip file no longer requires this input terminal. Then correspondingly in the test file, there is no meaning in testing this input terminal and the connection line related to this input terminal. Therefore, the test file can be updated according to the first update item, and the modification of the connection line in the second update item can be cancelled.

[0087] For example, as Figure 6 shown, the modification position corresponding to the first update item in the first chip file corresponds to the Figure 6 dashed box area in. The operation type corresponding to the first update item is to delete the input terminal pin3 of cell1 and the connection line net3 corresponding to the input terminal. The operation type corresponding to the second update item is to modify net2 of cell1 to net4, where the input terminal corresponding to net4 is pin3. Since the first update item is to delete the input terminal pin3 and the connection line net3 corresponding to the input terminal, that is, the second chip file no longer requires this input terminal and the connection line corresponding to this input terminal. Then correspondingly in the test file, there is no meaning in testing this input terminal and the connection line related to this input terminal. Therefore, the test file can be updated according to the first update item, and the modification of the connection line in the second update item can be cancelled.

[0088] Embodiment III

[0089] The operation type corresponding to the first update item is to modify or delete the connection line by modifying or deleting the output terminal. If there is a third unit related to the output terminal in the test file, the update of the test file is rejected. Here, the third unit is other units except the first unit and the second unit corresponding to the connection relationship. It should be noted that the operation type corresponding to the first update item is to modify or delete the connection line by modifying or deleting the output terminal, and there are the following situations:

[0090] In a possible situation, the connection type corresponding to the first update item is a connection type, the overlapping type corresponding to the first update item is a non-overlapping type, and the operation type corresponding to the first update item is to modify the output terminal. When modifying the output terminal, the output terminal of the connection line will also be modified correspondingly. It should be noted that here the way of modifying the connection line only modifies the output terminal of the connection line and does not modify the connection relationship. That is to say, the connection line still has the original connection relationship.

[0091] Since the output terminal outputs signals to other units, if the output terminal is modified, the signals output correspondingly by the output terminal will also change. Although the overlapping type corresponding to the first update item is non-overlapping, if there is a third unit connected to the output terminal in the test file, the signals received by the third unit will also change due to the modification of the output terminal, thus affecting the second update item of the test file. Therefore, if the connection type corresponding to the first update item is connection type, the overlapping type corresponding to the first update item is non-overlapping, the operation type corresponding to the first update item is to modify the output terminal, and there is a third unit connected to the output terminal in the test file, the update of the test file is rejected.

[0092] For example, as Figure 7 shown, the modification position corresponding to the first update item in the first chip file corresponds to the Figure 7 dashed box area in. Among them, the operation type corresponding to the first update item is to modify the output terminal pin3 of cell1 to output terminal pin4. Although the test file does not modify or delete the output terminal pin3 and the connection line corresponding to pin3, but from Figure 7 it can be seen that the output terminal of net1 in cell3 in the test file is pin3, that is to say, cell3 needs to receive the signals output by the output terminal pin3. Since the first update item changes the output terminal pin3 to output terminal pin4. If the modification is made according to the first update item, what cell3 receives is the signal output by the output terminal pin4, rather than the output terminal pin3, which will thus affect the test of the test file. Therefore, the update of the test file is rejected.

[0093] In another possible case, the connection type corresponding to the first update item is connection type, the overlapping type corresponding to the first update item is non-overlapping, and the operation type corresponding to the first update item is to delete the output terminal and the connection line corresponding to the output terminal. Here, the way of deleting the connection line will also delete the connection relationship of the connection line.

[0094] Since the output terminal outputs signals to other units, if the output terminal is deleted, the output terminal will no longer output signals. If there is a third unit connected to the output terminal in the test file and the update is made according to the first update item, the third unit will not be able to work properly due to losing the signals output by the output terminal, thus affecting the second update item of the test file. Therefore, if the connection type corresponding to the first update item is connection type, the overlapping type corresponding to the first update item is non-overlapping, the operation type corresponding to the first update item is to delete the output terminal and the connection line corresponding to the output terminal, and there is a third unit connected to the output terminal in the test file, the update of the test file is rejected.

[0095] For example, as Figure 8 shown, the modification position corresponding to the first update item in the first chip file corresponds to the Figure 8The dashed box area, where the operation type corresponding to the first update item is to delete the output pin3 and delete the connecting line net3 corresponding to the output pin3. Although the test file does not modify or delete the output pin3 and the connecting line corresponding to pin3, but from Figure 8 it can be seen that the output end of net1 in cell3 in the test file is pin3. That is to say, cell3 needs to receive the signal output by the output pin3. If the test file is updated according to the first update item, since the output pin3 and net3 are deleted and the output pin3 no longer outputs a signal, cell3 will not be able to work properly because it loses the signal output by the output end, thus affecting the second update item of the test file. Therefore, the update of the test file is rejected.

[0096] Embodiment 4

[0097] If the operation type corresponding to the first update item is to modify or delete the connecting line by modifying or deleting the output end, and there is no third unit related to the output end in the test file, then the update of the test file is allowed. Here, the third unit is other units except the first unit and the second unit corresponding to the connection relationship. It should be noted that the operation type corresponding to the first update item is to modify or delete the connecting line by modifying or deleting the output end, and there are the following situations:

[0098] In a possible case, the connection type corresponding to the first update item is connection type, the overlapping type corresponding to the first update item is non-overlapping type, and the operation type corresponding to the first update item is to modify the output end. When modifying the output end, the output end of the connecting line will also be modified correspondingly. It should be noted that the way of modifying the connecting line here only modifies the output end of the connecting line and does not modify the connection relationship. That is to say, the connecting line still has the original connection relationship.

[0099] Since the output end will output a signal to other units, if the output end is modified, the signal output by the output end will also change. However, if there is no third unit connected to the output end in the test file, the first update item will not affect the second update item of the test file. Therefore, if the connection type corresponding to the first update item is connection type, the overlapping type corresponding to the first update item is non-overlapping type, the operation type corresponding to the first update item is to modify the output end, and there is no third unit connected to the output end in the test file, then the update of the test file is allowed.

[0100] For example, if the operation type corresponding to the first update item is to modify the output pin3 to the output pin4, and there is no connecting line in the test file whose output end corresponds to pin3, then modifying the output pin3 to the output pin4 will not affect the test of the test file. Therefore, the update of the test file is allowed.

[0101] In another possible case, the connection type corresponding to the first update item is a connection type, the overlapping type corresponding to the first update item is a non-overlapping type, and the operation type corresponding to the first update item is to delete the output terminal and the connection line corresponding to the output terminal. Here, the way of deleting the connection line will also delete the connection relationship of the connection line.

[0102] Since the output terminal outputs signals to other units, if the output terminal is deleted, the output terminal will no longer output signals. However, if there is no third unit connected to the output terminal in the test file, it will not affect the second update item of the test file. Therefore, if the connection type corresponding to the first update item is a connection type, the overlapping type corresponding to the first update item is a non-overlapping type, the operation type corresponding to the first update item is to delete the output terminal and the connection line corresponding to the output terminal, and there is no third unit connected to the output terminal in the test file, then the test file update is allowed.

[0103] For example, if the operation type corresponding to the first update item is to delete output terminal pin3 and the connection line net3 corresponding to output terminal pin3, and there is no output terminal corresponding to the connection line of the unit in the test file whose pin number is pin3, then deleting output terminal pin3 and the connection line net3 corresponding to output terminal pin3 will not affect the test of the test file. Therefore, the test file update is allowed.

[0104] Example Five

[0105] The connection type corresponding to the first update item is a connection type, the overlapping type corresponding to the first update item is an overlapping type, and the operation type corresponding to the first update item is to delete the output terminal and the connection line corresponding to the output terminal. Here, the way of deleting the connection line will also delete the connection relationship of the connection line. Since the overlapping type corresponding to the first update item is an overlapping type, there is a second update item in the test file that overlaps and changes with the first update item, and the operation type corresponding to the second update item is to modify the connection relationship by modifying the connection line.

[0106] Since the second update item only modifies the connection line and does not modify the connection relationship, if the operation type corresponding to the first update item is to delete the output terminal and the connection line corresponding to the output terminal, it will affect the second update item of the test file. Therefore, the update of the test file is rejected.

[0107] For example, as Figure 9 shown, the modification position corresponding to the first update item in the first chip file corresponds to Figure 9In the dashed box area, the operation type corresponding to the first update item is to delete the output pin3 of cell1 and the connection line net3 corresponding to the output end. The operation type corresponding to the second update item is to modify net3 of cell1 to net4, where the output end corresponding to net4 is pin3. Since the first update item overlaps with the second update item of the test file, and the output pin3 deleted by the first update item is the output end corresponding to the connection line modified in the second update item, if the test file deletes pin3, it will affect the second update item of the test file. Therefore, the update of the test file is rejected.

[0108] Example Six

[0109] The connection type corresponding to the first update item is connection type, the overlap type corresponding to the first update item is overlap type, and the operation type corresponding to the first update item is to delete the output end and the connection line corresponding to the output end. Here, the way of deleting the connection line will also delete the connection relationship of the connection line.

[0110] If the output end deleted in the operation type corresponding to the first update item and the connection line corresponding to the output end are not the second update item actually used in the test file, that is, deleting the output end and the connection line corresponding to the output end will not affect the second update item of the test file, then the test file can be updated according to the first update item.

[0111] For example, as Figure 10 shown, the modification position corresponding to the first update item in the first chip file corresponds to the dashed box area in Figure 10 The operation type corresponding to the first update item is to delete the output pin3 of cell1 and the connection line net3 corresponding to the output end. The operation type corresponding to the second update item is to modify net3 of cell1 to net4, where the output end corresponding to net4 is pin3. However, since net4 is only a preparatory connection line of the test file and does not involve the second update item of the test file, deleting pin3 will not affect the second update item of the test file. Therefore, the update of the test file is allowed.

[0112] Example Seven

[0113] The connection type corresponding to the first update item is connection type, the operation type corresponding to the first update item is to modify the connection relationship by modifying the connection line, and the overlap type corresponding to the first update item is non - overlap type. Update the test file according to the first update item.

[0114] The operation type corresponding to the first update item is to modify the connection line. If the connection line modification involves the input end, since there is only one input source corresponding to the input end, and the first update item and the second update item of the test file are not in the same place, it can be known that there is no correlation between the modification of the connection line and the second update item of the test file, and it will not affect the second update item of the test file. Therefore, the test file can be updated according to the first update item.

[0115] For example, as Figure 11 shown, the modification position corresponding to the first update item in the first chip file is in the Figure 11 dashed box area. The operation type corresponding to the first update item is to change net1 of cell1 to net2. The connection line modification in the first update item involves the input end pin3. It can be Figure 11 known that the first update item and the second update item of the test file are not in the same place. Therefore, it does not affect the testing of the test file. Therefore, it is allowed to update the test file according to the first update item.

[0116] In a possible case, if the modification of the connection line causes a change in the output end, determine the unit with the output end as the input information, and update the unit in the test file according to the first update item.

[0117] For example, the operation type corresponding to the first update item is to change net1 to net2. The connection line modification in the first update item involves the output end pin3. The output end of net3 in cell3 of the test file is pin3. Since the net has changed, the property of the output end pin3 also changes accordingly. Then it is allowed to update the test file according to the first update item and update the property of the output end pin3 of the third unit in the test file.

[0118] Embodiment VIII

[0119] The connection type corresponding to the first update item is the connection type. The operation type corresponding to the first update item is to modify the connection relationship by modifying the connection line, and the overlap type corresponding to the first update item is the overlap type. Determine whether there is a modification to the connection relationship in the test file. If so, reject the update of the test file.

[0120] Specifically, when the connection type corresponding to the first update item is the connection type and the overlap type corresponding to the first update item is the overlap type, it can be known that the first update item and the second update item modify the same position. Among them, the operation type corresponding to the first update item is to modify the connection relationship by modifying the connection line, and the operation type corresponding to the second update item is to modify the connection relationship by modifying the connection line. That is to say, both the first update item and the second update item modify the connection relationship. However, since the modification in the test file is a proprietary modification made for testing purposes and its priority is higher than the function update of the chip file, the test file shall prevail and the update of the test file according to the first update item shall be rejected.

[0121] For example, as Figure 12 shown, the modification position corresponding to the first update item in the first chip file corresponds to the Figure 12 dashed box area in. Among them, the operation type corresponding to the first update item is to change net3 of cell1 to net4, and the operation type corresponding to the second update item is to change net3 of cell1 to net5. However, since the modification priority of the test file is higher than the working update of the chip file, the test file shall prevail and the update of the test file according to the first update item shall be rejected.

[0122] Embodiment Nine

[0123] The connection type corresponding to the first update item is the connection type, the operation type corresponding to the first update item is to modify the connection relationship by modifying the connection line, and the overlap type corresponding to the first update item is the overlap type. Determine whether there is a modification to the connection relationship in the test file. If not, the update of the test file is allowed.

[0124] Specifically, although the overlap type corresponding to the first update item is the overlap type, since the second update in the test file does not modify the connection relationship, the update of the test file is allowed.

[0125] Embodiment Ten

[0126] The connection type corresponding to the first update item is the non-connection type, the overlap type corresponding to the first update item is the non-overlap type, and the first update item is for the input end. Then, update the test file according to the first update item.

[0127] Specifically, since the first update item is for the input end and does not modify the output end, the first update item will not affect the test content of the test file. Therefore, the test file can be updated according to the first update item.

[0128] Embodiment Eleven

[0129] If the connection type corresponding to the first update item is non-connection type, the overlap type corresponding to the first update item is non-overlap type, and the first update item is for the output terminals of multiple units, then the update of the test file is rejected; if the first update item is for the output terminal of a single unit, then the test file is updated according to the first update item.

[0130] Specifically, since the first update item modifies the output terminal, if the output terminal corresponds to multiple units, then modifying the output terminal will also change the signals output by the corresponding output terminal, which will cause the multiple units receiving the signals to malfunction, thus affecting the test of the test file. Therefore, the update of the test file is rejected.

[0131] If the output terminal is only the output terminal of a single unit and no other unit uses this output terminal, then it will not affect the signals received by other units, and thus will not affect the test of the test file. Therefore, it is allowed to update the test file according to the first update item.

[0132] Example Twelve

[0133] The connection type corresponding to the first update item is non-connection type, the overlap type corresponding to the first update item is non-overlap type, and the operation type corresponding to the first update item is a deletion operation for a unit. Then, it is determined whether there are associated units for the output terminal of the unit. If there are associated units, then the update of the test file is rejected; otherwise, the test file is updated according to the first update item.

[0134] Specifically, since the operation type corresponding to the first update item is a deletion operation for a unit, it is necessary to check whether there are associated units using the output terminal of this unit. If there are, then the first update item will cause the associated units to malfunction, thus affecting the subsequent test based on the test file. Therefore, the update of the test file is rejected. If not, it means that the first update item will not affect the subsequent test based on the test file. Therefore, it is allowed to update the test file according to the first update item.

[0135] Example Thirteen

[0136] If the connection type corresponding to the first update item is non-connection type and the overlap type corresponding to the first update item is overlap type, then the update of the test file is rejected.

[0137] Specifically, since the connection type corresponding to the first update item is non-connection type and the overlap type corresponding to the first update item is overlap type, in order to avoid the first update item affecting the second update item of the test file, therefore, the update of the test file is rejected.

[0138] Based on the same technical concept, the embodiments of the present application provide a device for updating a test file, as Figure 13As shown, the device 1300 includes: an obtaining unit 1301, configured to compare a first chip file and a second chip file, and determine first update information including a plurality of first update items; the second chip file is obtained by modifying the first chip file based on iterative updates. A processing unit 1302, configured to compare the first chip file and a test file, and determine second update information including a plurality of second update items; the test file is obtained by modifying the first chip file based on test requirements; for any first update item, determine the connection type to which the first update item belongs based on the changed object indicated by the first update item; determine the operation type corresponding to the first update item based on the change method indicated by the first update item, and determine the overlap type corresponding to the first update item based on whether there is an overlapping change with the first update item among the plurality of second update items; determine whether to update the test file according to the first update item according to the connection type corresponding to the first update item, and / or the operation type corresponding to the first update item, and / or the overlap type corresponding to the first update item.

[0139] Optionally, the processing unit 1302 is specifically configured to: if the changed object indicated by the first update item is the connection relationship between target units, determine that the connection type to which the first update item belongs is a connection type; otherwise, it is a non-connection type.

[0140] Optionally, the processing unit 1302 is specifically configured to: determine the modification position corresponding to the first update item in the first chip file; if there is a second update item among the plurality of second update items whose modification position is the same as the modification position, there is an overlapping change with the first update item, and determine that the overlap type corresponding to the first update item is an overlap type; otherwise, it is a non-overlap type.

[0141] Optionally, the processing unit 1302 is specifically configured to: if the connection type corresponding to the first update item is a connection type, and the operation type corresponding to the first update item is to add a connection line by adding an input terminal, update the test file according to the first update item.

[0142] Optionally, the connection type corresponding to the first update item is a connection type; the processing unit 1302 is specifically configured to: if the operation type corresponding to the first update item is to modify or delete a connection line by modifying or deleting an input terminal, update the test file according to the first update item.

[0143] The connection type corresponding to the first update item is a connection type; specifically, the processing unit 1302 is configured to: if the operation type corresponding to the first update item is to modify or delete a connection line by modifying or deleting an output end, and there is a third unit related to the output end in the test file, reject the update of the test file; the third unit is other units except the first unit and the second unit corresponding to the connection relationship; if the operation type corresponding to the first update item is to modify or delete a connection line by modifying or deleting an output end, and there is no third unit related to the output end in the test file, update the test file according to the first update item.

[0144] Optionally, the processing unit 1302 is specifically configured to: if the operation type corresponding to the first update item is to delete a connection line by deleting an output end, and the overlap type corresponding to the first update item is an overlap type, reject the update of the test file.

[0145] Optionally, the processing unit 1302 is specifically configured to: the connection type corresponding to the first update item is a connection type, the operation type corresponding to the first update item is to modify the connection relationship by modifying a connection line, and the overlap type corresponding to the first update item is a non - overlap type, update the test file according to the first update item.

[0146] Optionally, the processing unit 1302 is specifically configured to: if modifying a connection line causes a change in the output end, determine the unit that uses the output end as input information, and update the unit in the test file according to the first update item.

[0147] Optionally, the processing unit 1302 is specifically configured to: the connection type corresponding to the first update item is a connection type, the operation type corresponding to the first update item is to modify the connection relationship by modifying a connection line, and the overlap type corresponding to the first update item is an overlap type, determine whether there is a modification to the connection relationship in the test file; if so, reject the update of the test file.

[0148] Optionally, the processing unit 1302 is specifically configured to: if the connection type corresponding to the first update item is a non - connection type, the overlap type corresponding to the first update item is a non - overlap type, and the first update item is for an input end, update the test file according to the first update item; if the connection type corresponding to the first update item is a non - connection type, the overlap type corresponding to the first update item is a non - overlap type, and the first update item is for the output ends of multiple units, reject the update of the test file; if the first update item is for the output end of a single unit, update the test file according to the first update item.

[0149] Optionally, the processing unit 1302 is specifically configured to: if the connection type corresponding to the first update item is a non-connection type, the overlap type corresponding to the first update item is a non-overlap type, and the operation type corresponding to the first update item is a deletion operation for the unit, determine whether there is an associated unit at the output end of the unit; if there is an associated unit, reject the update of the test file; otherwise, update the test file according to the first update item.

[0150] Optionally, the processing unit 1302 is specifically configured to: if the connection type corresponding to the first update item is a non-connection type and the overlap type corresponding to the first update item is an overlap type, reject the update of the test file.

[0151] Based on the same technical concept, an embodiment of the present application provides a computing device, such as Figure 14 shown, including at least one processor 1401 and a memory 1402 connected to the at least one processor. In the embodiment of the present application, the specific connection medium between the processor 1401 and the memory 1402 is not limited. Figure 14 Taking the example that the processor 1401 and the memory 1402 are connected through a bus. The bus can be divided into an address bus, a data bus, a control bus, etc.

[0152] In the embodiment of the present application, the memory 1402 stores instructions executable by at least one processor 1401. By executing the instructions stored in the memory 1402, the at least one processor 1401 can execute the steps of the method for updating the test file.

[0153] Among them, the processor 1401 is the control center of the computer device, and can use various interfaces and lines to connect various parts of the computing device. By running or executing the instructions stored in the memory 1402 and calling the data stored in the memory 1402, the method for processing the update test file can be implemented.

[0154] Optionally, the processor 1401 may include one or more processing units. The processor 1401 may integrate an application processor and a modulation and demodulation processor. Among them, the application processor mainly processes the operating system, user interface, application programs, etc., and the modulation and demodulation processor mainly processes wireless communication. It can be understood that the above modulation and demodulation processor can also be integrated into the processor 1401. In some embodiments, the processor 1401 and the memory 1402 can be implemented on the same chip, and in some embodiments, they can also be separately implemented on independent chips.

[0155] The processor 1401 may be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor, an application specific integrated circuit (ASIC), a field programmable gate array, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the method disclosed in combination with the embodiments of the present application may be directly embodied as being executed by a hardware processor, or executed by a combination of hardware and software modules in the processor.

[0156] The memory 1402, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The memory 1402 may include at least one type of storage medium, for example, it may include flash memory, a hard disk, a multimedia card, a card-type memory, a random access memory (RAM), a static random access memory (SRAM), a programmable read-only memory (PROM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic memory, a magnetic disk, an optical disk, and so on. The memory 1402 is any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer device, but is not limited thereto. The memory 1402 in the embodiments of the present application may also be a circuit or any other device capable of implementing a storage function, for storing program instructions and / or data.

[0157] Based on the same inventive concept, the embodiments of the present application provide a computer-readable storage medium that stores a computer program executable by a computer device. When the program runs on the computer device, it causes the computer device to execute the steps of the method for updating a test file.

[0158] Based on the same technical concept, the embodiments of the present application also provide a computer program product, including computer-readable instructions, which, when executed by a processor, cause the above-mentioned method for updating a test file to be implemented.

[0159] Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0160] The present application is described with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to the present application. It should be understood that each flow and / or block in the flowchart and / or block diagram, as well as the combination of flows and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, such that the instructions executed by the processor of the computer or other programmable data processing devices generate means for implementing the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0161] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory generate a manufactured article including instruction means that implement the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0162] These computer program instructions can also be loaded onto a computer or other programmable data processing device, such that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0163] Obviously, those skilled in the art can make various modifications and variations to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these modifications and variations.

Claims

1. A method for updating a test file, characterized in that: include: Compare the first chip file with the second chip file to determine first update information including a plurality of first update items; The second chip file is obtained by modifying the first chip file based on iterative update; Compare the first chip file and the test file to determine second update information including a plurality of second update items; The test file is obtained by modifying the first chip file based on the test requirements; For any first update item, determining the connection type to which the first update item belongs based on the change object indicated by the first update item; Determine an operation type corresponding to the first update item based on the change mode indicated by the first update item, and determine an overlapping type corresponding to the first update item based on whether there are overlapping changes with the first update item in the plurality of second update items; Determine whether to update the test file according to the first update item according to the connection type corresponding to the first update item, and / or the operation type corresponding to the first update item, and / or the overlap type corresponding to the first update item.

2. The method according to claim 1, characterized in that Determining the connection type to which the first update item belongs based on the change object indicated by the first update item includes: If the change object indicated by the first update item is the connection relationship between target units, then the connection type to which the first update item belongs is determined to be a connection type; otherwise, it is determined to be a non-connection type.

3. The method according to claim 1, characterized in that Determining the overlapping type corresponding to the first update item based on whether any of the plurality of second update items overlaps with the first update item includes: Determine a modification position corresponding to the first update item in the first chip file; If there is a second update item in the plurality of second update items that is consistent with the modification position, there is an overlapping change with the first update item, and the overlapping type corresponding to the first update item is determined to be an overlapping type; otherwise, it is a non-overlapping type.

4. The method according to claim 1, characterized in that Determining whether to update the test file according to the first update item according to the connection type corresponding to the first update item, and / or the operation type corresponding to the first update item, and / or the overlap type corresponding to the first update item, includes: If the connection type corresponding to the first update item is a connection type, and the operation type corresponding to the first update item is adding a connection line by adding an input terminal, the test file is updated according to the first update item.

5. The method according to claim 1, characterized in that The connection type corresponding to the first update item is connection type; Determining whether to update the test file according to the first update item according to the connection type corresponding to the first update item, and / or the operation type corresponding to the first update item, and / or the overlap type corresponding to the first update item, includes: If the operation type corresponding to the first update item is to modify or delete the connection line by modifying or deleting the input end, the test file is updated according to the first update item.

6. The method according to claim 1, characterized in that The connection type corresponding to the first update item is connection type; Determining whether to update the test file according to the first update item according to the connection type corresponding to the first update item, and / or the operation type corresponding to the first update item, and / or the overlap type corresponding to the first update item, includes: If the operation type corresponding to the first update item is to modify or delete the connection line by modifying or deleting the output terminal, and there is a third unit involving the output terminal in the test file, then the update of the test file is rejected; the third unit is a unit other than the first unit and the second unit corresponding to the connection relationship; If the operation type corresponding to the first update item is to modify or delete the connection line by modifying or deleting the output end, and there is no third unit involving the output end in the test file, the test file is updated according to the first update item.

7. The method according to claim 1, characterized in that Determining whether to update the test file according to the first update item according to the connection type corresponding to the first update item, and / or the operation type corresponding to the first update item, and / or the overlap type corresponding to the first update item, includes: If the operation type corresponding to the first update item is deleting the connection line by deleting the output end, and the overlap type corresponding to the first update item is the overlap type, then the test file is rejected for updating.

8. The method according to claim 1, characterized in that Determining whether to update the test file according to the first update item according to the connection type corresponding to the first update item, and / or the operation type corresponding to the first update item, and / or the overlap type corresponding to the first update item, includes: The connection type corresponding to the first update item is connection type, the operation type corresponding to the first update item is to modify the connection relationship by modifying the connection line, and the overlap type corresponding to the first update item is non-overlap type, and the test file is updated according to the first update item.

9. The method according to claim 8, characterized in that Updating the test file according to the first update item includes: If the modification of the connection line causes a change in the output terminal, it is determined that the output terminal is used as a unit of input information, and the unit is updated in the test file according to the first update item.

10. The method according to claim 1, characterized in that Determining whether to update the test file according to the first update item according to the connection type corresponding to the first update item, and / or the operation type corresponding to the first update item, and / or the overlap type corresponding to the first update item, includes: If the connection type corresponding to the first update item is a connection type, the operation type corresponding to the first update item is to modify the connection relationship by modifying the connection line, and the overlap type corresponding to the first update item is an overlap type, determining whether there is a modification to the connection relationship in the test file; If it exists, the update of the test file is rejected.

11. The method according to claim 1, characterized in that Determining whether to update the test file according to the first update item according to the connection type corresponding to the first update item, and / or the operation type corresponding to the first update item, and / or the overlap type corresponding to the first update item, includes: If the connection type corresponding to the first update item is non-connection type, the overlap type corresponding to the first update item is non-overlap type, and the first update item is for the input end, then the test file is updated according to the first update item; If the connection type corresponding to the first update item is non-connection type, the overlap type corresponding to the first update item is non-overlapping type, and the first update item is for the output ends of multiple units, then refuse to update the test file; if the first update item is for the output end of a single unit, then update the test file according to the first update item.

12. The method according to claim 1, characterized in that Determining whether to update the test file according to the first update item according to the connection type corresponding to the first update item, and / or the operation type corresponding to the first update item, and / or the overlap type corresponding to the first update item, includes: If the connection type corresponding to the first update item is non-connection type, the overlap type corresponding to the first update item is non-overlap type, and the operation type corresponding to the first update item is a deletion operation for a unit, determining whether there is an associated unit at the output end of the unit; If the associated unit exists, the test file is refused to be updated; otherwise, the test file is updated according to the first update item.

13. The method according to claim 1, characterized in that Determining whether to update the test file according to the first update item according to the connection type corresponding to the first update item, and / or the operation type corresponding to the first update item, and / or the overlap type corresponding to the first update item, includes: If the connection type corresponding to the first update item is a non-connection type and the overlap type corresponding to the first update item is an overlap type, then the test file is refused to be updated.

14. A device for updating a test file, characterized in that: include: An acquiring unit, configured to compare the first chip file with the second chip file to determine first update information including a plurality of first update items; The second chip file is obtained by modifying the first chip file based on iterative update; A processing unit, configured to compare the first chip file with the test file, and determine second update information including a plurality of second update items; The test file is obtained by modifying the first chip file based on the test requirements; For any first update item, determining the connection type to which the first update item belongs based on the change object indicated by the first update item; Determine an operation type corresponding to the first update item based on the change mode indicated by the first update item, and determine an overlapping type corresponding to the first update item based on whether there are overlapping changes with the first update item in the plurality of second update items; Determine whether to update the test file according to the first update item according to the connection type corresponding to the first update item, and / or the operation type corresponding to the first update item, and / or the overlap type corresponding to the first update item.

15. A computing device, characterized in that: include: Memory for storing computer programs; A processor, configured to call a computer program stored in the memory, and execute the steps of the method according to any one of claims 1 to 13 according to the obtained program.

16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program, and when the program is run on a computer, the computer is enabled to implement the method according to any one of claims 1 to 13.

17. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the method according to claim 1 are implemented.