Patent ID: 7350165

Claim:
A compiling method for converting a source program and a header file included in the source program described in a programming language to a Register Transfer Level (RTL) description described in a hardware description language, wherein a particular hardware is defined in the header file, said compiling method comprising: a parser step of analyzing a syntax of the source program; an intermediate code converting step of converting the syntactically analyzed source program to an intermediate code; and an RTL description converting step of converting the intermediate code to an RTL description; wherein said intermediate code converting step includes a detecting step of detecting a description of the particular hardware defined in the header file out of the source program, and a replacing step of replacing the particular hardware description detected in said detecting step with an intermediate code corresponding to the particular hardware; wherein said compiling method further comprises a judging step of judging whether or not the intermediate code of the particular hardware obtained in said replacing step should be converted to the particular hardware language in an RTL description based on a predetermined instruction information; wherein, in said RTL description converting step, the intermediate code is converted to the RTL description based on the judgment made in the judging step; wherein the predetermined instruction information includes indication of performance speed-focused instruction for the hardware corresponding to the RTL description; wherein, in said judging step, it is judged that the RTL description corresponding to the particular hardware is generated, when the predetermined instruction information indicates the performance speed-focused instruction; and wherein in, said RTL description converting step, the RTL description is generated based on the judgment made in the judging step.