Note: Piracy is crime. Please don’t use or encourage pirated software. If you would like to evaluate Modelsim, try the evaluation version. If you still haven’t changed your mind, read on :P.
1) Install the required dependencies
3) Mount the downloaded modelsim iso and install modelsim.
mkdir /tmp/modelsim/ mount -o loop path-to-iso /tmp/modelsim cd /tmp/modelsim ./install.linux
Note:Install modelsim under ~/modelsim/ directory. If you choose another location, please make sure you exchange the default location with your preferred location in the steps below.
4) Execute this script to crack modelsim
Comment the first two lines in the generated license.dat
#SERVER xxxx xxxxxxxxxxxx 27001 #VENDOR mgcld D:FEATURE mgc_s mgcld 2020.00 1-jan-2021 999 0 TS_OK
5) Fix libfreetype problem (Only required if you face this problem)
Try to start vsim
cd ~/modelsim/modeltech/linux_x86_64/ ./vsim
If vsim reports the following error, your distro’s freetype library doesn’t play well with modelsim.
** Fatal: Read failure in vlm process (0,0) Segmentation fault (core dumped)
Use the following script to compile custom freetype
6) Modelsim is ready to use! One last step, add these commands to ~/.bashrc to avoid executing every time you start a new terminal
Linux and Modelsim!!!! Ain’t it fun?