Commit Graph

4723 Commits

Author SHA1 Message Date
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
Alan Mishchenko a277d450bf Experiments with simulation-based engines. 2020-03-25 12:17:12 -07:00
Alan Mishchenko c7bc6b6329 Experiments with simulation-based engines. 2020-03-22 19:39:00 -07:00
Alan Mishchenko a4518e6f83 Various changes. 2020-03-21 19:03:41 -07:00
Alan Mishchenko fb6e4ee290 Various changes. 2020-03-21 14:02:54 -07:00
Alan Mishchenko 6a6ffed8c5 Various changes. 2020-03-18 22:34:08 -07:00
Alan Mishchenko e72438b2d3 Downgrading random number generator to be not inlined. 2020-03-18 19:03:20 -07:00
Alan Mishchenko f8b1be8bbf Extending TT-based ISOP to handle ISFs. 2020-03-18 19:01:45 -07:00
Alan Mishchenko c54da1e990 Corner case bug fix in &sat -a. 2020-03-18 19:00:29 -07:00
Alan Mishchenko 488f949721 Adding limit on the number of live BDD nodes in command 'muxes -g'. 2020-03-14 16:29:15 +02:00
Alan Mishchenko 47c0f7840d Adding limit on the number of live BDD nodes in command 'muxes -g'. 2020-03-12 00:38:08 +02:00
Alan Mishchenko da5a7a235f Adding limit on the number of live BDD nodes in command 'muxes -g'. 2020-03-12 00:33:45 +02:00