Compiler apparatus for optimizing high-level language programs using directives
    1.
    发明授权
    Compiler apparatus for optimizing high-level language programs using directives 有权
    用于使用指令优化高级语言程序的编译器设备

    公开(公告)号:US07571432B2

    公开(公告)日:2009-08-04

    申请号:US10944831

    申请日:2004-09-21

    IPC分类号: G06F9/45

    CPC分类号: G06F8/4442

    摘要: A compiler 58, which is a compiler that realizes program development in a fewer man hours, translates a source program 72 written in a high-level language into a machine language program. This compiler 58 is comprised of: a directive obtainment unit that obtains a directive that a machine language program to be generated should be optimized; a parser unit 76 that parses the source program 72; an intermediate code conversion unit 78 that converts the source program 72 into intermediate codes based on a result of the parsing performed by the parser unit 76; an optimization unit 68 that optimizes the intermediate codes according to the directive; and a code generation unit 90 that converts the intermediate codes into the machine language program. The above directive is a directive to optimize the machine language program targeted at a processor that uses a cache memory.

    摘要翻译: 编译器58是以较少的工时实现程序开发的编译器,将以高级语言编写的源程序72翻译成机器语言程序。 该编译器58包括:指令获取单元,其获得应当优化要生成的机器语言程序的指令; 解析源程序72的解析器单元76; 中间代码转换单元78,其基于由解析器单元76执行的解析的结果将源程序72转换为中间代码; 优化单元68,根据该指令优化中间代码; 以及将中间代码转换为机器语言程序的代码生成单元90。 上述指令是优化针对使用高速缓存的处理器的机器语言程序的指令。

    Compiler apparatus
    2.
    发明申请
    Compiler apparatus 有权
    编译器

    公开(公告)号:US20050086653A1

    公开(公告)日:2005-04-21

    申请号:US10944831

    申请日:2004-09-21

    IPC分类号: G06F9/45

    CPC分类号: G06F8/4442

    摘要: A compiler 58, which is a compiler that realizes program development in a fewer man hours, translates a source program 72 written in a high-level language into a machine language program. This compiler 58 is comprised of: a directive obtainment unit that obtains a directive that a machine language program to be generated should be optimized; a parser unit 76 that parses the source program 72; an intermediate code conversion unit 78 that converts the source program 72 into intermediate codes based on a result of the parsing performed by the parser unit 76; an optimization unit 68 that optimizes the intermediate codes according to the directive; and a code generation unit 90 that converts the intermediate codes into the machine language program. The above directive is a directive to optimize the machine language program targeted at a processor that uses a cache memory.

    摘要翻译: 编译器58是以较少的工时实现程序开发的编译器,将以高级语言编写的源程序72翻译成机器语言程序。 该编译器58包括:指令获取单元,其获得应当优化要生成的机器语言程序的指令; 解析源程序72的解析器单元76; 中间代码转换单元78,其基于由解析器单元76执行的解析的结果将源程序72转换为中间代码; 优化单元68,根据该指令优化中间代码; 以及将中间代码转换为机器语言程序的代码生成单元90。 上述指令是优化针对使用高速缓存的处理器的机器语言程序的指令。

    Compiler
    3.
    发明申请
    Compiler 有权
    编译器

    公开(公告)号:US20050216869A1

    公开(公告)日:2005-09-29

    申请号:US11087752

    申请日:2005-03-24

    IPC分类号: G06F17/50

    CPC分类号: G06F8/423 G06F17/505

    摘要: A compiler apparatus enabling description of a particular hardware module in the existing programming language, although the description has not been possible in hardware designing to input programming language. In the header file 24, a particular hardware indescribable in programming language is defined. And the compiler apparatus includes a parser unit 30 analyzing syntax of source program 22, an intermediate code converting unit 32 converting the syntactically analyzed source program 22 to an intermediate code and code generating unit 36 converting the intermediate code to the RTL description. The intermediate code converting unit 32 includes a detecting unit 40 detecting a particular hardware defined in the header file 24 out of the source program 22 and a replacing unit 42 replacing the detected particular hardware in the detecting unit 40 with the intermediate code corresponding to a particular hardware.

    摘要翻译: 尽管在硬件设计中输入编程语言的描述是不可能的,但是使用现有编程语言来描述特定硬件模块的编译器装置。 在头文件24中,定义了难以形容的编程语言中的特定硬件。 并且编译装置包括分析源程序22的语法的解析器单元30,将语法分析的源程序22转换成将中间代码转换为RTL描述的中间代码和代码生成单元36的中间代码转换单元32。 中间代码转换单元32包括检测单元40,其检测来自源程序22中的头文件24中定义的特定硬件;以及替换单元42,用检测单元40中的检测到的特定硬件替换与特定的对应的中间代码 硬件。

    Compiler
    4.
    发明授权
    Compiler 有权
    编译器

    公开(公告)号:US07350165B2

    公开(公告)日:2008-03-25

    申请号:US11087752

    申请日:2005-03-24

    IPC分类号: G06F17/50

    CPC分类号: G06F8/423 G06F17/505

    摘要: A compiler apparatus enables description of a particular hardware module in the existing programming language, although the description has not been possible in hardware designing to input programming language. In the header file 24, a particular hardware indescribable in programming language is defined. And the compiler apparatus includes a parser unit 30 analyzing syntax of source program 22, an intermediate code converting unit 32 converting the syntactically analyzed source program 22 to an intermediate code and code generating unit 36 converting the intermediate code to the RTL description. The intermediate code converting unit 32 includes a detecting unit 40 detecting a particular hardware defined in the header file 24 out of the source program 22 and a replacing unit 42 replacing the detected particular hardware in the detecting unit 40 with the intermediate code corresponding to a particular hardware.

    摘要翻译: 编译装置能够描述现有编程语言中的特定硬件模块,尽管在硬件设计中输入编程语言的描述是不可能的。 在头文件24中,定义了难以形容的编程语言中的特定硬件。 并且编译装置包括分析源程序22的语法的解析器单元30,将语法分析的源程序22转换成将中间代码转换为RTL描述的中间代码和代码生成单元36的中间代码转换单元32。 中间代码转换单元32包括检测单元40,其检测来自源程序22中的头文件24中定义的特定硬件;以及替换单元42,用检测单元40中的检测到的特定硬件替换与特定的对应的中间代码 硬件。

    Circuit information generating apparatus and circuit information generating method
    5.
    发明申请
    Circuit information generating apparatus and circuit information generating method 审中-公开
    电路信息生成装置及电路信息生成方法

    公开(公告)号:US20060150135A1

    公开(公告)日:2006-07-06

    申请号:US11290806

    申请日:2005-12-01

    IPC分类号: G06F17/50

    CPC分类号: G06F17/505

    摘要: Provided is an apparatus for generating circuit design information automatically clock gated, for the purpose of alleviating the burden of a designer in performing clock gating to a circuit. The apparatus having an obtaining unit operable to obtain functional structure information and execution sequence information from outside, the functional structure information defining a structure of a function and the execution sequence information defining an execution sequence of the function; a structure information generating unit operable to generate, according to the execution sequence information and the functional structure information, circuit structure information in register transfer level which defines a plurality of circuits that execute the function according to the execution sequence; a gated clock information generating unit operable to generate, according to the execution sequence information and the functional structure information, gated clock information in register transfer level which defines a clock control circuit that supplies, to each of at least one of the circuits, a gated clock that is set to halt clock input when the clock input is unnecessary; and an outputting unit operable to output the gated clock information together with the circuit structure information.

    摘要翻译: 提供了一种用于自动生成电路设计信息时钟门控的装置,用于减轻设计者对电路执行时钟门控的负担。 该装置具有可从外部获取功能结构信息和执行序列信息的获取单元,定义功能结构的功能结构信息和定义功能的执行顺序的执行顺序信息; 结构信息生成单元,用于根据执行顺序信息和功能结构信息生成根据执行顺序定义执行功能的多个电路的寄存器传送等级的电路结构信息; 门控时钟信息生成单元,其可操作以根据执行顺序信息和功能结构信息生成寄存器传送级别中的门控时钟信息,其定义时钟控制电路,该时钟控制电路向至少一个电路中的每一个提供门控 当不需要时钟输入时,设置为暂停时钟输入的时钟; 以及输出单元,用于将门控时钟信息与电路结构信息一起输出。