Increasing coverage counts of rare and unhit coverage events in verification

Machine learning-based constraints improve the efficiency of hitting rare and unhit coverage events in verification processes, addressing resource inefficiencies and accelerating design verification.

US12818058B1Active Publication Date: 2026-12-01SYNOPSYS INC
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
US18/308609
Authority / Receiving Office
US · United States
Patent Type
Patents(United States)
Current Assignee / Owner
Filing Date
2023-04-27
Publication Date
2026-12-01
Estimated Expiration
2045-08-21

AI Technical Summary

Technical Problem

Existing verification processes struggle to efficiently hit rare or unhit coverage events, consuming excessive simulation cycles and resources due to the disproportionate effort required to address these infrequent bins.

Method used

A configuration that utilizes machine learning models to identify key random variables and generate constraints to increase the probability of hitting rare and unhit coverage events by iteratively refining the simulation process.

Benefits of technology

Enhances the frequency of hitting rare and unhit coverage events, reducing the need for additional resources and accelerating the verification process while increasing confidence in the design's functionality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US12818058-D00000_ABST
    Figure US12818058-D00000_ABST
Patent Text Reader

Abstract

A configuration increases coverage counts of rare and unhit coverage events in a verification system. Trace data comprising (1) coverage events, for a function, having bins, including common bins, rare bins, and unhit bins, and (2) randomization data including random variables, is used with a first learning model, to identify a first subset of random variables responsible for the coverage events. The trace data, a second learning model, and the first subset of random variables, is used to identify a second subset of random variables for the common bins and a third subset of the set of random variables outside of the common bins. A fourth subset of random variables is generated having a greater probability of coverage events for the rare and unhit bins. A fourth subset of random variables is used for a subsequent simulation. It iterates until a rare bin or unhit bin become a common bin.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to formal verification and, more particularly, increasing coverage events in a verification process.BACKGROUND

[0002] Automated coverage closure is an often requested verification capability to enable teams to accelerate and improve the quality of verification. One challenge of coverage closure is an ability to hit rare or unhit coverage events in a constraint-random verification setting. Common bins are hit frequently, and medium-common bins are hit with moderate frequency. There remain, however, a substantial number of the bins, e.g., up to 10%, that are hit rarely or not hit at all. This infrequency of these hits consumes a disproportionate amount of simulation cycles, as well as resources to write further directed tests or tune constraints to guide a solver to try to address the rarely hit or unhit bins.SUMMARY

[0003] A disclosed configuration (a system, a method and / or a non-transitory computer readable storage medium) is structured to increase coverage counts of rare and unhit coverage events in a verification system. For example, a configuration receives simulation trace data, including constraint solver traces, from a set of randomized simulations and corresponding output data, including coverage traces resulting from a function (or expression) of a design under test (DUT). The data is organized for input into a machine learning (ML) process, e.g., a ML regressor, to identify coverage events of a coverpoint.

[0004] For example, a configuration receives from a simulation is trace data comprised of randomization data and coverage events for a function. The randomization data corresponds random values assigned to a data type. The coverage events correspond to one or more bins. The one or more bins including common bins, rare bins, and unhit bins. The configuration uses the trace data and a first learning model to identify random variables responsible for the coverage events. The configuration also uses the trace data, a second learning model and, the identified random variables, to identify a range of variables for the common bins and a subset of a range of variable outside of the common bins. It also generates a new subset of range of variables. The new subset of range of variables having a greater probability of coverage events for the rare bins and unhit bins. The configuration provides for input into a subsequent simulation the new subset of range of variables before iterating the steps until one or more of the rare bin or unhit bin become a common bin. They may become a common bin by reaching a threshold count value, which may be predetermined for a set of simulations.

[0005] The coverage events may include coverage events from other sources such as System Verilog assertion and cover properties, line coverage, FSM coverage and other coverage metrics typically used in the RTL verification process. The data from the unknown function also is input into another ML process, e.g., a ML rule learner (such as a ML classifier), to identify, for each individual coverage event or sub-group of events, a range of subset of random variables, expressed in the form of constraints, that did not hit common bins to generate a set of updated random variables to increase hits for the coverpoint. The new constraints would increase a probability that the updated values of random variables increases coverage counts of the rarely hit and unhit coverage events. The new constraints are provided as inputs to the simulation. The steps are iterated until at least one of the number of rare coverage events and a number of unhit coverage events are above an acceptable threshold value specified by the user or inferred from the event counts of the common coverage events.BRIEF DESCRIPTION OF THE DRAWINGS

[0006] The disclosure will be understood more fully from the detailed description given below and from the accompanying figures of embodiments of the disclosure. The figures are used to provide knowledge and understanding of embodiments of the disclosure and do not limit the scope of the disclosure to these specific embodiments. Furthermore, the figures are not necessarily drawn to scale.

[0007] FIG. 1 illustrates a hit count processor in accordance with an embodiment.

[0008] FIGS. 2A through 2C illustrate an example of an expression for determining coverage points (or coverpoints) for coverage events in accordance with an embodiment.

[0009] FIG. 3 illustrates examples of hit counts for coverage points of coverage events in tabular format in accordance with an embodiment.

[0010] FIG. 4 illustrates a machine learning process for generating new random variables for the bins of a coverpoint in accordance with an embodiment.

[0011] FIG. 5 illustrates an example result table corresponding to hits of coverage points for coverage events in accordance with an embodiment.

[0012] FIG. 6 illustrates an example process for generating new constraints to generate a range of data closer to coverage points for rare coverage events or unhit coverage events in accordance with an embodiment.

[0013] FIG. 7 illustrates an example process for determining inputs for a learning model to generate data closer to a range of coverage points for rare coverage events or unhit coverage events in accordance with an embodiment.

[0014] FIG. 8 depicts a flowchart of various processes used during the design and manufacture of an integrated circuit in accordance with some embodiments of the present disclosure.

[0015] FIG. 9 depicts a diagram of an example computer system in which embodiments of the present disclosure may operate.DETAILED DESCRIPTION

[0016] Aspects of the present disclosure relate to increasing coverage probability of rare and unhit coverage events in verification processes, e.g., System Verilog. Coverage is a collection of statistics of sampling events in a simulation of a designed integrated circuit chip that that is under test (device under test). Coverage helps determine if a DUT has been exposed to a sufficient range of stimuli to provide a high degree of confidence that the design under test, and ultimately the chip, is functioning as intended. To enable this, a verification process uses one or more covergroups, which defines a coverage model.

