Patent ID: 6993470

Claim:
A computer implemented method for selecting test cases, comprising the steps of: a) generating a harvest-goals file containing a list of events, an initial goal for each event, and an accumulative count of hits for each event; b) picking a test case from a test-case list previously generated for a test simulation of a logic circuit design; c) picking a corresponding test-coverage file for the test case, the test-coverage file containing one or more events and corresponding number of hits; d) applying harvest criteria to the test case by using the test-coverage file and the harvest-goals file, wherein it is determined whether the accumulative count of hits for each event meets the initial goal, the accumulative count of hits for an event being incremented by the number of hits for the event contained in the test-coverage file; e) determining whether to harvest the test case based on the determination made in the step d); f) saving and identifying the test case for harvest, if the test case is determined to be harvested in the step e); g) updating harvest-goals file by adjusting the accumulative count of hits; and h) determining whether all test cases in the test-case list are processed by analyzing the harvest-goals file.