
Setup environment variable MODELSIM to point to /home/peter and cp the modelsim.ini from the installation directory to /home/peter then do chmod +w modelsim.ini, second I set variable MODEL_TECH to point /home/peter/intelFPGA/17.1/modelsim_ase/bin this fixed the library problem. I found that beside running above instruction I had to do the following:

PATH to modelsim was added by the installation script but other needed environment variables are NOT set as needed. Normally I start Modelsim in the folder where I want/have the work library. My problems may relate to the fact that I did not install Quartus only Modelsim-altera, but I do not thinks so.Īlso I do not use project files only do files to compile and simulate. Actually there where two problems, because modelsim did not read in all the standard libraries.

Finally after spending a lot of hours I managed to get it fixed.
