# US 2009/0276740 A1 · Verification supporting apparatus, verification supporting method, and computer product

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

- Number: US 2009/0276740 A1
- Document ID: US20090276740A1
- Status: Published application
- Kind: A1
- Application number: 12/335,105
- Filed: 2008-12-15
- Published: 2009-11-05
- Earliest claimed: 2008-04-30
- Assignees: Fujitsu Limited
- Inventors: Akio Matsuda; Ryosuke Oishi; Koichiro Takayama; Tsuneo Nakata; Rafael Kazumiti Morizawa
- Web page: https://patentgrep.com/patent/US20090276740A1

## CPC

- 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

In a verification supporting apparatus, a recording unit records a DIRW matrix in which a state transition possibly occurring in a register of a circuit to be verified and information concerning validity of a path corresponding to the state transition are set and an acquiring unit acquires a control data flow graph that includes a control flow graph having a data flow graph written therein. When a register is designated for verification, a data flow graph having described therein the designated register is extracted from the control data flow graph. From the data flow graph extracted, a path indicating the flow of data concerning the register is extracted. The state transition of the path extracted is identified and if the state transition is determined to be is set in the DIRW matrix, information concerning the validity set in the DIRW matrix and the path are correlated, and output.

## Claims

### Claim 1

A computer-readable recording medium storing therein a verification supporting program that causes a computer to execute:
recording in a memory, a DIRW matrix in which, among four states including Declare, Initialize, Read, and Write, a state transition that has a possibility of occurring in a register included in a circuit to be verified and information concerning validity of a path corresponding to the state transition are set;
acquiring a control data flow graph that includes a control flow graph having a flow of control for implementation of the circuit to be verified described therein and further having a data flow graph written therein, the data flow graph having a flow of data in the control flow graph described therein;
extracting, from the control data flow graph and when an arbitrary register in the circuit to be verified is designated as a register to be verified, a data flow graph that has described therein the register to be verified;
extracting, from the data flow graph extracted at the extracting the data flow graph, a path indicating the flow of data concerning the register to be verified;
identifying, based on the data flow graph, the state transition of the path extracted at the extracting the path;
determining whether the state transition identified at the identifying is set in the DIRW matrix;
correlating information concerning the validity set in the DIRW matrix and the path as a path to be verified of the register to be verified, if at the determining, the state transition of the path has been determined to be set in the DIRW matrix; and
outputting the path to be verified and the information concerning the validity correlated at the correlating.

### Claim 2

A computer-readable recording medium storing therein a verification supporting program that causes a computer to execute:
recording in a memory, a DIRW matrix in which, among four states including Declare, Initialize, Read, and Write, a state transition that has a possibility of occurring in a register included in a circuit to be verified and information concerning validity of a path corresponding to the state transition are set;
acquiring implementation information of the circuit to be verified, a verification scenario that is representative of contents of verification for the circuit to be verified, and a register list that indicates attributes of registers included in specifications of the circuit to be verified;
creating, from the implementation information and the register list acquired at the acquiring, a control data flow graph that includes a control flow graph having a flow of control for implementation of the circuit to be verified described therein and further having a data flow graph written therein, the data flow graph having a flow of data in the control flow graph described therein;
extracting, from the control data flow graph created at the creating, a data flow graph that has described therein a register;
extracting, from the data flow graph extracted at the extracting the data flow graph, a path indicating the flow of data concerning the register;
identifying, based on the data flow graph, the state transition of the path extracted at the extracting the path;
determining whether the state transition identified at the identifying is set in the DIRW matrix;
calculating, if at the determining, the state transition of the path has been determined to be set in the DIRW matrix, a value that can be substituted as a parameter in the register connected to the path, the verification scenario acquired at the acquiring and the control data flow graph being used in the calculating; and
creating a verification scenario having a parameter that is obtained by setting the value calculated at the calculating in the verification scenario.

### Claim 3 (depends on 2)

The computer-readable recording medium according to claim 2, wherein
the extracting the data flow graph includes extracting a data flow graph that has described therein an internal register that is inaccessible from outside the circuit to be verified and is among the registers included in the circuit to be verified,
the extracting the path includes extracting a path indicating the flow of data concerning the internal register, and
the calculating includes calculating, if at the determining, the state transition of the path has been determined to be set in the DIRW matrix, a value that can be substituted as a parameter in the internal register connected to the path, the verification scenario acquired at the acquiring and the control data flow graph being used in the calculating.