[0017] In one embodiment, the verification process may use a System Verilog Covergroup. In other embodiments, it may use other coverage specifications such as System Verilog assertions and cover properties or code coverage metrics such as line and expression coverage. The covergroup has one or more coverpoints. A coverage model represents a user description of functionality that should be covered in a chip verification or a design. One or more covergroups may be used in a coverage model. A covergroup is a user defined-type that encapsulates the specification of the coverage model. Within a covergroup are individual elements that are covered for the function. It may be an individual point of interest for the function or a cross function, which may be a cross. Inside a coverpoint, which is what may be sampled for a function, are ranges of values of an expression corresponding to an input of the coverpoint. The ranges of the values correspond to bins, which may be a bucket of values.

[0018] A challenge with coverage is whether corner and / or edge cases have been sufficiently covered. For example, a challenge of coverage is converging on an ability to hit rare or unhit coverage events. Common bins are hit frequently, and medium-common bins are hit with moderate frequency. There remain, however, a substantial number of the bins, e.g., the bottom 10% by event counts, that are hit rarely or not hit at all. It is noted that a hit is a count, i.e., that a value range has been observed (or occurred). An occurrence is a count of one and there may be multiple occurrences meaning multiple hits of every bin. Once or as the counts are collected, they may be grouped. The groupings may be relative or they may be pre-defined. For example, a rarely hit bin may be in a bottom x % of all bins while a common bin may be in the top y % percent of all bins, where x and y may be numerical values (which may be same or different) and bottom or top are relative to a metric, e.g., raw hit count or a weighted hit count (e.g., certain bin have greater importance compared to other bins). Common bins may have a hit count that may be set at a threshold value for a set of simulations. Unhit bins are bins that have not been hit in a set of simulations.

[0019] To increase the frequency of hits of rarely hit or unhit coverage events, the disclosed configuration extracts data from a verification runtime. The data may be pre-simulation event random variable data and coverage traces resulting from the values solved after each randomization of a constraint solver. Randomization is a process of producing a range of values for random variables of the mentioned data type. This data type is typically a Class datatype in System Verilog. Within the range of random values for random variables, there may be a subset of random values that may hit certain coverage events. The data may include coverage event data on each coverage hit event. The configuration identifies coverage targets of interest that typically are rare or unhit coverage targets, which may be organized as bins. A machine learning model may be structured to learn which random variables may be of interest and which are key determinants for each functional coverpoint, among the thousands of random variables from different covergroups that define a coverage model (e.g., classes). For example, for System Verilog covergroups a learning problem may further be decomposed into learning sub-problems for the covergroup sample event, the coverpoint and bin enabling event and the sampled expression.

[0020] A machine learning model also may be used to determine value ranges of interest for the random variables that both increase and decrease the probability of hitting the coverage targets. These may be referred to as hit-value ranges and miss-value ranges, respectively. An iterative machine learning windowing technique may be used to consider time-dilated effects between random variables and coverage targets. Highly interpretable machine learning techniques such as rule learning, decision trees, or other interpretable approaches are used to extract rules in the forms of constraints to be input to the constraint solver, and may enable better debug and further user input.

[0021] The configuration converts hit-value ranges on rare bins and the miss-value ranges on common bins to generate System Verilog hit or miss constraints. Miss constraints may be applied to suppress the common targets so that the rare and unhit targets may have an opportunity to be hit. A resulting increase in coverage enables greater confidence of a design under test that a chip is, for example, operating and / or functioning as intended. Accordingly, less hardware resources are needed to verify a chip design. Moreover, the verification process for a design under test is completed faster.

