Revision: $Id: INSTALL,v 1.11 2010/04/22 16:44:10 fabio Exp fabio $

This file contains installation instructions for DDcal.

PREREQUISITES
=============

To build DDcal you need to have installed on your system:

graphviz 1.7	(or higher; specifically, you need dot in your PATH to run DDcal)
perl 5.6.0	(or higher)
Tk800.023	(or higher; this is perl/Tk)
flex 2.5.4	(or lex)
bison 1.28	(or yacc)
cudd-2.3.1	(or higher)

graphviz is available from
	http://www.graphviz.org
perl and perl/Tk are available from any CPAN site. See
	http://www.perl.com/perl/
or
	ftp://ftp.perl.com/perl/
for the list of the CPAN sites.  flex and bison are available from
	ftp://ftp.gnu.org/
or one of its mirrors.
The current release of CUDD is available from
	ftp://vlsi.colorado.edu/pub/

BUILDING DDcal
==============

Look at the Makefile.  The only things that may need to be changed are the
definitions of WHERE, PREFIX, EXE, and PL.

Type `make'.  This should build ddcal (which is called by DDcal).  To
test the program, execute DDcal.pl:

  ./DDcal.pl -program ./ddcal

The `examples' directory contains some files that you may want to load
with the `Load' button.

Once you are satisfied, you can install DDcal by typing `make
install.'  The default installation directory is /usr/local/bin.  It
can be changed by changing the definition of PREFIX in the Makefile.
Notice that DDcal.pl is installed as DDcal under Unix and DDcal.pl
under Windows/Cygwin.  You need write access to the taget installation
directory.

That should be it.

PLATFORMS
=========

DDcal 0.8 has been tested under GNU/Linux Ubuntu 9.10 and Cygwin with
the program versions listed below.

cudd 2.5.1
gcc 4.8.2, 4.8.3, and 4.9.1
bison 3.0.2
flex 2.5.35 and 2.5.39
graphviz 2.36.0 and 2.38.0
perl 5.14.2, 5.18.2, and 5.20.1
perl-tk 804.030, 804.031, and 804.032
cygwin 1.7.33

It has also been built under some other flavors of Linux and versions
of SunOS without problems.  Your mileage may vary.


FEEDBACK
========

Send feedback to:

Fabio Somenzi
University of Colorado at Boulder
ECE Dept.
Boulder, CO 80309-0425
Fabio@Colorado.EDU
http://vlsi.colorado.edu/~fabio
