@@ -22,7 +22,7 @@ The source code is provided for research and evaluation only. For commercial usa
2222
2323References:
2424
25- [ 1] L. Fan and C. Wu, "FPGA technology mapping with adaptive gate decompostion", ACM/SIGDA FPGA International Symposium on FPGAs, 2023.
25+ [ 1] L. Fan and C. Wu, "FPGA technology mapping with adaptive gate decompostion", ACM/SIGDA FPGA International Symposium on FPGAs, 2023.
2626
2727Minimum desktop tools needed:
2828
@@ -85,8 +85,8 @@ There are several `tox -e` environment commands available in the current tox fil
8585 * ` ctest ` - build/run tests using ctest => static lib and "test" executable
8686 * ` grind ` - run cmake Debug build with valgrind
8787* Misc utility commands:
88- * ` clean ` - clean the make build files
89- * ` unbuild ` - clean the cmake build/ directory/files
88+ * ` clean ` - clean the automake/autoconf build byproducts
89+ * ` cclean ` - clean the cmake build/ directory/files
9090 * ` lint ` - run cpplint style checks
9191
9292### Compiling manually:
@@ -96,10 +96,10 @@ To compile ABC as a static library, type `make libabc.a`.
9696To compile ABC as a shared library, type ` make lib ` .
9797To compile ABC as a shared library with soname, type ` ABC_USE_SONAME=1 make lib ` .
9898
99- When ABC is used as a static library, two additional procedures, ` Abc_Start() `
100- and ` Abc_Stop() ` , are provided for starting and quitting the ABC framework in
101- the calling application. A simple demo program (file src/demo.c) shows how to
102- create a stand-alone program performing DAG-aware AIG rewriting, by calling
99+ When ABC is used as a static library, two additional procedures, ` Abc_Start() `
100+ and ` Abc_Stop() ` , are provided for starting and quitting the ABC framework in
101+ the calling application. A simple demo program (file src/demo.c) shows how to
102+ create a stand-alone program performing DAG-aware AIG rewriting, by calling
103103APIs of ABC compiled as a static library.
104104
105105To build the demo program
@@ -138,15 +138,16 @@ or in the batch mode:
138138The current version of ABC can be compiled with C compiler or C++ compiler.
139139
140140 * To compile as C code (default): make sure that ` CC=gcc ` and ` ABC_NAMESPACE ` is not defined.
141- * To compile as C++ code without namespaces: make sure that ` CC=g++ ` and ` ABC_NAMESPACE ` is not defined.
141+ * To compile as C++ code without namespaces: make sure that ` CC=g++ ` and ` ABC_NAMESPACE ` is not
142+ defined (deprecated).
142143 * To compile as C++ code with namespaces: make sure that ` CC=g++ ` and ` ABC_NAMESPACE ` is set to
143144 the name of the requested namespace. For example, add ` -DABC_NAMESPACE=xxx ` to OPTFLAGS.
144145
145146## Building a shared library
146147
147148 * Compile the code as position-independent by adding ` ABC_USE_PIC=1 ` .
148- * Build the ` libabc.so ` target:
149-
149+ * Build the ` libabc.so ` target:
150+
150151 make ABC_USE_PIC=1 lib
151152
152153## Adding new source files
@@ -159,10 +160,10 @@ For each module with new sources:
159160
160161## Bug reporting:
161162
162- Please try to reproduce all the reported bugs and unexpected features using the latest
163+ Please try to reproduce all the reported bugs and unexpected features using the latest
163164version of ABC available from https://github.com/berkeley-abc/abc
164165
165- If the bug still persists, please provide the following information:
166+ If the bug still persists, please provide the following information:
166167
167168 1 . ABC version (when it was downloaded from GitHub)
168169 1 . Linux distribution and version (32-bit or 64-bit)
@@ -173,7 +174,7 @@ If the bug still persists, please provide the following information:
173174
174175## Troubleshooting:
175176
176- 1 . If compilation does not start because of the cyclic dependency check,
177+ 1 . If compilation does not start because of the cyclic dependency check,
177178try touching all files as follows: ` find ./ -type f -exec touch "{}" \; `
178179 1 . If compilation fails because readline is missing, install 'readline' library or
179180compile with ` make ABC_USE_NO_READLINE=1 `
@@ -188,19 +189,19 @@ compile with `make ABC_USE_NO_PTHREADS=1`
188189
189190The following comment was added by Krish Sundaresan:
190191
191- "I found that the code does compile correctly on Solaris if gcc is used (instead of
192- g++ that I was using for some reason). Also readline which is not available by default
193- on most Sol10 systems, needs to be installed. I downloaded the readline-5.2 package
194- from sunfreeware.com and installed it locally. Also modified CFLAGS to add the local
195- include files for readline and LIBS to add the local libreadline.a. Perhaps you can
192+ "I found that the code does compile correctly on Solaris if gcc is used (instead of
193+ g++ that I was using for some reason). Also readline which is not available by default
194+ on most Sol10 systems, needs to be installed. I downloaded the readline-5.2 package
195+ from sunfreeware.com and installed it locally. Also modified CFLAGS to add the local
196+ include files for readline and LIBS to add the local libreadline.a. Perhaps you can
196197add these steps in the readme to help folks compiling this on Solaris."
197198
198199The following tutorial is kindly offered by Ana Petkovska from EPFL:
199200https://www.dropbox.com/s/qrl9svlf0ylxy8p/ABC_GettingStarted.pdf
200201
201202## Final remarks:
202203
203- Unfortunately, there is no comprehensive regression test. Good luck!
204+ Unfortunately, there is no comprehensive regression test. Good luck!
204205
205- This system is maintained by Alan Mishchenko < alanmi@berkeley.edu > . Consider also
206+ This system is maintained by Alan Mishchenko < alanmi@berkeley.edu > . Consider also
206207using ZZ framework developed by Niklas Een: https://bitbucket.org/niklaseen/abc-zz (or https://github.com/berkeley-abc/abc-zz )
0 commit comments