Commit Graph

4734 Commits

Author SHA1 Message Date
Eddie Hung 7c391b77aa &trace to work with cofactored LUTs 2020-05-13 14:53:13 -07:00
Eddie Hung bd7fb363c2 &ps -l to print muxF on Linux as well as Windows 2020-05-13 14:53:13 -07:00
Eddie Hung 39d2b28f74 &trace to support -W (wire delay) and -w (print path) options 2020-05-13 14:53:13 -07:00
Eddie Hung 0b4ebeb19f &if -w to transfer timing 2020-05-13 14:52:59 -07:00
Eddie Hung f8d093b695 Gia_ManDelayTraceLut() to work with boxes and normalised designs 2020-05-13 14:52:30 -07:00
whitequark fd2c9b1c19 Remove ABC_NO_RLIMIT macro, use defined(__wasm) instead. 2020-05-01 08:25:53 -07:00
whitequark 2db5f19ab6 Add support for WASI platform in Util_SignalSystem. 2020-05-01 08:25:53 -07:00
whitequark 9366e4fa68 Add support for WASI platform in Abc_ShowFile. 2020-05-01 08:25:53 -07:00
whitequark 70ed4da2ac Add support for WASI platform in Gia_ManGnuplotShow. 2020-05-01 08:25:53 -07:00
whitequark eea20ff466 Add support for WASI platform in cmdCheckShellEscape.
Since cmdCheckShellEscape doesn't actually report failure in any way,
this code simulates a situation where system() never succeeds.
2020-05-01 08:25:53 -07:00
whitequark 09607e9055 Add support for WASI platform in tmpFile. 2020-05-01 08:25:53 -07:00
Sean Cross 11c4f998b2 Makefile: break apart steps in `make clean`
The `make clean` target consists of a single `rm` call that passes every
generated file, object file, and dependency directory.  This results in
a command line that's around 53,800 characters long.

On Linux, the maximum length of a command line is 131,072 or 262,144
characters, however on Windows the limit is 32,768.

The 53,800 character command simply fails to run on Windows, which is a
problem when the first command that gets run is `make clean`.

Break this target into steps, first removing the output files, then the
object files, then any generated garbage, and then the object depedency
directories.

This fixes `make clean` (and as a result yosys) on Windows.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-05-01 08:25:53 -07:00
alanminko 54763e6882
Merge pull request #58 from whitequark/patch-2
Allow changing the `ar` binary
2020-04-30 14:22:57 -07:00
alanminko 8de27b691b
Merge pull request #57 from whitequark/patch-1
Make use of setrlimit conditional on ABC_NO_RLIMIT
2020-04-30 14:03:26 -07:00
alanminko fb8d13a1c5
Merge pull request #65 from FPGeh/fix_seq_synth
Gia_ManDupPermFlop to behave as Gia_ManDupPerm
2020-04-30 14:01:08 -07:00
whitequark 128ba6ebc5 Allow changing the `ar` binary.
This is useful for cross-compilation, when build `ar` cannot handle
the target object files.

The invocation of `ranlib` is replaced with `ar s`, which is
equivalent and simplifies the build system a bit.
2020-04-30 02:17:23 +00:00
whitequark 8afd927d60 Make use of setrlimit conditional on ABC_NO_RLIMIT.
This is useful for POSIX-like platforms that do not have rlimit,
such as WASI.
2020-04-30 02:17:03 +00:00
Alan Mishchenko 5f16cd94d6 Adding new API to MiniAIG. 2020-04-29 15:13:36 -07:00
Alan Mishchenko f030a2a5e2 Adding new API to MiniAIG. 2020-04-29 14:41:57 -07:00
Alan Mishchenko cf1fdc82e4 Bug fix in 'resub' to enable additional divisors, by Siang-Yun Lee. 2020-04-27 18:52:19 -07:00
Eddie Hung f2316ab7c8 Gia_ManDupPermFlop to behave as Gia_ManDupPerm
Fixes sequential synthesis (e.g. &scl) for multiple domains
2020-04-27 15:09:04 -07:00
Alan Mishchenko ea1fbfc971 New AIG restructuring feature. 2020-04-23 15:33:49 -07:00
Alan Mishchenko 978b5db039 Fix a bug in comb loop detection. 2020-04-22 16:49:21 -07:00
Alan Mishchenko 94a2cffefe Improving simulation patterns by local search. 2020-04-17 18:58:21 -07:00
Alan Mishchenko d0e316df5b Improving simulation patterns by local search. 2020-04-17 18:56:12 -07:00
Alan Mishchenko 5f163c0152 Fixing broken build and compiler warnings. 2020-04-17 10:32:38 -07:00
Alan Mishchenko 61a88f164c Fixing broken build and compiler warnings. 2020-04-17 10:16:26 -07:00
Alan Mishchenko 203a7d6ad8 Fixing broken build and compiler warnings. 2020-04-17 10:14:44 -07:00
Alan Mishchenko 92abe5cb87 Removing debug stop. 2020-04-17 09:55:54 -07:00
Alan Mishchenko fbf70c5fbb Memory leak. 2020-04-17 09:54:17 -07:00
Alan Mishchenko d7dfd06ca1 Adding check for comb loops in NDR. 2020-04-17 09:53:23 -07:00
Alan Mishchenko d14acd8e2e Fixing a typo. 2020-04-15 22:10:52 -07:00
Alan Mishchenko 423d929d5a QBF-based code generation (extending beyond 32 bits). 2020-04-13 17:02:22 -07:00
Alan Mishchenko de82737e26 QBF-based code generation. 2020-04-12 11:56:31 -07:00
Alan Mishchenko 34ae42495b QBF-based code generation. 2020-04-12 11:52:01 -07:00
Alan Mishchenko f79809050a Procedures to explore structural support of an AIG. 2020-04-10 17:44:15 -07:00
Alan Mishchenko 8eebe633d3 Various changes. 2020-04-10 12:43:01 -07:00
Alan Mishchenko 747c6a6da5 Various changes. 2020-04-10 12:40:04 -07:00
Alan Mishchenko 6e2e054509 Debugging a combo loop in NDR. 2020-04-09 10:14:40 -07:00
Alan Mishchenko a2d33837bc Adding option to &saveaig to compare AIGs by node count. 2020-04-09 09:51:46 -07:00
Alan Mishchenko dab716878f Various changes. 2020-04-08 21:11:09 -07:00
Alan Mishchenko 5d580c05de Adding option to &saveaig to compare AIGs by node count. 2020-04-07 13:14:31 -07:00
Alan Mishchenko b661fdeee7 Adding option to &saveaig to compare AIGs by node count. 2020-04-07 13:12:46 -07:00
Alan Mishchenko 2dfadb9607 Corner-case bug fix in SAT-based sim info generation. 2020-04-07 13:04:02 -07:00
Alan Mishchenko 71fd9165e3 Correctly updating the failed output when recording the CEX in bmc3 -a. 2020-04-03 23:35:47 -07:00
Alan Mishchenko 5a20a27c62 Extend ISOP to return the truth table. 2020-04-02 18:29:39 -07:00
Alan Mishchenko 65dce2fa80 Corner-case bug in MiniLUT computation. 2020-04-02 17:52:43 -07:00
Alan Mishchenko 3f758f20e8 Updating parameter in 'dump_equiv'. 2020-04-02 15:43:43 -07:00
Alan Mishchenko 1b83b4b273 Various changes. 2020-03-29 20:32:06 -07:00
Alan Mishchenko 8654192586 Various changes. 2020-03-28 18:45:48 -07:00