Skip to content

Instantly share code, notes, and snippets.

@Razer6
Forked from robodhruv/modelsim_installation.md
Last active May 7, 2024 16:19
Show Gist options
  • Save Razer6/cafc172b5cffae189b4ecda06cf6c64f to your computer and use it in GitHub Desktop.
Save Razer6/cafc172b5cffae189b4ecda06cf6c64f to your computer and use it in GitHub Desktop.
Installing ModelSim on Ubuntu

ModelSim Installation on Ubuntu

Installation requirements

The free version of Modelsim is a 32-bit binary and therefore requires certain 32-bit libraries in order to work correctly. For Ubunutu, install the following packages

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32ncurses6 libxft2 libxft2:i386 libxext6 libxext6:i386 

Installation

Download the ModelSim - Intel FPGA edition installer (both packages) from the Intel homepage.

Make the installer executable

chmod +x ModelSimSetup-20.1.1.720-linux.run

Run the installer and install ModelSim:

./ModelSimSetup-20.1.1.720-linux.run

We assume ModelSim to be installed to /opt. If this is the case, the binaries are in /opt/modelsim_ase/bin/. In order to work with these tools, you need to add this folder to the path variable. Therefore, add the following line to your terminal configuration file, e.g., .bashrc or .zshrc.

export PATH=$PATH:/opt/modelsim_ase/bin
@Phyat22
Copy link

Phyat22 commented Feb 6, 2024

Also another problem that I encountered
libXext.so.6: cannot open shared object file. libXext.so.6 not found

sudo apt install libxext6
sudo apt install libxext6:i386

@HaIIucination
Copy link

Thanks You :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment