在使用quarter调用modelsim仿真,modelsim运行时出现下面的提示:
# ** Warning: Conflicting symantics, "-vlog01compat" switch disables System
verilog support.
# ** Warning: Conflicting symantics, "-vlog01compat" switch disables System Verilog support.
# ** Error: e:/program files/caltera11.0/quartus/eda/sim_lib/altera_lnsim.sv(4): near "package": syntax error, unexpected "IDENTIFIER", expecting "class"
# ** Warning: e:/program files/caltera11.0/quartus/eda/sim_lib/altera_lnsim.sv(4): Conflicting symantics, "-vlog01compat" switch disables System Verilog support.
# ** Error: E:/Program Files/modelsim_6.5/win32/vlog failed.
最后发现modesim的compile/compiler option中的verilog & system verilog选卡中language syntax改为了use verilog 2001,改回dafault ,问题解决。不懂就不能乱动啊~~