Commit Graph

4920 Commits

Author SHA1 Message Date
Alan Mishchenko a24b15d03a Suggested changes for the case when the file begings with a new line. 2022-03-29 15:31:13 -07:00
Miodrag Milanovic 00b674d5b3 fix buffer error 2022-03-22 18:45:10 +01:00
Alan Mishchenko ee228339e5 Experiments with word-level data structures. 2022-03-06 00:10:52 -08:00
Alan Mishchenko d86e8d9ed8 Experiments with word-level data structures. 2022-03-06 00:09:35 -08:00
Alan Mishchenko 32693e9857 Experiments with word-level data structures. 2022-03-05 20:58:38 -08:00
Miodrag Milanovic d7ecb23eee gcc 4.8 fix 2022-03-04 11:25:56 +01:00
Miodrag Milanović f36724e301
read_cex (#12)
Added read_cex command
2022-03-04 10:55:55 +01:00
Alan Mishchenko 6606c18c70 Interleaved variable ordering during bit-blasting. 2022-02-25 22:15:13 -08:00
Alan Mishchenko 3186a82f65 Intersection a bug in rewrite/refactor. 2022-02-23 10:11:23 -08:00
Alan Mishchenko bcf21e4677 Intersection a bug in rewrite/refactor. 2022-02-22 21:14:48 -08:00
Alan Mishchenko 31519bd6d6 Similar changes suggested in other places. 2022-02-18 14:11:17 -08:00
Alan Mishchenko b442c749e3 Suggested change to prevent ABC from crashing when compiled on Windows. 2022-02-18 10:51:49 -08:00
Anton Blanchard c93c4053d3 Fix compile error on targets with unsigned char
abc is failing to compile on ppc64le because char is unsigned by
default:

src/misc/extra/extraUtilMisc.c: In function ‘void abc::Extra_TruthExpand(int, int, unsigned int*, unsigned int, unsigned int*)’:
src/misc/extra/extraUtilMisc.c:1550:5: error: narrowing conversion of ‘-1’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
2022-02-18 13:29:38 +11:00
Alan Mishchenko 33fb7a809d Experiments with word-level data structures. 2022-02-16 21:23:21 -08:00
Alan Mishchenko ea5648db3f Improving truth table handling. 2022-02-16 15:32:53 -08:00
Miodrag Milanović b4790a64fa
Merge pull request #11 from YosysHQ/writecex_cexinfo
Integrate write_cex and cexinfo and some fixes in write_cex output code
2022-02-15 18:42:57 +01:00
Claire Xenia Wolf cea4130350 Fixes and more cleanups in write_cex output code
Signed-off-by: Claire Xenia Wolf <claire@clairexen.net>
2022-02-15 17:55:10 +01:00
Claire Xenia Wolf db7ebfb434 Cleanups in write_cex output format
Signed-off-by: Claire Xenia Wolf <claire@clairexen.net>
2022-02-15 16:40:56 +01:00
Claire Xenia Wolf 1aeff0325e Enable writing of minimized Cex in non-names mode
Signed-off-by: Claire Xenia Wolf <claire@clairexen.net>
2022-02-15 16:05:47 +01:00
Alan Mishchenko 6345832dba Improving truth table handling. 2022-02-03 18:45:11 -08:00
Alan Mishchenko faa5947278 Compiler warnings. 2022-02-02 21:39:36 -08:00
Alan Mishchenko a6f8625d64 Experiments with word-level data structures. 2022-02-02 21:37:31 -08:00
Alan Mishchenko 6097ac1d1a Adding option to dump CNF after preprocessing in &glucose. 2022-02-02 17:21:30 -08:00
Alan Mishchenko 2ccb0f7834 Suggested bug fix. 2022-01-22 13:26:06 -08:00
Baruch Sterin 554a1693ac Move CI to GitHub Actions.
Also, a few minor changes that are required to compile ABC under moder compilers.
2022-01-22 18:34:43 +02:00
Alan Mishchenko 5b8fa41ba9 Suggested bug fixes in the old code. 2022-01-21 11:33:53 -08:00
Alan Mishchenko d892e63256 Compiler warnings. 2022-01-21 11:13:18 -08:00
Alan Mishchenko 79f04c6653 Experiments with word-level data structures. 2022-01-21 11:09:10 -08:00
Alan Mishchenko 48498af818 Missing class name in the FreeBSD code. 2021-12-29 13:08:32 -08:00
Alan Mishchenko 491e0e833f Changes to pattern generation. 2021-12-26 17:57:41 +07:00
QuantamHD f288c4d7f6 Fixes internal pin parsing error in ASAP7 liberty file.
This fix addresses an issue I saw with the ASAP7 liberty files and
ABC. ASAP7 lists internal pins in its liberty file which ABC's liberty
parser doesn't account for. This causes an assert to be triggered. This
fix simply adds interal pins to the ignore list.
2021-12-20 12:55:11 -08:00
Alan Mishchenko 85b74f68f1 Adding new command &icec. 2021-12-17 10:15:57 +07:00
Alan Mishchenko 25b1a0d81c Fixing a rare problem with choice nodes. 2021-12-16 21:31:09 +07:00
Alan Mishchenko f1b64be840 Compiler warning. 2021-12-16 11:32:53 +07:00
Alan Mishchenko fb248e1ca1 Adding new command %yosys. 2021-12-16 11:30:06 +07:00
Alan Mishchenko 8e72ac36d7 Outputting the constant node in 'write_gml'. 2021-12-06 13:38:09 -08:00
Alan Mishchenko b7176ee3e5 Adding command-line switch 'testnpn -A 12' for P-only canonical form computation. 2021-12-03 18:48:26 -08:00
Alan Mishchenko 03b9f41786 Bug fix in blasting word-level flops. 2021-12-02 22:20:55 -08:00
Alan Mishchenko dfa34cc2e4 Disabling choices when they are computed incorrectly. 2021-11-30 15:23:20 -08:00
Alan Mishchenko f26ea1eaea Changes to make compiler happy. 2021-11-27 17:37:34 -08:00
Alan Mishchenko 96bdcd2bb2 Merge branch 'master' of github.com:berkeley-abc/abc 2021-11-27 17:13:03 -08:00
Alan Mishchenko b10f6bd899 Bug fix in sweep (which happens to be a rare bug in Abc_NodeMinimumBase) (additional fix). 2021-11-27 17:12:08 -08:00
whitequark 264dfc7ed4 Extend WASI platform support for glucose2.
Abort on OOM since there are no C++ exceptions yet.
2021-11-27 07:57:15 +00:00
Miodrag Milanovic 87a0a718c9 write_cex - add minimize using algorithm from cexinfo command 2021-11-19 16:22:50 +01:00
Miodrag Milanovic f6fa2ddcfc Add WASI platform support to glucose2.
Signed-off-by: Miodrag Milanovic <mmicko@gmail.com>
2021-11-12 12:39:03 +01:00
Mohamed A. Bamakhrama e792072f8a Define S_IREAD|IWRITE macros using IRUSR|IWUSR
On platforms such as Android, legacy macros are no longer defined.
Hence, we define them in terms of the new POSIX macros if the new ones are defined. Otherwise, we throw an error.

Signed-off-by: Mohamed A. Bamakhrama <mohamed@alumni.tum.de>
Signed-off-by: Miodrag Milanovic <mmicko@gmail.com>
2021-11-12 12:38:55 +01:00
whitequark e289a8059e Add WASI platform support to bsat2 and glucose.
Abort on OOM since there are no C++ exceptions yet.

Signed-off-by: Miodrag Milanovic <mmicko@gmail.com>
2021-11-12 12:38:41 +01:00
Miodrag Milanovic d2d6bbd9f8 Merge remote-tracking branch 'upstream/master' into yosys-experimental 2021-11-12 12:31:29 +01:00
alanminko 9b245d9f69
Merge pull request #139 from antmicro/fix-unconnected-couts-upstream
Consider unconnected carry-out ports
2021-11-10 09:48:58 -08:00
Alan Mishchenko 079a309a0d Bug fix in processing NDR. 2021-11-08 21:17:37 -08:00
Alan Mishchenko 621d6355f4 Temporary fix to a &blut problem. 2021-11-07 21:15:03 -08:00
Alan Mishchenko 5e4a78470b Compiler warnings. 2021-11-05 16:07:31 -07:00
Alan Mishchenko 18b4e8beef Bug fix and new procedures. 2021-11-02 20:31:32 -07:00
Alan Mishchenko a80a91e45f Bug fix and new procedures. 2021-11-02 20:28:01 -07:00
Alan Mishchenko d13e33cdd8 New API for external calls. 2021-10-26 16:58:59 -07:00
Michael Gielda 348c74e0a6
Fix typo 2021-10-26 09:36:25 +02:00
Maciej Kurc dbc5f8a3b6 Added including unconnected carry-outs in the carry-chain connection list.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2021-10-25 11:51:53 +02:00
Alan Mishchenko 456e381a02 Bug fix in sweep (which happens to be a rare bug in Abc_NodeMinimumBase). 2021-10-23 16:42:34 -07:00
Alan Mishchenko d4f073bad7 Various changes. 2021-10-22 00:00:01 -07:00
Alan Mishchenko abc54a2d20 Changing static to extern for two procedures. 2021-10-17 20:52:20 -07:00
Alan Mishchenko f0236d5ac1 Experiments with pattern generation. 2021-10-10 14:43:19 -07:00
Alan Mishchenko d514029e34 Experiments with SAT solving. 2021-10-09 15:16:18 -07:00
Alan Mishchenko 1afd156dbd New command &stochsyn for stochastic synthesis. 2021-10-07 20:34:58 -07:00
Alan Mishchenko e56a767640 Compiler warning. 2021-10-06 20:34:53 -07:00
Alan Mishchenko 227b0c775b New command &stochsyn for stochastic synthesis. 2021-10-06 20:33:41 -07:00
Alan Mishchenko 31f88974e2 Various changes. 2021-10-06 17:14:57 -07:00
Alan Mishchenko eb44a80bf2 Compiler warnings. 2021-09-30 18:08:26 -07:00
Alan Mishchenko e76b7ba0cc Compiler warnings. 2021-09-30 18:06:42 -07:00
Alan Mishchenko 674bcbee37 Various changes. 2021-09-30 18:02:33 -07:00
Alan Mishchenko a8b5da820d Other compiler changes. 2021-09-26 11:58:42 -07:00
Alan Mishchenko ba64e78608 Changing declaration of Vec_Ptr_t sorting function to satisfy some compilers. 2021-09-26 11:30:54 -07:00
Alan Mishchenko 2ce1ce8bed Various changes. 2021-09-26 11:12:17 -07:00
Alan Mishchenko 787dbb9433 Two rare corner-case bugs in &if mapper. 2021-09-26 11:05:48 -07:00
Alan Mishchenko baf2a6508d Experiment with simulation. 2021-09-22 17:43:09 -07:00
Alan Mishchenko cc13d1fb47 Adding command &reshape. 2021-09-21 10:50:10 -07:00
Alan Mishchenko 627c7d33fd Adding command &reshape. 2021-09-21 10:28:45 -07:00
Alan Mishchenko 1e69e7e7d1 Adding command &reshape. 2021-09-21 10:22:40 -07:00
Alan Mishchenko a363256098 Removing unused command. 2021-09-21 10:08:04 -07:00
Alan Mishchenko e2f1548217 Various changes. 2021-09-21 10:00:46 -07:00
Alan Mishchenko 6ca31c475f Improving MiniAIG and name manager. 2021-09-16 21:51:10 -07:00
Alan Mishchenko 997e1a2ddc Further debugging of MiniLUT APIs. 2021-09-16 17:48:57 -07:00
Alan Mishchenko ecda331a2a Various changes. 2021-09-14 22:01:41 -07:00
Alan Mishchenko c557272241 Enable command 'pipe' for pipelining. 2021-09-13 09:44:28 -07:00
Alan Mishchenko 2f993e583d Bug fix in MiniLUT code. 2021-09-13 08:40:44 -07:00
Alan Mishchenko d3d5644005 Procedure to printout MiniLUT. 2021-09-11 09:11:02 -07:00
Alan Mishchenko bafd2a7820 Disabling command print_mint when CUDD is not used. 2021-09-07 19:40:57 -07:00
Alan Mishchenko 9d89faa82b Bug fix in logic optimization. 2021-09-06 11:40:29 -07:00
Alan Mishchenko 14dc389e62 Bug fix in the timing manager. 2021-09-06 09:53:49 -07:00
Alan Mishchenko e7a029d73f Various changes. 2021-09-04 19:21:59 -07:00
Alan Mishchenko ed9c16d4f5 Additional MiniLUT API. 2021-09-03 18:14:10 -07:00
Alan Mishchenko a718318740 Various changes. 2021-09-02 22:54:19 -07:00
Alan Mishchenko 388255e557 Allow &mfs to work on sequential AIGs. 2021-08-24 14:51:24 -07:00
Alan Mishchenko 85a94766a6 Compiler warnings. 2021-08-23 19:56:26 -07:00
Alan Mishchenko 67c47fa44a Adding input/output/flop name reading in command &r. 2021-08-22 20:05:15 -07:00
Alan Mishchenko 625ccde611 Support of pair-wise miter and other changes. 2021-08-22 13:05:28 -07:00
alanminko 3b4a4481a1
Merge pull request #132 from jamesjer/aliasing
Fix violation of C strict aliasing rules.
2021-08-19 09:51:25 -07:00
alanminko 0fc13478b8
Merge pull request #133 from twier/inv_get_name_mangling_fix
Fix name-mangling behavior of inv_get
2021-08-19 09:48:58 -07:00
Alan Mishchenko 77760dd8ac Extending &trim to trim structurally equivalent primary outputs. 2021-08-19 09:48:46 -07:00
Tobias Wiersema b82a7f4677 Add comment to Wlc_NtkGetInv about vNamesIn's role 2021-08-19 18:01:38 +02:00
Tobias Wiersema d55e8fab82 Fix typo inifity -> infinity in inv_get help 2021-08-19 17:57:54 +02:00