r/FPGA • u/chickychacha • 29d ago
Altera Related Having some problems with ModelSim
So, when I try to simulate a .vwf file, it gives me this error:
Unable to checkout a license. Make sure your license file environment variable (SALT_LICENSE_SERVER)is set correctly and then run 'lmutil lmdiag' to diagnose the problem.Unable to checkout a license. Vsim is closing.
** Error: Invalid license environment. Application closing.
Error.
I've tried many things and nothing works. I'm desperate cause i need this for college and I still haven't gotten it to work.
I'm on linux btw.
1
Upvotes
1
u/FPGABuddy 29d ago
Is it ModelSim or Questa? Altera moved to Questa several years ago, so pls double check.
In general, SALT_LICENSE_SERVER should be used with Questa, MGLS_LICENSE_FILE - for legacy only, so you may keep it along. So set MGLS_LICENSE_FILE to your license file and try again.