【发布时间】:2020-07-17 00:27:46
【问题描述】:
我遇到过几次这种情况。
在用户定义的 uvm 驱动程序中,如果我在 run_phase 中设置如下所示,它将失败。
task run_phase(uvm_phase phase);
#1; // It fail even if I put something like `uvm_info() instead of "#1".
abc_seq_item m_tx;
...
这种类似的行为也可能发生在序列类中。
task body();
#1;
abc_seq_item m_tx;
...
如果“abc_seq_item m_tx”是任务中的第一个可执行文件,它将通过。 我可以知道究竟是什么原因吗?
【问题讨论】:
标签: system-verilog uvm