Identifying RTL code that may be source of verification complexity of downstream equivalence checkers and generating recommendations to improve runtime of equivalence checkers

Through the structured analysis and weight calculation of RTL lint tools, the difficult verification problems of equivalence checking in digital circuit designs are predicted and reduced, achieving more predictable design approval and reducing the complexity of synthesis tools, significantly improving design efficiency.

CN118690692APending Publication Date: 2024-09-24SYNOPSYS INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410327636.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-03-24
Filing Date
2024-03-21
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

In digital circuit design, existing equivalence checking tools are difficult to effectively verify the logical equivalence between the optimized backdoor-level netlist and RTL, leading to difficult verification problems, especially for unconcerned conditions and complex data paths in RTL. processing, may result in verification not converging or aborting.

Method used

Employ RTL lint tools for structured analysis, identify potentially difficult verification areas, and generate circuit models through a left-shift process, perform weight calculations to predict possible discontinuation points, recommend constraint parameters to avoid aggressive optimization, thereby reducing downstream equivalence checks complexity and time.

Benefits of technology

Reduce the time, cost and complexity of the design process by identifying and fixing potential errors early, predicting and reducing abort points for downstream equivalence checks, and significantly reducing equivalence check runtime from 97 hours to less than 1 hour.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690692A
    Figure CN118690692A
Patent Text Reader

Abstract

Embodiments of the present disclosure relate to identifying RTL code that may be a source of verification complexity of a downstream equivalence checker and generating recommendations to improve runtime of the equivalence checker. Aspects of the present disclosure relate to improving runtime performance of equivalence checkers through a left shift process that uses an RTL lint tool to identify RTL code that may be a source of verification complexity of downstream equivalence checkers. The RTL code is also compared to a corresponding circuit model to determine a potential gate level location of the potentially problematic RTL code. Weights may be calculated to represent a level of verification complexity that may be generated by the particular portion of the RTL code. Furthermore, the RTL lint tool may generate one or more recommendations to prevent some verification complexity of downstream equivalence checkers.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to an improved method for equivalence checking of digital circuit designs. Background Art

[0002] Electronic design automation (EDA) tools provide software tools for designing electronic systems such as integrated circuits and printed circuit boards. These tools work together in a design flow that chip designers use to design and analyze semiconductor chips. Since modern semiconductor chips can have billions of components, EDA tools are necessary for their design.

[0003] In digital circuit design, register transfer level (RTL) is a design abstraction that models synchronous digital circuits in terms of the flow of digital signals (data) between hardware registers and the logical operations performed on those signals. Register transfer level abstraction is used in hardware description languages ​​(HDLs) like Verilog and VHDL to create a high-level representation of the circuit from which low-level representations and ultimately actual wiring can be derived.

[0004] Synchronous digital circuits typically include registers (sequential logic) and combinational logic. Registers are usually implemented as D flip-flops, which synchronize the operation of the circuit with the edges of the clock signal. Registers are typically the only elements in the circuit that have memory properties. Combinatorial logic performs all logical functions in the circuit and is typically composed of logic gates.

[0005] When designing digital integrated circuits in a hardware description language (HDL), the design is usually designed at a higher level of abstraction. In HDL, the designer declares registers and describes the combinational logic of the register transfer level (RTL) by using structures such as if-then-else and arithmetic operations. Therefore, RTL is concerned with describing the flow of signals between registers. RTL is used in the logic design phase of the integrated circuit design process. The RTL description is usually converted into a gate-level description of the circuit by a logic synthesis tool. The synthesis results are then used by the placement and routing tools to create the physical layout. Logic simulation tools can use the RTL description of the design to verify its correctness.

[0006] In electronic design, a netlist is a description of the connectivity of an electronic circuit. That is, a netlist refers to the actual implementation of a particular logic or design and its interconnections. In its simplest form, a netlist consists of a list of the electronic components in a circuit and a list of the nodes to which they are connected. While the structure, complexity, and representation of a netlist can vary significantly, the basic purpose of each netlist is to convey connectivity information. It can be a graphical representation or a written representation.

[0007] In digital circuit design, equivalence checking software tools are used to validate the design and verify that the synthesized netlist implements the same functionality as the RTL. RTL to netlist verification is a complex verification domain because RTL is aggressively optimized by modern synthesis tools to meet the power, performance, area (PPA) goals of ASICs (application-specific integrated circuits), which are computer chips that combine several different circuits on a single chip. Equivalence checking tools verify the logic cone between RTL and netlist.

[0008] When an equivalence checking software tool cannot find any faults but cannot successfully verify the compare points, this verification is sometimes called "hard verification". Typically, only a small number of compare points are hard. Some common characteristics of logic cones will cause the solver to abort. One category of hard verification is the treatment of don't cares (X) in the RTL. In digital logic, a don't care condition is an input sequence (bit string) for which the output of the function does not matter. Summary of the invention

[0009] In one example, the method of the present disclosure includes receiving an RTL design for a chip, and identifying the presence of at least one trigger condition in the received RTL design. The method also includes generating a circuit model of the received RTL design. In the circuit model, an endpoint of a data path associated with at least one identified trigger condition is identified. The method also identifies at least one data path element in the data path associated with at least one identified trigger condition in the circuit model. A weight calculation of the data path associated with at least one identified trigger condition is performed, wherein the weight calculation is based on at least one identified data path element in the data path. The method continues to take one or more actions based on the weight calculation. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The present disclosure will be more fully understood from the detailed description given below and from the drawings of the embodiments of the present disclosure. The drawings are used to provide knowledge and understanding of the embodiments of the present disclosure without limiting the scope of the present disclosure to these specific embodiments. In addition, the drawings are not necessarily drawn to scale.

