高级检索

    VHDL事件驱动模拟核心库

    A LIBRARY OF VHDL EVENT-DRIVEN SIMULATION KERNEL

    • 摘要: 论述了一个为构造编译型 VHDL 模拟系统而设计的模拟核心库 .它采用事件驱动的模拟算法进行元件调度 ,使其适用于同步电路和异步电路的模拟 ;采用多值延迟模型 ,可同时完成功能验证和时序验证工作 ;采用多数据类型表示形式 ,适用于从系统行为级、寄存器传输级到逻辑门级的设计模拟验证工作 .模拟核心库使用标准C++语言设计 ,采用面向对象编程思想构造核心库的结构 ,并使用 C++虚接口为被模拟系统提供简单的建模接口 .通过实验证明此模拟核心库具有简单、正确、高效、可扩充和平台通用等优点 ,适合于编译型模拟系统的构造

       

      Abstract: In this paper, a library of VHDL event driven simulation kernel is presented, which is designed to be used in constructing compiled VHDL simulators. The library adopts event driven simulation algorithm to schedule the component, which makes the library apply to both synchronous and asynchronous circuits. Using a multi delay model, it can do function and timing verification at one time. Using multiple data types representation, the library works on multi level design from system behavior level to register translate level and logic gate level. The library implements the event driven simulation algorithm, and accomplishes the task of managing and scheduling discrete events. It provides some interfaces for user designs, and these interfaces make possible and easy the communication between the library and the user designs. By using this simulation kernel library, a specific simulator of user design can be easily and quickly constructed, which leads to a fast verification of VLSI VHDL design. The library was designed using the standard C++ language, and was constructed with C++ classes. It takes use of the polymorphism character of OOP (object oriented programming) in designing the interface providing for user designs. The virtual function in C++ can implement this by defining virtual interfaces, and make all things work straightforward. The simulation kernel library has been tested by combining it with several VHDL designs’ C++ modules, which are achieved by our automatic translation tool BV2C, and the library has proved to have qualities of simplicity, validity, efficiency, extensibility and portability.

       

    /

    返回文章
    返回