tag:blogger.com,1999:blog-2651974529547771461.post2069751411022059239..comments2024-01-14T08:01:54.698-05:00Comments on Matthew's Mumblings: Making ModelSim ALTERA STARTER EDITION vsim 10.1d work on Ubuntu 14.04mattawhttp://www.blogger.com/profile/16544149887190419306noreply@blogger.comBlogger52125tag:blogger.com,1999:blog-2651974529547771461.post-89545384954303761402020-01-13T09:38:12.567-05:002020-01-13T09:38:12.567-05:006 years later and this still worked for me on 18.0...6 years later and this still worked for me on 18.04. Thank you very much sir. Chrishttps://www.blogger.com/profile/18067061168488345555noreply@blogger.comtag:blogger.com,1999:blog-2651974529547771461.post-6492802461205062022019-04-05T06:37:58.167-04:002019-04-05T06:37:58.167-04:00Excellent, thanks for this info it is still useful...Excellent, thanks for this info it is still useful for Quartus 18.1 and Debian 9. It's a shame they can't just build for 64 bit and modern systems.Demishrikehttps://www.blogger.com/profile/07136940474852467746noreply@blogger.comtag:blogger.com,1999:blog-2651974529547771461.post-1452725848945097532018-03-17T17:58:07.412-04:002018-03-17T17:58:07.412-04:00Thank you, it works on Debian 9 64 bitsThank you, it works on Debian 9 64 bitsAnonymoushttps://www.blogger.com/profile/03590625634400605741noreply@blogger.comtag:blogger.com,1999:blog-2651974529547771461.post-41667699391385732992018-03-08T17:16:51.414-05:002018-03-08T17:16:51.414-05:00Thanks so much for this resource. With your help,...Thanks so much for this resource. With your help, I just got Modelsim INTEL-FPGA edition (17.1) going on Debian 9.3 (Stretch) running Kernel 4.9.0-6-amd64. Please do not delete this page! I'm sure I'll be back here in the future!Todd Sheltonhttps://www.blogger.com/profile/04248268803996087945noreply@blogger.comtag:blogger.com,1999:blog-2651974529547771461.post-14762262404422077562018-03-08T17:06:06.843-05:002018-03-08T17:06:06.843-05:00Thanks working for me in
Linux 4.9.0-6-amd64 #1 S...Thanks working for me in <br />Linux 4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02) x86_64 GNU/LinuxAnonymoushttps://www.blogger.com/profile/00577326472382195302noreply@blogger.comtag:blogger.com,1999:blog-2651974529547771461.post-43053949081604026992018-01-21T14:16:58.860-05:002018-01-21T14:16:58.860-05:00Thank You! This Works on the Ubuntu 16.04 :DThank You! This Works on the Ubuntu 16.04 :DAnonymoushttps://www.blogger.com/profile/18257193559149864643noreply@blogger.comtag:blogger.com,1999:blog-2651974529547771461.post-30603107942637979352017-11-10T11:35:27.250-05:002017-11-10T11:35:27.250-05:00Dr. Swabey thanks for your work. I found that anot...Dr. Swabey thanks for your work. I found that another issue can arise from the kernel version being 4.x.<br />As it happened with the 3.x update and can be seen here https://sites.google.com/site/longphanwiki/basic-skills/modelsim-doesn-t-work-with-linux-kernel-3-x<br /><br />I simply modified my /bin/vsim file to include 4.x and it worked. For some reason I still can't launch ModelSim from linuxaloem, but at least it works.<br />Hope this helps.<br /><br />Best regards,<br />AndreaAnonymoushttps://www.blogger.com/profile/00397047953383374518noreply@blogger.comtag:blogger.com,1999:blog-2651974529547771461.post-28506913609835202432017-10-23T06:47:24.180-04:002017-10-23T06:47:24.180-04:00yeahhh..!! it worked ..!! thanks a alot guys for u...yeahhh..!! it worked ..!! thanks a alot guys for ur help..!!Anonymoushttps://www.blogger.com/profile/09213719374680601688noreply@blogger.comtag:blogger.com,1999:blog-2651974529547771461.post-14214285233236265222017-09-26T04:09:02.632-04:002017-09-26T04:09:02.632-04:00Just got this working with a minor change on Ubunt...Just got this working with a minor change on Ubuntu 16.04, with ModelSim ASE 10.1d as included with Quartus II 13.0sp1.<br /><br />When I tried to run bin/vsim, I received the message "Error: cannot find bin/../linux_rh60/vsim". Noticing that "linux_rh60" happened to be the output of the 'vco' script, I figured it was mis-detecting my platform or something weird, so I just symlinked "linux_rh60" in the modelsim_ase root to linuxaloem and it worked.<br /><br />So if you followed all of the instructions but when you run bin/vsim you're getting "Error: cannot find bin/../linux_rh60/vsim", try the following within the modelsim_ase root:<br />ln -s linuxaloem linux_rh60<br />bin/vsim<br /><br />For me, the ModelSim fonts are *ugly* and trying to change the fonts from Tools -> Edit Preferences gives a big list of fonts that almost literally all look the same (they shouldn't), so I think there's something wrong about font selection with the freetype hack, but hey, I'm just glad I got ModelSim to work in Linux.<br /><br />Thank you!Joseph Riesenhttps://www.blogger.com/profile/16468182665187841298noreply@blogger.comtag:blogger.com,1999:blog-2651974529547771461.post-57642547191464412592017-09-14T17:05:02.458-04:002017-09-14T17:05:02.458-04:00Matt, you are the man! You saved me so much headac...Matt, you are the man! You saved me so much headache with getting modelsim to work. Anonymoushttps://www.blogger.com/profile/10994902022069408750noreply@blogger.comtag:blogger.com,1999:blog-2651974529547771461.post-39895675572315944092015-02-05T09:37:09.728-05:002015-02-05T09:37:09.728-05:00It worked, but it took me a while to figure it out...It worked, but it took me a while to figure it out why it was not working after following all the steps in this tutorial. The problem, I believe, is the backup file of vsim that is created when opening the script to edit it with gedit (vsim~). Just by erasing this backup file should do it. I hope you find this helpful. :)Isaías Júniorhttps://www.blogger.com/profile/16717163052827163984noreply@blogger.comtag:blogger.com,1999:blog-2651974529547771461.post-90971798114641835002015-01-28T12:13:29.891-05:002015-01-28T12:13:29.891-05:00Thank you for the time and effort to solve the pro...Thank you for the time and effort to solve the problem and especially publishing these instructions. By following them I ended up to the same conclusion as Alex Fuhr. The program must be run from /modelsim_ase/bin folder in order to dodge segfaulting. Program seems to be working sofar, I managed to compile simple .vhd file and also simulating it worked without any problems whatsoever and the waveforms of the signals worked also. <br /><br />So thank you mr. Swabey and mr. Fuhr for your posts and I wish you all the best!<br /><br />OS: 64-bit Ubuntu 14.04 tunna87https://www.blogger.com/profile/14526164005896128917noreply@blogger.comtag:blogger.com,1999:blog-2651974529547771461.post-36932923523367989512015-01-28T12:09:23.255-05:002015-01-28T12:09:23.255-05:00I'd like to thank you Mr. Swabey for the time ...I'd like to thank you Mr. Swabey for the time and effort you have invested in this project and especially publishing this post. By following the instructions I ended up to the same out come as Alex Fuhr. The program must be started with ./vsim inside the folder /modelsim_ase/bin in order to avoid segfaulting. Sofar I have not encountered problem with compiling or simulating. I managed to compile simple vhd testbench without any errors and also the simulation worked fine.<br /><br />So thank you very much and also thank you Alex Fuhr for trying the /bin executable! <br /><br />I wish you all the best.<br /><br />OS: 64bit Ubuntu 14.04tunna87https://www.blogger.com/profile/14526164005896128917noreply@blogger.comtag:blogger.com,1999:blog-2651974529547771461.post-31186085180263374142015-01-20T14:33:58.971-05:002015-01-20T14:33:58.971-05:00It's a good guide.
I had the same problem, now...It's a good guide.<br />I had the same problem, now I've fixed it in ubuntu 14.04 using ModelSim Altera Starter edition 10.1d<br />Thanks Matthew !Anonymoushttps://www.blogger.com/profile/00594279018226264257noreply@blogger.comtag:blogger.com,1999:blog-2651974529547771461.post-88202876533661142722015-01-12T10:00:30.543-05:002015-01-12T10:00:30.543-05:00I had the exact same problem. The ModelSim install...I had the exact same problem. The ModelSim installed that was giving me this issue was from the Quartus II .tar bundle ~18GB. <br /><br />Uninstalled it, went back to Altera website and downloaded the individual installer for ModelSim 10.3c~1.2GB and reinstalled again, and it works. Maybe the bundled installer is having some license file issues? OS is Ubuntu 14.04. And it works right way. No 32-bit library and font fixes were required (Btw many thanks to the original author-Matthew for this fix, it helped to get the previous version running without issues). <br /><br />Cyclone Jackhttps://www.blogger.com/profile/10514382311282463371noreply@blogger.comtag:blogger.com,1999:blog-2651974529547771461.post-70370085766255647642015-01-11T05:17:14.308-05:002015-01-11T05:17:14.308-05:00Hi Mr. Swabey,
thank you for the post. I have had ...Hi Mr. Swabey,<br />thank you for the post. I have had a problem with launch of vsim (to simulate a Leon3 processor). The error is the following:<br />** Fatal: Read failure in vlm process (0,0)<br />Segmentation fault (core dumped)<br />I have performed all the steps but I have the same problem.<br />My working environment is: 32-bit Ubuntu 13.04 running as Virtual Machine (host is a Windows 8), with ModelSim Starter Edition 13.1.<br />Can you help me?<br />If needed, I can re-run the steps and put messages in a comment.<br />PS: sorry for a repeated question, but peoples in the previous posts that have had my same problem doesn't complete the discussion..Anonymoushttps://www.blogger.com/profile/03771920503202970219noreply@blogger.comtag:blogger.com,1999:blog-2651974529547771461.post-25099413914324807382015-01-11T05:16:16.753-05:002015-01-11T05:16:16.753-05:00Hi Mr. Swabey,
thank you for the post. I have had ...Hi Mr. Swabey,<br />thank you for the post. I have had a problem with launch of vsim (to simulate a Leon3 processor). The error is the following:<br />** Fatal: Read failure in vlm process (0,0)<br />Segmentation fault (core dumped)<br />I have performed all the steps but I have the same problem.<br />My working environment is: 32-bit Ubuntu 13.04 running as Virtual Machine (host is a Windows 8), with ModelSim Starter Edition 13.1.<br />Can you help me?<br />If needed, I can re-run the steps and put messages in a comment.<br />PS: sorry for a repeated question, but peoples in the previous posts that have had my same problem doesn't complete the discussion..Anonymoushttps://www.blogger.com/profile/03771920503202970219noreply@blogger.comtag:blogger.com,1999:blog-2651974529547771461.post-8348294022410600582015-01-10T12:00:10.416-05:002015-01-10T12:00:10.416-05:00I get no error whatsoever in any of the steps, wha...I get no error whatsoever in any of the steps, what could be wrong? Saharhttps://www.blogger.com/profile/08727013768660814485noreply@blogger.comtag:blogger.com,1999:blog-2651974529547771461.post-86548540763821843242015-01-10T11:59:37.052-05:002015-01-10T11:59:37.052-05:00The following packages were automatically installe...The following packages were automatically installed and are no longer required:<br /> libjbig-dev libjpeg-dev libjpeg-turbo8-dev libjpeg8-dev liblzma-dev<br /> libtiff5-dev libtiffxx5 libxrender-dev x11proto-render-dev<br />Use 'apt-get autoremove' to remove them.<br />0 upgraded, 0 newly installed, 0 to remove and 142 not upgraded.Saharhttps://www.blogger.com/profile/08727013768660814485noreply@blogger.comtag:blogger.com,1999:blog-2651974529547771461.post-31855849096750619212015-01-10T11:57:05.496-05:002015-01-10T11:57:05.496-05:00hello,
this is what I get:
/data/sabb/altera/13.1...hello,<br />this is what I get:<br /><br />/data/sabb/altera/13.1/modelsim_ase/linux<br /> linux-gate.so.1 => (0xf7754000)<br /> libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf7723000)<br /> libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf76dd000)<br /> libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf752d000)<br /> /lib/ld-linux.so.2 (0xf7755000)<br />Saharhttps://www.blogger.com/profile/08727013768660814485noreply@blogger.comtag:blogger.com,1999:blog-2651974529547771461.post-12541910956442746772015-01-07T11:09:40.360-05:002015-01-07T11:09:40.360-05:00For this, you need to get a license from the Alter...For this, you need to get a license from the Altera website (free). You can find that here: https://www.altera.com/download/licensing/free_software/lic-q2web.jsp<br /><br />From there, try setting the LM_LICENSE_FILE parameter an bash, and see if that helps.Browniehttps://www.blogger.com/profile/05889417410707400350noreply@blogger.comtag:blogger.com,1999:blog-2651974529547771461.post-74744985830967068762015-01-07T11:07:52.830-05:002015-01-07T11:07:52.830-05:00Hi,
With this guide I was able to get vsim runnin...Hi,<br /><br />With this guide I was able to get vsim running from the bin directory, but the one in the linuxaloem directory (which Quartus uses) still segfaults. It maybe because I get a dpkg error trying to installl some of the 32-bit libs:<br /><br />dpkg: error processing archive /var/cache/apt/archives/libc6-dev-i386_2.19-0ubuntu6.4_amd64.deb (--unpack):<br /> trying to overwrite '/usr/include/bits', which is also in package libc6-dev-amd64 2.19-0ubuntu6.4Browniehttps://www.blogger.com/profile/05889417410707400350noreply@blogger.comtag:blogger.com,1999:blog-2651974529547771461.post-52730948568414216872015-01-07T11:07:47.633-05:002015-01-07T11:07:47.633-05:00Hi,
With this guide I was able to get vsim runnin...Hi,<br /><br />With this guide I was able to get vsim running from the bin directory, but the one in the linuxaloem directory (which Quartus uses) still segfaults. It maybe because I get a dpkg error trying to installl some of the 32-bit libs:<br /><br />dpkg: error processing archive /var/cache/apt/archives/libc6-dev-i386_2.19-0ubuntu6.4_amd64.deb (--unpack):<br /> trying to overwrite '/usr/include/bits', which is also in package libc6-dev-amd64 2.19-0ubuntu6.4Browniehttps://www.blogger.com/profile/05889417410707400350noreply@blogger.comtag:blogger.com,1999:blog-2651974529547771461.post-681477663810238552014-12-16T15:45:33.663-05:002014-12-16T15:45:33.663-05:00Hi, I get a whole other type of error. It somethin...Hi, I get a whole other type of error. It something with a license requirement.<br /><br />~/altera/14.1/modelsim_ase/bin$ ./vsim<br />Unable to find the license file. It appears that your license file environment variable (e.g., LM_LICENSE_FILE) is not set correctly.<br />Unable to checkout a license. Vsim is closing.<br />** Fatal: Invalid license environment. Application closing. <br /><br />Anyone has an idea what to do from here? I have spent an awful lot of time googling this problem with no success.<br />Bladderboyhttps://www.blogger.com/profile/10442534987536874737noreply@blogger.comtag:blogger.com,1999:blog-2651974529547771461.post-40387471781821896892014-12-12T17:18:19.968-05:002014-12-12T17:18:19.968-05:00I thought I could work around this problem by inst...I thought I could work around this problem by installing a 32-bit version of Linux.<br /><br />The installer is a 64-bit application. ಠ_ಠ<br />Anonymoushttps://www.blogger.com/profile/12284587242452486809noreply@blogger.com