[0011] Figure 1A An example of an existing system is depicted to simplify the chip design flow.

[0012] Figure 1B An example simplified chip design flow of the present disclosure is depicted.

[0013] Figure 2 An exemplary static stop point analysis performed in accordance with an embodiment of the present disclosure is depicted.

[0014] Figure 3Exemplary methods for practicing embodiments of the present disclosure are described.

[0015] Figure 4 Depicted is a table with exemplary parameters for data path elements of the present disclosure.

[0016] Figure 5 An example method for static equivalence checking operations according to an embodiment of the present disclosure is depicted.

[0017] Figure 6 An exemplary algorithm that can be used to perform the method of the present disclosure is depicted.

[0018] Figure 7 Depicted are exemplary screenshots of an RTL lint tool for practicing embodiments of the present disclosure.

[0019] Figure 8 An exemplary architecture of a long XOR chain of embodiments of the present disclosure is depicted.

[0020] Fig. 9 An exemplary process for generating constraints that constrain downstream synthesis tools according to an embodiment of the present disclosure is depicted.

[0021] Fig.10 An exemplary method for generating constraints that constrain downstream synthesis tools according to an embodiment of the present disclosure is depicted.

[0022] Fig.11 Flowcharts illustrating various processes used during the design and fabrication of integrated circuits according to some embodiments of the present disclosure.

[0023] Fig.12 An example computer system is illustrated in which embodiments of the present disclosure may operate. DETAILED DESCRIPTION

[0024] Aspects of the present disclosure are directed to improving runtime performance of an equivalence checker through a shift left process that identifies RTL code that may be a source of verification complexity for a downstream equivalence checker and generates recommendations for reducing that verification complexity before the formal equivalence checker is actually run.

[0025] The equivalence checker verifies the logical equivalence of the RTL and the optimized gate-level netlist. The synthesis tool generates a netlist that is optimized for power, performance, and area to meet the requirements of the circuit designer. The equivalence checker uses formal techniques to verify the RTL against the optimized netlist. In order to pass the verification, it needs to pass the verification at each comparison point. Various techniques can be used to compare and prove the equivalence at the comparison points.

[0026] Furthermore, equivalence checking is an NP-complete problem, and it may happen that verification does not converge for some points. That is, for some comparison points, the software tool may not be able to prove equivalence or non-equivalence. This may be mainly due to the lack of similarity between the RTL and the optimized netlist. Resolving these difficulties can be a challenge, and in some cases, re-synthesis by disabling one or more categories of netlist optimizations may help verification.

[0027] Alternatively, the RTL can be recoded by eliminating redundancies or structures that are known to make verification difficult. In many cases, this occurs at a late stage in the design process and changes can no longer be made to the RTL or synthesis.

[0028] Aspects of the present disclosure provide an RTL lint software tool to identify RTL structures that can provide customers with early warnings about potential difficult verifications. Customers can then take steps during the linting phase to recode the segment of RTL or set synthesis constraints that prevent aggressive optimization of these cones, thereby avoiding the risk of difficult verification and obtaining a more predictable approval of the design. With this change, the overall turnaround time of the circuit design tool can be greatly reduced.

[0029] Furthermore, lint tools are implemented early in the circuit design process before the design is synthesized. Using the output of the lint tool, the user can choose to modify the RTL, which can then be passed to downstream tools.

[0030] The present disclosure provides multiple advantages over existing systems. By using RTL lint technology to predict that certain endpoints will have problems during a later equivalence check, the process can obtain the benefits of left shift. That is, the problem area is identified earlier in the process, reducing the time, cost and complexity of the design process. In addition, by identifying potentially problematic areas of the RTL design in the RTL lint tool, the RTL design can be updated and optimized to minimize the possibility of downstream verification complexity. In addition, by identifying potentially problematic areas during RTL linting, constraints can be generated for the synthesis tool before the synthesis tool is actually implemented. This can also minimize the complexity of downstream equivalence checking operations. Using an embodiment of the present disclosure, more than 95% of the potential stop points of the downstream equivalence checker can be predicted before the downstream equivalence checker is actually executed. Therefore, in some embodiments, the running time of the downstream equivalence checker can be reduced from ~97 hours to less than 1 hour.

[0031] Figure 1A Depicts an example of an existing system to simplify the chip design process. Figure 1AIn the RTL design 105, a human user designs a chip design at the RTL level. An RTL lint tool 110 is then used to provide structural analysis of the RTL design and verify the design's compliance with specified coding rules. RTL linting is used to prevent synthesis problems in downstream tools, functional defects, and to enforce coding styles for readability and reuse of the design.

[0032] The synthesis tool 115 is then used to synthesize the RTL design into a gate-level netlist design. In addition, the synthesis tool 115 may include a plurality of software tools that jointly or individually optimize the netlist to reduce power consumption, reduce the area on the chip, and improve the performance of the chip. The equivalence checker 120 includes an equivalence checker that compares the optimized netlist design from the synthesis tool 115 with the RTL design from the RTL lint tool 110 to ensure that the two are functionally equivalent. In other words, the equivalence check ensures that the synthesis tool 115 does not optimize the design to the extent that it is no longer functionally equivalent to the original RTL design.

[0033] Equivalence checking tools are used as sign-off to verify that the synthesized netlist implements the same functionality as the RTL. RTL-to-netlist verification is the most complex verification domain because the RTL is aggressively optimized by modern synthesis tools to meet the power, performance, area (PPA) goals of ASICs. Equivalence checking tools verify the logic cone between the RTL and the netlist.

[0034] A difficult verification occurs when the tool cannot find any failures but cannot complete the verification to declare SUCCESS at that comparison point. Typically a small number of design points are difficult. Some common characteristics of logic cones can cause the equivalence check solver to abort.

