摘要 |
PROBLEM TO BE SOLVED: To restore a block diagram from a program (source code), and to associate each instruction in the source code and each section of the block diagram. SOLUTION: A program generating device includes: a block diagram division means for dividing a block diagram into plurality by branch points, and for connecting the branch block elements to one ends of data lines connected to the branch points in each division piece to generate a plurality of block diagram pieces; a program instruction generation means for generating a program instruction to achieve the processing of each block diagram piece; a performance sequence determination means for determining the performance sequence of each program instruction; a structure information generation means for generating the structure information of the block diagram piece for each block diagram piece; and a program generation means for arranging each program instruction according to the sequence of performance, and for describing the structure information of each block diagram piece in a comment line corresponding to each program instruction to generate a program. COPYRIGHT: (C)2009,JPO&INPIT
|