Chip prototype verification method and device, electronic equipment and readable storage medium
By updating the indirect constraint strategy and repeating the segmentation process in the chip prototype verification until the clock crossing problem is eliminated, the rework problem caused by clock crossing in the chip prototype verification is solved and the design efficiency and stability are improved.
Patent Information
- Application Number
- CN202410867966.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-08-30
AI Technical Summary
During the chip prototype verification process, clock crossover problems affect design performance and stability. The existing technology lacks automated solutions, resulting in frequent rework and reduced design efficiency.
After the segmentation process of chip prototype verification is completed, the indirect constraint strategy is updated, and the updated strategy is used to segment again until the clock crossover problem is eliminated, and then the wiring process is performed to avoid rework.
It improves the design efficiency of chip prototype verification, reduces the number of reworks, ensures the resolution of clock crossover problems, and improves the stability and efficiency of the verification process.
Smart Images

Figure CN118569201A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of chip verification, and in particular to a chip prototype verification method, device, electronic device and computer-readable storage medium. Background Art
[0002] Before chip tape-out, chip prototype verification can, on the one hand, verify the chip function and ensure the reliability and stability of the functional modules as much as possible; on the other hand, it can also shorten the time to market for the chip and reduce the chip verification cost.
[0003] Currently, the mainstream and mature verification method for chip prototype verification is FPGA (Field Programmable Gate Array) prototype verification, which verifies the chip's functions by porting RTL (Register Transfer Level) to FPGA. After the basic functions of the chip are verified, driver development can begin. Driver and application development can continue until the chip design is completed and the chip is returned.
[0004] Partitioning is a process within the chip prototype verification process. During this process, clock crossings between FPGAs are a key issue to check. Clock crossing issues not only affect the performance and stability of the prototype design, but can also lead to unpredictable situations. Currently, the presence of clock crossings is determined manually by reviewing the post-partition report. The automated process does not consider whether this checkpoint meets design requirements before proceeding with subsequent steps. This results in constant rework of the chip prototype verification design, significantly reducing design efficiency.
[0005] Therefore, how to solve the above technical problems should be the focus of those skilled in the art. Summary of the Invention
[0006] The purpose of the present invention is to provide a chip prototype verification method, device, electronic device and computer-readable storage medium to improve the design efficiency of chip prototype verification.
[0007] To solve the above technical problems, the present invention provides a chip prototype verification method, comprising:
[0008] Step S11: When the first segmentation process is completed and the number of clock crossings is not equal to zero, the indirect constraint strategy is updated to form an updated indirect constraint strategy; the indirect constraint strategy has an indirect constraint effect on the clock crossings;
[0009] Step S12: using the updated indirect constraint strategy to perform the segmentation process again to obtain a new number of clock crossings;
[0010] Step S13: Determine whether the new clock crossing number is equal to zero;
[0011] Step S14: If the new clock crossing number is zero, then execute the wiring process;
[0012] Step S15: If the new clock crossing number is not equal to zero, return to step S11 until the new clock crossing number is equal to zero.
[0013] As an implementable method, when the first segmentation process is completed and the number of clock crossings is not equal to zero, the indirect constraint strategy is updated. Before forming the updated indirect constraint strategy, the method further includes:
[0014] When the first segmentation process is completed, clock crossing information is automatically obtained according to the segmentation report, where the clock crossing information includes the number of clock crossings.
[0015] As an implementable method, automatically obtaining clock crossing information according to the segmentation report includes:
[0016] The clock crossing information is retrieved from the segmentation report using a keyword search.
[0017] As an implementable method, automatically obtaining clock crossing information according to the segmentation report includes:
[0018] The clock crossing information is retrieved from the segmentation report using position retrieval.
[0019] As an implementable method, the indirect constraint strategy includes any one or any combination of the following:
[0020] The connection width between field programmable gate arrays, the usage of the lookup table of each field programmable gate array, and the usage of the block random access memory of each field programmable gate array.
[0021] As an implementable method, when the first segmentation process is completed and the number of clock crossings is not equal to zero, the indirect constraint strategy is updated. Before forming the updated indirect constraint strategy, the method further includes:
[0022] Reserve spare global clock resources on the chip prototype verification platform;
[0023] After performing the segmentation process again using the updated indirect constraint strategy to obtain a new number of clock crossings, the following steps are further included:
[0024] Record the number of times the segmentation process is repeated;
[0025] If the new clock crossing number is not equal to zero, return to step S11 until the new clock crossing number is equal to zero, including:
[0026] If the new clock crossing number is not equal to zero, return to step S11 and determine whether the number reaches a preset number threshold;
[0027] If the number of times does not reach the preset number threshold, return to step S11 until the number of times reaches the preset number threshold or the new clock crossing number is equal to zero;
[0028] If the number reaches the preset number threshold, and all the new clock crossing numbers are not equal to zero, determining the minimum new clock crossing number from all the new clock crossing numbers as the target clock crossing number;
[0029] The target clocks of the target clock crossing quantity are routed to the global clock resource.
[0030] As an implementable embodiment, it also includes:
[0031] The updated indirect constraint strategy corresponding to the target clock crossing number is saved.
[0032] The present invention also provides a chip prototype verification device, comprising:
[0033] An updating module, configured to execute step S11, and when the first segmentation process is completed and the number of clock crossings is not equal to zero, update the indirect constraint strategy to form an updated indirect constraint strategy; the indirect constraint strategy has an indirect constraint effect on the clock crossings;
[0034] a segmentation module, configured to execute step S12, perform the segmentation process again using the updated indirect constraint strategy, and obtain a new number of clock crossings;
[0035] A judging module, configured to execute step S13 and judge whether the new clock crossing number is equal to zero;
[0036] A routing execution module, configured to execute step S14, and if the new clock crossing number is zero, execute the routing process;
[0037] The iteration module is configured to execute step S15 and, if the new clock crossing number is not equal to zero, return to step S11 until the new clock crossing number is equal to zero.
[0038] The present invention further provides an electronic device, comprising:
[0039] memory for storing computer programs;
[0040] A processor is configured to implement any one of the steps of the chip prototype verification method described above when executing the computer program.
[0041] The present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned chip prototype verification methods are implemented.
[0042] The present invention also provides a computer program product, comprising a computer program / instruction, which implements the steps of any of the above-mentioned chip prototype verification methods when executed by a processor.
[0043] A chip prototype verification method provided by the present invention includes: step S11, when the first segmentation process is completed and the number of clock crossings is not equal to zero, updating the indirect constraint strategy to form an updated indirect constraint strategy; step S12, using the updated indirect constraint strategy to perform the segmentation process again to obtain a new number of clock crossings; step S13, judging whether the new number of clock crossings is equal to zero; step S14, if the new number of clock crossings is equal to zero, executing the wiring process; step S15, if the new number of clock crossings is not equal to zero, returning to step S11 until the new number of clock crossings is equal to zero.
[0044] It can be seen that the chip prototype verification method of the present invention pays attention to the number of clock crossings after the first segmentation process is completed. When the number of clock crossings is not equal to zero, the indirect constraint strategy that has an indirect constraint effect on the clock crossing is updated, and the updated indirect constraint strategy is used to segment again, so that a new number of clock crossings can be obtained. The new number of clock crossings can characterize whether there is a clock crossing problem after the second segmentation. When the new number of clock crossings is equal to zero, it indicates that there is no clock crossing problem, and the subsequent wiring process can be carried out. When the new number of clock crossings is not equal to zero, it indicates that there is still a clock crossing problem. The indirect constraint strategy is repeatedly updated until the new number of clock crossings is equal to zero, that is, the clock crossing problem is solved, and then the subsequent wiring process is carried out, avoiding multiple reworks in the chip prototype verification process and improving the efficiency of chip prototype verification.
[0045] In addition, the present invention also provides a device, an electronic device, and a computer-readable storage medium having the above advantages. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0047] Figure 1 A flowchart of the chip prototype verification method;
[0048] Figure 2 A chip prototype verification method according to an embodiment of the present invention Figure 1 ;
[0049] Figure 3 A chip prototype verification method according to an embodiment of the present invention Figure 2 ;
[0050] Figure 4 A chip prototype verification method according to an embodiment of the present invention Figure 3 ;
[0051] Figure 5 A structural block diagram of a chip prototype verification device provided by an embodiment of the present invention;
[0052] Figure 6 This is a structural block diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0053] In order to enable those skilled in the art to better understand the present invention, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments. Obviously, the embodiments described are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0054] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0055] The process of chip prototype verification method is as follows Figure 1 As shown, it can be roughly divided into 11 steps.
[0056] The first step is to prepare for RTL design input and diagnostic compilation. This involves completing the project design input and reporting RTL diagnostics to eliminate any parsing errors. Errors in the design files are analyzed and reported, and feedback is provided to the designer. Once the RTL is correct, proceed to complete the design compilation.
[0057] The second step is to add the debug signal list (.idc file, which is optional), which is similar to the function of the probe in Vivado. When the debug signal is confirmed, continue with the complete design compilation.
[0058] The third and fourth steps primarily complete the pre-partitioning and partitioning of the design. These two steps require the following constraint files: Timing Constraints (FDC), Target System Spec (TSS), and Partition Constraints (PCF). The .fdc file is the timing constraint file, the .tss file is the HAPS platform configuration file, which specifies information such as clock sources, cable connections, and external daughterboard types and locations. The .pcf file sets partitioning constraints, such as pin locations, cell allocation, and partitioning strategy control. FPGA resource utilization is also assessed during this phase. This step utilizes Synopsys' industry-leading partitioning technology, unique HSTDM technology for dynamically increasing interconnects between FPGAs, and optimized and reliable timing closure across multiple FPGAs. This is a critical step in the entire HAPS design process.
[0059] In the fifth and sixth steps, we complete the partition constraints, pin location, cell allocation, partition strategy control, and system wiring between multiple FPGAs, and finally generate relevant system-level files.
[0060] Steps 7, 8, and 9 mainly complete the mapping of the logic design to a specific FPGA chip, generate the corresponding netlist file for the design, and prepare relevant files for subsequent layout and routing in the Vivado integrated development environment.
[0061] The tenth step is run in Vivado (design suite), mainly using the netlist file generated in the ninth step as input to complete the project layout, routing and generate bit files.
[0062] The eleventh step mainly completes the conversion of the bit file into a .bin file and generates hardware platform-related adaptation files.
[0063] As described in the background technology section, currently, after the segmentation process is completed, the segmentation report is manually checked to find out whether the clock crossing checkpoint meets the design requirements in the automated process and proceeds with the subsequent process. As a result, the chip prototype verification design has to be constantly reworked, which greatly reduces the design efficiency of the chip prototype verification.
[0064] In view of this, the present invention provides a chip prototype verification method, please refer to Figure 2 , the method may include:
[0065] Step S11: When the first segmentation process is completed and the number of clock crossings is not equal to zero, the indirect constraint strategy is updated to form an updated indirect constraint strategy; the indirect constraint strategy has an indirect constraint effect on the clock crossings.
[0066] The chip prototype verification method of the present invention can be applied to a HAPS prototype verification platform.
[0067] The verified chip can be an ASIC (Application Specific Integrated Circuit) chip, a SOC chip (System on Chip), etc.
[0068] The first split is the first split after the pre-splitting. When the first split is completed and the number of clock crossings is equal to zero, the subsequent routing process is carried out.
[0069] Clock crossings are a key concern during the segmentation process. A non-zero number of clock crossings indicates a clock crossing issue. This occurs when the design's clock network is not routed to the global clock network of the HAPS prototyping platform. Specifically for each FPGA, this is caused by the design's clock signals not being routed to the dedicated clock pins within the FPGA.
[0070] It should be noted that this embodiment does not specifically limit the indirect constraint strategy.
[0071] As an implementable method, the indirect constraint strategy includes but is not limited to any one or any combination of the following:
[0072] The connection width between field programmable gate arrays, the utilization rate of the lookup table (LUT) of each field programmable gate array, and the utilization rate of the block random access memory (BRAM) of each field programmable gate array.
[0073] For example, for an indirect constraint on the width of interconnects between FPGAs, the updated indirect constraint could be to increase the interconnect width between FPGAs. For an indirect constraint on the utilization of the lookup table (LUT) of each FPGA, the updated indirect constraint could be to increase the utilization of the lookup table (LUT) of each FPGA. For an indirect constraint on the utilization of the block random access memory (BRAM) of each FPGA, the updated indirect constraint could be to increase the utilization of the block random access memory (BRAM) of each FPGA.
[0074] Step S12: Use the updated indirect constraint strategy to perform the segmentation process again to obtain a new number of clock crossings.
[0075] When splitting again, the updated indirect constraint strategy is used. After the splitting is completed, a new clock crossing number can be obtained, and then whether there is a clock crossing problem can be determined based on the new clock crossing number.
[0076] Step S13: Determine whether the new clock crossing number is equal to zero.
[0077] Step S14: If the new clock crossing number is equal to zero, then execute the routing process.
[0078] When the number of new clock crossings is equal to zero, it indicates that there is no clock crossing problem and the subsequent routing process can be carried out.
[0079] Step S15: If the new clock crossing number is not equal to zero, return to step S11 until the new clock crossing number is equal to zero.
[0080] When the new clock crossing number is not equal to zero, it indicates that there is a clock crossing problem, and processing needs to be continued until the new clock crossing number is equal to zero and there is no clock crossing problem, and then the subsequent wiring process can be carried out.
[0081] As an implementation method, when the new number of clock crossings is not equal to zero, the process of returning to step S11 can be repeated, that is, the indirect constraint strategy is continuously updated until the new number of clock crossings is equal to zero. However, the present invention is not specifically limited to this, and other methods can also be used, which are specifically explained in the following embodiments.
[0082] It should be noted that the present embodiment mainly describes the segmentation process stage. For other processes of chip prototype verification, reference may be made to related technologies, such as the chip prototype verification steps described above.
[0083] After the first segmentation process is completed, the chip prototype verification method in this embodiment pays attention to the number of clock crossings. When the number of clock crossings is not equal to zero, the indirect constraint strategy that has an indirect constraint effect on the clock crossing is updated, and the updated indirect constraint strategy is used to segment again, so as to obtain a new number of clock crossings. The new number of clock crossings can indicate whether there is a clock crossing problem after the second segmentation. When the new number of clock crossings is equal to zero, it indicates that there is no clock crossing problem, and the subsequent wiring process can be carried out. When the new number of clock crossings is not equal to zero, it indicates that there is still a clock crossing problem. The indirect constraint strategy is repeatedly updated until the new number of clock crossings is equal to zero, that is, the clock crossing problem is solved, and then the subsequent wiring process can be carried out, avoiding multiple rework in the chip prototype verification process and improving the efficiency of chip prototype verification.
[0084] Please refer to Figure 3 Based on the above embodiment, in one embodiment of the present invention, a chip prototype verification method includes:
[0085] Step S21: When the first segmentation process is completed, clock crossing information is automatically obtained according to the segmentation report. The clock crossing information includes the number of clock crossings.
[0086] A segmentation report is generated after the segmentation process is completed. In this embodiment, clock crossing information is automatically obtained from the segmentation report. There is no need to manually check the segmentation report to obtain clock crossing information, which saves human resources and costs and improves chip prototype verification efficiency.
[0087] In this embodiment, there is no limitation on the method of automatically acquiring the clock crossing information from the segmentation report, and it can be set by oneself.
[0088] As an implementable method, automatically obtaining clock crossing information according to the segmentation report includes:
[0089] Retrieve clock crossing information from the segmentation report using keyword search.
[0090] Keywords include but are not limited to "clock crossing" and "cut clocks".
[0091] As another possible implementation, automatically obtaining clock crossing information according to the segmentation report includes:
[0092] Retrieve clock crossing information from the segmentation report using location search.
[0093] The location of each piece of information in the segmentation report is fixed. When a clock crossing problem occurs, the clock crossing information will appear at a fixed location in the segmentation report. The clock crossing information can be obtained by searching the information at this location.
[0094] Step S22: Determine whether the clock crossing number is equal to zero.
[0095] Step S23: If the clock crossing number is zero, then execute the routing process.
[0096] When the number of clock crossings is equal to zero, it indicates that there is no clock crossing problem in the first division, and the subsequent wiring process can be carried out directly.
[0097] Step S24: If the number of clock crossings is not equal to zero, update the indirect constraint strategy to form an updated indirect constraint strategy; the indirect constraint strategy has an indirect constraint effect on the clock crossings.
[0098] Step S25 : Use the updated indirect constraint strategy to perform the segmentation process again to obtain a new number of clock crossings.
[0099] Step S26: Determine whether the new clock crossing number is equal to zero.
[0100] Step S27: If the new clock crossing number is equal to zero, then execute the routing process.
[0101] Step S28: If the new clock crossing number is not equal to zero, return to step S24 until the new clock crossing number is equal to zero.
[0102] It should be noted that steps S24 to S28 may refer to steps S11 to S15 in the above embodiment, and will not be described in detail in this embodiment.
[0103] Please refer to Figure 4 Based on any of the above embodiments, in one embodiment of the present invention, a chip prototype verification method includes:
[0104] Step S31: reserve spare global clock resources on the chip prototype verification platform.
[0105] The chip prototype verification platform may be a HAPS prototype verification platform.
[0106] The chip prototype verification platform has global clock resources. Assume that in the early design stage, M global clock resources are needed on the chip prototype verification platform. The number of global clock resources on the chip prototype verification platform is N, and N needs to be greater than M. The number of available global clock resources is (NM).
[0107] The role of spare global clock resources is to solve the problem of clock crossing.
[0108] Step S32: When the first segmentation process is completed and the number of clock crossings is not equal to zero, the indirect constraint strategy is updated to form an updated indirect constraint strategy; the indirect constraint strategy has an indirect constraint effect on the clock crossings.
[0109] Step S33: Use the updated indirect constraint strategy to perform the segmentation process again to obtain a new number of clock crossings.
[0110] Step S34: record the number of times the segmentation process is performed again.
[0111] The number of times the splitting process is repeated is the number of times the indirect constraint strategy is updated.
[0112] The number of times can be recorded by a counter.
[0113] Step S35: Determine whether the new clock crossing number is equal to zero.
[0114] Step S36: If the new clock crossing number is equal to zero, then execute the routing process.
[0115] Step S37: If the new clock crossing number is not equal to zero, return to step S32 and determine whether the number reaches the preset number threshold.
[0116] It should be noted that the preset number threshold is not limited in this embodiment and can be set by oneself. For example, the preset number threshold can be 5 times, 8 times, 10 times, etc.
[0117] Step S38: If the number of times does not reach the preset number threshold, return to step S32 until the number of times reaches the preset number threshold or the new clock crossing number is equal to zero.
[0118] If the new number of clock crossings is not zero, it indicates that the clock crossing problem still exists and the indirect constraint strategy needs to be updated again and segmented again. When updating the indirect constraint strategy, achieving the new number of clock crossings equal to zero may require a few updates, or it may require many updates.
[0119] The updated indirect constraint strategy can generally solve most clock crossing issues. Even if it cannot handle all clock crossing issues in the design, it will minimize the number of clock crossings in the design, thereby saving global clock resources in the subsequent HAPS hardware platform global clock strategy.
[0120] In this embodiment, a preset threshold is set to record the number of times the segmentation is repeated. If the number of times does not reach the preset threshold, the number of new clock crossings equals zero, indicating that the clock crossing problem has been resolved and the subsequent routing process can be continued. If the number of times reaches the preset threshold, the number of new clock crossings equals zero, also indicating that the clock crossing problem has been resolved and the subsequent routing process can be continued.
[0121] When the number of times reaches the preset threshold, and the new number of clock crossings is still not equal to zero, it indicates that the indirect constraint strategy cannot solve the clock crossing problem after being updated by the preset threshold. At this time, the indirect constraint strategy will no longer be updated, and other measures will be adopted to save time and avoid multiple updates to make the new number of clock crossings equal to zero.
[0122] Step S39: If the number of times reaches the preset number threshold, and all new clock crossing numbers are not equal to zero, determine the minimum new clock crossing number from all new clock crossing numbers as the target clock crossing number.
[0123] Each time the indirect constraint strategy is updated and divided in sequence, a clock crossing number can be obtained.
[0124] If the number of clock crossings reaches the preset threshold and all new clock crossing numbers are non-zero, a total of new clock crossings equal to the preset threshold are obtained, and each new clock crossing number corresponds to an updated indirect constraint strategy. For these non-zero clock crossings, that is, clock crossings that cannot be resolved by the updated indirect constraint strategy, the available global clock resources on the chip prototype verification platform are used to resolve them. The minimum number of clock crossings among the new numbers is selected to maximize the conservation of available global clock resources on the chip prototype verification platform.
[0125] Step S310 : routing target clocks having the target clock crossing quantity to global clock resources.
[0126] The unresolved target clock networks corresponding to the target clock crossing number are routed to the previously reserved global clock network, so that the clock crossing problem in the design is solved accurately and quickly.
[0127] It should be noted that steps S32 , S33 , S35 , and S36 may refer to steps S11 to S14 in the above embodiment, and will not be described in detail in this embodiment.
[0128] As an implementable embodiment, the chip prototype verification method may further include: saving the updated indirect constraint strategy corresponding to the target clock crossing number, so as to subsequently refer to the indirect constraint strategy finally executed by the segmentation.
[0129] The chip prototype verification method in this embodiment prioritizes resolving clock crossing issues after initial segmentation by using an updated indirect constraint strategy. A preset threshold for executing the updated indirect constraint strategy (i.e., performing further segmentation) is set. This generally resolves most clock crossing issues. If there are still issues that cannot be resolved using the updated indirect constraint strategy, the global clock resources on the HAPS hardware platform are used to quickly and efficiently resolve the clock crossing issue in the design. This not only reduces the time invested by prototype verification personnel, but also enables a gradual, safe, and orderly resolution of clock crossing issues in the prototype verification design, improving the efficiency of the prototype verification design.
[0130] Based on the above embodiment, in one embodiment of the present invention, when the indirect constraint strategy is updated and the new clock crossing number is equal to zero and the number is less than or equal to the preset number threshold, the following steps may be further included:
[0131] Save the updated indirect constraint strategy corresponding to the new number of clock crossings, along with the parameter information of the currently verified chip, where the new number of clock crossings is equal to zero. This allows subsequent prototype verification of the same or similar chips to prioritize the updated indirect constraint strategy during segmentation, avoiding the need to update the indirect constraint strategy multiple times, saving time and improving verification efficiency.
[0132] The following introduces a chip prototype verification device provided by an embodiment of the present invention. The chip prototype verification device described below and the chip prototype verification method described above can be referenced to each other.
[0133] Figure 5 The structural block diagram of the chip prototype verification device provided by the embodiment of the present invention is shown in FIG. Figure 5 The device may include:
[0134] The updating module 100 is configured to execute step S11, and when the first segmentation process is completed and the number of clock crossings is not equal to zero, update the indirect constraint strategy to form an updated indirect constraint strategy; the indirect constraint strategy has an indirect constraint effect on the clock crossings;
[0135] The segmentation module 200 is configured to execute step S12 and perform the segmentation process again using the updated indirect constraint strategy to obtain a new number of clock crossings;
[0136] The judging module 300 is configured to execute step S13 and judge whether the new clock crossing number is equal to zero;
[0137] The routing execution module 400 is configured to execute step S14 and, if the new clock crossing number is zero, execute the routing process;
[0138] The iteration module 500 is configured to execute step S15 , and if the new clock crossing number is not equal to zero, return to step S11 until the new clock crossing number is equal to zero.
[0139] The chip prototype verification device of this embodiment is used to implement the aforementioned chip prototype verification method. Therefore, the specific implementation methods of the chip prototype verification device can be seen in the embodiment part of the chip prototype verification method in the previous text. For example, the update module 100, the segmentation module 200, the judgment module 300, the wiring execution module 400, and the iteration module 500 are respectively used to implement steps S101, S102, S103, S104 and S105 in the above-mentioned chip prototype verification method. Therefore, its specific implementation methods can refer to the descriptions of the corresponding embodiments of each part and will not be repeated here.
[0140] After the first segmentation process is completed, the chip prototype verification device in this embodiment pays attention to the number of clock crossings. When the number of clock crossings is not equal to zero, the indirect constraint strategy that has an indirect constraint effect on the clock crossing is updated, and the updated indirect constraint strategy is used to segment again, so as to obtain a new number of clock crossings. The new number of clock crossings can indicate whether there is a clock crossing problem after the second segmentation. When the new number of clock crossings is equal to zero, it indicates that there is no clock crossing problem, and the subsequent wiring process can be carried out. When the new number of clock crossings is not equal to zero, it indicates that there is still a clock crossing problem. The indirect constraint strategy is repeatedly updated until the new number of clock crossings is equal to zero, that is, the clock crossing problem is solved, and then the subsequent wiring process can be carried out, avoiding multiple rework in the chip prototype verification process and improving the efficiency of chip prototype verification.
[0141] As an implementable embodiment, the chip prototype verification device may further include:
[0142] The automatic information acquisition module is used to automatically obtain clock crossing information according to the segmentation report when the first segmentation process is completed. The clock crossing information includes the number of clock crossings.
[0143] As an implementable embodiment, the automatic information acquisition module is specifically configured to retrieve the clock crossing information from the segmentation report by using keyword search.
[0144] As an implementable method, the automatic information acquisition module is specifically configured to retrieve the clock crossing information from the segmentation report by utilizing position retrieval.
[0145] As an implementable embodiment, the chip prototype verification device may further include:
[0146] Resource reservation module, used to reserve spare global clock resources on the chip prototype verification platform;
[0147] A recording module is used to record the number of times the segmentation process is performed again;
[0148] Accordingly, the iteration module 500 includes:
[0149] a return and judgment unit, configured to return to step S11 if the new clock crossing number is not equal to zero, and judge whether the number reaches a preset number threshold;
[0150] a return unit, configured to return to step S11 if the number of times does not reach the preset number threshold, until the number of times reaches the preset number threshold or the new clock crossing number is equal to zero;
[0151] a determining unit, configured to determine a minimum number of new clock crossings from all the new clock crossing numbers as a target clock crossing number if the number of times reaches a preset number threshold and all the new clock crossing numbers are not equal to zero;
[0152] The routing unit is used to route target clocks of a target clock crossing quantity to a global clock resource.
[0153] As an implementable embodiment, the chip prototype verification device may further include:
[0154] The first saving module is used to save the updated indirect constraint strategy corresponding to the target clock crossing number.
[0155] As an implementation method, when the indirect constraint strategy is updated and the new clock crossing number is equal to zero and the number is less than or equal to a preset number threshold, the chip prototype verification apparatus may further include:
[0156] The second saving module is configured to save the updated indirect constraint strategy corresponding to the new number of clock crossings and parameter information of the currently verified chip, wherein the new number of clock crossings is equal to zero.
[0157] The electronic device provided by an embodiment of the present invention is introduced below. The electronic device described below and the chip prototype verification method described above can be referenced to each other.
[0158] Please refer to Figure 6 The present invention further provides an electronic device, comprising:
[0159] Memory 11, for storing computer programs;
[0160] The processor 12 is configured to implement the steps of the chip prototype verification method of any of the above embodiments when executing a computer program.
[0161] The computer-readable storage medium provided by an embodiment of the present invention is introduced below. The computer-readable storage medium described below and the chip prototype verification method described above can be referenced to each other.
[0162] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the chip prototype verification method of any of the above embodiments.
[0163] The following introduces a computer program product provided by an embodiment of the present invention. The computer program product described below and the chip prototype verification method described above can be referenced to each other.
[0164] A computer program product includes a computer program / instruction, which, when executed by a processor, implements the steps of the chip prototype verification method in any of the above embodiments.
[0165] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from the other embodiments. Reference can be made to the descriptions of the identical or similar parts between the various embodiments. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the descriptions are relatively simple, and the relevant parts can be referred to the descriptions of the methods.
[0166] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present invention.
[0167] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0168] The chip prototype verification method, device, electronic device and computer-readable storage medium provided by the present invention are introduced in detail above. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the scheme of the present invention and its core idea. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present invention, the present invention can also be improved and modified in several ways, and these improvements and modifications also fall within the scope of protection of the present invention.
Claims
1. A chip prototype verification method, It is characterized in that include: Step S11: when the first segmentation process is completed and the number of clock crossings is not equal to zero, the indirect constraint strategy is updated to form an updated indirect constraint strategy; The indirect constraint strategy has an indirect constraint effect on clock crossing; Step S12, using the updated indirect constraint strategy to perform the segmentation process again to obtain a new clock crossing number; Step S13, determining whether the new clock crossing number is equal to zero; Step S14: If the new clock crossing number is equal to zero, then execute the wiring process; Step S15: If the new clock crossing number is not equal to zero, return to step S11 until the new clock crossing number is equal to zero.
2. The chip prototype verification method according to claim 1, It is characterized in that When the first segmentation process is completed and the number of clock crossings is not equal to zero, the indirect constraint strategy is updated. Before the updated indirect constraint strategy is formed, the following steps are also included: When the first segmentation process is completed, clock crossing information is automatically obtained according to the segmentation report, and the clock crossing information includes the clock crossing number.
3. The chip prototype verification method according to claim 2, It is characterized in that Automatically obtain clock crossing information based on the segmentation report, including: The clock crossing information is retrieved from the segmentation report using a keyword search.
4. The chip prototype verification method according to claim 2, It is characterized in that Automatically obtain clock crossing information based on the segmentation report, including: The clock crossing information is retrieved from the segmentation report using a position search.
5. The chip prototype verification method according to claim 1, It is characterized in that The indirect constraint strategy includes any one or any combination of the following: The connection width between field programmable gate arrays, the usage of the lookup table of each field programmable gate array, and the usage of the block random access memory of each field programmable gate array.
6. The chip prototype verification method according to any one of claims 1 to 5, It is characterized in that When the first segmentation process is completed and the number of clock crossings is not equal to zero, the indirect constraint strategy is updated. Before the updated indirect constraint strategy is formed, the following steps are also included: Reserve spare global clock resources on the chip prototype verification platform; After performing the segmentation process again using the updated indirect constraint strategy to obtain a new number of clock crossings, the following steps are also included: Record the number of times the segmentation process is repeated; If the new clock crossing number is not equal to zero, return to step S11 until the new clock crossing number is equal to zero, including: If the new clock crossing number is not equal to zero, return to step S11 and determine whether the number reaches a preset number threshold; If the number does not reach the preset number threshold, return to step S11 until the number reaches the preset number threshold or the new clock crossing number is equal to zero; If the number reaches the preset number threshold, and all the new clock crossing numbers are not equal to zero, determining the minimum new clock crossing number from all the new clock crossing numbers as the target clock crossing number; The target clocks of the target clock crossing quantity are routed to the global clock resource.
7. The chip prototype verification method according to claim 6, It is characterized in that Also includes: The updated indirect constraint strategy corresponding to the target clock crossing number is saved.
8. A chip prototype verification device, It is characterized in that include: An updating module, configured to execute step S11, when the first segmentation process is completed and the number of clock crossings is not equal to zero, update the indirect constraint strategy to form an updated indirect constraint strategy; the indirect constraint strategy has an indirect constraint effect on the clock crossing; A segmentation module, used to execute step S12, perform the segmentation process again using the updated indirect constraint strategy to obtain a new clock crossing number; A judging module, configured to execute step S13, and judge whether the new clock crossing number is equal to zero; A wiring execution module, used to execute step S14, if the new clock crossing number is equal to zero, then execute the wiring process; The iteration module is used to execute step S15, and if the new clock crossing number is not equal to zero, return to step S11 until the new clock crossing number is equal to zero.
9. An electronic device, It is characterized in that include: Memory for storing computer programs; A processor, configured to implement the steps of the chip prototype verification method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the chip prototype verification method according to any one of claims 1 to 7 are implemented.