[0035] One category is handling don't cares ('X') in the RTL. The synthesis tool is free to optimize the 'X' and the choice of '0 or 1' is determined by the synthesis tool to satisfy the PPA. The equivalence checking tool must preserve the X spacing and check consistency (X in the RTL is consistent with the '0' or '1' in the netlist). If these don't cares (either explicit in the RTL or implicitly inferred by the tool) exist along with other complex logic such as datapaths or XOR chains (CRC networks), the cone can become very complex. Currently, there is no way to catch these ahead of time at the linting level and expensive design iterations are lost.

[0036] Figure 1B Depicts an example simplified chip design process of the present disclosure. Figure 1BIn some embodiments, RTL design 125 is used by a human user to represent a chip design at the RTL level, as discussed herein. Figure 1A The RTL design 105 is the same or similar.

[0037] Then, the RTL lint tool 130 is used to provide structural analysis of the RTL design to verify the design's compliance with specified coding rules and perform other functions. RTL linting is used to prevent synthesis problems, functional defects in downstream tools, and to enforce coding styles for the readability and reuse of the design. In addition, the RTL lint tool 130 includes a difficult verification prediction tool 135, a formal verification tool 138, and a recommendation tool 140. In various embodiments, the functions of one or more of the difficult verification prediction tool 135, the formal verification tool 138, and / or the recommendation tool 140 may be combined into fewer tools, or separated into additional tools.

[0038] The difficult verification prediction tool 135 can perform informal "pseudo" synthesis analysis to predict what the optimized netlist generated by the downstream synthesis tool will be. This informal synthesis analysis performed in the RTL lint tool 130 generates a "circuit model". After pseudo synthesis, the difficult verification prediction tool 135 can perform post-synthesis lint analysis to detect RTL structures that may be problematic for later equivalence checks of the original RTL design and the predicted netlist. Thus, in the "left shift" of the design flow, potential problems that may cause downstream equivalence checking processes can be identified at this earlier linting stage in the design flow.

[0039] Formal verification tool 138 may verify other aspects of the RTL design, as discussed herein. Recommendation tool 140 may utilize results from difficulty verification prediction tool 135 to recommend changes in the RTL level design and / or recommend specific constraint parameters for use in downstream synthesis processes. Recommendation tool 140 may generate a report of predicted stopping points (i.e., points where the comparison is unlikely to converge during equivalence checking of downstream equivalence checking tools).

[0040] Based on the recommendation tool 140, the user can edit the RTL design in an iterative manner until the desired equivalence level is reached. In this way, potential errors are identified and fixed at an early stage of the chip design process, thereby reducing the time, cost and complexity of the entire design process. In addition, the recommendation tool 140 can recommend one or more parameters to constrain the downstream synthesis process in the synthesis tool 145, as discussed elsewhere herein. In addition, the RTL lint tool 130 can generate a report of the weight of the potentially problematic data path, the cost of the potentially problematic data path, and / or an analysis of the potential stop points of the downstream equivalence checking tool.

[0041] Once the user completes the RTL lint tool 130 process, the synthesis tool 145 will be similar to Figure 1A Finally, the equivalence check tool 150 synthesizes the RTL design in the same manner as the synthesis tool 115. Figure 1A The equivalence checking tool 120 verifies the equivalence of the netlist generated from the synthesis tool 145 and the RTL design generated from the RTL lint tool 130 in the same or similar manner.

[0042] Figure 2 Describes the use of RTL lint tools such as Figure 1A An exemplary static stop point analysis performed by the difficulty verification prediction tool 135 of the RTL lint tool 130. Figure 2 In the illustrated static stop point analysis, Table 205 illustrates exemplary RTL styles that may lead to "difficult verification" because these styles generate "don't care" conditions and complex data paths. Although four specific RTL styles are depicted in Table 205, other RTL styles may exist in other embodiments that are not depicted in Table 205. The RTL styles referenced in Table 205 are sometimes also referred to herein as trigger conditions.

[0043] The first RTL pattern shown in table 205 is an out-of-bounds index. The "idx" variable in the RTL design may obtain a value that may result in an out-of-bounds index for the variable "A" because "A" has a limited range of 10 to 0.

[0044] The second row of table 205 depicts an exemplary RTL design that explicitly assigns a don't care represented by the letter X. As discussed herein, the don't care condition may be problematic for equivalence checking tools. The third row of table 205 depicts an exemplary RTL design that doesn't care via a casex statement, while the fourth row of table 205 depicts an exemplary RTL design in which case statements are not fully specified. That is, when "A" obtains other possible values, the variable "R" may be undefined.

[0045] Circuit model 210 depicts a logic cone 215 generated from the circuit model of the RTL design. Register 220 serves as the starting point of logic cone 215, and register 255 serves as the end point of logic cone 215. In one example, register 220 and / or register 255 are flip-flop gates. Between registers 220 and 255 is an exemplary complex data path. Figure 2 In the example shown, the complex data path has a multiplexer (MUX) 225 , an additional component 230 (which may be a multiplier, adder, etc.), and a chain of XOR gates 235 , 240 , 245 , and 250 .

[0046] The difficulty verification prediction tool 135 assigns a weight to each endpoint (such as register 255) that represents the complexity of solving the endpoint of the logic cone. That is, a higher weight means that the downstream equivalence checking tool 150 will have a harder time verifying equivalence from a later synthesized netlist from the circuit model 210 to the RTL design, while a lower weight means that the downstream equivalence checking tool 150 will likely have an easier time verifying equivalence from a later synthesized netlist from the circuit model 210 to the RTL design.

