assertoff

2021-07-19  本文已影响0人  Poisson_Lee

https://stackoverflow.com/questions/47931269/how-to-use-assertoff-from-test-to-disable-assertion-in-side-uvm-object

对于有些仿真工具,断言不一定能在class/object中关闭。 一般在module中关闭。
class中的断言代码,可以给断言加上判断条件,想关闭的时候,将条件置0.

上一篇 下一篇

猜你喜欢

热点阅读