首页> 外国专利> Method and apparatus for gate-level simulation of synthesized register transfer level designs with source-level debugging

Method and apparatus for gate-level simulation of synthesized register transfer level designs with source-level debugging

机译:利用源级调试对综合寄存器传输级设计进行门级仿真的方法和装置

摘要

Methods of instrumenting synthesizable source code to enable debugging support akin to high-level language programming environments for gate-level simulation are provided. One method of facilitating gate level simulation includes generating cross-reference instrumentation data including instrumentation logic indicative of an execution status of at least one synthesizable register transfer level (RTL) source code statement. A gate-level netlist is synthesized from the source code. Evaluation of the instrumentation logic during simulation of the gate-level netlist facilitates simulation by indicating the execution status of a corresponding source code statement. One method results in a modified gatelevel netlist to generate instrumentation signals corresponding to synthesizable statements within the source code. This may be accomplished by modifying the source code or by generating the modified gate-level netlist as if the source code was modified during synthesis. Alternatively, cross-reference instrumentation data including instrumentation logic can be generated without modifying the gate-level design. The instrumentation logic indicates the execution status of a corresponding cross-referenced synthesizable statement. An execution count of a cross-referenced synthesizable statement can be incremented when the corresponding instrumentation signals indicates the statement is active to determine source code coverage. Source code statements can be highlighted when active for visually tracing execution paths. For breakpoint simulation, a breakpoint can be set at a selected source code statement. The corresponding instrumentation logic from the cross-reference instrumentation data is implemented as a simulation breakpoint. The simulation is halted at a simulation cycle where the values of the instrumentation signals indicate that the source code statement is active.
机译:提供了用于检测可综合源代码以实现调试支持的方法,类似于用于门级仿真的高级语言编程环境。促进门级仿真的一种方法包括生成交叉引用检测数据,该数据包括指示至少一个可合成寄存器传送级别(RTL)源代码语句的执行状态的检测逻辑。门级网表由源代码合成。在门级网表仿真期间对仪器逻辑进行评估,可以通过指示相应源代码语句的执行状态来简化仿真。一种方法导致修改后的门级网表以生成与源代码中可综合语句相对应的检测信号。这可以通过修改源代码或通过生成修改后的门级网表来实现,就好像在合成期间修改了源代码一样。或者,可以在不修改门级设计的情况下生成包括仪器逻辑在内的交叉引用仪器数据。检测逻辑指示相应的交叉引用可综合语句的执行状态。当相应的检测信号指示该语句处于活动状态以确定源代码覆盖率时,可以增加交叉引用可综合语句的执行计数。源代码语句在为视觉跟踪执行路径而处于活动状态时可以突出显示。对于断点仿真,可以在选定的源代码语句中设置断点。来自交叉引用检测数据的对应检测逻辑被实现为模拟断点。在其中仪器信号的值指示源代码语句处于活动状态的仿真周期停止仿真。

著录项

  • 公开/公告号US6240376B1

    专利类型

  • 公开/公告日2001-05-29

    原文格式PDF

  • 申请/专利权人 MENTOR GRAPHICS CORPORATION;

    申请/专利号US19980127584

  • 发明设计人 ALAIN RAYNAUD;LUC M. BURGUN;

    申请日1998-07-31

  • 分类号G06F175/00;

  • 国家 US

  • 入库时间 2022-08-22 01:04:11

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号