[0047] In general, if the don't care condition is far from the endpoint (i.e., at the bottom of the logic cone 215), the probability that the equivalence checking tool will experience difficulty verification is higher. However, these problematic RTL styles do not always cause design problems, even though the equivalence checking tool may have difficulty verifying equivalence with the synthesized netlist. To make equivalence checking easier, these don't care styles can be combined with multiple large data path operations, such as with adders or multipliers. Don't care conditions next to the XOR chain may also result in higher weights based on the size of the XOR chain.

[0048] In some embodiments, the weight is based on one or more of the following: the number of components in the chain of circuit model 210 (i.e., the length of the complex data path chain), the width of the input(s) to the element(s) in the chain, the size of the input(s) to the element(s) in the chain, the location of the don't care condition (e.g., the don't care condition generated by the RTL design in table 205), or the distance of the don't care condition from the endpoint. In some examples, the generated weight for each endpoint is a value between 0 and 1. In other examples, the generated weight for each endpoint is a value between 1 and 100. In other examples, the generated weight for each endpoint is a customizable range that can be set by a user of the RTL lint tool 130.

[0049] Even if there are no don't care conditions, the equivalence checker may face the problem of difficult verification using other RTL designs. For example, even if there are no don't care conditions, independent XOR chains may also require CRC (cyclic redundancy check) logic, which may cause problems downstream. In addition, a large number of gates / combinatorial cells (exceeding the threshold) in the logic cone of the endpoint will result in higher weights when there are fewer hierarchical structures in the fan-in of the logic cone. Therefore, the detection of don't care conditions by the difficult verification prediction tool 135 needs to be highly accurate. In addition, the complexity of the data path (and the weight caused by it) may depend on one or more of the following factors: factors such as gate type (OR, XOR, adder, etc.), gate size (4-bit / 8-bit adder / multiplier, etc.) and the length of the XOR chain.

[0050] Figure 3An exemplary method 300 for practicing an embodiment of the present disclosure is depicted. At block 305, don't care ("X") sources in the RTL design are detected, since don't care sources are trigger conditions for the RTL lint tool 130. For illustration purposes, an example RTL design is listed below:

[0051] input[1:0]in;

[0052] always begin

[0053] for(int i=0;i<8;i++)

[0054] if(i<2)out[i]=in[i]

[0055] In this example, there are appropriate "if" conditions, and therefore there will not be any out-of-bounds variables. Therefore, the output "out" will not be considered a valid X source. Formal verification tools (such as Figure 1B The formal verification tool 138) will be able to detect if there are any real out-of-bounds situations, and therefore, the design is predicted to lead to an abort point for the equivalence checker. That is, the equivalence checker will not be able to determine the equivalence of the RTL and the corresponding netlist within the given time frame, and will have to 'abort' the checking operation.

[0056] The second example RTL design is as follows:

[0057] casex(A)

[0058] 2'b? 1: R = B[0];

[0059] 2'b1?: R = B[1];

[0060] default: R = 'x;

[0061] endcase

[0062] In this example, the default case will not be enforced, and therefore, "R" is not a valid source of "X." The equivalence checking tool will likely be able to determine that R can obtain any "X." Thus, it is predicted that this design will not result in a stop point for the downstream equivalence checking tool 150.

[0063] The third example RTL design is as follows:

[0064] casex(A)

[0065] 2'b? 1: R = B[0];

[0066] default: R = 'x;

[0067] endcase

[0068] In this example, “R” is a valid source of “X”, and therefore, this may cause a difficult verification condition for the equivalence checking tool, and thus this may be a potential stopping point for downstream equivalence checkers at the equivalence checking tool 150 .

[0069] The fourth example RTL design is as follows:

[0070] assign A = func(in1, in2);

[0071] / / Assume output of func can be 2'b10 onlycase(A)

[0072] 2'b11: R = B[0];

[0073] 2'b10: R = B[1];

[0074] endcase

[0075] In this example, the output of function "func" can only be 2'b10. Therefore, "R" can achieve a deterministic value. Statically, the lint tool may not be able to determine all possible values ​​that "A" can obtain. However, this can be accurately identified by the equivalence checking tool. Therefore, "R" can be considered by the difficulty verification prediction tool 135 as not acting as a source of "X", and therefore will not be predicted as a stop point for the downstream equivalence checking tool 150.

[0076] At block 310 of method 300, the difficulty verification prediction tool 135 detects whether there is a complex data path in the design. The complex data path may include one or more of adders, multipliers, XOR chains, and other elements. In some embodiments, a cost is attached to each logic gate in the data path. The higher cost is attributed to the higher probability that the equivalence checker cannot converge on the solution of the endpoint. In an exemplary embodiment, the user can modify and attach custom weights to determine the cost of each data path.

[0077] Figure 4 A table 400 is depicted with exemplary tag names, unit types, and default equations that determine the cost of each type of component. To indicate the size of an operator, a user may specify a variable '$size' in the equation. To indicate the back-to-back count of an operator, a user may specify a variable '$count' in the equation. In one example, a user may define the cost of a multiplier in a data path according to the following equation: '(log($size) / log(2))*3'. In another example, a user may define the cost of a comparator in a data path according to the following equation: '(log($size) / log(2))*$count'

[0078] Back to Figure 3 , at block 315 of method 300, the difficult verification prediction tool 135 may associate the detection of the X source at the pre-synthesis level (in the RTL design) with the complex data path identified at the post-simulation synthesis level (in the generated circuit model). To achieve this, a handshake is performed between the (multiple) data models of the RTL lint tool. The handshake may occur through a file or by maintaining the two data models in the memory of the RTL lint tool 130. That is, the relevant data model of the pseudo synthesis tool is maintained in the memory of the RTL lint tool 130.

