Clifford Wolf
91704a7853
Merged a few fixes for non-posix systems from github.com/Siesh1oo/yosys
...
(see https://github.com/cliffordwolf/yosys/pull/28 )
2014-03-11 14:24:24 +01:00
Clifford Wolf
9992026a8d
Added support for `line compiler directive
2014-03-11 14:06:57 +01:00
Siesh1oo
707b46956e
- passes/techmap/Makefile.inc: POSIX 'od' has no '-w' option. Use '-An' instead. Replace awk by simple shell commands for portability.
2014-03-11 14:06:41 +01:00
Clifford Wolf
fa75c8286e
Fixed memory corruption in passes/abc/blifparse.cc
2014-03-11 13:09:01 +01:00
Clifford Wolf
bada3ee815
Fixed yosys path in tests/techmap/mem_simple_4x1_runtest.sh
2014-03-11 11:59:58 +01:00
Clifford Wolf
4fd1a4c12b
Use "verilog -noattr" in tests/techmap/mem_simple_4x1 test (for old iverilog)
2014-03-11 11:39:30 +01:00
Siesh1oo
876c016904
- Makefile: include $(PWD) in PATH, since 'make test' can happen before 'make install'.
2014-03-10 20:27:39 +01:00
Siesh1oo
d091be4011
- libs/ezsat/ezminisat.cc: use sigemptyset() to clear sig_action.sa_mask; use SA_RESTART flag for improved robustness of code that is not signal-aware.
2014-03-10 20:23:55 +01:00
Siesh1oo
113f129b34
- Makefile: fix typo in LDFLAGS: obviously -L, not -I is required here
2014-03-10 20:12:20 +01:00
Siesh1oo
4d56e23e31
- Makefile: export PATH=${DESTDIR}/bin:$(PATH) and (DY)LD_LIBRARY_PATH, to make sure our local copies of built executables and libraries are used.
...
- Makefile: use find expression in target 'yosys-svgviewer' to find svgviewer binary (qmake will build into .app package on OSX).
- Makefile: make 'test' target dependent on $(TARGETS) and $(EXTRA_TARGETS) to make sure that minisat is built.
2014-03-10 20:06:46 +01:00
Siesh1oo
2f2e76ac68
- frontends/vhdl2verilog/vhdl2verilog.cc, passes/abc/abc.cc: #include <climits> for PATH_MAX.
2014-03-10 19:50:02 +01:00
Siesh1oo
63ca8d3fe4
- Makefile, techlibs/common/Makefile.inc: call GNU sed instead of BSD sed on OSX (for extended regular expressions).
2014-03-10 15:07:37 +01:00
Siesh1oo
8a0216bd9f
- libs/ezsat/ezminisat.cc: use POSIX.2001 sigaction() instead on non-portable signal().
2014-03-10 15:02:58 +01:00
Siesh1oo
0fb044a58f
- Makefile, kernel/posix_compatibility.h/.cc: provide POSIX.2008 fake implementation of open_memstream()/fmemopen() for pre-POSIX.2008 systems.
...
- Makefile: OSX build rules (Apple's gcc and clang have no -rdynamic option and no librt).
- Makefile: Generate debugger symbols and don't optimize for size in debug target (otherwise the debugger pretty hard to use).
- Makefile: Reorder target concatenation in order to avoid use-before-built problems for source-include and linker dependencies.
- Makefile: On OSX/macports, qmake-qt4 is named 'qmake' (the default Qt4 installation name, unless the distribution changes it).
- Makefile: For OSX/Macports, we need to pass -I/opt/local/include and -L/opt/local/lib to give GNU libraries precedence over Apple's.
- Makefile: Build a local minisat copy just like abc (to avoid dependency on broken/unmaintained distribution header files).
- .gitignore: Ignore minisat directory.
2014-03-10 14:38:01 +01:00
Siesh1oo
9327d434d5
- README: fix typo in sed-command for minisat-include fix.
2014-03-10 14:37:14 +01:00
Siesh1oo
f6579282d7
- frontends/vhdl2verilog/vhdl2verilog.cc: #include <cerrno> for errno; use POSIX getcwd() for portability.
2014-03-10 14:36:27 +01:00
Siesh1oo
c056217e72
- kernel/register.cc: need to #include <cerrno> or errno.h for errno.
2014-03-10 14:36:23 +01:00
Siesh1oo
6698d67d24
- kernel/driver.cc: need to #include <cerrno> or errno.h for errno.
2014-03-10 14:36:12 +01:00
Siesh1oo
8111938e96
- kernel/log.h: add rusage()-based fallback for systems without clock_gettime().
2014-03-10 14:36:07 +01:00
Siesh1oo
40e0b79495
- libs/ezsat/ezsat.cc: need to #include <cmath> or math.h for math functions.
2014-03-10 14:35:59 +01:00
Siesh1oo
f7c2cf6fe2
- passes/abc/abc.cc: #include <cerrno> for errno; use POSIX getcwd() for portability (get_current_dir_name() does not exist on BSD).
2014-03-10 14:35:53 +01:00
Siesh1oo
9b3d83359c
- passes/techmap/dfflibmap.cc, passes/fsm/fsm_recode.cc, passes/cmds/select.cc: #include <cerrno> for errno, use c++-style includes.
2014-03-10 14:35:46 +01:00
Clifford Wolf
78c64a6401
Fixed a typo in RTLIL::Module::addReduce...
2014-03-10 12:07:26 +01:00
Clifford Wolf
5a15539c9b
Improved verific command (added support for some operators)
2014-03-10 12:06:57 +01:00
Clifford Wolf
c71791a1ff
Improvements in verific command
2014-03-10 03:03:08 +01:00
Clifford Wolf
fdef064b1d
Added RTLIL::Module::add... helper methods
2014-03-10 03:02:27 +01:00
Clifford Wolf
8d06f9f2fe
Added "verific" command
2014-03-09 20:40:04 +01:00
Clifford Wolf
fcae92868d
Fixed dumping of timing() { .. } block in libparse
2014-03-09 15:16:07 +01:00
Clifford Wolf
22aabe05c9
Verbose reading of liberty and constr files in ABC pass
2014-03-09 15:15:38 +01:00
Clifford Wolf
e3b11ea2d6
Fixed bug in freduce command
2014-03-07 18:44:23 +01:00
Clifford Wolf
6f8865d81a
Some minor code cleanups in freduce command
2014-03-07 18:29:04 +01:00
Clifford Wolf
620d51d9f7
Bugfix in ilang frontend autoidx recovery
2014-03-07 17:19:14 +01:00
Clifford Wolf
f7bd0a5232
Use log_abort() and log_assert() in BTOR backend
2014-03-07 15:56:10 +01:00
Clifford Wolf
54d74cf616
Added freduce -dump
2014-03-06 22:06:58 +01:00
Clifford Wolf
da5859a674
Added freduce -stop
2014-03-06 18:14:26 +01:00
Clifford Wolf
4d07f88258
Fixed gcc compiler warning
2014-03-06 16:37:19 +01:00
Clifford Wolf
9b9c3327cc
Fixed undef handling in opt_reduce
2014-03-06 14:18:34 +01:00
Clifford Wolf
973507d85b
Fixes for improved techmap of shifts with large B inputs
2014-03-06 13:33:12 +01:00
Clifford Wolf
97710ffad5
Fixed use of frozen literals in SatGen
2014-03-06 13:08:44 +01:00
Clifford Wolf
8406e7f7b6
Strictly zero-extend unsigned A-inputs of shift operations in techmap
2014-03-06 12:15:44 +01:00
Clifford Wolf
1ecaf1bb76
Added techmap -max_iter option
2014-03-06 12:15:17 +01:00
Clifford Wolf
d7f29bb23f
Improved techmap of shift with wide B inputs
2014-03-06 12:14:20 +01:00
Clifford Wolf
a1bfde8c5e
Strictly zero-extend unsigned A-inputs of shift operations
2014-03-06 11:53:37 +01:00
Clifford Wolf
b1b8fe3a56
Switched to EZMINISAT_SIMPSOLVER as default SAT solver
2014-03-05 19:57:10 +01:00
Clifford Wolf
09805ee9ec
Include id2ast pointers when dumping AST
2014-03-05 19:56:31 +01:00
Clifford Wolf
d6a01fe412
Fixed merging of compatible wire decls in AST frontend
2014-03-05 19:55:58 +01:00
Clifford Wolf
de7bd12004
Bugfix in recursive AST simplification
2014-03-05 19:45:33 +01:00
Clifford Wolf
96e753041d
fixed freduce for Minisat::SimpSolver: use frozen_literal()
2014-03-03 02:14:27 +01:00
Clifford Wolf
d5bd93997c
ezSAT: Added frozen_literal() API
2014-03-03 02:13:17 +01:00
Clifford Wolf
895e9fc70c
ezSAT: Fixed handling of eliminated Literals, added auto-freeze for expressions
2014-03-03 02:12:45 +01:00