摘要 |
PROBLEM TO BE SOLVED: To achieve improvement in processing speed of a program and an object code size. SOLUTION: A PC determines, in conversion of a calculation model formed by technological calculation software to a source code of C language, whether replacement of block set to map is needed or not for each block set of 1-input/1-output, 2-input/1-output, and 3-input/1-output (S140-S200). Concretely, the object code size in compilation of the block set concerned without mapping is compared with the object code size in compilation thereof with mapping to determine whether the size is reduced by mapping or not. When the size is reduced (Yes in S180), the block set is replaced by a block of map. Based on a mapped calculation model, the source code of C language is generated (S220). COPYRIGHT: (C)2008,JPO&INPIT
|