[0079] Figure 5 An example method 500 that a difficult verification prediction tool 135 may perform during a static equivalence checking operation is depicted. At block 505, the difficult verification prediction tool 135 receives an RTL design for a chip. At block 510, the difficult verification prediction tool 135 identifies the presence of at least one trigger condition in the received RTL design. In some embodiments, the at least one trigger condition may be at least one of the following: an out-of-bounds index condition, an explicitly assigned don't-care condition, a don't-care condition via a casex statement, an incompletely specified case statement, an XOR gate chain exceeding a predetermined length. In other embodiments, the at least one trigger condition may be another condition present in the RTL design.

[0080] At block 515 of method 500, difficulty verification prediction tool 135 generates a circuit model of the received RTL design. In some embodiments, RTL lint tool 130 generates the circuit model as discussed herein. In other embodiments, RTL lint tool 130 generates the circuit model from another tool such as Figure 1B The downstream synthesis tool 145 receives the circuit model. In some embodiments, the circuit model has been subjected to one or more synthesis optimization operations. In other embodiments, the circuit model used for comparison has not been subjected to synthesis optimization operations.

[0081] Although not explicitly depicted in method 500, the difficult verification prediction tool 135 may also identify the location of at least one trigger condition in the circuit model. In the event that a don't care condition is identified in the RTL design, the difficult verification prediction tool 135 may determine the source of the don't care condition in the circuit model.

[0082] At block 520 of method 500 , difficult verification prediction tool 135 identifies endpoints of data paths associated with at least one trigger condition in the circuit model, ie, endpoints of data paths where at least one trigger condition is located. In some embodiments, endpoints are identified for each trigger condition identified from block 510 .

[0083] At block 525 of method 500, the difficult verification prediction tool 135 identifies at least one complex data path element in the data path associated with at least one trigger condition. In an exemplary embodiment, the at least one complex data path element is identified based on a circuit model. The identification of the complex data path element may include multipliers, adders, subtractors, dividers, modulo operators, XORs, comparators, multiplexers, buffers, inverters, and / or other devices such as Figure 4 An identification of at least one of the other data path elements of those depicted in table 400 .

[0084] At block 530 of method 500, the difficult verification prediction tool 135 performs a weight calculation on the data path associated with at least one trigger condition. In an example embodiment, a weight is calculated for each data path element that exists from the trigger condition to the comparison point (which may be the endpoint identified at block 520). In one example, the difficult verification prediction tool 135 performs a weight calculation on each data path element that exists in the entire data path containing the trigger condition. In another example, the difficult verification prediction tool 135 performs a weight calculation on any portion of the data path that includes the trigger condition.

[0085] At block 535 of method 500, the difficult verification prediction tool 135 may take one or more actions based on the weight calculation. In one example, the difficult verification prediction tool 135 may take the action of generating a report detailing: one or more triggering conditions, the identified data path elements, the weights of the data paths, and / or the costs of the data paths with the triggering conditions. In another example, the difficult verification prediction tool 135 may take the action of generating a report detailing: one or more triggering conditions, the identified data path elements, the weights of the data paths, and / or the costs of the data paths with the triggering conditions. Figure 1B The recommendation tool 140 may communicate with the RTL lint tool 130 to generate one or more recommendations for improving the chip design. For example, the recommendation tool 140 may recommend one or more changes to the RTL design that may be made within the RTL lint tool 130. In another example, the recommendation tool 140 may recommend one or more constraints to be utilized by the downstream synthesis tool 145.

[0086] Figure 6 Depicts a method that can be used by the difficulty verification prediction tool 135 to perform such Figure 5 An exemplary algorithm 600 of the method of the exemplary method 500 of FIG. 600 is provided. In the algorithm 600, an RTL lint tool is used to detect potential stopping points for a downstream equivalence checking tool. The input to the algorithm includes an RTL design, a configuration file about the calculated weights, and optionally a list of comparison points in the chip design. The output of the algorithm 600 is a stopping point report with the determined cost for each data path.

[0087] For the input RTL design, each don't care condition is identified and marked. The input RTL design is further synthesized and a circuit model is generated. Each identified don't care condition is mapped to a specific gate in the circuit model. For each path, a weight is calculated. The calculated weights and corresponding data can be stored in a database or other storage medium. Algorithm 600 also provides instructions for creating a stop point report.

[0088] Figure 7 Depicted is an exemplary screenshot 700 from an RTL lint tool that practices embodiments of the present disclosure, such as Figure 3 700 . In screenshot 700 , block 705 depicts a portion of an RTL design for comparison, with a don't-care condition highlighted. Graphic 710 depicts a data path of a circuit model. The data path includes an XOR gate, an adder, or a multiplier. Four specific conditions identified in table 715 are marked in the RTL design. In exemplary screenshot 700 , the condition of "X via casex statement" is identified in the RTL design. In addition, the gate-level location of the corresponding fragment of the RTL design is identified in graphic 710. Register 720 is then identified as the "X source," the source of the don't-care condition.

[0089] In addition to the conditions that do not need to be concerned about in the RTL design, other design elements may also trigger potential problems in the downstream equivalence checker. For example, independent long XOR chains. CRC or ECC (error correction code) logic can generate long XOR chains. Although these XOR chains are not difficult to verify by themselves, difficult verification may occur when these XOR chains are ungrouped and combined with adjacent hierarchies containing additional XOR chains. As discussed in this article, smart linting can identify "long" XOR chains, and customers can use this guidance to retain these XOR hierarchies during synthesis.

