• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2007, Vol. 29 ›› Issue (2): 97-99.

• 论文 • 上一篇    下一篇

基于虚拟机的可编程器件仿真系统中编译器技术的研究

欧阳星明 朱尚文 朱金银 刘迎午   

  • 出版日期:2007-02-01 发布日期:2010-06-01

  • Online:2007-02-01 Published:2010-06-01

摘要:

论文针对可编程器件的仿真问题,对基于虚拟机的编译器技术进行了较深入的研究,提出了具体的设计方案。通过采用两遍编译及地址回填技术和构建比较完备且存取效率较高 的符号仓库,有效地实现了源程序到目标程序的等价转换,并为可编程器件仿真系统PDSS设计了一个可编程器件编译器PDC。在PDSS中,PDC与虚拟机相互配合,使可编程器件的仿
 仿真脱离了特定处理器体系结构的限制,而且不依赖于具体操作系统的实现,达到了对编译、运行直至仿真的完全控制。

关键词: 两遍编译 地址回填 符号仓库 等价转换

Abstract:

The paper studies the compiler technology based on virtual machines for the programmable device simulation problem,puts forward a concrete plan of des ign.With the twice-compiling and address-backfill technologies,it builds a perfect and efficient symbol warehouse,which effectively realizes the equival ence exchange from the source code to the destination code.The programmable device compiler(PDC)is designed for programmable device simulation systems s(PDSS).In PDSS,PDS cooperates with the virtual machine to make the programmable device simulation out of the limitation of a specific processor archi  itecture and independent of the realization of a specific operating system.Thus,it can completely control the whole process from compiling,running to si   mulation.

Key words: (twice-compiling,address-backfilling,symbol warehouse,equivalent exchange)