Program code generation apparatus
First Claim
Patent Images
1. A program code generation apparatus comprising:
- processing circuitry to;
acquire a block diagram that defines by connection among a plurality of blocks, a data processing procedure to be reflected in a program code, and in which a processing procedure element being an element of the data processing procedure is allocated to each of the blocks;
set any one of the blocks as a starting block;
extract a block on which the starting block depends as a dependence destination block by tracing the connection among the blocks in the block diagram from the starting block;
repeat an operation to further extract a block on which the extracted dependence destination block depends as a dependence destination block, thereby extracting dependence destination blocks on which the starting block depends directly and indirectly; and
inspect whether there is an inconsistency in any of a data type, a maximum value, and a minimum value between the processing procedure element allocated to the starting block and the processing procedure elements allocated to the extracted dependence destination blocks.
1 Assignment
0 Petitions
Accused Products
Abstract
A block-diagram acquisition unit acquires a block diagram that defines by connection among a plurality of blocks, a data processing procedure to be reflected in a program code. An inconsistency inspection unit inspects whether there is an inconsistency in the data processing procedure defined in the block diagram by tracing the connection among blocks in the block diagram.
-
Citations
9 Claims
-
1. A program code generation apparatus comprising:
-
processing circuitry to; acquire a block diagram that defines by connection among a plurality of blocks, a data processing procedure to be reflected in a program code, and in which a processing procedure element being an element of the data processing procedure is allocated to each of the blocks; set any one of the blocks as a starting block; extract a block on which the starting block depends as a dependence destination block by tracing the connection among the blocks in the block diagram from the starting block; repeat an operation to further extract a block on which the extracted dependence destination block depends as a dependence destination block, thereby extracting dependence destination blocks on which the starting block depends directly and indirectly; and inspect whether there is an inconsistency in any of a data type, a maximum value, and a minimum value between the processing procedure element allocated to the starting block and the processing procedure elements allocated to the extracted dependence destination blocks. - View Dependent Claims (2, 3)
-
-
4. A program code generation apparatus comprising:
-
processing circuitry to; acquire a block diagram that defines by connection among a plurality of blocks, a data processing procedure to be reflected in a program code, and in which a processing procedure element being an element of the data processing procedure is allocated to each of the blocks; set any one of the blocks as a starting block; extract a block on which the starting block depends with regard to data handled by the processing procedure element allocated to the starting block as a dependence destination block by tracing the connection among the blocks in the block diagram from the starting block; repeat an operation to further extract a block on which the extracted dependence destination block depends with regard to data handled by the processing procedure element allocated to the extracted dependence destination block as a dependence destination block, thereby extracting dependence destination blocks on which the starting block depends directly and indirectly; and inspect whether there is an inconsistency between a processing procedure element allocated to the starting block and processing procedure elements allocated to the extracted dependence destination blocks. - View Dependent Claims (5, 6)
-
-
7. A program code generation apparatus comprising:
-
processing circuitry to; acquire a block diagram that defines by connection among a plurality of blocks, a data processing procedure to be reflected in a program code, and in which a processing procedure element being an element of the data processing procedure is allocated to each of the blocks; set any one of the blocks as a starting block; extract a block on which the starting block depends with regard to control at the processing procedure element allocated to the starting block as a dependence destination block by tracing the connection among the blocks in the block diagram from the starting block; repeat an operation to further extract a block on which the extracted dependence destination block depends with regard to control at the processing procedure element allocated to the extracted dependence destination block as a dependence destination block, thereby extracting dependence destination blocks on which the starting block depends directly and indirectly; and inspect whether there is an inconsistency between a processing procedure element allocated to the starting block and processing procedure elements allocated to the extracted dependence destination blocks. - View Dependent Claims (8, 9)
-
Specification