各位: 有没有朋友遇到过这下面这样的问题vcs编译文件时,某个文件在前面编译到了,但是到后面用到这个文件的时候报错:
......
......
Back to file '/project/Develop/sim/testbench/mshc1_host_driver.sv'.
Back to file '/project/Develop/sim/testbench/mshc1_host_agent.sv'.
Parsing included file '/project/Develop/sim/testbench/mshc1_procedural_checker.sv'.
Parsing included file '/project/Develop/sim/testbench/mshc1_if.svi'.
Back to file '/project/Develop/sim/testbench/mshc1_procedural_checker.sv'.
Back to file '/project/Develop/sim/testbench/mshc1_host_agent.sv'.
Error-[SE] Syntax error
Following verilog source has syntax error :
token 'mshc_host_driver_c' should be a valid type. Please declare it
virtual if it is an Interface.
"/project/Develop/sim/testbench/mshc1_host_agent.sv"
24: token is ';'
mshc_host_driver_c mshc_host_driver;