[0090] Figure 8 An exemplary architecture 800 of a long XOR chain is depicted. A synthesis tool may 'automatically ungroup' portions of the chain in order to improve QoR (quality of results). However, with automatic ungrouping, equivalence checkers may face verification challenges due to the large number of ungrouped gates. In an embodiment of the present disclosure, a user may select a threshold for the maximum number of ungrouped gates in a fan-in cone. The RTL lint tool will analyze the fan-in cone and determine whether ungrouping a certain set of cascaded hierarchies will result in a large number of ungrouped gates, i.e., the number of ungrouped gates exceeds a threshold limit. If the RTL tool detects the possibility of this happening, it may generate constraints to guide downstream synthesis tool users to not 'ungroup' certain hierarchies.

[0091] Fig. 9 An exemplary process 900 for generating constraints that constrain downstream synthesis tools from ungrouping certain hierarchical structures is depicted. Fig. 9 A hierarchy H2 and a hierarchy H1 of XOR chains are depicted. Each of the hierarchies H2 and H1 includes data paths P1 and P2. The XOR chain length of each path of each hierarchy is first determined, as well as the total gate count of each hierarchy. From this, the chain length of each data path and the total gate count of the combined hierarchy are determined for the combined hierarchy. Finally, if the maximum XOR chain length or the number of gates is greater than a maximum allowed limit, a constraint is generated to not decompose the hierarchy, where the maximum allowed limit is a user-customizable value.

