我在使用Quartus 12.1和modelsim se 10.7 联合仿真失败,可以打开并关联Modelsim,但无法仿真查阅资料后发现可能是quartus的版本较早。需要修改软件原文件。
其中Modelsim的报错提示有'Variable 'factor' is implicitly static. You must either explicitly declare it as static or automatic',具体如下:
Error (suppressible): c:/altera/12.1/quartus/eda/sim_lib/altera_lnsim.sv(10397): (vlog-2244) Variable 'factor' is implicitly static. You must either explicitly declare it as static or automatic
# or remove the initialization in the declaration of variable.
# -- Compiling module generic_pll
# -- Importing package altera_generic_pll_functions
# ** Error (suppressible): c:/altera/12.1/quartus/eda/sim_lib/altera_lnsim.sv(10397): (vlog-2244) Variable 'factor' is implicitly static. You must either explicitly declare it as static or automatic
# or remove the initialization in the declaration of variable. End time: 22:29:41 on Apr 11,2023, Elapse