Self-Checking Test Case Generation via Goal Hierarchy Path Inheritance

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The complexity of functional verification in digital systems grows exponentially, leading to inefficiencies in creating comprehensive test plans, generating test cases, and measuring coverage, resulting in significant delays and expenses due to logic bugs caused by incomplete verification processes.

Innovation Solution

A method and apparatus for constructing a comprehensive test plan using a hierarchy of goals to generate test cases through reduced case analysis graphs, which automatically create self-checking test cases and provide direct measurement of test plan coverage, alleviating the effort in creating test cases and ensuring all scenarios are tested efficiently.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If comprehensive test plans are created manually to cover all scenarios, then test coverage is improved, but the time and effort required to create and maintain test plans increases exponentially

Engineering Contradiction:
Improvetest coverageVSAvoidtime to create test cases
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent segments the test plan creation process by dividing it into reusable templates and parameters. Test plans are broken down into modular components that can be independently defined and then automatically instantiated multiple times, transforming an exponential creation process into a linear one based on the number of scenarios.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies preliminary action by pre-defining test plan templates with common scenarios and parameters before actual test execution. These templates are created in advance and stored for automatic retrieval and instantiation, eliminating the need to manually create each test case from scratch during verification.

Inventive Principle:
Principle #10Preliminary action

2Adaptability or versatility

If the number of state bits increases to improve system functionality, then system capability is improved, but the complexity of functional testing increases exponentially

Engineering Contradiction:
Improvesystem functionalityVSAvoidtesting complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent uses copying by automatically generating multiple test cases from a single template definition. Instead of manually creating unique test cases for each scenario combination, the system copies and instantiates predefined templates with different parameter values, reducing testing complexity regardless of the number of state bits.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent applies parameter changes by systematically varying test parameters across multiple instantiations of a template. The system automatically generates test cases by changing parameter values according to defined ranges and combinations, allowing comprehensive coverage of increased system functionality without proportionally increasing test creation complexity.

Inventive Principle:
Principle #35Parameter changes

3Reliability

If manual test case creation is used to ensure coverage of all scenarios, then test completeness is improved, but productivity decreases due to the large number of scenarios

Engineering Contradiction:
Improvetest completenessVSAvoidverification throughput
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent implements self-service by enabling the test generation system to automatically create, manage, and maintain test cases without manual intervention. The system autonomously instantiates test plans from templates, tracks coverage, and updates test suites based on scenario definitions, dramatically improving verification throughput while maintaining completeness.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent uses feedback mechanisms to automatically track which scenarios have been tested and which remain uncovered. The system monitors test execution results and uses this feedback to identify gaps in coverage and automatically generate additional test cases as needed, ensuring completeness without manual oversight.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS7849425B1Generating self-checking test cases from a reduced case analysis graph using path inheritance
Publication Date: 2010.12.07 BREKER VERIFICATION SYST
  • US7849425B1 patent drawing
  • US7849425B1 patent drawing
  • US7849425B1 patent drawing

AI summary

A method, system and apparatus for constructing a comprehensive test plan for a design under test (DUT) using a hierarchy of goals to generate test cases are provided. Embodiments of the present invention provide for automatically generating a first test case of the test plan from the goal hierarchy by traversing a path from a starting goal to an ending goal, wherein a first goal in the path has a first definition for one or more of a slot and a method. The ending goal of will then assume the first definition of the slot or method, as needed. A further aspect of the invention is generating a second test case by traversing a second path through the hierarchy. If the second path involves traversing a second goal with a second definition of the slot or method, then the ending goal will assume the second definition of the slot or method, as needed.