# US 2015/0310154 A1 · Method and apparatus for testing

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0310154 A1
- Document ID: US20150310154A1
- Status: Published application
- Kind: A1
- Application number: 14/259,163
- Filed: 2014-04-23
- Published: 2015-10-29
- Earliest claimed: 2014-04-23
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Gabor Bobok; SHLOMIT KOYFMAN; SHIRI MORAN; ZIV NEVO; GIL SHUREK
- Web page: https://patentgrep.com/patent/US20150310154A1

## CPC

- G06F 30/3308: using simulation
- G06F 30/30: Circuit design
- G06F 30/33: Design verification, e.g. functional simulation or model checking
- G06F 30/3323: using formal methods, e.g. equivalence checking or property checking
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer-implemented method, apparatus and computer program product for testing a design, the method comprising receiving a design; receiving a description of a scenario, wherein the scenario relates to execution of the design, wherein the scenario is used for verifying the design; translating the scenario to an input for a verification engine, wherein the verification engine is selected from the group consisting of a simulation engine and a formal analysis engine; activating the engine and providing the input to the engine, whereby the engine outputting a result; and displaying the result.

## Claims

### Claim 1

A computer-implemented method performed by a computerized device, comprising:
receiving a design;
receiving a description of a scenario, wherein the scenario relates to execution of the design, wherein the scenario is used for verifying the design;
translating the scenario to an input for a verification engine, wherein the verification engine is selected from the group consisting of a simulation engine and a formal analysis engine;
activating the engine and providing the input to the engine, whereby the engine outputting a result; and
displaying the result.

### Claim 2 (depends on 1)

The method of claim 1, wherein said receiving the description of the scenario and said displaying the results utilize a single user interface having at least an input area and an output area.

### Claim 3 (depends on 1)

The method of claim 1, wherein the scenario comprises values of an input signal at different cycles.

### Claim 4 (depends on 1)

The method of claim 1 wherein the scenario is entered using a spreadsheet-like interface.

### Claim 5 (depends on 4)

The method of claim 4 wherein a signal is described by drawing horizontal lines in one or more cells in a spreadsheet using a pointing device.

### Claim 6 (depends on 5)

The method of claim 5, wherein the spreadsheet-like interface provides for adding at least one graphical element to the wave form signal description.

### Claim 7 (depends on 5)

The method of claim 5 wherein a value in the spreadsheet is interpreted in at least two manners based upon the at least one graphical element.

### Claim 8 (depends on 4)

The method of claim 4 wherein the spreadsheet-like interface provides an element representing repeating a part of the signal multiple times.

### Claim 9 (depends on 4)

The method of claim 4 wherein the spreadsheet-like interface provides an element representing delaying a part of the signal for one or more cycles.

### Claim 10 (depends on 4)

The method of claim 4 wherein the spreadsheet-like interface provides for using a macro for entering a scenario.

### Claim 11 (depends on 1)

The method of claim 1 wherein the scenario is defined based on two or more signals, wherein the scenario defines that the two or more signals are synchronized.

### Claim 12 (depends on 1)

The method of claim 1, further comprising automatically selecting the verification engine to activate, wherein the selection is performed between the simulation engine and the formal analysis engine.

### Claim 13 (depends on 1)

The method of claim 1, wherein a feature of the scenario is automatically translated into a coverage goal for the simulation engine and into an exploration goal for the formal analysis engine.

### Claim 14 (depends on 1)

The method of claim 1, wherein correctness checker is generated for checking an expected result of the scenario.

### Claim 15

A computerized apparatus having a processor, the processor being adapted to perform the steps of:
receiving a design;
receiving a description of a scenario, wherein the scenario relates to execution of the design, wherein the scenario is used for verifying the design;
translating the scenario to an input for a verification engine, wherein the verification engine is selected from the group consisting of a simulation engine and a formal analysis engine;
activating the engine and providing the input to the engine, whereby the engine outputting a result; and
displaying the result.

### Claim 16 (depends on 15)

The computerized apparatus of claim 15, comprising a spreadsheet-like interface for entering input comprising a signal, and receiving output.

### Claim 17 (depends on 16)

The computerized apparatus of claim 16 wherein the signal is entered as horizontal lines in one or more cells in a spreadsheet

### Claim 18 (depends on 16)

The computerized apparatus of claim 16 wherein the spreadsheet-like interface provides for using a macro for entering a scenario.

### Claim 19 (depends on 15)

The computerized apparatus of claim 15, wherein the processor is further adapted to automatically select the verification engine, between the simulation engine and the formal analysis engine.

### Claim 20

A computer program product comprising a computer readable storage medium retaining program instructions, which program instructions when read by a processor, cause the processor to perform a method comprising:
receiving a design;
receiving a description of a scenario, wherein the scenario relates to execution of the design, wherein the scenario is used for verifying the design;
translating the scenario to an input for a verification engine, wherein the verification engine is selected from the group consisting of a simulation engine and a formal analysis engine;
activating the engine and providing the input to the engine, whereby the engine outputting a result; and
displaying the result.
