Eddie Hung [Sat, 22 Jun 2019 00:12:34 +0000 (17:12 -0700)]
Constrain wreduce only if wide mux
Eddie Hung [Sat, 22 Jun 2019 00:06:30 +0000 (17:06 -0700)]
Simplify and comment out mux_map.v
Eddie Hung [Fri, 21 Jun 2019 23:56:56 +0000 (16:56 -0700)]
synth_xilinx to now wreduce except $mux, remove extra peepopt
Eddie Hung [Fri, 21 Jun 2019 23:55:59 +0000 (16:55 -0700)]
mux_map to no longer copy last value into 1'bx
Eddie Hung [Fri, 21 Jun 2019 23:55:34 +0000 (16:55 -0700)]
Fix spacing
Eddie Hung [Fri, 21 Jun 2019 23:47:07 +0000 (16:47 -0700)]
Fix spacing again, A_forward -> A_backward
Eddie Hung [Fri, 21 Jun 2019 23:18:29 +0000 (16:18 -0700)]
Restore wreduce to synth_xilinx, after muxcover
Eddie Hung [Fri, 21 Jun 2019 23:18:14 +0000 (16:18 -0700)]
Revert B_SIGNED optimisation, since only works for Y_WIDTH==1
Eddie Hung [Fri, 21 Jun 2019 23:06:13 +0000 (16:06 -0700)]
Fix spacing
Eddie Hung [Fri, 21 Jun 2019 22:48:20 +0000 (15:48 -0700)]
synth_xilinx to use _ABC macro, and perform muxpack again
Eddie Hung [Fri, 21 Jun 2019 22:47:42 +0000 (15:47 -0700)]
Add $__XILINX_MUXF78 to preserve entire box
Eddie Hung [Fri, 21 Jun 2019 22:46:45 +0000 (15:46 -0700)]
Do not rename non LUT cells in abc9
Eddie Hung [Fri, 21 Jun 2019 22:45:51 +0000 (15:45 -0700)]
Replace assert with error message
Eddie Hung [Fri, 21 Jun 2019 21:54:24 +0000 (14:54 -0700)]
Merge remote-tracking branch 'origin/eddie/muxpack' into xc7mux_wip
Eddie Hung [Fri, 21 Jun 2019 21:38:30 +0000 (14:38 -0700)]
Fix alignment
Eddie Hung [Fri, 21 Jun 2019 21:37:20 +0000 (14:37 -0700)]
Merge branch 'xc7mux' into xc7mux_wip
Eddie Hung [Fri, 21 Jun 2019 21:35:58 +0000 (14:35 -0700)]
One more workaround for gcc-4.8
Eddie Hung [Fri, 21 Jun 2019 21:24:35 +0000 (14:24 -0700)]
Revert "autotest.sh to cat *.err on error"
This reverts commit
21fa8972f3d04f717d0d4afbfa252e842c807619.
Eddie Hung [Fri, 21 Jun 2019 21:24:34 +0000 (14:24 -0700)]
Revert "Cat more stuff"
This reverts commit
638557de3ec600ebe240e2f25e337028ce453ba2.
Eddie Hung [Fri, 21 Jun 2019 21:23:39 +0000 (14:23 -0700)]
Workaround issues exposed by gcc-4.8
Eddie Hung [Fri, 21 Jun 2019 20:47:07 +0000 (13:47 -0700)]
Revert "Stab in the dark with aig_map from dict -> std::map"
This reverts commit
70ee10b650e01b7b262baa5c6fda934fb860dfce.
Eddie Hung [Fri, 21 Jun 2019 20:28:42 +0000 (13:28 -0700)]
Cat more stuff
Eddie Hung [Fri, 21 Jun 2019 19:46:55 +0000 (12:46 -0700)]
No point logging constant bit
Eddie Hung [Fri, 21 Jun 2019 19:43:20 +0000 (12:43 -0700)]
Move comment
Eddie Hung [Fri, 21 Jun 2019 19:41:47 +0000 (12:41 -0700)]
Stab in the dark with aig_map from dict -> std::map
Eddie Hung [Fri, 21 Jun 2019 18:15:23 +0000 (11:15 -0700)]
Add FIXME about need for -mux4
Eddie Hung [Fri, 21 Jun 2019 18:13:01 +0000 (11:13 -0700)]
Since muxcover uses MUX4s, blast them back to gates here
Eddie Hung [Fri, 21 Jun 2019 18:12:32 +0000 (11:12 -0700)]
Expand synth -coarse without wreduce, move muxcover
Eddie Hung [Fri, 21 Jun 2019 17:51:41 +0000 (10:51 -0700)]
Merge remote-tracking branch 'origin/clifford/fix1091' into xc7mux_wip
Eddie Hung [Fri, 21 Jun 2019 17:40:18 +0000 (10:40 -0700)]
autotest.sh to cat *.err on error
Clifford Wolf [Fri, 21 Jun 2019 17:24:41 +0000 (19:24 +0200)]
Replace "muxcover -freedecode" with "muxcover -dmux=cost"
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Clifford Wolf [Fri, 21 Jun 2019 08:02:10 +0000 (10:02 +0200)]
Add "muxcover -freedecode"
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Eddie Hung [Fri, 21 Jun 2019 05:29:40 +0000 (22:29 -0700)]
Fix spacing
Eddie Hung [Fri, 21 Jun 2019 05:28:55 +0000 (22:28 -0700)]
Revert Makefile
Eddie Hung [Fri, 21 Jun 2019 05:09:13 +0000 (22:09 -0700)]
Refactor bit2aig for less lookups
Eddie Hung [Fri, 21 Jun 2019 04:56:02 +0000 (21:56 -0700)]
Fix gcc invalidation behaviour for write_aiger
Eddie Hung [Fri, 21 Jun 2019 04:55:08 +0000 (21:55 -0700)]
Fix gcc error, due to dict invalidation during recursion
Eddie Hung [Fri, 21 Jun 2019 04:53:27 +0000 (21:53 -0700)]
Fix gcc warning of potentially uninitialised
Clifford Wolf [Thu, 20 Jun 2019 09:30:27 +0000 (11:30 +0200)]
Improvements in muxcover
- Slightly under-estimate cost of decoder muxes
- Prefer larger muxes at tree root at same cost
- Don't double-count input cost for partial muxes
- Add debug log output
Eddie Hung [Wed, 19 Jun 2019 17:15:41 +0000 (10:15 -0700)]
Missing a `clean` and `opt_expr -mux_bool` in test
Eddie Hung [Wed, 19 Jun 2019 17:07:34 +0000 (10:07 -0700)]
Add test
Clifford Wolf [Wed, 19 Jun 2019 11:15:54 +0000 (13:15 +0200)]
Add support for partial matches to muxcover, fixes #1091
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Eddie Hung [Fri, 21 Jun 2019 02:40:17 +0000 (19:40 -0700)]
write_xaiger to flatten 1'bx/1'bz to 1'b0 again
Eddie Hung [Fri, 21 Jun 2019 02:37:03 +0000 (19:37 -0700)]
Fix simple_abc9/generate test with 1'bx at MSB
Eddie Hung [Fri, 21 Jun 2019 02:31:22 +0000 (19:31 -0700)]
Fix different abc9 test
Eddie Hung [Fri, 21 Jun 2019 02:27:00 +0000 (19:27 -0700)]
Fix broken abc9.v test due to inout being 1'bx
Eddie Hung [Fri, 21 Jun 2019 02:06:51 +0000 (19:06 -0700)]
Run simple_abc9 tests
Eddie Hung [Fri, 21 Jun 2019 00:29:45 +0000 (17:29 -0700)]
Fix issue with part of PI being 1'bx
Eddie Hung [Thu, 20 Jun 2019 23:45:09 +0000 (16:45 -0700)]
Call opt_expr -mux_undef to get rid of 1'bx in muxes prior to abc
Eddie Hung [Thu, 20 Jun 2019 23:45:04 +0000 (16:45 -0700)]
mux_map to drop sign bit, and eliminate 'bx-es
Eddie Hung [Thu, 20 Jun 2019 23:08:58 +0000 (16:08 -0700)]
Merge remote-tracking branch 'origin/eddie/fix1115' into xc7mux
Eddie Hung [Thu, 20 Jun 2019 23:08:36 +0000 (16:08 -0700)]
Merge remote-tracking branch 'origin/eddie/fix1118' into xc7mux
Eddie Hung [Thu, 20 Jun 2019 23:07:22 +0000 (16:07 -0700)]
Add test
Eddie Hung [Thu, 20 Jun 2019 23:04:12 +0000 (16:04 -0700)]
Make genvar a signed type
Eddie Hung [Thu, 20 Jun 2019 19:45:40 +0000 (12:45 -0700)]
Add CHANGELOG entry
Eddie Hung [Thu, 20 Jun 2019 19:43:59 +0000 (12:43 -0700)]
Extend sign extension tests
Eddie Hung [Thu, 20 Jun 2019 19:43:39 +0000 (12:43 -0700)]
Maintain "is_unsized" state of constants
Eddie Hung [Thu, 20 Jun 2019 19:40:05 +0000 (12:40 -0700)]
Revert "Fix sign extension when sign is 1'bx"
This reverts commit
0221f3e1c5b427678c5679027ee47ec7c0b8321d.
Eddie Hung [Thu, 20 Jun 2019 17:47:20 +0000 (10:47 -0700)]
Handle COs driven by 1'bx
Eddie Hung [Thu, 20 Jun 2019 17:22:14 +0000 (10:22 -0700)]
Do not call "setundef -zero" in abc9
Eddie Hung [Thu, 20 Jun 2019 17:21:57 +0000 (10:21 -0700)]
write_xaiger to skip POs driven by 1'bx
Eddie Hung [Thu, 20 Jun 2019 17:18:10 +0000 (10:18 -0700)]
Merge remote-tracking branch 'origin/eddie/fix1115' into xc7mux
Eddie Hung [Thu, 20 Jun 2019 17:18:01 +0000 (10:18 -0700)]
Merge remote-tracking branch 'origin/master' into xc7mux
Eddie Hung [Thu, 20 Jun 2019 17:15:04 +0000 (10:15 -0700)]
Remove leftover comment
Eddie Hung [Thu, 20 Jun 2019 17:10:43 +0000 (10:10 -0700)]
Add test
Eddie Hung [Thu, 20 Jun 2019 17:04:42 +0000 (10:04 -0700)]
Fix sign extension when sign is 1'bx
Clifford Wolf [Thu, 20 Jun 2019 13:34:52 +0000 (15:34 +0200)]
Fix typo, fixes #1095
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Clifford Wolf [Thu, 20 Jun 2019 13:23:55 +0000 (15:23 +0200)]
Improve shregmap help message, fixes #1113
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Clifford Wolf [Thu, 20 Jun 2019 12:27:57 +0000 (14:27 +0200)]
Update some .gitignore files
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Clifford Wolf [Thu, 20 Jun 2019 10:23:07 +0000 (12:23 +0200)]
Fix typo
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Clifford Wolf [Thu, 20 Jun 2019 10:06:58 +0000 (12:06 +0200)]
Merge branch 'towoe-unpacked_arrays'
Clifford Wolf [Thu, 20 Jun 2019 10:06:07 +0000 (12:06 +0200)]
Add proper test for SV-style arrays
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Clifford Wolf [Thu, 20 Jun 2019 10:03:00 +0000 (12:03 +0200)]
Merge branch 'unpacked_arrays' of https://github.com/towoe/yosys-sv into towoe-unpacked_arrays
Eddie Hung [Wed, 19 Jun 2019 22:30:50 +0000 (15:30 -0700)]
Merge pull request #1111 from acw1251/help_summary_fixes
Fixed the help summary line for a few commands
acw1251 [Wed, 19 Jun 2019 20:39:46 +0000 (16:39 -0400)]
Fixed small typo in ice40_unlut help summary
acw1251 [Wed, 19 Jun 2019 19:27:04 +0000 (15:27 -0400)]
Fixed the help summary line for a few commands
Eddie Hung [Wed, 19 Jun 2019 16:51:11 +0000 (09:51 -0700)]
Fix bug in #1078, add entry to CHANGELOG
Eddie Hung [Wed, 19 Jun 2019 16:20:31 +0000 (09:20 -0700)]
Merge branch 'xaig' into xc7mux
Clifford Wolf [Wed, 19 Jun 2019 15:25:39 +0000 (17:25 +0200)]
Merge pull request #1109 from YosysHQ/clifford/fix1106
Add "read_verilog -pwires" feature
Clifford Wolf [Wed, 19 Jun 2019 12:38:50 +0000 (14:38 +0200)]
Add "read_verilog -pwires" feature, closes #1106
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Clifford Wolf [Wed, 19 Jun 2019 11:53:07 +0000 (13:53 +0200)]
Merge pull request #1105 from YosysHQ/clifford/fixlogicinit
Improve handling of initial/default values
Tobias Wölfel [Wed, 19 Jun 2019 10:47:48 +0000 (12:47 +0200)]
Unpacked array declaration using size
Allows fixed-sized array dimension specified by a single number.
This commit is based on the work from PeterCrozier
https://github.com/YosysHQ/yosys/pull/560.
But is split out of the original work.
Clifford Wolf [Wed, 19 Jun 2019 10:20:35 +0000 (12:20 +0200)]
Make tests/aiger less chatty
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Clifford Wolf [Wed, 19 Jun 2019 10:12:08 +0000 (12:12 +0200)]
Add defvalue test, minor autotest fixes for .sv files
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Clifford Wolf [Wed, 19 Jun 2019 09:49:20 +0000 (11:49 +0200)]
Use input default values in hierarchy pass
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Clifford Wolf [Wed, 19 Jun 2019 09:37:11 +0000 (11:37 +0200)]
Add defaultvalue attribute
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Clifford Wolf [Wed, 19 Jun 2019 09:25:11 +0000 (11:25 +0200)]
Fix handling of "logic" variables with initial value
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Clifford Wolf [Wed, 19 Jun 2019 08:52:59 +0000 (10:52 +0200)]
Merge pull request #1100 from bwidawsk/home
Support ~ in filename parsing
Clifford Wolf [Wed, 19 Jun 2019 08:50:32 +0000 (10:50 +0200)]
Merge pull request #1104 from whitequark/case-semantics
Clarify switch/case semantics in RTLIL
whitequark [Wed, 19 Jun 2019 05:22:40 +0000 (05:22 +0000)]
Explain exact semantics of switch and case rules in the manual.
whitequark [Wed, 19 Jun 2019 05:22:13 +0000 (05:22 +0000)]
In RTLIL::Module::check(), check process invariants.
Ben Widawsky [Mon, 17 Jun 2019 21:45:48 +0000 (14:45 -0700)]
Support filename rewrite in backends
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Ben Widawsky [Mon, 17 Jun 2019 21:45:11 +0000 (14:45 -0700)]
Support ~ for home directory
This is tested on Linux only
v2:
Wrap functioanlity in ifndef _WIN32 (eddiehung)
Find '~/' instead of '~' (cliffordwolf)
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Eddie Hung [Tue, 18 Jun 2019 19:47:12 +0000 (12:47 -0700)]
Remove iterator based Module::remove as per @cliffordwolf
Eddie Hung [Tue, 18 Jun 2019 19:37:46 +0000 (12:37 -0700)]
Remove unncessary header
Eddie Hung [Tue, 18 Jun 2019 19:32:42 +0000 (12:32 -0700)]
Merge remote-tracking branch 'origin/master' into xaig
Eddie Hung [Tue, 18 Jun 2019 19:19:22 +0000 (12:19 -0700)]
Merge remote-tracking branch 'origin/master' into xc7mux
Eddie Hung [Tue, 18 Jun 2019 18:49:54 +0000 (11:49 -0700)]
Merge remote-tracking branch 'origin/xaig' into xc7mux
Eddie Hung [Tue, 18 Jun 2019 18:48:48 +0000 (11:48 -0700)]
Really permute Xilinx LUT mappings as default LUT6.I5:A6
Eddie Hung [Tue, 18 Jun 2019 18:35:21 +0000 (11:35 -0700)]
Revert "Fix (do not) permute LUT inputs, but permute mux selects"
This reverts commit
da3d2eedd2b6391621e81b3eaaa28a571e058f9d.