Skip to main content

Installing MAGIC VLSI Layout tool in Ubuntu (Method I)

Update (30/09/2013): Now magic can be installed directly from synaptic package manager (So no need of the steps in orange color)-- Mr. Amaldev V, IITB

Courtesy: Mr. Manu Velayudhan, IITB (e-mail)

Verified with: Ubuntu 10.04 (32 & 64 bit)

Installing Packages:

sudo apt-get install m4 tcl-dev tk-dev blt freeglut3 libglut3 libgl1-mesa-dev libglu1-mesa-dev csh  

Installing magic:
Download magic-7.5.225.tgz from http://opencircuitdesign.com/magic/

    cd Downloads/

    tar xzf magic-7.5.225.tgz
    cd magic-7.5.225/  
    ./configure
    sudo make
    sudo make install

__________________________________________________________________________

Possible errors:
During installation of magic in ubuntu 10.04 32 bit instide Virtual box in windows 7, after make install step we got the error

root@ubuntu:/home/vineeth/Downloads/magic-7.5.226# sudo make install

--- installing executable to /usr/local/bin
--- installing runtime files to /usr/local/lib
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
make[2]: *** [tclmagic.so] Error 1


We changed the libstdc++.so.6 in /usr/lib/vmware-tools/lib32 to libstdc++.so.Still it did not work

then we changed libstdc++.so.6 in /usr/lib/vmware-tools/lib32/libstdc++.so.6 to libstdc++.so then it worked.:)


Note: Or if you find similar errors, type 'locate ' in terminal. Then you can find the location of the file libstdc++.so.6. There may be more than one location. Make one copy of the file at desktop and rename it to libstdc++.so and then copy the same to the locations where we there is libstdc++.so.6 one by one. After each replacement try ' sudo make install' in terminal. Repeat the procedure until it works.

Update (23/09/2014): The location of the libstdc++.so.6 varies with the OS. Thanks to Reshma Krishnan for pointing it out. (Eg : /usr/lib/i686... ). Use 'locate' command to find out the correct location

Screenshots of commands (23/09/2014):

Finding the location of libstdc++.so.6

Making a copy of the above file with name libstdc++.so

Installing magic
__________________________________________________________________________

Comments and suggestions are most welcome :)

Comments

  1. Latest version of MAGIC (7.5.233) can be downloaded in following link.
    http://opencircuitdesign.com/magic/archive/magic-7.5.233.tgz

    ReplyDelete
  2. hi all,
    Now you can install MAGIC directly from 'synaptic package manager'. No need for all these steps

    ReplyDelete
    Replies
    1. but how to do it can u pls explain
      i already have a version of magic installed through synaptic manager but then then the file ext2spic.so doesnt work

      Delete
    2. This comment has been removed by the author.

      Delete
    3. You may uninstall that one and follow the steps in orange color then. Please post the results. Thanks

      Delete
    4. Thank you. I am running ubuntu 12.04 LTS on my laptop. After installing the
      required dependencies, I installed magic through synaptic package manager.
      Howerver like Rahul, I got ext2spice.so error.

      I reinstalled magc from opencircuitdesign.com (using commands in Orange),
      and now everything is smooth.

      Delete
    5. @Srinivas : Thanks for your feedback :)

      Delete
  3. But you still need to install other packages for 'magic' to run properly.

    ReplyDelete
  4. The name of some of the packages will be different if you are using latest version of Ubuntu.

    ReplyDelete
  5. incorporate a feeling of tipsiness, mental trips and even fever. Notice that the signs will introduce themselves between 30-180 minutes and can endure for even 3 days.
    capsulesmagic

    ReplyDelete
  6. There are a lot of blogs over the Internet. But I can surely say that your blog is amazing in all. It has all the qualities that a perfect blog should have. semrush pricing

    ReplyDelete

Post a Comment

Popular posts from this blog

Install Modelsim in Ubuntu

Updates (23/09/14): The steps given below are for 32-bit version of Ubuntu. To install Modelsim on 64 bit Ubuntu, please refer to this link.  What is Modelsim? Modelsim is a hardware simulation and debug environment primarily targeted at smaller ASIC and FPGA design ( Ref ) How do I install it? Download Modelsim Linux edition from here   For more information visit me   Go to the download location of the .run file and type chmod +x ModelSimSetup-13.1.0.162.run Visit me for more details Use the command ./ ModelSimSetup-13.1.0.162.run install Modelsim  How do I start Modelsim?   Change your directory to 'Location_where_you_installed_Modelsim '/altera/13.1/modelsim_ase/linuxaloem   Type ./vsim   Verified on: Ubuntu 12.04 LTS

VIS & VL2MV

18/01/2016: -----------     Installing VIS model checker     ----------------------------         Download from: http://vlsi.colorado.edu/~vis/vis_files_2.4.html         Note: First do the installation of glu and then install vis or vl2mv (order doesn't matter)         Installation: Follow the steps in the VIS README file in http://vlsi.colorado.edu/~vis/vis_files_2.4.html         Pitfalls: Dont extract the vis and glu .tar.gz files using gui. Instead use the commands given below             % gzip -dc /tmp/glu-2.4.tar.gz | tar xf -             % gzip -dc /tmp/vis-2.4.tar.gz | tar xf -         Setting environment for VIS             set VIS_LIBRARY_PATH=$cwd/share     Installing vl2mv:     ----------------         Follow instructions in the README file in http://vlsi.colorado.edu/~vis/vis_files_2.4.html         "make check" will fail since the vl2mv-2.4/examples folder is empty. Don't worry about that

MODELSIM

View schematic of a VHDL file in Modelsim     * Go to SIM tab in the panel after simulation     * Right click on the top module name and ADD -> TO SCHEMATIC -> SELECTED REGION     * Go to SCHEMATIC tab         * Drag and select all items in the region         * Right click on it         * EXPAND NET TO -> DESIGN INPUTS