### Claim 4 (depends on 3)

The computer-readable recording medium according to claim 3, wherein
the creating the control data flow graph includes creating, from the implementation information and the register list, the control data flow graph of the circuit to be verified, if at the acquiring, a verification scenario verifying a limited scope in the circuit, the implementation information, and the register list are acquired, and
the calculating includes calculating the parameter using the verification scenario for which the scope to be verified is limited and the control data flow graph.

### Claim 5 (depends on 3)

The computer-readable recording medium according to claim 3, wherein
the extracting the data flow graph includes extracting, from the control data flow graph created at the creating unit, a data flow graph that has described therein the flow of data concerning an arbitrary register to be verified, the extracting the path includes extracting, from the data flow graph extracted at the extracting the data flow graph, a path indicating the flow of data concerning the arbitrary register to be verified,
the identifying includes identifying, based on the data flow graph, the state transition of the path extracted at the extracting the path,
the determining includes determining whether the state transition identified at the identifying is set in the DIRW matrix, and
the calculating includes calculating a parameter that can be substituted in the arbitrary register to be verified, by using, as a path to be verified of the arbitrary register, the path for which the state transition is determined at the determining to be set in the DIRW matrix, the calculating further being based on the verification scenario acquired at the acquiring and the control data flow graph.

### Claim 6 (depends on 2)

The computer-readable recording medium according to claim 2 and storing therein the verification supporting program that further causes a computer to execute:
extracting, as an implementation-dependent register that is mounted depending on configuration of the implementation, a register that is among registers described in the control data flow graph and not included in the register list acquired at the acquiring, wherein
the extracting the data flow graph includes extracting a data flow graph that has described therein the implementation-dependent register extracted at the extracting the register,
the extracting the path includes extracting a path indicating the flow of data concerning the implementation-dependent register, and
the calculating includes calculating, if at the determining, the state transition of the path has been determined to be set in the DIRW matrix, a value that can be substituted as a parameter in the implementation-dependent register connected to the path, the verification scenario acquired at the acquiring and the control data flow graph being used in the calculating.

### Claim 7 (depends on 6)

The computer-readable recording medium according to claim 6, wherein
the creating the control data flow graph includes creating, from the implementation information and the register list, the control data flow graph of the circuit to be verified, if at the acquiring, a verification scenario verifying a limited scope in the circuit, the implementation information, and the register list are acquired, and
the calculating includes calculating the parameter using the verification scenario for which the scope to be verified is limited and the control data flow graph.

### Claim 8 (depends on 6)

The computer-readable recording medium according to claim 6, wherein
the extracting the data flow graph includes extracting, from the control data flow graph created at the creating unit, a data flow graph that has described therein the flow of data concerning an arbitrary register to be verified,
the extracting the path includes extracting, from the data flow graph extracted at the extracting the data flow graph, a path indicating the flow of data concerning the arbitrary register to be verified,
the identifying includes identifying, based on the data flow graph, the state transition of the path extracted at the extracting the path,
the determining includes determining whether the state transition identified at the identifying is set in the DIRW matrix, and
the calculating includes calculating a parameter that can be substituted in the arbitrary register to be verified, by using, as a path to be verified of the arbitrary register, the path for which the state transition is determined at the determining to be set in the DIRW matrix, the calculating further being based on the verification scenario acquired at the acquiring and the control data flow graph.

### Claim 9 (depends on 6)

The computer-readable recording medium according to claim 6, wherein
the extracting the data flow graph includes extracting a data flow graph that has described therein an internal register that is inaccessible from outside the circuit to be verified and the implementation-dependent register extracted at the extracting the register,
the extracting the path includes extracting a path indicating the flow of data concerning the internal register and the implementation-dependent register, and
the calculating includes calculating, if at the determining, the state transition of the path has been determined to be set in the DIRW matrix, a value that can be substituted as a parameter in the internal register or as a parameter in the implementation-dependent register connected to the path, the verification scenario acquired at the acquiring and the control data flow graph being used in the calculating.

### Claim 10

