以Java作为可重构系统描述语言,提出了一种方法级的硬件透明编程模型,给出了硬件方法封装方式和软硬件方法动态链接过程。程序设计者调用软件方法进行应用开发,虚拟机根据软硬件划分结果动态加栽并链接相应的硬件方法,从而达到简化编译器和综合工具以及屏蔽底层物理细节的目的。实验结果表明上述编程模型能够支持硬件透明编程,同时系统性能得到了明显的改善。
This paper used Java as a reconfigurable system description language, proposed a method level hardware transparent programming model, gave the scheme to encapsulate hardware method and the way of hardware-software method dynamic-link. Program designers developed applications by calling software methods, the virtual machine loaded and linked the hardware method according to hardware-software partitioning results, so as to simplify the compiler and synthesis tools, as well as shield the underlying physical details. The results show that the programming model can support hardware transparent programming and the system gets higher performance.