Working With Tools


1) Qflow: Top Level Design Tool. 

Prerequisites: 
Yosys
Graywolf
Qrouter
Magic
Dependency notes:
The graywolf version was patched to facilitate the placement of clock and buffer trees that have permutable connections. Make sure that the version of graywolf post-dates May 25, 2015, when the patch was applied to the git repository. For earlier versions, a patch file may be found on the qflow download page.
If the tool dependencies have been installed in places that are in the standard search path (e.g., /usr/local/bin), then the configure step will find them automatically.
The recommended procedure is to run "configure" once without any arguments. At the end, it will produce a list of tools and indicate whether or not each has been located. For those that fail to be found automatically, follow the instructions given by configure.
The standard install location is /usr/local/share/qflow/, and as such, it will be necessary to run "make install" as the root user.
As an example, let's say that graywolf is located in directory "/home/cad/src/". And suppose that the other tools have been installed in their default locations. Then, the configure line would be:
./configure --with-graywolf=/home/cad/src/graywolf

Latest Stable Version available at: http://opencircuitdesign.com/qflow/download.html


2) Qrouter: Maze Router. 

Prerequisites:
Tcl/Tk development package
At least as of this writing, Tcl/Tk version 8.5 is preferred. If installing using yum, apt-get, or other package installer, be sure to install the development version of both Tcl and Tk. To install from source, get the source code from www.tcl.tk.

Latest Version available at: http://opencircuitdesign.com/qrouter/index.html


3) Graywolf: Floor Planner, Placer, Global Router. 

Available at: https://github.com/rubund/graywolf


4) Yosys: Logic Synthesis tool. 

Latest verision available at: http://www.clifford.at/yosys/download.html

5) Magic: Layout Editor. 

Prerequisites:
M4
$ sudo apt-get install m4
C-shell
$ sudo apt-get install csh
Xlib.h
$ sudo apt-get install libx11-dev
The readline source makes reference to the `tputs` function which is provided by the ncurses library. Although the ncurses library is installed, the include files to build against it are not. If the Tcl/Tk version is compiled (see below), then readline is not used, and the ncurses library is not needed.
ncurses
$ sudo apt-get install libncurses-dev
If you wish to have the Tcl/Tk wrapper around magic (recommended) you will need to install the Tcl/Tk libraries. Version 8.5 or higher is highly recommended.
Tcl/Tk
$ sudo apt-get install tcl-dev tk-dev
The Tcl/Tk magic makes use of the BLT package, although it is optional and Magic runs perfectly well without it. It can be installed as follows:
BLT
$ sudo apt-get install blt-dev

Latest Version Available at: http://opencircuitdesign.com/magic/index.html


6) KLayout: Layout generator and viewer. 

Prerequisites:

C++: clang (tested on 3.8.0) or gcc (tested on 4.6.3 and others).
Qt: Qt4 (>= 4.7.0) or Qt5.
Ruby: >= 1.9.x or 2.x (preferred).
Python: >= 2.7.2 or 3.x (preferred).
A few packages are required:

For Ubuntu:

C++ toolchain: gcc, g++ and make
Qt including development tools: libqt4-dev-bin and libqt4-dev
Ruby: ruby and ruby-dev
Python: python3 and python3-dev
zlib: libz-dev

Latest version available at: http://www.klayout.de/build.html
