-
Notifications
You must be signed in to change notification settings - Fork 7
/
README
183 lines (141 loc) · 6.28 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
DEPRECATED
CUDD 3.0.0 has support for building shared object files.
Download it from here: http://vlsi.colorado.edu/~fabio/.
$Id$
This directory contains a set of packages that allow you to build a toy
application based on the CUDD package.
The CUDD package is a package written in C for the manipulation of
decision diagrams. It supports binary decision diagrams (BDDs),
algebraic decision diagrams (ADDs), and Zero-Suppressed BDDs (ZDDs).
The toy application provided in this kit is called nanotrav and is a
simple-minded FSM traversal program. (See the README file and the man
page nanotrav.1 in the nanotrav directory for the details.) It is
included so that you can run a sanity check on your installation.
INSTALLATION
Before you build the libraries and programs, you need to check the
Makefile in the top directory. Go through the definitions contained in the
configuration section, and select the desired compiler and compilation
flags. Instructions are provided in the comments of the Makefile.
You can always specify the options on the command line. For instance,
on some machines you can build a "fast" version of the program by typing:
make DDDEBUG= MTRDEBUG= ICFLAGS=-O2
The Makefile supports several targets:
make:
Creates a "plain" version of the program.
make testdddmp:
Builds a test program (testdddmp) for BDD loading from and
storing to disk. See file README.test in the dddmp directory for
how to run the program.
make testobj:
Builds a test program for the C++ interface. Requires a C++
compiler. To run the program, run obj/testobj.
make testcudd:
Builds a test program for CUDD. To run the program, go to the
cudd directory and type "./testcudd -p 2 r7x8.1.mat". The result
can be compared to r7x7.1.out.
make testmtr:
Builds a test program for the mtr package. To run the program,
go to the mtr directory and type "./testmtr -p 1 test.groups".
make clean:
Cleans directories, but leaves libraries and programs.
make distclean:
Cleans thoroughly, returning the directories to their pristine
state.
The following targets are more or less obsolete and may disappear or
change in the future.
make check_leaks:
Creates a version of the program with the mnemosyne library
linked to it. It also builds the mnemalyse program, which
helps in finding memory leaks. This target does not work on the
IBM RS6000. The makefile also supports purify. To use purify,
set the PURE variable in the Makefile, and use the standard
target.
make optimize_dec:
Builds a version of the program using the u-code compiler
available on DEC machines (DECstations and Alphas). The newer
native compiler on the Alphas does not use u-code, though.
Therefore the standard target should be used with it.
make lint:
Runs lint on all subdirectories except mnemosyne. Creates lint
libraries for all object libraries.
make tags:
Builds ctags-style tag files for all subdirectories except
mnemosyne.
make all:
Makes all of the above, except check_leaks, which is
incompatible with a plain "make."
All targets, except clean and distclean, will create the include
directory if it does not already exist.
The Makefile does not compile the SIS interface (cuddBddPort.c and
cuddPwPt.c found in subdirectory sis). To compile the interface, you
also need array.h and var_set.h, which are not part of this
distribution, but come with SIS. Detailed instructions on how to
integrate the CUDD package in SIS can be found in the documentation
(cudd/doc).
PLATFORMS
This kit has been successfully built on the following configurations:
PC (ia32 and ia64) running Ubuntu with gcc
PC (ia32 and ia64) running Ubuntu with g++
PC (ia32 and ia64) running Linux RedHat with gcc
PC (ia32 and ia64) running Linux RedHat with g++
PC (ia64) running Cygwin on Windows 7 and Vista with gcc
PC (ia64) running Cygwin on Windows 7 and Vista with g++
Platforms to which I have no longer access and therefore are no longer
supported.
PC (ia32) running Linux RedHat with icc
PC (ia32) running Linux RedHat with icpc
PC (ia64) running Linux RedHat with ecc
PC (ia64) running Linux RedHat with ecpc
SUN running Solaris 2.8 with cc
SUN running Solaris 2.8 with CC
SUN running Solaris 2.8 with gcc
SUN running Solaris 2.8 with g++
DECstation running Ultrix with cc
DECstation running Ultrix with gcc
IBM RS6000 running AIX 3.2.4 with cc (**)
IBM RS6000 running AIX 3.2.4 with gcc
IBM RS6000 running AIX 3.2.4 with g++
SUN running SunOS with gcc
DEC Alpha running Digital Unix with cc
DEC Alpha running Digital Unix with cxx
DEC Alpha running Digital Unix with gcc
HP 9000/770 running HP-UX with c89
HP 9000/770 running HP-UX with CC
HP 9000/770 running HP-UX with gcc
HP 9000/770 running HP-UX with g++ (*)
SUN running Solaris 2.8 with /usr/ucb/cc
PC running Solaris 2.8 with /usr/bin/cc
PC running Solaris 2.8 with /usr/ucb/cc
PC running Solaris 2.8 with CC
PC running Solaris 2.8 with gcc
PC running Solaris 2.8 with g++
NOTES
(*) C programs were compiled with g++, but linked with gcc.
(**) Some old versions of the AIX cc compiler have buggy optimizers:
Try compiling with -O2 instead of -O3 if the program crashes.
Running lint and compiling with gcc -Wall still produces warnings.
Running `purify' under Solaris 2.8 generates no messages.
SANITY CHECK
The directory `nanotrav' contains a very simple application based on the
CUDD package. The `nanotrav' directory contains a man page that
describes the options nanotrav supports. The files *.blif are sample
input files for nanotrav.
If you have built the mnemosyne library (make check_leaks), you can do
cd mnemosyne
make runmtest
This does not work on machines running SunOS, but the version of
nanotrav that uses mnemosyne may work.
DOCUMENTATION
Directory cudd-2.5.0/cudd/doc contains HTML documentation for the CUDD
package. The recommended starting point is cuddIntro.html. Documentation
in both postscript(tm) format and plain text format is also provided.
Documentation for the auxiliary libraries (except for the util library)
is in the doc subdirectories.
FEEDBACK:
Send feedback to:
Fabio Somenzi
University of Colorado at Boulder
ECE Dept.
Boulder, CO 80309-0425
http://vlsi.colorado.edu/~fabio