期刊文献+

VHDL-C++翻译器设计与实现 被引量:2

Design and Implementation of a VHDL-C++ Translator
下载PDF
导出
摘要 VHDL(VHSIC(very high speed integrated circuit) hardware description language)是描述数字系统的硬件描述语言,C++是编写顺序语句程序的高级编程语言.VHDL编译型模拟器需要采用具有顺序特征的C++语句表征具有并发特征的VHDL电路设计.提出了一种面向对象的VHDL-C++翻译方法,充分利用了这两种语言的面向对象的特征,采用C++类来描述VHDL的实体、结构体及进程等元素,并通过一个C++模拟调度核心完成了用顺序语句描述并发电路的工作.通过此方法可将VHDL源描述转化为功能等价的C++代码,并在模拟调度核心的调度下,使用顺序语句模拟出数字系统并发功能,完成编译型模拟器的构造,实现VHDL的高速模拟.用这种翻译方法翻译出来的C++代码具有结构清晰、可扩充性强的特点,与模拟核心形成的编译型模拟器的模拟速度相比,解释型模拟器速度有较大提高.该方法已在模拟系统中得以成功应用.最后给出了部分试验结果,进一步说明了算法的效率和优点. VHDL (VHSIC (very high speed integrated circuit) hardware description language) is a language for the description of digital hardware system, and C++ is a programming language for coding sequential statements. VHDL compiled simulators use sequential C++ language to model circuits in VHDL with concurrent characterization. An object-oriented method of translating concurrent VHDL codes into sequential C++ codes is presented in this paper. This method takes the object-oriented characteristic of the two languages into consideration and makes the translation very smooth. Using class of C++ to model entity, architecture and process of VHDL, and combining with a simulation kernel, it accomplishes the job of modeling concurrent actions using sequential statements. By this method, VHDL codes can be translated to C++ codes with the same function, and the C++ codes then can be compiled and linked with simulation kernel code to an executable file, which is the compiled simulator. The execution of this file is the simulation of the design of VHDL. This method is well-structured and easily-extended, and the simulator got by this method is more efficient than the traditional one. This method has been successfully applied in the simulator. The performance and efficiency of the method are verified at the end of of this paper.
出处 《软件学报》 EI CSCD 北大核心 2002年第11期2201-2207,共7页 Journal of Software
基金 国家九五国防预研基金资助项目(8.1.1.13)~~
关键词 翻译器 设计 VHDL语言 C++语言 面向对象 VHDL (VHSIC (very high speed integrated circuit) hardware description language) translator compiled-simulator object-oriented technique
  • 相关文献

参考文献7

  • 1Birger, A. The state of simulation in russia. In: Proceedings of the 30th ACM/IEEE Design Automation Conference. New York: ACM Press, 1993. 712~715.
  • 2Ganguly, N. HSIM1 and HSIM2: object oriented algorithms for VHDL simulation. In: Proceedings of the 7th International Conference on VLSI Design. IEEE Computer Society Press, 1994. 175~178.
  • 3Palnitrak, S. Cycle simulation techniques. In: Proceedings of the IEEE International Verilog HDL Conference. IEEE Computer Society Press, 1995. 2~8.
  • 4Maurer, P.M. Two new techniques for unit-delay compiled simulation. IEEE Transactions on Computer-Aided Design, 1992, 11(9):1120~1130.
  • 5Lewis, D.M. A hierarchical compiled code even-driven logic simulator. IEEE Transactions on Computer-Aided Design, 1991, 10(6):726~737.
  • 6边计年,陈菁.V2C++——一个用C++实现的VHDL翻译型模拟器[J].计算机辅助设计与图形学学报,1998,10(2):167-172. 被引量:4
  • 7Darmont, J. DESP-C++: a discrete-event simulation package for C++. Software-Practice and Experience, 2000,30(1):37~60.

二级参考文献3

  • 1边计年,Proc of Asia and South Pacific Design Automation Conference,1997年,383页
  • 2边计年,Proc of International Conference on Computer Aided Design and Computer Graphics,1995年,1235页
  • 3周祖成(译),电子硬件描述语言用VHDL,1994年,10页

共引文献3

同被引文献10

引证文献2

二级引证文献5

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部