Commit Graph

12061 Commits

Author SHA1 Message Date
Dag Lem c4c68e8d86 Fix crash in flowmap
In 2fcc1ee72e, the following is apparantly added in order to mark any
number of undefined LUT inputs:

lut_a.append(RTLIL::Const(State::Sx, minlut - input_nodes.size()));

However this can only be done if the number of input nodes is less
than minlut.

This fixes #3317
2022-09-20 14:31:19 +02:00
github-actions[bot] a217450524 Bump version 2022-09-14 00:21:12 +00:00
N. Engelhardt da614fe13a Fix tmpdir naming when passing -nocleanup option to abc(9) on systems where base_tmpdir isn't /tmp/ 2022-09-13 19:30:40 +02:00
Miodrag Milanovic dd4a0c3034 Add CodeQL 2022-09-13 18:16:08 +02:00
github-actions[bot] d98738db5c Bump version 2022-09-09 00:21:22 +00:00
Miodrag Milanovic 5ccc941f25 Update to latest ABC changes 2022-09-08 16:08:55 +02:00
github-actions[bot] 406e12d859 Bump version 2022-09-08 00:20:56 +00:00
Miodrag Milanovic b7bf685010 Update to latest abc 2022-09-07 11:48:30 +02:00
Miodrag Milanovic 3f94f9313a verific: better fix for read callback 2022-09-07 09:48:19 +02:00
Miodrag Milanovic 06a9c7499a verific: fix crash when using prep right after read 2022-09-07 09:40:14 +02:00
github-actions[bot] 4fa4161aa6 Bump version 2022-09-07 00:53:15 +00:00
Miodrag Milanovic 07d9924a1b Next dev cycle 2022-09-06 08:26:44 +02:00
Miodrag Milanovic e6d2a900a9 Release version 0.21 2022-09-06 08:23:30 +02:00
Miodrag Milanovic 0ff129c10b Update Changelog 2022-09-06 08:22:23 +02:00
Miodrag Milanovic 6d5adb6a65 Update documentation 2022-09-06 08:08:41 +02:00
github-actions[bot] 9313549cdd Bump version 2022-09-06 00:19:31 +00:00
Aki 3f04931adb
Replaced old markdown Issue template with new GitHub forms templates (#3468)
This PR replaces the old markdown issue template with the new YAML based form templates for GitHub, this allows us to enforce required fields and also auto-tag with labels.

This doesn't remove the ability to open a blank issue, but it is obscured so it is not the primary thing people are likely to do.

This also added link entries in the issue creation page to link to the Discussions tab, Community Slack, and IRC channel.
2022-09-05 10:45:43 -04:00
Jannis Harder 1bc6ea2366
Merge pull request #3470 from jix/smtbmc-faster-parse
smtbmc: Avoid unnecessary string copies when parsing solver output
2022-09-05 14:34:13 +02:00
Jannis Harder 1d40f5e8fa smtbmc: Avoid unnecessary string copies when parsing solver output 2022-09-02 22:37:08 +02:00
github-actions[bot] 6e907acf86 Bump version 2022-09-01 00:18:29 +00:00
Miodrag Milanović d8a383b555
Merge pull request #3087 from tgingold-cern/sf2
complete support for microsemi smartfusion2 and igloo2bar
2022-08-31 09:30:09 +02:00
N. Engelhardt d829d7fe00
Merge pull request #3458 from QuantamHD/abc_faster 2022-08-31 08:58:42 +02:00
Tristan Gingold 1e0e3bd48e sf2: add NOTES about using yosys for smartfusion2 and igloo2 2022-08-31 08:40:44 +02:00
Tristan Gingold 0f6cf8b8e4 sf2: add a test for $alu gate 2022-08-31 08:40:44 +02:00
Tristan Gingold c25f3ff3df sf2: suport $alu gate and ARI1 implementation 2022-08-31 08:40:44 +02:00
Tristan Gingold 13ccdd032d synth_sf2: purge on last clean
LiberoSoc don't like unused nets.
2022-08-31 08:40:44 +02:00
Tristan Gingold 39993a92d7 sf2/cells_sim.v: add XTLOSC, SYSRESET cells 2022-08-31 08:40:44 +02:00
Tristan Gingold 1c0119aa90 sf2/cells_sim.v: add IOSTD parameter to I/O cells
This parameter is set by LiberoSoc IPs, so it is needed to avoid
errors when using those IPs.
2022-08-31 08:40:43 +02:00
Tristan Gingold 4543751a77 synth_sf2: add -discard-ffinit option to discard ff initial value
sf2 ff have no initial values, but some IP cores use initial values.
In order to use those cores on sf2, it is required to discard the
initial value (to be carefully used).
2022-08-31 08:40:43 +02:00
github-actions[bot] 7117817dbe Bump version 2022-08-30 00:21:44 +00:00
Miodrag Milanović a8506c1c76
Merge pull request #3463 from YosysHQ/micko/hierarchy_fix
Makes sure to set initial_top when top change, fixes #3462
2022-08-29 10:12:34 +02:00
Miodrag Milanovic 5b5fe76966 Add test for bug 3462 2022-08-29 10:10:09 +02:00
Miodrag Milanovic 883831bd24 Fix mingw build 2022-08-29 10:04:12 +02:00
Miodrag Milanovic 4bc1e1d1f1 Makes sure to set initial_top when change, fixes #3462 2022-08-26 17:12:56 +02:00
github-actions[bot] 060cbd3e9e Bump version 2022-08-26 00:19:20 +00:00
N. Engelhardt 0d8ee63d03
Merge pull request #3461 from YosysHQ/aki/hashlib_assert 2022-08-25 17:09:41 +02:00
Aki Van Ness 6717e02023
kernel: hashlib: cleaned up message about table size in cases where `sizeof(int) == 4`, (closes #3440) 2022-08-25 11:08:51 -04:00
N. Engelhardt 7d35003c16
Merge pull request #3449 from YosysHQ/aki/show_pathrw 2022-08-25 17:06:29 +02:00
N. Engelhardt e3eb114e75 use inttypes format specifiers 2022-08-25 13:36:51 +02:00
N. Engelhardt 7e92e80741 dump runtime information for passes to json 2022-08-25 13:36:51 +02:00
N. Engelhardt 8e640663d6
Merge pull request #3457 from KrystalDelusion/docs_width 2022-08-25 11:41:12 +02:00
Ethan Mahintorabi 114253cd54 Improves ABC command runtime by 10-100x
After speaking with the author of ABC he let me know that ifraig is a very old command, and that &get; &fraig -x; &put is over 100x faster than ifraig with improved PPA results.

After making the change I confirmed that this is in fact a major speed up. On our internal designs in O(millions) of standard cells we saw multi hour reductions in runtime.

Also included is an improvement to the dress command. Using AIG based transformations removes the spec it SATs against. Proving the input blif will make sure that no matter what commands are run the dress command can still do its job. I noticed a regression against some LUT mapping jobs that prompted me to fix this.
2022-08-24 00:35:02 +00:00
KrystalDelusion 9465b2af95 Fitting help messages to 80 character width
Uses the regex below to search (using vscode):
	^\t\tlog\("(.{10,}(?<!\\n)|.{81,}\\n)"\);

Finds any log messages double indented (which help messages are)
and checks if *either* there are is no newline character at the end,
*or* the number of characters before the newline is more than 80.
2022-08-24 10:40:57 +12:00
Aki Van Ness 1433a63165
yosys: passes: cmds: show: added filename re-writing to `show -lib` 2022-08-22 06:04:54 -04:00
Archie 15a0697c70 Adding check for BLIF names command input plane size. 2022-08-21 23:18:20 -05:00
Archie db73f3c26b Merge branch 'master' of https://github.com/ALGCDG/yosys 2022-08-21 17:18:20 -05:00
github-actions[bot] 029c2785e8 Bump version 2022-08-19 00:19:27 +00:00
Jannis Harder f1c9399b66
Merge pull request #3450 from jix/write_aiger_nonff
write_aiger: Fix non-$_FF_ FFs
2022-08-18 16:50:56 +02:00
Jannis Harder 5142fb3b5c write_aiger: Fix non-$_FF_ FFs
This broke while switching sby's formal flows to always use $_FF_'s.
2022-08-18 13:56:22 +02:00
github-actions[bot] 1c36f4cc2c Bump version 2022-08-17 00:18:21 +00:00