# US 2010/0251226 A1 · Compile method, computer program product, and semiconductor-integrated-circuit manufacturing method

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

- Number: US 2010/0251226 A1
- Document ID: US20100251226A1
- Status: Published application
- Kind: A1
- Application number: 12/685,056
- Filed: 2010-01-11
- Published: 2010-09-30
- Earliest claimed: 2009-03-27
- Assignees: Kabushiki Kaisha Toshiba
- Inventors: Makoto Sato; Katsuya Uchida; Hiroyuki Tsukahara
- Web page: https://patentgrep.com/patent/US20100251226A1

## CPC

- G06F 8/443: {Optimisation}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A first execution program for outputting coverage data during execution is output by compiling a first source code. Coverage data is output by executing the output first execution program. A code block not executed at all included in the first source code is commented out or deleted according to the output coverage data to generate a second source code. A second execution program is output by compiling the generated second source code.

## Claims

### Claim 1

A compile method comprising:
outputting a first execution program for outputting coverage data during execution by compiling a first source code;
outputting the coverage data by executing the output first execution program;
generating a second source code, according to the output coverage data, by commenting out or deleting a code block not executed at all included in the first source code; and
outputting a second execution program by compiling the generated second source code.

### Claim 2 (depends on 1)

The compile method according to claim 1, wherein the generating a second source code includes:
outputting dead code information indicating the code block not executed at all included in the first source code; and
commenting out or deleting, according to the output dead code information, the code block not executed at all.

### Claim 3 (depends on 1)

The compile method according to claim 1, further comprising receiving a user command including an option for designating whether the code block not executed at all should be commented out or deleted, wherein
the generating a second source code includes determining, according to the option included in the user command, whether the code block not executed at all included in the first source code should be commented out or deleted.

### Claim 4 (depends on 1)

The compile method according to claim 1, wherein
the first source code includes an operation designating description for instructing, for each function, whether the code block not executed at all should be commented out nor deleted or should be neither commented out nor deleted, and
the generating a second source code includes determining, for each function, according to the operation designating description included in the first source code, whether the code block not executed at all should be commented out or deleted or should be neither commented out nor deleted.

### Claim 5 (depends on 4)

The compile method according to claim 4, wherein the operation designating description is a description including #pragma.

### Claim 6

A computer program product including a plurality of instructions executable by a computer, the instructions causing the computer to execute:
outputting a first execution program for outputting coverage data during execution by compiling a first source code;
outputting the coverage data by executing the output first execution program;
generating a second source code, according to the output coverage data, by commenting out or deleting a code block not executed at all included in the first source code; and
outputting a second execution program by compiling the generated second source code.

### Claim 7 (depends on 6)

The computer program product according to claim 6, wherein the generating a second source code includes:
outputting dead code information indicating the code block not executed at all included in the first source code; and
commenting out or deleting, according to the output dead code information, the code block not executed at all.

### Claim 8 (depends on 6)

The computer program product according to claim 6, further causing the computer to execute comprising receiving a user command including an option for designating whether the code block not executed at all should be commented out or deleted, wherein
the generating a second source code includes determining, according to the option included in the user command, whether the code block not executed at all included in the first source code should be commented out or deleted.

### Claim 9 (depends on 6)

The computer program product according to claim 6, wherein
the first source code includes an operation designating description for instructing, for each function, whether the code block not executed at all should be commented out nor deleted or should be neither commented out nor deleted, and
the generating a second source code includes determining, for each function, according to the operation designating description included in the first source code, whether the code block not executed at all should be commented out or deleted or should be neither commented out nor deleted.

### Claim 10 (depends on 9)

The computer program product according to claim 9, wherein the operation designating description is a description including #pragma.

### Claim 11

A semiconductor-integrated-circuit manufacturing method comprising:
outputting a first execution program for outputting coverage data during execution by compiling a first design model for a semiconductor integrated circuit described in a programming language;
outputting the coverage data by executing the output first execution program;
generating a second design model, according to the output coverage data, by commenting out or deleting a code block not executed at all included in the first design model;
outputting a second execution program by compiling the generated second design model;
verifying the second design model by executing the output second execution program;
creating, according to the verified second design model, an analog circuit design diagram for the semiconductor integrated circuit; and
manufacturing the semiconductor integrated circuit according to the created analog circuit design.

### Claim 12 (depends on 11)

The semiconductor-integrated-circuit manufacturing method according to claim 11, wherein the generating a second design model includes:
outputting dead code information indicating the code block not executed at all included in the first source code; and
commenting out or deleting, according to the output dead code information, the code block not executed at all.

### Claim 13 (depends on 11)

The semiconductor-integrated-circuit manufacturing method according to claim 11, further comprising receiving a user command including an option for designating whether the code block not executed at all should be commented out or deleted, wherein
the generating a second design model includes determining, according to the option included in the user command, whether the code block not executed at all included in the first design model should be commented out or deleted.

### Claim 14 (depends on 11)

The semiconductor-integrated-circuit manufacturing method according to claim 11, wherein
the first design model includes an operation designating description for instructing, for each function, whether the code block not executed at all should be commented out nor deleted or should be neither commented out nor deleted, and
the generating a second design model includes determining, for each function, according to the operation designating description included in the first source code, whether the code block not executed at all should be commented out or deleted or should be neither commented out nor deleted.

### Claim 15 (depends on 14)

The semiconductor-integrated-circuit manufacturing method according to claim 14, wherein the operation designating description is a description including #pragma.

### Claim 16 (depends on 11)

The semiconductor-integrated-circuit manufacturing method according to claim 11, wherein the first and second design models are transaction level modeling (TLM) models.

### Claim 17 (depends on 11)

The semiconductor-integrated-circuit manufacturing method according to claim 11, the first and second design models are bus cycle accurate (BCA) models.

### Claim 18 (depends on 11)

The semiconductor-integrated-circuit manufacturing method according to claim 11, wherein the manufacturing a semiconductor integrated circuit includes:
generating a mask layout diagram according to the created analog circuit design diagram; and
executing a lithograph process according to the generated mask layout diagram.
