首页> 外国专利> Apparatus and method for generating assertion based on user program code, and apparatus and method for verifying processor using assertion

Apparatus and method for generating assertion based on user program code, and apparatus and method for verifying processor using assertion

机译:用于基于用户程序代码生成断言的设备和方法,以及用于使用断言来验证处理器的设备和方法

摘要

Exemplary embodiments disclose a method for generating an assertion based on a user program code. The method may include receiving a user program comprising at least one assertion directive, a compiled result of the user program, and architecture information of a processor, and generating, based on the compiled result of the user program and the architecture information of the processor, an assertion which states an operation that the processor needs to perform in accordance with a code of the user program indicated by each of the at least one assertion directive.
机译:示例性实施例公开了一种用于基于用户程序代码生成断言的方法。该方法可以包括:接收包括至少一个断言指令的用户程序,用户程序的编译结果以及处理器的体系结构信息;以及基于用户程序的编译结果和处理器的体系结构信息来生成:声明,声明处理器根据至少一个声明指令中的每一个所指示的用户程序的代码执行的操作。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号