Precompiled for 64b 22.04 Ubuntu and Ubuntu-based Linux. It's also tested on a light-weight Ubuntu-variant LXLE distro. If you are interested in compiling from the source, instructions in Compiling and Installing Magic should help.
Magic is the most popular open-source Layout tool written in the 1980's at Berkeley by John Ousterhout (now famous for writing scripting languuage Tcl) and now maintained by Tim Edwards (opencircuitdesign.com/magic).
-
Change directory
cd
to install directory <INSTALL_DIR> e.g./home/user/cad
-
To download from the
git
repository:git clone https://github.com/silicon-vlsi-org/eda-magic
-
Change directory to the installed magic directory eg.
cd eda-magic
-
Checkout the desired version:
git checkout v8.3.464
- To make sure you are on the right version type
git branch
and your output should have a line like this : * (HEAD detached at v8.3.464)
- To make sure you are on the right version type
-
Add the following environment variables in your
~/.bashrc
(NOTE: The path below is an example, make sure it matches your particular path)
export MAGIC_HOME=<INSTALL_DIR>/eda-magic/glnxa64
export CAD_ROOT=$MAGIC_HOME/lib
export PATH=$PATH:$MAGIC_HOME/bin
Few examples are in the examples
folder to quickly get you started.
- v8.3.464:
- Magic v8.3.464 for Ubuntu 22.04
- Magic v8.3.274 for CentOS 7.9 (Core)
- Compiled on linode VM running Ubuntu 22.04 kernel 5.15.0-100-generic #110-Ubuntu 03/10/24
- v8.3.178:
- Magic v8.3.178 for Ubuntu 18.04
- Compiled on Linux AWS Lightsail 5.4.0-1049-aws #51~18.04.1-Ubuntu