[0092] Fig.10 A flow chart of an exemplary method 1000 for generating constraints that constrain downstream synthesis tools is depicted. In an exemplary embodiment, Fig.10 The method 1000 can be used with Fig. 9 In block 1005 of method 1000, an RTL lint tool (such as Figure 1B The RTL lint tool 130 of the RTL design identifies the endpoints of the data path generated from the RTL design. In block 1010, the RTL lint tool identifies the hierarchy and observable points in the fan-in of the endpoint. In one example, the identified hierarchy is a hierarchy chain of XOR chains. In other examples, in addition to the XOR chain, other elements may also exist. In block 1015, the RTL lint tool performs a fan-in traversal to each observable point identified in block 1010. In block 1020, the RTL lint tool maintains a count of the gates present in each path (such as the path identified in block 1005). In block 1025, the RTL lint tool generates one or more constraints for the downstream synthesis tool. As discussed herein, the constraint can constrain the maximum number of gates or maximum chain length allowed before the XOR chain is unpacked and segmented into shorter chain lengths.

[0093] Fig.11A set of exemplary processes 1100 used during the design, verification, and manufacture of an article such as an integrated circuit to transform and verify design data and instructions representing the integrated circuit are illustrated. Each of these processes may be constructed and implemented as a plurality of modules or operations. The term 'EDA' represents the term "electronic design automation". These processes begin with the creation of a product concept 1110 with information provided by a designer, which is transformed to create an article using a set of EDA processes 1112. When the design is completed, the design is taped-out 1134, which is when the artwork (e.g., geometric pattern) of the integrated circuit is sent to a manufacturing facility to manufacture a mask set, which is then used to manufacture the integrated circuit. After tape-out, semiconductor die 1136 is manufactured, and packaging and assembly processes 1138 are performed to produce a completed integrated circuit 1140.

[0094] The specification of a circuit or electronic structure can range from low-level transistor material layout to high-level description languages. High-level representations can be used to design circuits and systems using a hardware description language ('HDL') such as VHDL, Verilog, SystemVerilog, SystemC, MyHDL or OpenVera. The HDL description can be transformed into a logic-level register transfer level ('RTL') description, a gate-level description, a layout-level description, or a mask-level description. Each lower level of representation as a more detailed description adds more useful detail to the design description, for example, more detail of the modules that comprise the description. The more detailed lower-level representations may be computer-generated, derived from a design library, or created by another design automation process. An example of a specification language for specifying a more detailed lower-level representation language is SPICE, which is used for detailed descriptions of circuits with many analog components. The descriptions at each level of representation can be used by a corresponding system for that layer (e.g., a formal verification system). The design process can use Fig.11 The sequence depicted in . An EDA product (or EDA system) should enable the described process.

[0095] During system design 1114, the functionality of the integrated circuit to be manufactured is specified. The design may be optimized for desired characteristics such as power consumption, performance, area (physical and / or lines of code), and cost reduction. The design may be divided into different types of modules or components at this stage.

[0096] During logic design and functional verification 1116, modules or components in a circuit are specified in one or more description languages, and the functional accuracy of the specifications is checked. For example, the components of a circuit can be verified to generate outputs that match the specification requirements of the designed circuit or system. Functional verification can use simulators and other programs such as testbench generators, static HDL checkers, and formal verifiers. In some embodiments, a special system of components called a 'simulator' or 'prototype system' is used to accelerate functional verification.

[0097] During synthesis and design for test 1118, the HDL code is transformed into a netlist. In some embodiments, the netlist may be a graph structure, wherein the edges of the graph structure represent components of the circuit, and the nodes of the graph structure represent how the components are interconnected. Both the HDL code and the netlist are hierarchical artifacts that can be used by EDA products to verify that the integrated circuit performs according to the specified design when manufactured. The netlist can be optimized for the target semiconductor manufacturing technology. In addition, the completed integrated circuit can be tested to verify that the integrated circuit meets the requirements of the specification.

[0098] During netlist verification 1120, the netlist is checked for compliance with timing constraints and for compliance with the HDL code. During design planning 1122, the entire floorplan for the integrated circuit is constructed and analyzed for timing and top-level routing.

[0099] During layout or physical implementation 1124, physical layout (positioning of circuit components such as transistors or capacitors) and wiring (connecting circuit components through multiple conductors) occur, and selection of cells from a library may be performed to enable specific logic functions. As used herein, the term 'cell' may specify a group of transistors, other components, and interconnects that provide a Boolean logic function (e.g., AND, OR, NOT, XOR) or a storage function (e.g., a flip-flop or latch). As used herein, a circuit 'block' may refer to two or more cells. Both cells and circuit blocks may be referred to as modules or components and are implemented as physical structures and analog parts. Parameters (based on 'standard cells'), such as size, are specified for the selected cell and made accessible in a database for use by EDA products.

[0100] During analysis and extraction 1126, circuit functionality is verified at the layout level, which allows the layout design to be improved. During physical verification 1128, the layout design is checked to ensure that manufacturing constraints are correct, such as DRC constraints, electrical constraints, lithography constraints, and that the circuit system functionality matches the HDL design specifications. During resolution enhancement 1130, the geometry of the layout is transformed to improve how the circuit design is manufactured.

[0101] During tape-out, data is created for use in producing lithographic masks (after applying lithographic enhancements where appropriate).During mask data preparation 1132, the "tape-out" data is used to produce lithographic masks, which are used to produce finished integrated circuits.

[0102] Computer systems (such as Fig.12 The storage subsystem of the computer system 1200) may be used to store programs and data structures used by some or all of the EDA products described herein, as well as products used to develop units of the library and for physical and logical designs that use the library.

[0103] Fig.12 An exemplary machine of computer system 1200 is illustrated within which a set of instructions for causing the machine to perform any one or more of the methodologies discussed herein may be executed. In alternative embodiments, the machine may be connected (e.g., using a network) to other machines in a LAN, an intranet, an extranet, and / or the Internet. The machine may operate in the capacity of a server or a client machine in a client-server network environment, as a peer machine in a peer-to-peer (or distributed) network environment, or as a server or a client machine in a cloud computing infrastructure or environment.

[0104] The machine may be a personal computer (PC), a tablet PC, a set-top box (STB), a personal digital assistant (PDA), a cellular phone, a web appliance, a server, a network router, a switch or a bridge, or any machine capable of executing a set of instructions (sequential or otherwise) that specify actions to be taken by the machine. Furthermore, while a single machine is illustrated, the term "machine" should also be construed to include any collection of machines that individually or jointly execute a set (or multiple sets) of instructions to perform any one or more of the methodologies discussed herein.

[0105] The example computer system 1200 includes a processing device 1202, a main memory 1204 (e.g., read-only memory (ROM), flash memory, dynamic random access memory (DRAM) such as synchronous DRAM (SDRAM), a static memory 1206 (e.g., flash memory, static random access memory (SRAM), etc.), and a data storage device 1218 that communicate with each other via a bus 1230.

[0106] The processing device 1202 represents one or more processors such as a microprocessor, a central processing unit, etc. More specifically, the processing device may be a complex instruction set computing (CISC) microprocessor, a reduced instruction set computing (RISC) microprocessor, a very long instruction word (VLIW) microprocessor, or a processor that implements other instruction sets, or a processor that implements a combination of instruction sets. The processing device 1202 may also be one or more special-purpose processing devices, such as an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), a digital signal processor (DSP), a network processor, etc. The processing device 1202 may be configured to execute instructions 1226 for performing the operations and steps described herein.

[0107] The computer system 1200 may additionally include a network interface device 1208 for communicating over a network 1220. The computer system 1200 may also include a video display unit 1210 (e.g., a liquid crystal display (LCD) or a cathode ray tube (CRT)), an alphanumeric input device 1212 (e.g., a keyboard), a cursor control device 1214 (e.g., a mouse), a graphics processing unit 1222, a signal generating device 1216 (e.g., a speaker), a graphics processing unit 1222, a video processing unit 1228, and an audio processing unit 1232.

[0108] The data storage device 1218 may include a machine-readable storage medium 1224 (also referred to as a non-transitory computer-readable medium) on which is stored one or more sets of instructions 1226 or software embodying any one or more of the methodologies or functions described herein. The instructions 1226 may also reside, completely or at least partially, within the main memory 1204 and / or within the processing device 1202 during execution by the computer system 1200, the main memory 1204 and the processing device 1202 also constituting machine-readable storage media.

[0109] In some embodiments, the instructions 1226 include instructions for implementing functionality corresponding to the present disclosure. Although the machine-readable storage medium 1224 is shown as a single medium in the example embodiments, the term "machine-readable storage medium" should be understood to include a single medium or multiple media (e.g., a centralized or distributed database, and / or associated caches and servers) that store one or more instruction sets. The term "machine-readable storage medium" should also be understood to include any medium that can store or encode an instruction set for execution by a machine and cause the machine and processing device 1202 to perform any one or more of the methods of the present disclosure. Therefore, the term "machine-readable storage medium" should be understood to include, but is not limited to, solid-state memory, optical media, and magnetic media.

[0110] Some portions of the foregoing detailed description have been presented in terms of algorithms and symbolic representations of operations on data bits within a computer memory. These algorithmic descriptions and representations are the means by which those skilled in the art of data processing most effectively convey the substance of their work to others skilled in the art. An algorithm may be a sequence of operations leading to a desired result. These operations are those operations requiring physical manipulation of physical quantities. These quantities may take the form of electrical or magnetic signals that can be stored, combined, compared, and otherwise manipulated. Such signals may be referred to as bits, values, elements, symbols, characters, terms, numbers, etc.

[0111] It should be remembered, however, that all of these and similar terms will be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless otherwise stated, as will be apparent from this disclosure, it should be understood that throughout the specification certain terms refer to actions and processes of computer systems or similar electronic computing devices that manipulate and transform data represented as physical (electronic) quantities within the computer system's registers and memories into other data similarly represented as physical quantities within the computer system's memories or registers or other such information storage devices.

[0112] The present disclosure also relates to an apparatus for performing the operations herein. The apparatus may be specially constructed for the intended purpose, or it may include a computer selectively activated or reconfigured by a computer program stored in the computer. Such a computer program may be stored in a computer-readable storage medium such as, but not limited to, any type of disk including floppy disks, optical disks, CD-ROMs, and magneto-optical disks, read-only memories (ROMs), random access memories (RAMs), EPROMs, EEPROMs, magnetic or optical cards, or any type of medium suitable for storing electronic instructions, each coupled to a computer system bus.

[0113] The algorithms and displays presented herein do not inherently relate to any particular computer or other device. Various other systems may be used with the program in accordance with the teachings herein, or it may prove convenient to construct a more specialized device to perform the method. In addition, the present disclosure is described without reference to any particular programming language. It should be understood that the teachings of the present disclosure described herein may be implemented using a variety of programming languages.

[0114] The present disclosure may be provided as a computer program product or software, which may include a machine-readable medium having instructions stored thereon, which instructions may be used to program a computer system (or other electronic device) to perform a process according to the present disclosure. A machine-readable medium includes any mechanism for storing information in a machine (e.g., computer) readable form. For example, a machine-readable (e.g., computer-readable) medium includes a machine (e.g., computer) readable storage medium, such as a read-only memory ("ROM"), a random access memory ("RAM"), a magnetic disk storage medium, an optical storage medium, a flash memory device, etc.

[0115] In the foregoing disclosure, embodiments of the present disclosure have been described with reference to specific example embodiments thereof. Obviously, various modifications may be made thereto without departing from the broader spirit and scope of embodiments of the present disclosure as set forth in the following claims. Where the present disclosure refers to some elements in the singular, more than one element may be depicted in the accompanying drawings, and the same elements are marked with the same numerals. Therefore, the present disclosure and the accompanying drawings are to be considered illustrative rather than restrictive.

Claims

1. A method for linting a register transfer level (RTL) chip design, the method comprising: Receive RTL design for chip; identifying the presence of at least one trigger condition in the received RTL design; generating a circuit model of the received RTL design; identifying, in the circuit model, endpoints of a data path associated with the identified at least one trigger condition; identifying, in the circuit model, at least one data path element in the data path associated with the identified at least one trigger condition; performing a weight calculation on the data path associated with the identified at least one trigger condition, the weight calculation being based on the identified at least one data path element in the data path; as well as One or more actions are taken based on the weight calculation.

2. The method of claim 1, wherein the at least one trigger condition is an out-of-bounds index condition. The method of claim 1 , wherein the at least one triggering condition is an explicitly assigned don't-care condition. The method of claim 1 , wherein the at least one trigger condition is a don't-care condition via a casex statement. The method of claim 1 , wherein the at least one triggering condition is an incompletely specified case statement. The method of claim 1 , wherein the at least one trigger condition is an XOR gate chain exceeding a predetermined length.

7. The method of claim 1, wherein the at least one data path element in the data path is at least one of: a multiplier, an adder, a subtractor, a divider, a modulo operator, an XOR, a comparator, a multiplexer, a buffer, or an inverter.

8. The method of claim 1, wherein taking the one or more actions based on the weight calculation comprises: At least one recommendation for a change in the received RTL design for the chip is generated.

9. The method of claim 1, wherein taking the one or more actions based on the weight calculation comprises: Transfer one or more constraints to a downstream synthesis tool.

10. The method of claim 10, wherein taking the one or more actions based on the weight calculation comprises: At least one recommendation for a constraint parameter of the downstream synthesis tool is generated.

11. The method of claim 10, wherein taking the one or more actions based on the weight calculation comprises: Generates recommendations for downstream synthesis tools to not ungroup hierarchical chains of XOR gates.

12. A system comprising: a memory for storing instructions; as well as a processor coupled to the memory, the processor being configured to execute the instructions so that the processor: Receive RTL design for chip; identifying the presence of at least one trigger condition in the received RTL design; generating a circuit model of the received chip design specified in the RTL; predicting potential stopping points for a downstream equivalence checking tool based on a comparison of the presence of the at least one trigger condition identified in the received RTL design and the generated circuit model; as well as Based on the predicted potential abort point, one or more actions are taken. The system of claim 12 , wherein the at least one trigger condition is an out-of-bounds index condition.

14. The system of claim 12, wherein the at least one triggering condition is the presence of a don't care condition.

15. The system of claim 12, wherein the at least one triggering condition is an incompletely specified case statement.

16. The system of claim 12, wherein the at least one trigger condition is an XOR gate chain exceeding a predetermined length.

17. The system of claim 12, wherein taking one or more actions comprises: At least one recommendation for a change in the received RTL design for the chip is generated.

18. The system of claim 12, wherein taking one or more actions comprises: At least one recommendation of a constraint parameter for a downstream synthesis tool is generated.

19. The system of claim 12, wherein taking the one or more actions based on the weight calculation comprises: Generates recommendations for downstream synthesis tools to not ungroup hierarchical chains of XOR gates.

20. A non-transitory computer readable medium comprising stored instructions which, when executed by at least one processor, cause the at least one processor to perform a method comprising: Receive RTL design for chip; identifying the presence of at least one trigger condition in the received RTL design; generating a circuit model of the received RTL design; identifying, in the circuit model, endpoints of a data path associated with the identified at least one trigger condition; identifying, in the circuit model, at least one data path element in the data path associated with the identified at least one trigger condition; performing a weight calculation on the data path associated with the identified at least one trigger condition, the weight calculation being based on the identified at least one data path element in the data path; as well as One or more actions are taken based on the weight calculation.