Commit Graph

11836 Commits

Author SHA1 Message Date
Claire Xenia Wolf 0516307637 Add "check -assert" to equiv_opt
Signed-off-by: Claire Xenia Wolf <claire@clairexen.net>
2022-10-07 16:04:51 +02:00
Claire Xenia Wolf f0478c520d Re-enable opt_dff_sr equiv_opt checks
Signed-off-by: Claire Xenia Wolf <claire@clairexen.net>
2022-10-07 16:04:51 +02:00
Claire Xenia Wolf afa5e6bb53 Exclude primary inputs from quiv_make rewiring
Signed-off-by: Claire Xenia Wolf <claire@clairexen.net>
2022-10-07 16:04:51 +02:00
Claire Xenia Wolf 381ce66f58 Revert "Merge pull request #641 from tklam/master"
This reverts commit 08be796cb8, reversing
changes made to 38dbb44fa0.

This fixes #2728. PR #641 did not actually "fix" #639.

The actual issue in #639 is not equiv_make, but assumptions in equiv_simple
that are not true for the test case provided in #639.
2022-10-07 16:04:51 +02:00
Jannis Harder 925f92918a clk2fflogic: Always correctly handle simultaneously changing signals
This is a complete rewrite of the FF replacing code.

The previous implementation tried to implement the negative hold time by
wrapping async control signals individually with pulse stretching. This
did not correctly model the interaction between different simultaneously
changing inputs (e.g. a falling ALOAD together with a changing AD would
load the changed AD instead of the value AD had when ALOAD was high; a
falling CLR could mask a raising SET for one cycle; etc.).

The new approach first has the logic for all updates using only sampled
values followed by the logic for all updates using only current values.
That way, e.g., a falling ALOAD will load the sampled AD value but a
still active ALOAD will load the current AD value.

The new code also has deterministic behavior for the initial state: no
operation is active when that operation would depend on a specific
previous signal value. This also means clk2fflogic will no longer
generate any additional uninitialized FFs.

I also documented the negative hold time behavior in the help message,
copying the relevant part from async2sync's help messages.
2022-10-07 16:04:51 +02:00
github-actions[bot] c4a52b1b02 Bump version 2022-10-06 00:24:43 +00:00
Miodrag Milanovic a5172df9e9 Next dev cycle 2022-10-05 11:32:11 +02:00
Miodrag Milanovic f109fa3d4c Release version 0.22 2022-10-05 11:30:38 +02:00
Miodrag Milanovic 7db26a8e59 Update CHANGELOG 2022-10-05 11:28:48 +02:00
Miodrag Milanović 11203815a8
Merge pull request #3500 from nakengelhardt/mutate_warn_not_enough
mutate: warn if less mutations possible than number requested
2022-10-05 11:28:20 +02:00
N. Engelhardt 47e73826e0 mutate: warn if less mutations possible than number requested 2022-10-05 10:59:38 +02:00
Miodrag Milanović b5d3920bf5
Merge pull request #3499 from YosysHQ/micko/verific_edif
Add support for EDIF file reading using Verific
2022-10-05 08:20:03 +02:00
github-actions[bot] 620af8b663 Bump version 2022-10-05 00:26:07 +00:00
Miodrag Milanovic 1a6f10e8ba Add support for EDIF file reading using Verific 2022-10-04 09:18:44 +02:00
Miodrag Milanović f5e2c0a498
Merge pull request #3494 from YosysHQ/micko/verific_attributes
Handle attributes imported from verific
2022-10-04 08:23:52 +02:00
Miodrag Milanovic 43267dec99 support file content redirection for verific frontened 2022-09-28 15:56:46 +02:00
Miodrag Milanovic b45517f7b7 Add comment for future self 2022-09-28 14:45:39 +02:00
Miodrag Milanovic f54ac8a6d6 Handle attributes imported from verific 2022-09-28 08:51:26 +02:00
github-actions[bot] a9795c4fce Bump version 2022-09-27 00:25:00 +00:00
Miodrag Milanović b2ddd0d42d
Merge pull request #3489 from hzeller/20220924-fix-hardcoded-bin-bash
Fix hard-coded path to /bin/bash -> /usr/bin/env bash
2022-09-26 07:53:32 +02:00
Henner Zeller f09bf58b6e Fix hard-coded path to /bin/bash -> /usr/bin/env bash
On Posix systems, the path /bin/bash is not guaranteed to
exist and it is more portable to use /usr/bin/env instead.

Fixing this for yosys-config with is the most important for
a functioning installation.

Signed-off-by: Henner Zeller <h.zeller@acm.org>
2022-09-24 22:52:42 -07:00
Miodrag Milanović fcd1be1422
Merge pull request #3486 from daglem/fix-flowmap-crash
Fix crash in flowmap
2022-09-23 16:22:46 +02:00
github-actions[bot] 0ab726e204 Bump version 2022-09-23 00:23:22 +00:00
Kamyar Mohajerani 69787f1906 remove extra space in formating 2022-09-22 15:46:36 +01:00
Kamyar Mohajerani bc1e579483 stat: add tech tech-specific utilizations to json
- refactor resource util. estimation/calculations for Xilinx and CMOS
 - don't print log_header if "-json" is set
2022-09-22 15:46:36 +01:00
github-actions[bot] 50e267eace Bump version 2022-09-22 00:20:20 +00:00
Miodrag Milanović 5580185228
Merge pull request #3488 from YosysHQ/micko/test_fix
Test fixes for latest iverilog
2022-09-21 18:01:31 +02:00
Miodrag Milanović b2eb331b83
Merge pull request #3487 from YosysHQ/micko/verific_mem_fix
Import memory attributes
2022-09-21 17:28:42 +02:00
Miodrag Milanovic 8fb498744f Import memory attributes 2022-09-21 15:48:40 +02:00
Miodrag Milanovic 1ecf6aee9b Test fixes for latest iverilog 2022-09-21 15:46:43 +02:00
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