Altera modelsim under linux mint-17 (and ubuntu 14.04)

Talk about the fifth PyroEDU course here.
Bingo600
Newbie Pyro
Posts: 75
Joined: Sat Jun 28, 2014 7:22 am

Altera modelsim under linux mint-17 (and ubuntu 14.04)

Postby Bingo600 » Tue Jul 15, 2014 4:52 pm

While quartus installes nearly ok under linux mint-17 (just a minor challenge with web access).
I had to do quite some hocuspokus , to be able to use modelsim.

When i started modelsim i got this error in a "window":

Error: Error: Can't launch ModelSim-Altera Simulation software -- make sure the software is properly installed and the environment variable LM_LICENSE_FILE or MGLS_LICENSE_FILE points to the correct license file.


The first thing was to start it from a commandline to be able to see the erors hidden by the GUI.

Check by running :

Code: Select all

~/x-altera/13.1/modelsim_ase/linuxaloem $ ./vsimk


That gave this error on the console:
~/x-altera/13.1/modelsim_ase/linuxaloem/vish: error while loading shared libraries: libXft.so.2: cannot open shared object file: No such file or directory

** Fatal: Trouble with User Interface. U/I exited with code 127.
** Fatal: vsimk is exiting with code 127.
(Exit codes are defined in the ModelSim messages appendix
of the ModelSim User's Manual.)


This error can be fixed by fetching this 32-bit library :

Code: Select all

sudo apt-get install libxft2:i386


But i still kept getting:

** Fatal: Read failure in vlm process (0,0)
Segmentation fault


Apparently modelsim uses some old libfreetype libs and fonts , and will crash if newer ones are used.

I found a guide here , howto build and use the older libfreetype
http://mattaw.blogspot.dk/2014/05/makin ... ition.html

Now i can use modelsim , allthough the interface seems "odd"... Like old Motif.

Main window i end up in when launching from quartus.
Screenshot-ModelSim ALTERA STARTER EDITION 10.1d.png
Screenshot-ModelSim ALTERA STARTER EDITION 10.1d.png (58.03 KiB) Viewed 5409 times


Window if i click on the modelsim files that are named like my project
Screenshot-ModelSim ALTERA STARTER EDITION 10.1d-2.png
Screenshot-ModelSim ALTERA STARTER EDITION 10.1d-2.png (43.86 KiB) Viewed 5409 times


Until i started trying modelsim , QUARTUS was much easier to get running on linux , than ISE.
But now i'll say they're even.


Now i have to learn to use modelsim , and write a testbench

Chris is that the expected "lookout" of Altera Starter Modelsim ?
I have never used it , and it looks a bit "raw" for a beginner


/Bingo
Last edited by Bingo600 on Tue Jul 15, 2014 6:09 pm, edited 1 time in total.

ThePyroElectro
PyroElectro Admin
Posts: 1181
Joined: Mon Nov 12, 2007 9:24 pm
Location: Earth
Contact:

Re: Altera modelsim under linux mint-17 (and ubuntu 14.04)

Postby ThePyroElectro » Tue Jul 15, 2014 5:28 pm

Bingo600 wrote:While quartus installes nearly ok under linux mint-17 (just a minor challenge with web access).
I had to do quite some hocuspokus , to be able to use modelsim.
...
...
...
Until i started trying modelsom , QUARTUS was much easier to get running on linux , than ISE.
But now i'll say they're even.


Now i have to nearn to use modelsim , and write a testbench

Chris is that the expected "lookout" of Altera Starter Modelsim ?


/Bingo


Haha I would say it's one of many "lookouts" in the FPGA tools. They're god-awfully complex, that's why the course doesn't focus on VHDL or Hardware as much as it does the project creation process and using the tools.

Yea Quartus II is easier at first, but they even out. Although in my opinion, once you get to the more advanced features like building your own soft-processor in FPGAs, the Xilinx tools get more complex in terms of usability -- it takes a lot of learning, because there's sooo many features.

To be honest, I've never used the Quartus II starter modelsim. Ever since Altera removed their own model program, I just assumed they didn't care about simulation anymore and used other tools like the real Modelsim or iSim. But looking at the starter version images you posted, it's definitely just a stripped-down version of model-sim they include with Quartus.


Return to “Introduction to CPLD and FPGA”

Who is online

Users browsing this forum: No registered users and 3 guests