本篇博客是根据verdi ug介绍nwave tutorial部分,是自己的verdi ug的理解以及实际操作。
作者:ciscomonkey 未经允许不得转载抄袭!
Debug Unknow(X) Values
实验环境目录,如下图所示:
软件使用verdi 2015
切换到如下的路径中。
在启动verdi的时候就把fsdb给吃进来,使用 -ssf
如下图所示,定位到ZFout的波形
如下图所示,现在所要做的任务是
Zoom out in the nWave frame until you see “X” at time 2777ns. Your task is to locate the cause of this unknown value.
这里补充一下,当我现在nwave有了signal之后,如何快速定位到schema界面的signal呢?
如下图所示,只需要将nwave里面的nsignal进行拖动drag到nschema中。
那现在如何去定位到导致这个signal 是X态的原因。
在nwave中的波形处,
这里补充一些verdi 2020的界面:
- Stop at Black Box Output
如果你选择了stop at black box outputs,tracing 将会在black output的点上停止继续往前追踪,即使这个black box的输入input端口是X。 - Stop at Fan-in that is X but no transition in its last cycle
错误的类型一共有:
现在双击,show source code on ntrace
如下图所示,通过右点击Add Active Fan-in Signals to nWave
如下图所示
在2x附近右点击show clock domain
继续往前追。
如下图所示,会得到下面的结果。
Visualize the Active Paths in the Temporal Flow View
另外一种方式是可视化的trace路径。
同样也是选择右击Zfout在nwave中,然后选择Create Temporal Flow View