简体   繁体   English

Specman Gen调试OS11

[英]Specman debugging OS11 in gen

I'm getting OS 11 failure in a gen action. 我在gen操作中遇到OS 11故障。 The constraints for this gen action are intensive, and it's too complex to debug. 此发电操作的约束非常复杂,调试起来太复杂。

How can we debug this failure and determine the source of this OS 11? 我们如何调试此故障并确定此OS 11的来源?

An OS 11 error probably means you're trying to dereference a NULL pointer. OS 11错误可能意味着您正在尝试取消引用NULL指针。 Make sure you load your code (not compile it) to see where this is happening (this applies to all OS 11 errors and not just the ones in constraints). 确保加载代码(而不是编译代码)以查看发生的位置(这适用于所有OS 11错误,而不仅限于约束中的错误)。 Compiled code removes a lot of debug information (to run faster), making it difficult to trace the exact portion of e code that is causing the problem. 编译后的代码删除了许多调试信息(以便更快地运行),从而使得难以跟踪导致问题的e代码的确切部分。

Specman provides a great constraint debugger that can assist you further. Specman提供了一个强大的约束调试器,可以进一步为您提供帮助。 I don't know the commands by heart but you have to set a break point when the failing CFS (connected field set) is being generated. 我不知道这些命令是什么,但是当生成失败的CFS(连接的字段集)时,您必须设置一个断点。 Search for break on gen in the documentation. 在文档中搜索break on gen的信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM