Forum Discussion
Hi Simon,
Glad your issue is solved.
However I would like to advise you, unless you compiled the libraries on Quartus Simulation Library Compiler tool, it isn't a good idea to edit the msim_setup.tcl script because everything in the script should be auto-generated by itself. You just need to make sure the script has QUARTUS_INSTALL_DIR correctly set, it should point to the directory of your Quartus installation.
I highly suspect your ModelSim version is not compatible to your Quartus software. This is often the reason why pre-compiled libraries have conflicts when trying to run simulation. Seeing as you are using ModelSim - INTEL FPGA Starter Edition 2020.1, you should use Quartus version 20.1 as it's the only Quartus version compatible with that version of ModelSim.
Table 2 of this page lists out the Quartus versions and their corresponding compatible ModelSim - INTEL FPGA version. You can also check the simulation tools support for your Quartus version in the Software and Device Support Release Notes: https://www.intel.com/content/www/us/en/programmable/support/support-resources/download/os-support.html
Regards,
Nurina
- SimonRichter4 years ago
Occasional Contributor
Hi Nurina,
I wouldn't call this "solved" though: I have workarounds that allow me to continue by editing autogenerated files -- as you say, that isn't a good idea, but at least it unblocks my progress.
I have ModelSim and Quartus installed from the same download archive (the 20.1.1.720 "full"), and no other versions of either are installed, so I can verify that this script has been generated with Quartus 20.1, and the libraries are also the ones included with Quartus 20.1 -- hence my assessment that the generated script is incorrect, as it checks for the wrong string in the version to assess whether the Quartus and ModelSim versions are compatible.
The mismatch between the QIP and SPD files seems to be a regression from earlier Quartus versions: I have an older project that uses Quartus 16.1, and generated IP blocks there are added to the "work" library for both synthesis and simulation, so at some point between 16.1 and 20.1 a decision was made to add a -library tag in the QIP file to move the main component of the IP block into a library, but the same change wasn't made for SIP files.
Simon