Friday, October 5, 2012

Installation of MAGIC VLSI layout editor in Ubuntu10.04 (Method II)

Courtesy: Rejin K R(rejinkr@iitb.ac.in), Dept. of EE, IIT Bombay 

Add Proxy for IITB
• Go to System -> Administrator -> Synaptic
Package Manager
• Click on Settings -> Preference -> Network
• Select Manual Proxy Configuration
For http : “netmon.iitb.ac.in” : “80”
No proxy for ftp
Add “*.iitb.ac.in” for no proxy
Click on Authentication
Give LDAP id and password
Click Apply , then OK
Add IITB Repositories
• Go to System -> Administrator -> Synaptic
Package Manager
• Click on Settings -> Repositories
• Select Download from as follows
ftp://ftp.iitb.ac.in/distributions/ubuntu/archives
Add Third Party Repositories
• Go to System -> Administrator -> Synaptic
Package Manager
• Click on Settings -> Repositories -> Other
softwares
• Click Add and enter the following
deb http://ppa.launchpad.net/aanjhan/ubuntu hardy main
Again click Add and enter the following
deb-src http://ppa.launchpad.net/aanjhan/ubuntu hardy main
Then Click on Reload.
Install Magic
• Type “magic” inside quick search and press
enter
• Select magic in the list and mark for
installation
• Then click apply
Open Magic
• Open terminal
• Type ‘magic’ and press Enter

Comments and suggestions are welcome :)

Monday, October 1, 2012

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 :)

VIS & VL2MV

18/01/2016: -----------     Installing VIS model checker     ----------------------------         Download from: http://vlsi.colorado.edu/~...