Miodrag Milanovic [Wed, 8 Jun 2022 09:28:06 +0000 (11:28 +0200)]
Update changelog and manual
Lofty [Mon, 6 Jun 2022 14:29:52 +0000 (15:29 +0100)]
sta: warn on unrecognised cells only once
github-actions[bot] [Wed, 8 Jun 2022 00:15:24 +0000 (00:15 +0000)]
Bump version
Jannis Harder [Tue, 7 Jun 2022 17:45:47 +0000 (19:45 +0200)]
Merge pull request #3367 from jix/smtlib2-module-fixes
smt2: emit smtlib2_comb_expr outputs after all inputs
Jannis Harder [Tue, 7 Jun 2022 15:37:04 +0000 (17:37 +0200)]
smt2: emit smtlib2_comb_expr outputs after all inputs
Jannis Harder [Tue, 7 Jun 2022 14:47:10 +0000 (16:47 +0200)]
Merge pull request #3319 from programmerjake/smtlib2-expr-support
add smtlib2_comb_expr
Jannis Harder [Tue, 7 Jun 2022 11:19:34 +0000 (13:19 +0200)]
Merge pull request #3358 from jix/smtbmc-yices-forall
smtbmc: Force nonincremental mode when yices is used with forall
Marcelina Kościelnicka [Tue, 7 Jun 2022 02:26:25 +0000 (04:26 +0200)]
opt_ffinv: Harden against simple ff/inv loop.
Marcelina Kościelnicka [Tue, 7 Jun 2022 00:18:08 +0000 (02:18 +0200)]
iopadmap: Fix z assignment removal.
Fixes #3360.
github-actions[bot] [Sun, 5 Jun 2022 00:19:28 +0000 (00:19 +0000)]
Bump version
Miodrag Milanovic [Sat, 4 Jun 2022 06:39:50 +0000 (08:39 +0200)]
verific: proper file location for readmem commands
github-actions[bot] [Sat, 4 Jun 2022 00:16:35 +0000 (00:16 +0000)]
Bump version
Jannis Harder [Fri, 3 Jun 2022 14:45:23 +0000 (16:45 +0200)]
smtbmc: Force nonincremental mode when yices is used with forall
Jacob Lifshay [Fri, 3 Jun 2022 08:09:57 +0000 (01:09 -0700)]
don't use sed -i because it won't work on macos
Miodrag Milanovic [Fri, 3 Jun 2022 06:38:16 +0000 (08:38 +0200)]
Fix preventing show crashing with newer graphviz
Jacob Lifshay [Fri, 3 Jun 2022 06:12:07 +0000 (23:12 -0700)]
smtlib2_module: try to fix test on macos
Jacob Lifshay [Fri, 3 Jun 2022 05:37:29 +0000 (22:37 -0700)]
smt2: Add smtlib2_comb_expr attribute to allow user-selected smtlib2 expressions
github-actions[bot] [Fri, 3 Jun 2022 00:14:33 +0000 (00:14 +0000)]
Bump version
Marcelina Kościelnicka [Thu, 2 Jun 2022 15:15:28 +0000 (17:15 +0200)]
Add -no-rw-check option to memory_dff + memory + synth_{ice40,ecp5,gowin}.
Marcelina Kościelnicka [Thu, 2 Jun 2022 09:47:29 +0000 (11:47 +0200)]
memory_dff: Add support for no_rw_check attribute.
Jannis Harder [Tue, 31 May 2022 13:56:36 +0000 (15:56 +0200)]
Merge pull request #3348 from zachjs/func-tern-hint
verilog: fix width/sign detection for functions
github-actions[bot] [Tue, 31 May 2022 00:16:32 +0000 (00:16 +0000)]
Bump version
Zachary Snow [Mon, 30 May 2022 20:45:39 +0000 (16:45 -0400)]
verilog: fix width/sign detection for functions
Miodrag Milanović [Mon, 30 May 2022 15:03:39 +0000 (17:03 +0200)]
Merge pull request #3347 from DanielHuisman/fix-3053
Fix typo in emcc flags (typo introduced by #3053)
Daniel Huisman [Mon, 30 May 2022 15:01:02 +0000 (17:01 +0200)]
Fix typo in emcc flags (typo introduced by #3053)
Jannis Harder [Fri, 20 May 2022 19:46:39 +0000 (21:46 +0200)]
verilog: fix size and signedness of array querying functions
genrtlil.cc and simplify.cc had inconsistent and slightly broken
handling of signedness for array querying functions. These functions are
defined to return a signed result. Simplify always produced an unsigned
and genrtlil always a signed 32-bit result ignoring the context.
Includes tests for the the relvant edge cases for context dependent
conversions.
github-actions[bot] [Sat, 28 May 2022 00:16:59 +0000 (00:16 +0000)]
Bump version
Patrick Urban [Fri, 27 May 2022 21:35:26 +0000 (23:35 +0200)]
gatemate: Fix minor issues with `memory_libmap` (#3343)
Miodrag Milanović [Fri, 27 May 2022 14:51:16 +0000 (16:51 +0200)]
Merge pull request #3333 from mohamed/feature/tmpdir
Observe $TMPDIR variable when creating tmp files
Miodrag Milanovic [Fri, 27 May 2022 14:13:55 +0000 (16:13 +0200)]
Cleanup, and fix windows
Mohamed A. Bamakhrama [Mon, 23 May 2022 20:21:45 +0000 (22:21 +0200)]
Observe $TMPDIR variable when creating tmp files
POSIX defines $TMPDIR as containing the pathname of the directory where
programs can create temporary files. On most systems, this variable points to
"/tmp". However, on some systems it can point to a different location.
Without respecting this variable, yosys fails to run on such systems.
Signed-off-by: Mohamed A. Bamakhrama <mohamed@alumni.tum.de>
Miodrag Milanović [Fri, 27 May 2022 12:45:35 +0000 (14:45 +0200)]
Merge pull request #3341 from mmicko/unused_vars
Remove set but unused variable
Miodrag Milanovic [Fri, 27 May 2022 12:15:25 +0000 (14:15 +0200)]
Upload emscripten artifact
Miodrag Milanovic [Fri, 27 May 2022 10:37:03 +0000 (12:37 +0200)]
Remove set but unused variable
Miodrag Milanovic [Fri, 27 May 2022 09:05:17 +0000 (11:05 +0200)]
Add emcc build (stuck if all cpus used on GH)
Miodrag Milanovic [Fri, 27 May 2022 09:04:16 +0000 (11:04 +0200)]
Proper std::move
Miodrag Milanovic [Fri, 27 May 2022 08:23:34 +0000 (10:23 +0200)]
Use proper operator
Miodrag Milanović [Fri, 27 May 2022 08:13:44 +0000 (10:13 +0200)]
Merge pull request #3053 from DanielHuisman/pr-2
Fix emcc warnings for WebAssembly build
github-actions[bot] [Thu, 26 May 2022 00:17:28 +0000 (00:17 +0000)]
Bump version
Jannis Harder [Tue, 24 May 2022 15:18:53 +0000 (17:18 +0200)]
verilog: fix $past's signedness
Miodrag Milanović [Wed, 25 May 2022 15:34:19 +0000 (17:34 +0200)]
Merge pull request #3011 from DanielHuisman/pr-1
Update WaveDrom script URLs in YosysJS demo
Jannis Harder [Wed, 25 May 2022 10:25:04 +0000 (12:25 +0200)]
Merge pull request #3335 from programmerjake/divfloor-in-write_smt2
add $divfloor support to write_smt2
Miodrag Milanović [Wed, 25 May 2022 09:33:11 +0000 (11:33 +0200)]
Merge pull request #3138 from DanielG/fix-git-rev
Make GIT_REV logic work in release tarballs
Daniel Gröber [Thu, 30 Dec 2021 17:45:15 +0000 (18:45 +0100)]
Make GIT_REV logic work in release tarballs
Currently GIT_REV doesn't get set properly when building a release
tarball. To fix this we arrange for .gitcommit to contain the (short)
commit hash in tarballs generated with git-archive(1) using export-subst in
gitattributes. This way the correct commit hash is (reproducibly) included
in the release tarballs while not burdening the maintainers with updating
it in the git repo.
Please note this even works on Github and similar forges as they use
git-archive for generating tarballs so this works out quite nicely.
Jannis Harder [Tue, 24 May 2022 12:32:14 +0000 (14:32 +0200)]
verilog: fix signedness when removing unreachable cases
Jacob Lifshay [Tue, 24 May 2022 08:34:25 +0000 (01:34 -0700)]
add $divfloor support to write_smt2
Fixes: #3330
github-actions[bot] [Tue, 24 May 2022 00:18:18 +0000 (00:18 +0000)]
Bump version
Miodrag Milanović [Mon, 23 May 2022 18:01:44 +0000 (20:01 +0200)]
Merge pull request #3332 from YosysHQ/verific_f
Update Verific command file documentation
Miodrag Milanovic [Mon, 23 May 2022 17:57:21 +0000 (19:57 +0200)]
fix text to fit 80 columns
Miodrag Milanovic [Mon, 23 May 2022 17:35:14 +0000 (19:35 +0200)]
Update verific command file documentation
Miodrag Milanovic [Mon, 23 May 2022 17:13:45 +0000 (19:13 +0200)]
Use analysis mode if set in file
Miodrag Milanović [Mon, 23 May 2022 16:33:11 +0000 (18:33 +0200)]
Merge pull request #3331 from YosysHQ/git_rev_fix
work around the new(ish) git safe.directory restrictions
Jannis Harder [Mon, 23 May 2022 15:04:07 +0000 (17:04 +0200)]
Change way to get commit sha
gatecat [Sun, 1 May 2022 08:24:17 +0000 (09:24 +0100)]
abc9_ops: Don't leave unused derived modules lying around
These later become accidentally used for techmap replacements for
blackboxes that we don't actually want.
Signed-off-by: gatecat <gatecat@ds0.me>
github-actions[bot] [Sat, 21 May 2022 00:16:34 +0000 (00:16 +0000)]
Bump version
Jannis Harder [Fri, 20 May 2022 15:40:40 +0000 (17:40 +0200)]
Merge pull request #3324 from jix/confusing-select-errors
select: Fix -assert-none and -assert-any error output and docs
Jannis Harder [Thu, 19 May 2022 11:58:46 +0000 (13:58 +0200)]
select: Fix -assert-none and -assert-any error output and docs
Both of these options consider a selection containing only empty modules
as non-empty. This wasn't mentioned in the documentation nor did the
error message when using `select -assert-none` list those empty modules,
which produced a very confusing error message complaining about a
non-empty selection followed by an empty listing of the selection.
This fixes the documentation and changes the `-assert-none` and
`-assert-any` assertion error messages to also output fully selected
modules (this includes selected empty modules).
It doesn't change the messages for `-assert-count` etc. as they don't
count modules.
github-actions[bot] [Thu, 19 May 2022 00:17:59 +0000 (00:17 +0000)]
Bump version
Marcelina Kościelnicka [Wed, 18 May 2022 19:20:42 +0000 (21:20 +0200)]
Add memory_bmux2rom pass.
Marcelina Kościelnicka [Fri, 6 May 2022 14:30:56 +0000 (16:30 +0200)]
Add memory_libmap tests.
Marcelina Kościelnicka [Sun, 6 Mar 2022 05:49:18 +0000 (06:49 +0100)]
gatemate: Use `memory_libmap` pass.
Marcelina Kościelnicka [Sun, 6 Mar 2022 02:43:13 +0000 (03:43 +0100)]
machxo2: Use `memory_libmap` pass.
Marcelina Kościelnicka [Sun, 6 Mar 2022 01:21:53 +0000 (02:21 +0100)]
efinix: Use `memory_libmap` pass.
Marcelina Kościelnicka [Sun, 27 Feb 2022 08:57:10 +0000 (09:57 +0100)]
anlogic: Use `memory_libmap` pass.
Marcelina Kościelnicka [Sun, 27 Feb 2022 08:29:26 +0000 (09:29 +0100)]
ice40: Use `memory_libmap` pass.
Marcelina Kościelnicka [Sun, 6 Feb 2022 09:10:40 +0000 (10:10 +0100)]
xilinx: Use `memory_libmap` pass.
Marcelina Kościelnicka [Wed, 9 Feb 2022 08:25:45 +0000 (09:25 +0100)]
gowin: Use `memory_libmap` pass.
Marcelina Kościelnicka [Tue, 8 Feb 2022 02:52:50 +0000 (03:52 +0100)]
nexus: Use `memory_libmap` pass.
Marcelina Kościelnicka [Tue, 8 Feb 2022 02:52:16 +0000 (03:52 +0100)]
ecp5: Use `memory_libmap` pass.
Marcelina Kościelnicka [Sun, 6 Feb 2022 09:10:21 +0000 (10:10 +0100)]
Add memory_libmap pass.
Marcelina Kościelnicka [Wed, 18 May 2022 06:18:13 +0000 (08:18 +0200)]
proc_rom: Add special handling of const-0 address bits.
github-actions[bot] [Wed, 18 May 2022 00:16:27 +0000 (00:16 +0000)]
Bump version
Miodrag Milanović [Tue, 17 May 2022 07:33:20 +0000 (09:33 +0200)]
Merge pull request #3310 from robinsonb5-PRs/master
Now calls Tcl_Init after creating the interp, fixes clock format.
Marcelina Kościelnicka [Mon, 16 May 2022 23:52:55 +0000 (01:52 +0200)]
opt_ffinv: Use ModIndex instead of ModWalker.
This avoids using out-of-data index information.
Alastair M. Robinson [Mon, 16 May 2022 19:22:28 +0000 (20:22 +0100)]
Use log_warning when Tcl_Init fails, report error with Tcl_ErrnoMsg.
Jannis Harder [Mon, 16 May 2022 14:15:04 +0000 (16:15 +0200)]
Merge pull request #3314 from jix/sva_value_change_logic_wide
verific: Use new value change logic also for $stable of wide signals.
github-actions[bot] [Sat, 14 May 2022 00:19:50 +0000 (00:19 +0000)]
Bump version
Marcelina Kościelnicka [Fri, 13 May 2022 14:59:52 +0000 (16:59 +0200)]
Add opt_ffinv pass.
github-actions[bot] [Fri, 13 May 2022 00:19:56 +0000 (00:19 +0000)]
Bump version
Marcelina Kościelnicka [Thu, 12 May 2022 21:36:28 +0000 (23:36 +0200)]
Add proc_rom pass.
Jannis Harder [Wed, 11 May 2022 10:55:53 +0000 (12:55 +0200)]
verific: Use new value change logic also for $stable of wide signals.
I missed this in the previous PR.
Alastair M. Robinson [Tue, 10 May 2022 17:48:54 +0000 (18:48 +0100)]
Now calls Tcl_Init after creating the interp, fixes clock format.
github-actions[bot] [Tue, 10 May 2022 00:16:26 +0000 (00:16 +0000)]
Bump version
Jannis Harder [Mon, 9 May 2022 14:40:34 +0000 (16:40 +0200)]
Merge pull request #3305 from jix/sva_value_change_logic
verific: Improve logic generated for SVA value change expressions
Jannis Harder [Mon, 9 May 2022 14:07:39 +0000 (16:07 +0200)]
Merge pull request #3297 from jix/sva_nested_clk_else
verific: Fix conditions of SVAs with explicit clocks within procedures
Jannis Harder [Mon, 9 May 2022 13:04:01 +0000 (15:04 +0200)]
verific: Improve logic generated for SVA value change expressions
The previously generated logic assumed an unconstrained past value in
the initial state and did not handle 'x values. While the current formal
verification flow uses 2-valued logic, SVA value change expressions
require a past value of 'x during the initial state to behave in the
expected way (i.e. to consider both an initial 0 and an initial 1 as
$changed and an initial 1 as $rose and an initial 0 as $fell).
This patch now generates logic that at the same time
a) provides the expected behavior in a 2-valued logic setting, not
depending on any dont-care optimizations, and
b) properly handles 'x values in yosys simulation
Miodrag Milanovic [Mon, 9 May 2022 08:12:32 +0000 (10:12 +0200)]
Next dev cycle
Miodrag Milanovic [Mon, 9 May 2022 08:11:04 +0000 (10:11 +0200)]
Release version 0.17
Miodrag Milanovic [Mon, 9 May 2022 08:06:15 +0000 (10:06 +0200)]
Update CHANGELOG
Miodrag Milanovic [Mon, 9 May 2022 07:53:01 +0000 (09:53 +0200)]
Update manual
Miodrag Milanović [Mon, 9 May 2022 07:28:09 +0000 (09:28 +0200)]
Merge pull request #3299 from YosysHQ/mmicko/sim_memory
sim pass: support for memories
Miodrag Milanovic [Mon, 9 May 2022 07:01:57 +0000 (09:01 +0200)]
Fix running sva tests
github-actions[bot] [Sun, 8 May 2022 00:16:45 +0000 (00:16 +0000)]
Bump version
Marcelina Kościelnicka [Fri, 6 May 2022 21:29:16 +0000 (23:29 +0200)]
opt_mem: Remove constant-value bit lanes.
github-actions[bot] [Sat, 7 May 2022 00:15:38 +0000 (00:15 +0000)]
Bump version
Miodrag Milanovic [Fri, 6 May 2022 13:52:24 +0000 (15:52 +0200)]
include latest abc changes
Miodrag Milanovic [Fri, 6 May 2022 13:42:39 +0000 (15:42 +0200)]
include latest abc changes
Miodrag Milanović [Fri, 6 May 2022 07:17:59 +0000 (09:17 +0200)]
Merge pull request #3300 from imhcyx/master
memory_share: fix wrong argidx in extra_args
Miodrag Milanovic [Fri, 6 May 2022 06:08:06 +0000 (08:08 +0200)]
Include abc change to fix FreeBSD build
Miodrag Milanovic [Fri, 6 May 2022 06:05:23 +0000 (08:05 +0200)]
Handle possible non-memory indexed data