使用VCS编译uvm环境的时候报错Class scope used outside of class
时间:10-02
整理:3721RD
点击:
今天在新搭建了一个环境,使用的是VCS,环境UVM1.1,编译我以前能使用的code的时候报告警Warning-[PCSRMIO] Class scope used outside of class
/tb/top/soc_fab_tb.sv, 46
An unspecialized class scope '::' reference was seen. This refers to the
generic class, and may only be used inside the class 'soc_fab_scoreboard'.
To access a static member of the default specialization outside the class
'soc_fab_scoreboard', use 'soc_fab_scoreboard#()::' instead.
This will be an error in a future release
请问,这个是为什么?
/tb/top/soc_fab_tb.sv, 46
An unspecialized class scope '::' reference was seen. This refers to the
generic class, and may only be used inside the class 'soc_fab_scoreboard'.
To access a static member of the default specialization outside the class
'soc_fab_scoreboard', use 'soc_fab_scoreboard#()::' instead.
This will be an error in a future release
请问,这个是为什么?
Class has not been resolved
class定义的时候,你是不是用了类型参数?