OpenFPGA/abc_with_bb_support
tangxifan 4e3487b691 Add latest abc and update ace dependence 2019-05-03 18:56:03 -06:00
..
FOR_CYGWIN need abc_with_bb_support for ace compilation 2018-12-09 15:45:09 -07:00
JAMIESON_TESTS need abc_with_bb_support for ace compilation 2018-12-09 15:45:09 -07:00
src need abc_with_bb_support for ace compilation 2018-12-09 15:45:09 -07:00
CMakeLists.txt Add latest abc and update ace dependence 2019-05-03 18:56:03 -06:00
Makefile keep bug fixing in Makefiles and remove parallism in Make 2019-04-10 16:10:19 +08:00
abc.dsp need abc_with_bb_support for ace compilation 2018-12-09 15:45:09 -07:00
abc.dsw need abc_with_bb_support for ace compilation 2018-12-09 15:45:09 -07:00
abc.ncb need abc_with_bb_support for ace compilation 2018-12-09 15:45:09 -07:00
abc.rc need abc_with_bb_support for ace compilation 2018-12-09 15:45:09 -07:00
abc.suo need abc_with_bb_support for ace compilation 2018-12-09 15:45:09 -07:00
abc.vcproj need abc_with_bb_support for ace compilation 2018-12-09 15:45:09 -07:00
abclib.dsp need abc_with_bb_support for ace compilation 2018-12-09 15:45:09 -07:00
abclib.dsw need abc_with_bb_support for ace compilation 2018-12-09 15:45:09 -07:00
abctestlib.dsp need abc_with_bb_support for ace compilation 2018-12-09 15:45:09 -07:00
abctestlib.dsw need abc_with_bb_support for ace compilation 2018-12-09 15:45:09 -07:00
accum.blif need abc_with_bb_support for ace compilation 2018-12-09 15:45:09 -07:00
accum.v need abc_with_bb_support for ace compilation 2018-12-09 15:45:09 -07:00
copyright.txt need abc_with_bb_support for ace compilation 2018-12-09 15:45:09 -07:00
demo.c need abc_with_bb_support for ace compilation 2018-12-09 15:45:09 -07:00
depends.sh need abc_with_bb_support for ace compilation 2018-12-09 15:45:09 -07:00
readme need abc_with_bb_support for ace compilation 2018-12-09 15:45:09 -07:00
regtest.script need abc_with_bb_support for ace compilation 2018-12-09 15:45:09 -07:00
regtest_output.txt need abc_with_bb_support for ace compilation 2018-12-09 15:45:09 -07:00
simple.blif need abc_with_bb_support for ace compilation 2018-12-09 15:45:09 -07:00
simple.v need abc_with_bb_support for ace compilation 2018-12-09 15:45:09 -07:00
todo.txt need abc_with_bb_support for ace compilation 2018-12-09 15:45:09 -07:00

readme

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Often the code comes directly from a Windows computer.
The following steps may be needed to compile it on UNIX:

>> dos2unix Makefile Makefile
>> dos2unix depends.sh depends.sh
>> chmod 755 depends.sh
>> make  // on Solaris, try "gmake"

If compiling as a static library, it is necessary to uncomment
#define _LIB in "src/abc/main/main.c"

Several things to try if it does not compile on your platform:
- Try running all code (not only Makefile and depends.sh) through dos2unix
- Try the following actions:
  (a) Remove flags from the libs line (LIBS :=) in Makefile
  (b) Remove "src\base\main\libSupport.c" from "src\base\main\module.make"
  (c) Comment calls to Libs_Init() and Libs_End() in "src\base\main\mainInit.c"
- Try linking with gcc (rather than g++)
  For this replace "LD   := g++" with "LD   := gcc -lm" in Makefile
- If your Linux distributin does not have "readline", you may have problems 
  compiling ABC with gcc. Please try installing this library from
  http://tiswww.case.edu/php/chet/readline/rltop.html


Finally, run regression test:
abc>>> so regtest.script