Linux & EDA

Linux & EDA

Using Linux as your quotidian OS isn't just for computer savvies, coders or hackers, Linux is also the best bet of whoever wants freedom and independence.

Here I write a how-to for installing two most popular EDA software, namely: EAGLE for PCB design and ModelSim for HDL design.
Fedora is a bleeding-edge distro and Fedora 24 was released just a week ago.  

How to install CadSoft EAGLE on Fedora 24

1. Download eagle-lin64-7.6.0.run from CadSoft

2. Since EAGLE wants libssl.so.1.0.0 and libcrypto.so.1.0.0, you have to create “symbolic link” to your libssl.so.1.0.x and libcrypto.so.1.0.x:
a) Go to /usr/lib64 directory:
    $ cd /usr/lib64
b) Find your libssl and libcrypto :
    $ ls -l | grep libssl
   
$ ls -l | grep libcrypto
For ferdora 24, they’re libssl.so.1.0.2h and libcrypto.so.1.0.2h
c) Redirect libssl.so.1.0.0 and libcrypto.so.1.0.0 to your verstio:
    $ ln -s /usr/lib64/libssl.so.1.0.2h /usr/lib64/libssl.so.1.0.0
   
$ ln -s /usr/lib64/libcrypto.so.1.0.2h /usr/lib64/libcrypto.so.1.0.0

3. Run eagle-lin64-7.6.0.run to install EAGLE software:
    $ sh eagle-lin64-7.6.0.run

4. Now go to your installation directory and run EAGLE:
   
$ cd /opt/eagle-7.6.0/bin
   
$ ./eagle

How to install ModelSim on Fedora 24

1. You need a file like ModelSimSetup-xx.run

2. Add execute permissions and then run it:
    $ chmod u+x ModelSimSetup-xx.run
    $ ./ModelSimSetup-xx.run

3. If you run vsim, you would get "Error: cannot find ./../linux_rh60/vsim. There are two solution to this problem you can either edit the vsim or create a symbolic link of the linux directory to linux_rh60.
    $ emacs -nw your_path_to_modelsim/bin/vsim
    C-x C-q
change the line vco="linux_rh60" ;; to vco="linux" ;
but more straightforward solution is to create soft like with ln commend as follow:
     $ ln -s linux linux_rh60

4. The most irritating part is to solve 32-bit libraries dependency such as freetype2, ncureses, bzip2. It took me half a day to find true versions of these libraries so for your convenience I've gathered all necessary libraries in directory named "lib32".
a) You can download "lib32" from here:
b) Copy "lib32" somewhere in your ModelSim directory:
     $ cp your_path_to_Downloads/lib32 your_path_to_modelsim
c) Add a line to vsim :
    $ emacs -nw your_path_to_modelsim/bin/vsim
    C-x C-q
Type below scrip just above the first non-commented line
    export LD_LIBRARY_PATH=your_path_to_modelsim/lib32

5. Now go to your_path_to_modelsim/bin and simply run Modelsim:
    $ ./vsim

All things I mentioned above can be applied to OpenSUSE Leap 42 as well.
 

Rubén Sánchez Mínguez

Staff Design Verification Engineer at Analog Devices

8 年

I can confirm that the solution to ModelSim also works on Ubuntu 16.10. Thank you so much!

要查看或添加评论,请登录

Mohammad Daneshgar的更多文章

  • Qt Multithreading and Concurrency

    Qt Multithreading and Concurrency

    There are multiple ways to utilize threads in Qt. Here I show 5 ways: 1) First method is very similar to STD C++.

  • STM32 Bare-Metal

    STM32 Bare-Metal

    Microcontroller From scratch with STM32 : Lesson One In lesson zero we did a simple example using HAL drivers. Here we…

  • STM32 From scratch

    STM32 From scratch

    Microcontroller From scratch with STM32 : Lesson Zero First off you have to install STM32CubeIDE and have a STM32…

  • Throws and Self defense

    Throws and Self defense

    I've been practicing martial arts for more than two decades. I still train two times a day, one-hour session dedicated…

  • 17 Things To Do After After Installing Ubuntu 20.04

    17 Things To Do After After Installing Ubuntu 20.04

    Create Progs (working directory for programming) and Books $ mkdir Progs Books 2. Install vim Text Editor $ sudo apt…

    4 条评论
  • VHDL & C++

    VHDL & C++

    This prelude is neither about VHDL nor about C++ indeed it's about "to add some C++ codes to VHDL codes" or to put it…

    1 条评论
  • ???? ?? ?????? ??? ? ??? ??? ?? ?? ?? ?????

    ???? ?? ?????? ??? ? ??? ??? ?? ?? ?? ?????

    ?? ??? ??? ???? ??? ??? ? ??? ???????? ?? ???? ?? ????? ????? ?? ?? ???? ???. ?? ????? ?? ????? ?? ???? ???? ???? ?????…

  • From 5.6-liter V8 Sedan to 2.0-liter I4 crossover

    From 5.6-liter V8 Sedan to 2.0-liter I4 crossover

    I'm #survivalist and the catastrophe I'm preparing for is 2.0-liter I4 SUVs and illiterate celebrities being professors…

  • Smoldering Passion

    Smoldering Passion

    At one time, this was an adage to live by: follow your passion. At present, they say it’s “Awful”, “Crappy”, “Dump”…

社区洞察

其他会员也浏览了