发明授权
- 专利标题: Method and system for parameterization of imperative-language functions intended as hardware generators
- 专利标题(中): 用于硬件发生器的命令式语言功能的参数化方法和系统
-
申请号: US10850176申请日: 2004-05-20
-
公开(公告)号: US07620942B1公开(公告)日: 2009-11-17
- 发明人: Haibing Ma , Roger B. Milne
- 申请人: Haibing Ma , Roger B. Milne
- 申请人地址: US CA San Jose
- 专利权人: Xilinx, Inc.
- 当前专利权人: Xilinx, Inc.
- 当前专利权人地址: US CA San Jose
- 代理商 Pablo Meles
- 主分类号: G06F9/45
- IPC分类号: G06F9/45
摘要:
A method (100) of translating an imperative language function into a parameterized hardware component can include the steps of using (102) formal imperative function arguments to represent at least one among a component input port and a component parameter and distinguishing (104) between formal imperative function arguments intended as component parameters from formal imperative function arguments intended as component input ports. The method can generate (106) hardware description by providing a framework where imperative language functions can be translated into hardware components by being instantiated, combined and simulated. Arbitrary code can be associated (108) to a function-importing block as parameterization code and enabling an assignment of arbitrary code to actual imperative function arguments. The arbitrary code can be executed (110) in an interpreter that analyzes assigned variables by name and compares variable names with the formal argument identifiers in an imported function.
信息查询