在 Quartus® II 软件版本 11.1 及更高版本中,您可能会在 Qsys 生成的 msim_setup.tcl 文件中看到同一 IP 模拟文件的加密版本和未加密版本。IP 模拟文件经过加密,以允许混合语言仿真,以备用户拥有单语言 ModelSim 许可。加密版本位于 mentor 子目录中。例如,您可能会在 msim_setup.tcl 文件中看到以下行:
vlog -sv "/submodules/altera_xcvr_functions.sv" -work JTAGMaster_alt_xcvr_reconfig_0
vlog -sv "/submodules/mentor/altera_xcvr_functions.sv" -work JTAGMaster_alt_xcvr_reconfig_0
为了避免更长的编译时间,如果您有混合语言 ModelSim 仿真的许可,请在 mentor 子目录中注释该文件。如果您拥有单语言 ModelSim 仿真许可,仅在 Mentor 子目录中编译该文件。
此问题计划在 Quartus II 软件的未来版本中解决。