semaphore run_stop_flags = new(); 中的 semaphore 并不是 SystemVerilog 或 UVM 的内置类型。这意味着 semaphore 是您自定义的类或者结构体。
定义方式:
自定义类:
您可能在代码的其他地方定义了一个名为 semaphore 的类,该类包含了 run_stop_flags 成员变量和其他相关方法。例如:
class semaphore;
bit run_flag;
bit stop_flag;
function new();
run_flag = 1;
stop_flag = 0;
endfunction
// ... 其他方法 ...
endcla

最低0.47元/天 解锁文章
3058

被折叠的 条评论
为什么被折叠?



