systemverilog interface clocking block errors
Error-[SV-IDOCBO] Illegally driving clocking block output
…/testbench/tb_top.sv, 85
Clocking block output if0.cb.cnt_mode is illegally driven by a blocking
assignment.
Please make sure that the driver of the clocking block output is valid.
问题代码
if0.cb.cnt_mode =ctrl0.cnt_mode;
修改后代码
if0.cb.cnt_mode <=ctrl0.cnt_mode;