[0022] Referring now to Figure (FIG. 1, it illustrates a hit count processor 105 in accordance with an embodiment. The hit count processor 105, includes a database 110, a random trace data collector 115, an extract transform load (ETL) 120, a machine learning (ML) regressor 125, a ML rule learner 130 (e.g., a ML classifier), and a constraint applier 135.

[0023] The database 110 stores data from processes described herein. The trace data collector 115 is configured to collect data on each randomization and of coverage targets hit or missed, coverage target values, and random variable values at simulator runtime. The collected data is stored in the database 110. The ETL 120 is configured to extract data from the trace and transform it into a format for pre-processing before loading it into a machine learning framework and codebase. The ML regressor 125 is configured to learn to predict the coverage target value from random variables. The ML rule learner 130 is configured to identify variables to increase coverage targets for hit or missed bins. This is followed by rule extraction from the ML rule learner 130 to extract rules. These embodiments result in functions (or expressions) learned for predicting the coverage target value or target hit and / or miss. The constraint applier 135 applies the range of variables (or constraint) from the ML rule learner 130 as the random variables in subsequent simulations.

[0024] FIG. 2A illustrates an example unknown function 210 of a design under test in accordance with one embodiment. The unknown function may be a logic function or a logic expression corresponding to circuit operation. The unknown function 210 receives two sets of random variables in this example, namely, random variable A 215 and random variable B 220. Each random variable 215, 220 has a domain value between 1 and 10. In this example, the function, which is currently unknown, may have an output value, e.g., from what will be function A*B.

[0025] For a coverpoint in a covergroup, the output may correspond to a bin name and a range of output variables that may be assigned to the bin range. FIG. 2B illustrates an example expression 240 for assigning output to a particular bin based on a particular range. The assignment of bins and range may be user defined. Upon execution of the expression 240, the outputs are tallied among the bins as illustrated by the table 250 in FIG. 2C. The table250 in FIG. 2C may be organized by bin, coverpoint, rarity and hit counts. Depending on the number of hits for a particular bin, a bin may show common hits (sufficient coverage), rare hits or unhit. In the example of FIGS. 2B and 2C, there are five bins in which for bins b3 and b4, the hit count was in the hundreds, e.g., 893 for bin b3, and thousands, e.g., 8998 for bin b4. In contrast, the hit count for the rare hits were in the tens, e.g., 13 for bin b1 and 76 for bin b2. For bin b5, the hit count was zero, and thus, unhit. Hence, bins b3 and b4 were common hits, bins b1 and b2 were rare hits and bin b5 was unhit.

[0026] Returning to the example in FIG. 2A, in this example there are four cover bins 225 that are targeted for a coverpoint. In this example, the cover bins, which are user defined, are named: Low, Medium (Med), High_1, and High_2. If an output value 230 from the unknown function is between 51 and 100, it will be a hit for High_2 of the bins 230. If the output value 230 is between 4 and 50, it will be a hit for High_1. If the output value 230 is 1, the hit will be for Low and if the output value 230 is 2 or 3 the hit will be for Med. From a probability standpoint, a probability of hitting the bin Med may be:

[0027] =(A=1,B=2),(A=1,B=3),(A=2,B=1),(A=3,B=1) / (All⁢ possible⁢ combinations⁢ of⁢ A&⁢ B)=4 / 100=4⁢%

[0028] A probability of hitting the bin Low may be:

[0029] =(A=1,B=1) / (All⁢ possible⁢ combinations⁢ of⁢ A&⁢ B)=1 / 100=1⁢%

[0030] In view of the rare and unhit bins for the Med bin and Low bin and the low hit probability for each, the system is configured to increase the probability of increasing a hit count for each of the two bins. In order to learn the System Verilog constraints that may increase the hit count, the system is configured to apply two machine learning processes. The machine learning processes provide for addressing two objectives. The first is which random variables are responsible for the bins of the coverpoint. The second is what values of the random variables will result to hits of the rare and unhit bins.

[0031] For the first objective, FIG. 3 illustrates an example of a machine learning process 305 that generates constraints at a coverpoint level rather than at a bin level to determine which random variables are responsible for the bins of the coverpoint in accordance with an embodiment. In the process 305, the trace data collector 115 provides the data for a table 310 and the ETL 120 prepares the table 310 for the machine learning (ML) regressor 125. The table 310 includes the random variables, e.g., 215, 220, and the output value 230 for each combination of random variable A 215 and variable B 220. It is noted that any number of random variables as input may be applied, e.g., C through Z, and the corresponding output value for that combination of variables, but for ease of understanding using the example of FIG. 2A the discussion is in the context of random variables A 215 and B 220. In the table 310, value is a representation for a coverpoint expression. The variable A, B, through Z in the table 310 are random variables for the inputs into a function that is unknown. The ML regressor 125 uses the data from the table to determine the functional relationship between the random variables and the value of the coverpoint expression. As a part of this process, the important variables are learned as further described below.

[0032] The table 310 with the set of random variables A 215, B 220 and corresponding output values 230 are input into the ML regressor 125. The ML regressor 125 overfits the data 310, and returns the random variables sorted by their feature importance. The higher the feature importance of the random variable, means that random variable will have a larger effect on the model that is being used to predict a target coverpoint expression value of a coverpoint. In one embodiment, the ML regressor 125 may be a decision tree based regressor. It is noted other types of regressors or feature selection techniques may be applied. The output generated through the ML regressor 125 reflects feature importance of each random variable input and may be sorted into the top random variables and corresponding output of a function, or expression, and the hit coverpoints. Hence, the ML processing algorithm outputs 330 the random variables A 215 and B 220 in a grouping that informs on which variables provided common hits relative to the bins 225.

[0033] Next, the process turns to address what values of random variables A 215 and B 220 are likely to result in hits for the rarely hit bin 225 (Med) and unhit bin 225 (Low). FIG. 4 illustrates a second machine learning process to determine what values of random variables will result into rarely hit or unhit bins. A machine learning may be challenged to learn of hit constraints for the rare bins due to low volume data and does not learn hit constraints for unhit bins due to the absence of data. With the second machine learning process, the focus shifts to common bin miss conditions as common bin miss equations rather than rare bin hit equations because common bins have a good amount of data, and miss equations may hit the unhit bins. In this example, an objective is to determine variables of A and B that are likely to result in hit to the bins 225 Med and Low.

[0034] In the process 405, the trace data collector 115 provides the data for a table 410 and the ETL 120 prepares the table 410 for the machine learning (ML) rule learner 130. The table 410 includes the random variables A 215 and B 220 that hit bins 225 High_1 and High_2. The table 410 is input into the ML rule learner 130.

[0035] The ML rule learner 130 analyzes the table to determine missed conditions. Specifically, the process 405 analyzes the combination of random variable A 215 and B 215 that hit bins 225 High_1 and High_2. The rule learning is a negation as to variables A 215 and B 220 that missed the bins 225 High_1 and High_2. This corresponds to miss constraints of common bins. An output 430 from the ML rule learner 130 is the miss constraint of common bins, which for this example is (1) A=1 & B=1, (2) A=1 & B=[2:3], and (3) A=[2:3]& B=1.

[0036] Based on the random variables A 215 and B 220 that correspond to the missed constraints, When these learned constraints on the random variables is input back into the design under test 205, the probability of the output 230 hitting the Med bin 225 is now:

[0037] =(A=1,B=2),(A=1,B=3),(A=2,B=1),(A=3,B=1) / (All⁢ possible⁢ combinations⁢ of⁢ A&⁢ B⁢ as⁢ per⁢ constraint)=4 / 5=80⁢%

[0038] Similarly, with this subset of random variables, the probability of of the output 230 hitting the Low bin 225 is now:

[0039] =(A=1,B=1) / (All⁢ possible⁢ combinations⁢ of⁢ A&⁢ B⁢ as⁢ per⁢ constraint)=1 / 5=20⁢%

[0040] Hence, when these variables output using the ML rule learner 130 are passed through the design under test, the probability that the previously rare or unhit bins will now be hit increases. The process may be recursive until the previously rare and unhit bins have sufficient hits to be common bins. The disclosed process is for one coverpoint and is similarly applied for other coverpoints. For example, the rules may be learned for individual coverpoints on their own. The learned rules for each cover point may be applied on its own in the next simulation, or jointly with other cover points. Learnings may be combined for each cover point together so that they do not conflict with other coverpoints.

[0041] The outputs from the ML rule learner 130 are converted to System Verilog constraints as a post processing step in the rule learner. The constraint solver is configured to solve for existing rules as well as the newly learned rules based on the random variables to run through the function 210 being tested. Operationally, FIGS. 5 and 6 describe a constraint solver based on the configuration described in FIGS. 3 and 4.

[0042] Beginning with FIG. 5, it illustrates an overview of an example process for generating new constraints to generate a range of data closer to coverage points for rare coverage events or unhit coverage events in accordance with an embodiment. The process starts 510 and collects 515 for all coverpoints data that may be post-randomization values of random variables and coverage sampling events for a specific coverpoint. For each coverpoint, the process identifies 520 random variables responsible for the sampling data. Specifically, the process identifies 525 the random variables that were responsible for missing the common bins. Specifically, the process identifies through a first machine learning algorithm that is configured to determine for each coverpoint a range of random variables and corresponding output of the function, or sample expression. The process then determines the range of variables that were applying a second machine learning technique that learns a negation in which the variables that did not identify the common bins are identified. This generates a subset of random variables, or constraints, that may increase a probability of increasing bin hits for rare or unhit bins.

[0043] The process combines 530 constraints of multiple coverpoints and apply those combined constraints to an updated expression for a next iteration of a simulation (or an emulation) of a design under test. By way of example, multiple coverage targets (a coverpoint is an example of a coverage target) are combined into a composite list for a particular simulation to increase the efficiency of targeting multiple targets in a single simulation run. An example process to combine multiple coverage targets and avoid conflicts is to group together coverpoints which are controlled by non-intersecting sets of random variables. For example, if

[0044] Coverpoint 1→randvar1, randvar2

[0045] Coverpoint 2→randvar1, randvar3

[0046] Coverpoint 3→randvar3, randvar4Here, coverpoint1 and coverpoint3 have non-intersecting sets of random variables so they can be targeted in one simulation together. Coverpoint2 may be targeted on its own as it is non-intersecting. The process thereafter continues with execution 535 of a simulation in a next iteration. As the process may be iterative to this point, the process should allow for increased and faster coverage of rare bins and unhit bins before the process ends 540.

[0047] FIG. 6 illustrates a more specific example process for determining input random variables, or constraints, for inputting into a function to increase hits of an output from the function to previously rare and unhit bins in accordance with an embodiment. In this example, the process starts 605 and the trace data collector 115 collects 615 runtime data from the database 110. The runtime data may be a post-randomization values of random variables and coverage sampling events. The ETL 120 processes 620 trace data to form time series data that organizes the trace data into features of the function, or input of random variables and corresponding output of the functions. The function may correspond to a coverage sample expressions in a simulation or emulation of a design under test.

[0048] The formatted data is input into an ML process. In one embodiment the ML process may be executed through the ML regressor 125, which applies 625 a machine learning (ML) regression technique to learn the coverpoint sample expression and important random variables for each coverpoint.

[0049] The process again processes 630 the trace data. Specifically, the trace data collector 115 organizes the data in a time series in which features that are the random variables input into the function, or expression, and output targets that were coverage hits. Another ML process further determines which outputs did not hit common bins, or a negation of common bin hit. The ML process may be executed through the ML rule learner 130, which applies 635 a machine learning rule learning technique to learn the miss constraints of a coverpoint. The miss constraints, i.e., the updated random variables (or constraints) as a result of output from a rule learning technique (e.g., a classifier), may be input, e.g., by a constraint applier 135, through the function, or expression, to increase a likelihood of hits to previously rare or unhit bins. The process may be iterative until there are no more of at least one of rarely hit bins or unhit bins before ending 640. Further, in one embodiment, a threshold (or threshold value) may correspond to at least one of the group of rarely hit bins or unhit bins becoming common bins.

[0050] The process also may merge constraints of two or more coverpoints to run, e.g., via a constraint applier 135, through the function, or expression, in order to increase likelihood of hits to rare or unhit bits of multiple coverpoints that may have similar rare of unhit bins. The process may be iterative until there are no more, or sufficiently few, rare or unhit bins before ending 640.

[0051] As noted the process described is for a design under test. The design under test is a chip designed through, for example, an electronic design automation (EDA) process. The chip may be tested through a simulation or an emulation. The testing may include testing of functions within the chip. The functions may be described through expressions. The testing inputs random variables as described herein and based on the output from the function allows for a determination of whether a particular function has been sufficiently tested to operate as expected. Below, the EDA process for designing a chip is described as well as emulation of a chip. In addition, computer system is described that maybe configured to execute the processes described herein through a simulation and / or emulation.

[0052] FIG. 7 illustrates an example set of processes 700 used during the design, verification, and fabrication of an article of manufacture such as an integrated circuit chip to transform and verify design data and instructions that represent the integrated circuit. Each of these processes can be structured and enabled as multiple modules or operations. The term ‘’ signifies the term ‘Electronic Design Automation.’ These processes start with the creation of a product idea 710 with information supplied by a designer, information which is transformed to create an article of manufacture that uses a set of EDA processes 712. When the design is finalized, the design is taped-out 734, which is when artwork (e.g., geometric patterns) for the integrated circuit is sent to a fabrication facility to manufacture the mask set, which is then used to manufacture the integrated circuit. After tape-out, a semiconductor die is fabricated 735 and packaging and assembly processes 737 are performed to produce the finished integrated circuit 740.

[0053] Specifications for a circuit or electronic structure may range from low-level transistor material layouts to high-level description languages. A high-level of representation may be used to design circuits and systems, using a hardware description language (‘HDL’) such as VHDL, Verilog, System Verilog, SystemC, MyHDL or OpenVera. The HDL description can be transformed to a logic-level register transfer level (‘RTL’) description, a gate-level description, a layout-level description, or a mask-level description. Each lower representation level that is a more detailed description adds more useful detail into the design description, for example, more details for the modules that include the description. The lower levels of representation that are more detailed descriptions can be generated by a computer, derived from a design library, or created by another design automation process. An example of a specification language at a lower level of representation language for specifying more detailed descriptions is SPICE, which is used for detailed descriptions of circuits with many analog components. Descriptions at each level of representation are enabled for use by the corresponding systems of that layer (e.g., a formal verification system). A design process may use a sequence depicted in FIG. 7. The processes described by be enabled by EDA products (or EDA systems).

[0054] During system design 714, functionality of an 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 reduction of costs, etc. Partitioning of the design into different types of modules or components can occur at this stage.

[0055] During logic design and functional verification 715, modules or components in the circuit are specified in one or more description languages and the specification is checked for functional accuracy. For example, the components of the circuit may be verified to generate outputs that match the requirements of the specification of the circuit or system being designed. Functional verification may use simulators and other programs such as testbench generators, static HDL checkers, and formal verifiers. In some embodiments, special systems of components referred to as ‘emulators’ or ‘prototyping systems’ are used to speed up the functional verification.

[0056] During synthesis and design for test 717, HDL code is transformed to a netlist. In some embodiments, a netlist may be a graph structure where edges of the graph structure represent components of a circuit and where the nodes of the graph structure represent how the components are interconnected. Both the HDL code and the netlist are hierarchical articles of manufacture that can be used by an EDA product to verify that the integrated circuit, when manufactured, performs according to the specified design. The netlist can be optimized for a target semiconductor manufacturing technology. Additionally, the finished integrated circuit may be tested to verify that the integrated circuit satisfies the requirements of the specification.

[0057] During netlist verification 720, the netlist is checked for compliance with timing constraints and for correspondence with the HDL code. During design planning 722, an overall floor plan for the integrated circuit is constructed and analyzed for timing and top-level routing.

[0058] During layout or physical implementation 724, physical placement (positioning of circuit components such as transistors or capacitors) and routing (connection of the circuit components by multiple conductors) occurs, and the selection of cells from a library to enable specific logic functions can be performed. As used herein, the term ‘cell’ may specify a set of transistors, other components, and interconnections that provides a Boolean logic function (e.g., AND, OR, NOT, XOR) or a storage function (such as a flipflop or latch). As used herein, a circuit ‘block’ may refer to two or more cells. Both a cell and a circuit block can be referred to as a module or component and are enabled as both physical structures and in simulations. Parameters are specified for selected cells (based on ‘standard cells’) such as size and made accessible in a database for use by EDA products.

[0059] During analysis and extraction 725, the circuit function is verified at the layout level, which permits refinement of the layout design. During physical verification 727, the layout design is checked to ensure that manufacturing constraints are correct, such as DRC constraints, electrical constraints, lithographic constraints, and that circuitry function matches the HDL design specification. During resolution enhancement 730, the geometry of the layout is transformed to improve how the circuit design is manufactured.

[0060] During tape-out, data is created to be used (after lithographic enhancements are applied if appropriate) for production of lithography masks. During mask data preparation 732, the ‘tape-out’ data is used to produce lithography masks that are used to produce finished integrated circuits.

[0061] A storage subsystem of a computer system (such as computer system 900 of FIG. 9, or host system 707 of FIG. 7) may be used to store the programs and data structures that are used by some or all of the EDA products described herein, and products used for development of cells for the library and for physical and logical design that use the library.

[0062] FIG. 8 depicts a diagram of an example emulation environment 800. An emulation environment 800 may be configured to verify the functionality of the circuit design. The emulation environment 800 may include a host system 808 (e.g., a computer that is part of an EDA system) and an emulation system 802 (e.g., a set of programmable devices such as Field Programmable Gate Arrays (FPGAs) or processors). The host system generates data and information by using a compiler 810 to structure the emulation system to emulate a circuit design. A circuit design to be emulated is also referred to as a Design Under Test (‘DUT’) where data and information from the emulation are used to verify the functionality of the DUT.

[0063] The host system 808 may include one or more processors. In the embodiment where the host system includes multiple processors, the functions described herein as being performed by the host system can be distributed among the multiple processors. The host system 808 may include a compiler 810 to transform specifications written in a description language that represents a DUT and to produce data (e.g., binary data) and information that is used to structure the emulation system 802 to emulate the DUT. The compiler 810 can transform, change, restructure, add new functions to, and / or control the timing of the DUT.

[0064] The host system 808 and emulation system 802 exchange data and information using signals carried by an emulation connection. The connection can be, but is not limited to, one or more electrical cables such as cables with pin structures compatible with the Recommended Standard 232 (RS232) or universal serial bus (USB) protocols. The connection can be a wired communication medium or network such as a local area network or a wide area network such as the Internet. The connection can be a wireless communication medium or a network with one or more points of access using a wireless protocol such as BLUETOOTH or IEEE 802.11. The host system 808 and emulation system 802 can exchange data and information through a third device such as a network server.

[0065] The emulation system 802 includes multiple FPGAs (or other modules) such as FPGAs 8041 and 8042 as well as additional FPGAs to 804N. Each FPGA can include one or more FPGA interfaces through which the FPGA is connected to other FPGAs (and potentially other emulation components) for the FPGAs to exchange signals. An FPGA interface can be referred to as an input / output pin or an FPGA pad. While an emulator may include FPGAs, embodiments of emulators can include other types of logic blocks instead of, or along with, the FPGAs for emulating DUTs. For example, the emulation system 802 can include custom FPGAs, specialized ASICs for emulation or prototyping, memories, and input / output devices.

[0066] A programmable device can include an array of programmable logic blocks and a hierarchy of interconnections that can enable the programmable logic blocks to be interconnected according to the descriptions in the HDL code. Each of the programmable logic blocks can enable complex combinational functions or enable logic gates such as AND, and XOR logic blocks. In some embodiments, the logic blocks also can include memory elements / devices, which can be simple latches, flip-flops, or other blocks of memory. Depending on the length of the interconnections between different logic blocks, signals can arrive at input terminals of the logic blocks at different times and thus may be temporarily stored in the memory elements / devices.

[0067] FPGAs 8041-804N may be placed onto one or more boards 8121 and 8122 as well as additional boards through 812M. Multiple boards can be placed into an emulation unit 8141. The boards within an emulation unit can be connected using the backplane of the emulation unit or any other types of connections. In addition, multiple emulation units (e.g., 8141 and 8142 through 814K) can be connected to each other by cables or any other means to form a multi-emulation unit system.

[0068] For a DUT that is to be emulated, the host system 808 transmits one or more bit files to the emulation system 802. The bit files may specify a description of the DUT and may further specify partitions of the DUT created by the host system 808 with trace and injection logic, mappings of the partitions to the FPGAs of the emulator, and design constraints. Using the bit files, the emulator structures the FPGAs to perform the functions of the DUT. In some embodiments, one or more FPGAs of the emulators may have the trace and injection logic built into the silicon of the FPGA. In such an embodiment, the FPGAs may not be structured by the host system to emulate trace and injection logic.

[0069] The host system 808 receives a description of a DUT that is to be emulated. In some embodiments, the DUT description is in a description language (e.g., a register transfer language (RTL)). In some embodiments, the DUT description is in netlist level files or a mix of netlist level files and HDL files. If part of the DUT description or the entire DUT description is in an HDL, then the host system can synthesize the DUT description to create a gate level netlist using the DUT description. A host system can use the netlist of the DUT to partition the DUT into multiple partitions where one or more of the partitions include trace and injection logic. The trace and injection logic traces interface signals that are exchanged via the interfaces of an FPGA. Additionally, the trace and injection logic can inject traced interface signals into the logic of the FPGA. The host system maps each partition to an FPGA of the emulator. In some embodiments, the trace and injection logic is included in select partitions for a group of FPGAs. The trace and injection logic can be built into one or more of the FPGAs of an emulator. The host system can synthesize multiplexers to be mapped into the FPGAs. The multiplexers can be used by the trace and injection logic to inject interface signals into the DUT logic.

[0070] The host system creates bit files describing each partition of the DUT and the mapping of the partitions to the FPGAs. For partitions in which trace and injection logic are included, the bit files also describe the logic that is included. The bit files can include place and route information and design constraints. The host system stores the bit files and information describing which FPGAs are to emulate each component of the DUT (e.g., to which FPGAs each component is mapped).

[0071] Upon request, the host system transmits the bit files to the emulator. The host system signals the emulator to start the emulation of the DUT. During emulation of the DUT or at the end of the emulation, the host system receives emulation results from the emulator through the emulation connection. Emulation results are data and information generated by the emulator during the emulation of the DUT which include interface signals and states of interface signals that have been traced by the trace and injection logic of each FPGA. The host system can store the emulation results and / or transmits the emulation results to another processing system.

[0072] After emulation of the DUT, a circuit designer can request to debug a component of the DUT. If such a request is made, the circuit designer can specify a time period of the emulation to debug. The host system identifies which FPGAs are emulating the component using the stored information. The host system retrieves stored interface signals associated with the time period and traced by the trace and injection logic of each identified FPGA. The host system signals the emulator to re-emulate the identified FPGAs. The host system transmits the retrieved interface signals to the emulator to re-emulate the component for the specified time period. The trace and injection logic of each identified FPGA injects its respective interface signals received from the host system into the logic of the DUT mapped to the FPGA. In case of multiple re-emulations of an FPGA, merging the results produces a full debug view.

[0073] The host system receives, from the emulation system, signals traced by logic of the identified FPGAs during the re-emulation of the component. The host system stores the signals received from the emulator. The signals traced during the re-emulation can have a higher sampling rate than the sampling rate during the initial emulation. For example, in the initial emulation a traced signal can include a saved state of the component every X milliseconds. However, in the re-emulation the traced signal can include a saved state every Y milliseconds where Y is less than X. If the circuit designer requests to view a waveform of a signal traced during the re-emulation, the host system can retrieve the stored signal and display a plot of the signal. For example, the host system can generate a waveform of the signal. Afterwards, the circuit designer can request to re-emulate the same component for a different time period or to re-emulate another component.

[0074] A host system 808 and / or the compiler 810 may include sub-systems such as, but not limited to, a design synthesizer sub-system, a mapping sub-system, a run time sub-system, a results sub-system, a debug sub-system, a waveform sub-system, and a storage sub-system. The sub-systems can be structured and enabled as individual or multiple modules or two or more may be structured as a module. Together these sub-systems structure the emulator and monitor the emulation results.

[0075] The design synthesizer sub-system transforms the HDL that is representing a DUT 805 into gate level logic. For a DUT that is to be emulated, the design synthesizer sub-system receives a description of the DUT. If the description of the DUT is fully or partially in HDL (e.g., RTL or other level of representation), the design synthesizer sub-system synthesizes the HDL of the DUT to create a gate-level netlist with a description of the DUT in terms of gate level logic.

[0076] The mapping sub-system partitions DUTs and maps the partitions into emulator FPGAs. The mapping sub-system partitions a DUT at the gate level into a number of partitions using the netlist of the DUT. For each partition, the mapping sub-system retrieves a gate level description of the trace and injection logic and adds the logic to the partition. As described above, the trace and injection logic included in a partition is used to trace signals exchanged via the interfaces of an FPGA to which the partition is mapped (trace interface signals). The trace and injection logic can be added to the DUT prior to the partitioning. For example, the trace and injection logic can be added by the design synthesizer sub-system prior to or after the synthesizing the HDL of the DUT.

[0077] In addition to including the trace and injection logic, the mapping sub-system can include additional tracing logic in a partition to trace the states of certain DUT components that are not traced by the trace and injection. The mapping sub-system can include the additional tracing logic in the DUT prior to the partitioning or in partitions after the partitioning. The design synthesizer sub-system can include the additional tracing logic in an HDL description of the DUT prior to synthesizing the HDL description.

[0078] The mapping sub-system maps each partition of the DUT to an FPGA of the emulator. For partitioning and mapping, the mapping sub-system uses design rules, design constraints (e.g., timing or logic constraints), and information about the emulator. For components of the DUT, the mapping sub-system stores information in the storage sub-system describing which FPGAs are to emulate each component.

[0079] Using the partitioning and the mapping, the mapping sub-system generates one or more bit files that describe the created partitions and the mapping of logic to each FPGA of the emulator. The bit files can include additional information such as constraints of the DUT and routing information of connections between FPGAs and connections within each FPGA. The mapping sub-system can generate a bit file for each partition of the DUT and can store the bit file in the storage sub-system. Upon request from a circuit designer, the mapping sub-system transmits the bit files to the emulator, and the emulator can use the bit files to structure the FPGAs to emulate the DUT.

[0080] If the emulator includes specialized ASICs that include the trace and injection logic, the mapping sub-system can generate a specific structure that connects the specialized ASICs to the DUT. In some embodiments, the mapping sub-system can save the information of the traced / injected signal and where the information is stored on the specialized ASIC.

[0081] The run time sub-system controls emulations performed by the emulator. The run time sub-system can cause the emulator to start or stop executing an emulation. Additionally, the run time sub-system can provide input signals and data to the emulator. The input signals can be provided directly to the emulator through the connection or indirectly through other input signal devices. For example, the host system can control an input signal device to provide the input signals to the emulator. The input signal device can be, for example, a test board (directly or through cables), signal generator, another emulator, or another host system.

[0082] The results sub-system processes emulation results generated by the emulator. During emulation and / or after completing the emulation, the results sub-system receives emulation results from the emulator generated during the emulation. The emulation results include signals traced during the emulation. Specifically, the emulation results include interface signals traced by the trace and injection logic emulated by each FPGA and can include signals traced by additional logic included in the DUT. Each traced signal can span multiple cycles of the emulation. A traced signal includes multiple states and each state is associated with a time of the emulation. The results sub-system stores the traced signals in the storage sub-system. For each stored signal, the results sub-system can store information indicating which FPGA generated the traced signal.

[0083] The debug sub-system allows circuit designers to debug DUT components. After the emulator has emulated a DUT and the results sub-system has received the interface signals traced by the trace and injection logic during the emulation, a circuit designer can request to debug a component of the DUT by re-emulating the component for a specific time period. In a request to debug a component, the circuit designer identifies the component and indicates a time period of the emulation to debug. The circuit designer's request can include a sampling rate that indicates how often states of debugged components should be saved by logic that traces signals.

[0084] The debug sub-system identifies one or more FPGAs of the emulator that are emulating the component using the information stored by the mapping sub-system in the storage sub-system. For each identified FPGA, the debug sub-system retrieves, from the storage sub-system, interface signals traced by the trace and injection logic of the FPGA during the time period indicated by the circuit designer. For example, the debug sub-system retrieves states traced by the trace and injection logic that are associated with the time period.

[0085] The debug sub-system transmits the retrieved interface signals to the emulator. The debug sub-system instructs the debug sub-system to use the identified FPGAs and for the trace and injection logic of each identified FPGA to inject its respective traced signals into logic of the FPGA to re-emulate the component for the requested time period. The debug sub-system can further transmit the sampling rate provided by the circuit designer to the emulator so that the tracing logic traces states at the proper intervals.

[0086] To debug the component, the emulator can use the FPGAs to which the component has been mapped. Additionally, the re-emulation of the component can be performed at any point specified by the circuit designer.

[0087] For an identified FPGA, the debug sub-system can transmit instructions to the emulator to load multiple emulator FPGAs with the same configuration of the identified FPGA. The debug sub-system additionally signals the emulator to use the multiple FPGAs in parallel. Each FPGA from the multiple FPGAs is used with a different time window of the interface signals to generate a larger time window in a shorter amount of time. For example, the identified FPGA can require an hour or more to use a certain amount of cycles. However, if multiple FPGAs have the same data and structure of the identified FPGA and each of these FPGAs runs a subset of the cycles, the emulator can require a few minutes for the FPGAs to collectively use all the cycles.

[0088] A circuit designer can identify a hierarchy or a list of DUT signals to re-emulate. To enable this, the debug sub-system determines the FPGA needed to emulate the hierarchy or list of signals, retrieves the necessary interface signals, and transmits the retrieved interface signals to the emulator for re-emulation. Thus, a circuit designer can identify any element (e.g., component, device, or signal) of the DUT to debug / re-emulate.

[0089] The waveform sub-system generates waveforms using the traced signals. If a circuit designer requests to view a waveform of a signal traced during an emulation run, the host system retrieves the signal from the storage sub-system. The waveform sub-system displays a plot of the signal. For one or more signals, when the signals are received from the emulator, the waveform sub-system can automatically generate the plots of the signals.

[0090] FIG. 9 illustrates an example machine of a computer system 900 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 implementations, the machine may be connected (e.g., networked) 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 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.

[0091] The machine may be a personal computer (PC), a tablet PC, a set-top box (STB), a Personal Digital Assistant (PDA), a cellular telephone, a web appliance, a server, a network router, a switch or bridge, or any machine capable of executing a set of instructions (sequential or otherwise) that specify actions to be taken by that machine. Further, while a single machine is illustrated, the term “machine” shall also be taken 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.

[0092] The example computer system 900 includes a processing device 902, a main memory 904 (e.g., read-only memory (ROM), flash memory, dynamic random access memory (DRAM) such as synchronous DRAM (SDRAM), a static memory 905 (e.g., flash memory, static random access memory (SRAM), etc.), and a data storage device 918, which communicate with each other via a bus 930.

[0093] Processing device 902 represents one or more processors such as a microprocessor, a central processing unit, or the like. More particularly, the processing device may be complex instruction set computing (CISC) microprocessor, reduced instruction set computing (RISC) microprocessor, very long instruction word (VLIW) microprocessor, or a processor implementing other instruction sets, or processors implementing a combination of instruction sets. Processing device 902 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), network processor, or the like. The processing device 902 may be configured to execute instructions 925 for performing the operations and steps described herein.

[0094] The computer system 900 may further include a network interface device 908 to communicate over the network 920. The computer system 900 also may include a video display unit 910 (e.g., a liquid crystal display (LCD) or a cathode ray tube (CRT)), an alphanumeric input device 912 (e.g., a keyboard), a cursor control device 914 (e.g., a mouse), a graphics processing unit 922, a signal generation device 915 (e.g., a speaker), graphics processing unit 922, video processing unit 928, and audio processing unit 932.

[0095] The data storage device 918 may include a machine-readable storage medium 924 (also known as a non-transitory computer-readable medium) on which is stored one or more sets of instructions 925 or software embodying any one or more of the methodologies or functions described herein. The instructions 925 may also reside, completely or at least partially, within the main memory 904 and / or within the processing device 902 during execution thereof by the computer system 900, the main memory 904 and the processing device 902 also constituting machine-readable storage media.

[0096] In some implementations, the instructions 925 include instructions to implement functionality corresponding to the present disclosure. While the machine-readable storage medium 924 is shown in an example implementation to be a single medium, the term “machine-readable storage medium” should be taken to include a single medium or multiple media (e.g., a centralized or distributed database, and / or associated caches and servers) that store the one or more sets of instructions. The term “machine-readable storage medium” shall also be taken to include any medium that is capable of storing or encoding a set of instructions for execution by the machine and that cause the machine and the processing device 902 to perform any one or more of the methodologies of the present disclosure. The term “machine-readable storage medium” shall accordingly be taken to include, but not be limited to, solid-state memories, optical media, and magnetic media.

[0097] Some portions of the preceding detailed descriptions 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 ways used by those skilled in the data processing arts to 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. The operations are those requiring physical manipulations of physical quantities. Such quantities may take the form of electrical or magnetic signals capable of being stored, combined, compared, and otherwise manipulated. Such signals may be referred to as bits, values, elements, symbols, characters, terms, numbers, or the like.

[0098] It should be borne in mind, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless specifically stated otherwise as apparent from the present disclosure, it is appreciated that throughout the description, certain terms refer to the action and processes of a computer system, or similar electronic computing device, that manipulates and transforms 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 memories or registers or other such information storage devices.

[0099] The present disclosure also relates to an apparatus for performing the operations herein. This apparatus may be specially constructed for the intended purposes, 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 magnetic-optical disks, read-only memories (ROMs), random access memories (RAMs), EPROMs, EEPROMs, magnetic or optical cards, or any type of media suitable for storing electronic instructions, each coupled to a computer system bus.

[0100] The algorithms and displays presented herein are not inherently related to any particular computer or other apparatus. Various other systems may be used with programs in accordance with the teachings herein, or it may prove convenient to construct a more specialized apparatus to perform the method. In addition, the present disclosure is not described with reference to any particular programming language. It will be appreciated that a variety of programming languages may be used to implement the teachings of the disclosure as described herein.

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

[0102] In the foregoing disclosure, implementations of the disclosure have been described with reference to specific example implementations thereof. It will be evident that various modifications may be made thereto without departing from the broader spirit and scope of implementations of the disclosure as set forth in the following claims. Where the disclosure refers to some elements in the singular tense, more than one element can be depicted in the figures and like elements are labeled with like numerals. The disclosure and drawings are, accordingly, to be regarded in an illustrative sense rather than a restrictive sense.

Claims

1. A method comprising:(a) receiving, from a simulation of a set of simulations, trace data comprised of randomization data and coverage events for a function, the randomization data corresponding to a range of random values for a set of random variables, the coverage events corresponding to one or more bins, the one or more bins including common bins, rare bins, and unhit bins;(b) identifying, using the trace data and a first learning model, a first subset of random variables of the set of random variables responsible for the coverage events;(c) identifying, using the trace data, a second learning model and, the first subset of random variables, a second subset of random variables of the set of random variables for the common bins and a third subset of the set of random variables outside of the common bins; and(d) generating a fourth subset of random variables of the set of random variables, the fourth subset of random variables having a greater probability of coverage events for the rare bins and unhit bins;(e) providing for input into a subsequent simulation of the set of simulations the fourth subset of the random variables; anditerating steps (a) to (e) until one or more of the rare bin or unhit bin become a common bin.

2. The method of claim 1, wherein the rare bins correspond to a range of output values from the function that have been rarely hit in the set of simulations and the unhit bins correspond to a range of output values that are not hit in the set of simulations.

3. The method of claim 1, wherein the first learning model is a machine learning regression model.

4. The method of claim 3, wherein the second learning model is a machine learning classification model.

5. The method of claim 4, wherein the receiving the trace data further comprises generating a table of the set of range of random variables and a corresponding range of outputs based on the set of random variables input into the machine learning regression model.

6. The method of claim 5, wherein the receiving the trace data further comprises generating a table of set of random variables, a corresponding range of outputs from the set of random variables, and an identifier of common bins for input into the machine learning classification model.

7. The method of claim 1, wherein the iterating step continues until the rare bins and unhit bins reach a threshold value of counts for a common bin.

8. The method of claim 7, wherein the threshold value of counts is a predetermined value set for the set of simulations.

9. A system to increase coverage counts of rare and unhit bins in a verification system, the system comprising:one or more processors; andone or more memories coupled with the one or more processors and comprising stored instructions, the instructions when executed by the one or more processors causes the one or more processors to:(a) receive, from a simulation of a set of simulations, trace data comprised of randomization data and coverage events for a function, the randomization data corresponding to a range of random values for a set of random variables, the coverage events corresponding to one or more bins, the one or more bins including common bins, rare bins, and unhit bins;(b) identify, using the trace data and a first learning model, a first subset of random variables of the set of random variables responsible for the coverage events;(c) identify, using the trace data, a second learning model and, the first subset of random variables, a second subset of random variables of the set of random variables for the common bins and a third subset of the set of random variables outside of the common bins; and(d) generate a fourth subset of random variables of the set of random variables, the fourth subset of random variables having a greater probability of coverage events for the rare bins and unhit bins;(e) provide for input into a subsequent simulation of the set of simulations the fourth subset of the random variables; anditerate (a) to (e) until one or more of the rare bin or unhit bin become a common bin.

10. The system of claim 9, wherein the rare bins correspond to a range of output values from the function that have been rarely hit in the set of simulations and the unhit bins correspond to a range of output values that are not hit in the set of simulations.

11. The system of claim 9, wherein the first learning model is a machine learning regression model.

12. The system of claim 11, wherein the second learning model is a machine learning classification model.

13. The system of claim 12, wherein instructions to receive the trace data further comprises instructions to create a table of the set of random variables and a corresponding range of output values based on the set of random variables input into the machine learning regression model.

14. The system of claim 13, wherein the instructions to receive the trace data further comprises instructions to create a table of the set of random variables, a corresponding range of output values from the set of random variables, and an identifier of common bins for input into the machine learning classification model.

15. The system of claim 9, wherein the instructions to iterate further comprises instructions that when executed causes the one or more processors to continue to iterate until the rare bins and unhit bins meet a threshold value of counts for a common bin.

16. The system of claim 15, wherein the threshold value of counts is a predetermined value set for the set of simulations.

17. A non-transitory computer readable storage medium comprising stored instructions, the instructions when executed by one or more processors causes the one or more processors to:(a) receive, from a simulation of a set of simulations, trace data comprising (1) coverage events for a function corresponding to one or more bins including common bins, rare bins, and unhit bins, and (2) randomization data corresponding to a range of random values for a set of random variables;(b) identify, using the trace data and a first learning model, a first subset of random variables of the set of random variables responsible for the coverage events;(c) identify, using the trace data, a second learning model and, the first subset of random variables, a second subset of random variables of the set of random variables for the common bins and a third subset of the set of random variables outside of the common bins; and(d) generate a fourth subset of random variables of the set of random variables, the fourth subset of random variables having a greater probability of coverage events for the rare bins and unhit bins;(e) provide for input into a subsequent simulation of the set of simulations the fourth subset of the random variables; anditerate (a) to (e) until one or more of the rare bin or unhit bin become a common bin.

18. The non-transitory computer readable storage medium of claim 17, wherein the rare bins correspond to a range of output values from the function that have been rarely hit in the simulation of the set of simulations and the unhit bins correspond to a range of output values that are not hit in the simulation of the set of simulations.

19. The non-transitory computer readable storage medium of claim 17, wherein the first learning model is a machine learning regression model and the second learning model is a machine learning classification model.

20. The non-transitory computer readable storage medium of claim 17, the stored instructions to iterate continues to cause the one or more processor to iterate until the rare bins and unhit bins meet a threshold value of counts for a common bin.

Citation Information

Patent Citations

  • Integration of data mining and static analysis for hardware design verification

    US20130019216A1