期刊文献+

VHDL编译型事件驱动模拟算法 被引量:9

Algorithm for Compiled Event-Driven VHDL Simulation
在线阅读 下载PDF
导出
摘要 VHDL模拟器在 VL SI高层设计验证中起着重要的作用 ,设计正确性的快速有效检查对加快整个设计流程至关重要 ,模拟算法从根本上决定了模拟验证的效率 ,是构造高效模拟器的关键 .文中讨论了 VHDL的各种不同模拟算法 ,提出了将编译型实现算法与事件驱动调度算法结合的模拟算法 ,并提出了将 VHDL 设计源描述转化为等价 C++代码再编译为机器目标代码的模拟算法实现方法 .此算法结合了事件驱动调度算法的模拟元件数少和编译型实现算法执行速度高的优点 ,并巧妙利用了面向对象的多态性特点 ,具有速度快、直观和易于扩充的优点 .文章最后给出了试验结果 。 VHDL Simulator plays a key role in the verification of VLSI high\|level design, and the fast and efficient check of the design validity speeds up the design flow significantly. The simulation algorithm determinate the efficiency of a simulator, and it is the key factor in constructing an efficient simulator. This paper discusses the classification of VHDL simulation algorithms first. The simulation algorithm consists of two parts: schedule algorithm and implementation algorithm. Schedule algorithm is either oblivious or event\|driven. In oblivious algorithm, each component is evaluated at each time point, producing a new design state for the next time point. In event\|driven algorithm, changes in design state are recorded, only those components that might cause a change in design state during a given time point are simulated. Implementation algorithm is either interpretive or compiled. In interpretive algorithm, a data structure that represents the design is constructed, and a central scheduler iterates over simulation time, calling procedures that evaluate the design component. Compiled algorithm produces a straight\|line program with all data addressed directly by the code. Compiled algorithm works more efficiently because of reducing the overhead of traversing the design structures. Most published implementations of compiled simulation used the oblivious schedule algorithm. This paper presents an algorithm for compiled event\|driven VHDL simulation. To implement this algorithm, a simulation schedule kernel is programmed and compiled into a C++ library first, which can be used to manage and schedule the events occuring during the simulation. Then we translate VHDL sources of design into C++ codes, which finally can be compiled into an executable simulation file. To make the precompiled simulation kernel and the codes translated from VHDL source, we smartly apply the encapsulation, inheritance and polymorphism characteristic of Object\|Oriented technique into the algorithm, which make this algorithm more graceful and efficient. Also, we put forward a method of translating VHDL codes into C++ codes that is also Object\|Oriented, and it works well with the VHDL simulation algorithm. The algorithm presented in this paper combines the merit of compiled implementation algorithm and event\|driven algorithm, and has characteristics of high performance and easy expansion. This algorithm has been used in the author's compiled VHDL simulator. In the last part of this paper, we verify the performance and efficiency of the algorithm by some experiment data derived from author's prototype simulator.
出处 《计算机学报》 EI CSCD 北大核心 2002年第1期30-35,共6页 Chinese Journal of Computers
关键词 VHDL 事件驱动 编译型 模拟算法 超大规模集成电路 VHDL, event\|driven, compiled, simulation algorithm, simulator
  • 相关文献

同被引文献28

  • 1严迎建,刘明业.基于ISS和硬件模拟器的协同模拟关键技术研究[J].计算机辅助设计与图形学学报,2004,16(4):397-401. 被引量:3
  • 2严迎建,王世好,刘明业.嵌入式系统软硬件协同模拟验证环境设计与实现[J].计算机工程,2004,30(9):45-47. 被引量:4
  • 3雒伟群,何丕廉,任大同,何光明.协同虚拟实验室关键技术的研究[J].计算机仿真,2004,21(12):252-254. 被引量:10
  • 4张俊涛,陈晓莉.锁相环的VHDL-AMS建模与仿真分析[J].微电子学与计算机,2006,23(2):169-171. 被引量:5
  • 5IEEE Computer Society. IEEE Std 1076- 1987: IEEE standard VHDL language reference manual [ S ]. New York: The Institute of Electrical And Electronics Engineers, 1994.
  • 6Bcnini L, Bertozzi D. System Co-simulation and Emulation of Multiprocessor SOC Design[J].Computer,2003,36(1):53-59
  • 7Gerin P, Yoo S, Nicolesu G,et al. Scalable and Flexible Cosimulation of SoC Designs with Heterogeneous Multi-processor Target Architectures [A]. In: Proceedings of the Asia and South Pacific Design Automation Con ference,2001:63-68
  • 8StefanSjohdm 边计年 薛宏熙译.LennnartLindh著,用VHDL设计电子线路[M].北京:清华大学出版社,2000.10-13,21-25.
  • 9Giovanni De Micheli,Mariagiovanna Sami.Hardware/Software co-design[M].Boston:Kluwer Academic Publishers,1996.
  • 10Brian Bailey,Russ Klein,Serge Leef.Hardware/Software cosimulation strategies for the future[DB/OL].2003.http://www.mengor.com.

引证文献9

二级引证文献14

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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