A verification supporting apparatus comprising:
a recording unit that records a DIRW matrix in which, among four states including Declare, Initialize, Read, and Write, a state transition that has a possibility of occurring in a register included in a circuit to be verified and information concerning validity of a path corresponding to the state transition are set;
an acquiring unit that acquires a control data flow graph that includes a control flow graph having a flow of control for implementation of the circuit to be verified described therein and further having a data flow graph written therein, the data flow graph having a flow of data in the control flow graph described therein;
a DFG extracting unit that extracts, from the control data flow graph and when an arbitrary register in the circuit to be verified is designated as a register to be verified, a data flow graph that has described therein the register to be verified;
a path extracting unit that extracts, from the data flow graph extracted by the DFG extracting unit, a path indicating the flow of data concerning the register to be verified;
an identifying unit that, based on the data flow graph, identifies the state transition of the path extracted by the path extracting unit;
a determining unit that determines whether the state transition identified by the identifying unit is set in the DIRW matrix;
a correlating unit that correlates information concerning the validity set in the DIRW matrix and the path as a path to be verified of the register to be verified, if the determining unit has determined that the state transition of the path is set in the DIRW matrix; and
an output unit that outputs the path to be verified and the information concerning the validity correlated by the correlating unit.

### Claim 11

A verification supporting apparatus comprising:
a recording unit that records a DIRW matrix in which, among four states including Declare, Initialize, Read, and Write, a state transition that has a possibility of occurring in a register included in a circuit to be verified and information concerning validity of a path corresponding to the state transition are set;
an acquiring unit that acquires implementation information of the circuit to be verified, a verification scenario that is representative of contents of verification for the circuit to be verified, and a register list that indicates attributes of registers included in specifications of the circuit to be verified;
a CDFG creating unit that, from the implementation information and the register list acquired by the acquiring unit, creates a control data flow graph that includes a control flow graph having a flow of control for implementation of the circuit to be verified described therein and further having a data flow graph written therein, the data flow graph having a flow of data in the control flow graph described therein;
a DFG extracting unit that, from the control data flow graph created by the CDFG creating unit, extracts a data flow graph that has described therein a register;
a path extracting unit that, from the data flow graph extracted by the DFG extracting unit, extracts a path indicating the flow of data concerning the register;
an identifying unit that, based on the data flow graph, identifies the state transition of the path extracted by the path extracting unit;
a determining unit that determines whether the state transition identified by the identifying unit is set in the DIRW matrix;
a calculating unit that, if the determining unit has determined that the state transition of the path is set in the DIRW matrix, calculates using the verification scenario acquired by the acquiring unit and the control data flow graph, a value that can be substituted as a parameter in the register connected to the path; and
a scenario creating unit that creates a verification scenario having a parameter that is obtained by setting the value calculated at the calculating in the verification scenario.

### Claim 12 (depends on 11)

The verification supporting apparatus according to claim 11, wherein
the DFG extracting unit extracts a data flow graph that has described therein an internal register that is inaccessible from outside the circuit to be verified and is among the registers included in the circuit to be verified
the path extracting unit extracts a path indicating the flow of data concerning the internal register, and
the calculating unit, if the determining unit has determined that the state transition of the path is set in the DIRW matrix, calculates using the verification scenario acquired by the acquiring unit and the control data flow graph, a value that can be substituted as a parameter in the internal register connected to the path.

### Claim 13 (depends on 11)

The verification supporting apparatus according to claim 11 further comprising:
a register extracting unit that extracts, as an implementation-dependent register that is mounted depending on configuration of the implementation, a register that is among registers described in the control data flow graph and not included in the register list acquired by the acquiring unit, wherein
the DFG extracting unit extracts a data flow graph that has described therein the implementation-dependent register extracted by the register extracting unit,
the path extracting unit extracts a path indicating the flow of data concerning the implementation-dependent register, and
the calculating unit, if the determining unit has determined that the state transition of the path is set in the DIRW matrix, calculates using the verification scenario acquired by the acquiring unit and the control data flow graph, a value that can be substituted as a parameter in the implementation-dependent register connected to the path.

### Claim 14 (depends on 13)

The verification supporting apparatus according to claim 13, wherein
the DFG extracting unit extracts a data flow graph that has described therein an internal register that is inaccessible from outside the circuit to be verified and the implementation-dependent register extracted by the register extracting unit,
the path extracting unit extracts a path indicating the flow of data concerning the internal register and the implementation-dependent register, and
the calculating unit, if the determining unit has determined that the state transition of the path is set in the DIRW matrix, calculates using the verification scenario acquired by the acquiring unit and the control data flow graph, a value that can be substituted as a parameter in the internal register or as a parameter in the implementation-dependent register connected to the path.
