首页> 外国专利> System and method for translating high-level programming language code into hardware description language code

System and method for translating high-level programming language code into hardware description language code

机译:用于将高级编程语言代码转换为硬件描述语言代码的系统和方法

摘要

The present invention is directed to a method and system for translating a high-level language (HLL) code such as C, C++, Fortran, Java or the like into a HDL code such as Verilog or VHDL which requires no modification in the original HLL source code, while supporting a cross call between software and hardware, and even recursive calls in hardware. The system includes: a HLL-to-HLL source translator which reads user programming directive from a translation-targeted high-level language code marked with the user directive, and separates the translation-targeted high-level language code into a hardware code part and a software code part; a main compiler which compiles the software code part; a HLL-to-HDL translator which includes the front-end and middle-end of the main compiler and a HDL backend; a main core which executes the compiled software code part; and a dedicated hardware which executes the HDL code.
机译:本发明针对一种用于将高级语言(HLL)代码(例如,C,C ++,Fortran,Java等)转换为HDL代码(例如,Verilog或VHDL)的方法和系统,该方法和系统不需要修改原始HLL源代码,同时支持软件和硬件之间的交叉调用,甚至支持硬件中的递归调用。该系统包括:HLL-to-HLL源转换器,该转换器从标有用户指令的翻译目标高级语言代码中读取用户编程指令,并将目标翻译目标的高级语言代码分为硬件代码部分和软件代码部分;主编译器,用于编译软件代码部分; HLL到HDL转换器,包括主编译器的前端和中间端以及HDL后端;执行编译的软件代码部分的主核;以及执行HDL代码的专用硬件。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号