Eddie Hung [Fri, 12 Jul 2019 00:17:26 +0000 (17:17 -0700)]
Add Tsu offset to boxes, and comments
Eddie Hung [Fri, 12 Jul 2019 00:09:17 +0000 (17:09 -0700)]
ABC doesn't like negative delays in flop boxes...
Eddie Hung [Thu, 11 Jul 2019 21:25:47 +0000 (14:25 -0700)]
Fix FDCE_1 box
Eddie Hung [Thu, 11 Jul 2019 21:23:45 +0000 (14:23 -0700)]
Revert "$pastQ should be first input"
This reverts commit
8f9d529929f43e6ba98f06159ae9533984c6264f.
Eddie Hung [Thu, 11 Jul 2019 20:55:47 +0000 (13:55 -0700)]
Propagate INIT attr
Eddie Hung [Thu, 11 Jul 2019 20:54:40 +0000 (13:54 -0700)]
$pastQ should be first input
Eddie Hung [Thu, 11 Jul 2019 20:23:07 +0000 (13:23 -0700)]
Fix typo
Eddie Hung [Thu, 11 Jul 2019 17:52:45 +0000 (10:52 -0700)]
Short out async box
Eddie Hung [Thu, 11 Jul 2019 17:52:33 +0000 (10:52 -0700)]
Simplify to $__ABC_ASYNC box
Eddie Hung [Thu, 11 Jul 2019 17:25:59 +0000 (10:25 -0700)]
$__ABC_FD_ASYNC_MUX.Q -> Y
Eddie Hung [Thu, 11 Jul 2019 17:07:14 +0000 (10:07 -0700)]
Missing debug message
Eddie Hung [Thu, 11 Jul 2019 16:58:00 +0000 (09:58 -0700)]
Error out if abc9 not called with -lut or -luts
Eddie Hung [Thu, 11 Jul 2019 16:55:14 +0000 (09:55 -0700)]
Count $_NOT_ cells turned into $luts
Eddie Hung [Thu, 11 Jul 2019 16:22:52 +0000 (09:22 -0700)]
WIP for fixing partitioning, temporarily do not partition
Eddie Hung [Thu, 11 Jul 2019 05:54:39 +0000 (22:54 -0700)]
Restore from master
Eddie Hung [Thu, 11 Jul 2019 05:33:35 +0000 (22:33 -0700)]
Another typo
Eddie Hung [Thu, 11 Jul 2019 03:26:09 +0000 (20:26 -0700)]
abc_flop to also get topologically sorted
Eddie Hung [Thu, 11 Jul 2019 03:25:59 +0000 (20:25 -0700)]
write_verilog with *.v extension
Eddie Hung [Thu, 11 Jul 2019 03:10:20 +0000 (20:10 -0700)]
Fix clk_pol for FD*_1
Eddie Hung [Thu, 11 Jul 2019 02:59:24 +0000 (19:59 -0700)]
Another typo
Eddie Hung [Thu, 11 Jul 2019 02:05:53 +0000 (19:05 -0700)]
Another typo
Eddie Hung [Thu, 11 Jul 2019 02:04:22 +0000 (19:04 -0700)]
Fix spacing
Eddie Hung [Thu, 11 Jul 2019 02:01:13 +0000 (19:01 -0700)]
Use \$currQ
Eddie Hung [Thu, 11 Jul 2019 01:57:44 +0000 (18:57 -0700)]
Remove -retime from abc9, revert to abc behav with separate clock/en domains
Eddie Hung [Thu, 11 Jul 2019 01:57:11 +0000 (18:57 -0700)]
Preserve all parameters, plus some extra ones for clk/en polarity
Eddie Hung [Thu, 11 Jul 2019 01:56:50 +0000 (18:56 -0700)]
Small opt
Eddie Hung [Thu, 11 Jul 2019 00:54:56 +0000 (17:54 -0700)]
Change how to specify flops to ABC again
Eddie Hung [Thu, 11 Jul 2019 00:34:51 +0000 (17:34 -0700)]
Use split_tokens()
Eddie Hung [Thu, 11 Jul 2019 00:17:54 +0000 (17:17 -0700)]
Remove params from FD*_1 variants
Eddie Hung [Thu, 11 Jul 2019 00:15:49 +0000 (17:15 -0700)]
Fix typo, and have !{PRE,CLR} behave as CE
Eddie Hung [Thu, 11 Jul 2019 00:06:05 +0000 (17:06 -0700)]
Move ABC FF stuff to abc_ff.v; add support for other FD* types
Eddie Hung [Wed, 10 Jul 2019 23:23:15 +0000 (16:23 -0700)]
Uncomment IS_C_INVERTED parameter
Eddie Hung [Wed, 10 Jul 2019 23:15:57 +0000 (16:15 -0700)]
synth_xilinx's map_cells stage to techmap ff_map.v
Eddie Hung [Wed, 10 Jul 2019 23:12:33 +0000 (16:12 -0700)]
Fix box numbering
Eddie Hung [Wed, 10 Jul 2019 23:05:41 +0000 (16:05 -0700)]
Merge remote-tracking branch 'origin/master' into xaig_dff
Eddie Hung [Wed, 10 Jul 2019 21:38:13 +0000 (14:38 -0700)]
Merge pull request #1180 from YosysHQ/eddie/no_abc9_retime
Error out if -abc9 and -retime specified
Eddie Hung [Wed, 10 Jul 2019 21:38:00 +0000 (14:38 -0700)]
Merge pull request #1148 from YosysHQ/xc7mux
synth_xilinx to infer wide multiplexers using new '-widemux <min>' option
Eddie Hung [Wed, 10 Jul 2019 19:47:48 +0000 (12:47 -0700)]
Error out if -abc9 and -retime specified
Eddie Hung [Wed, 10 Jul 2019 19:32:33 +0000 (12:32 -0700)]
Add some spacing
Eddie Hung [Wed, 10 Jul 2019 19:20:04 +0000 (12:20 -0700)]
Add some ASCII art explaining mux decomposition
Clifford Wolf [Wed, 10 Jul 2019 06:48:20 +0000 (08:48 +0200)]
Merge pull request #1177 from YosysHQ/clifford/async
Fix clk2fflogic adff reset semantic to negative hold time on reset
Eddie Hung [Wed, 10 Jul 2019 04:26:38 +0000 (21:26 -0700)]
Call muxpack and pmux2shiftx before cmp2lut
Eddie Hung [Tue, 9 Jul 2019 21:29:58 +0000 (14:29 -0700)]
Restore opt_clean back to original place
Eddie Hung [Tue, 9 Jul 2019 21:28:54 +0000 (14:28 -0700)]
Restore missing techmap -map +/cmp2lut.v with LUT_WIDTH=6
David Shah [Tue, 9 Jul 2019 21:26:10 +0000 (22:26 +0100)]
synth_ecp5: Fix typo in copyright header
Signed-off-by: David Shah <dave@ds0.me>
Clifford Wolf [Tue, 9 Jul 2019 20:59:51 +0000 (22:59 +0200)]
Merge pull request #1174 from YosysHQ/eddie/fix1173
Increment _TECHMAP_BITS_CONNMAP_ by one since counting from zero
Clifford Wolf [Tue, 9 Jul 2019 20:51:25 +0000 (22:51 +0200)]
Merge pull request #1175 from whitequark/write_verilog-fix-case-attr-position
write_verilog: fix placement of case attributes
Clifford Wolf [Tue, 9 Jul 2019 20:44:39 +0000 (22:44 +0200)]
Fix tests/various/async FFL test
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Clifford Wolf [Tue, 9 Jul 2019 20:21:25 +0000 (22:21 +0200)]
Improve tests/various/async, disable failing ffl test
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Eddie Hung [Tue, 9 Jul 2019 19:35:41 +0000 (12:35 -0700)]
Extend using A[1] to preserve don't care
Eddie Hung [Tue, 9 Jul 2019 19:19:40 +0000 (12:19 -0700)]
Merge pull request #1171 from YosysHQ/revert-1166-eddie/synth_keepdc
Revert "Add "synth -keepdc" option"
Eddie Hung [Tue, 9 Jul 2019 19:16:33 +0000 (12:16 -0700)]
Merge remote-tracking branch 'origin/eddie/fix1173' into xc7mux
whitequark [Tue, 9 Jul 2019 19:14:03 +0000 (19:14 +0000)]
write_verilog: fix placement of case attributes. NFC.
Eddie Hung [Tue, 9 Jul 2019 19:14:00 +0000 (12:14 -0700)]
Increment _TECHMAP_BITS_CONNMAP_ by one since counting from zero
Clifford Wolf [Tue, 9 Jul 2019 18:58:59 +0000 (20:58 +0200)]
Add tests/various/async.{sh,v}
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Clifford Wolf [Tue, 9 Jul 2019 18:58:28 +0000 (20:58 +0200)]
Improve tests/various/run-test.sh
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Clifford Wolf [Tue, 9 Jul 2019 18:58:01 +0000 (20:58 +0200)]
Add tests/simple_abc9/.gitignore
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Eddie Hung [Tue, 9 Jul 2019 17:59:37 +0000 (10:59 -0700)]
Extend during mux decomposition with 1'bx
Eddie Hung [Tue, 9 Jul 2019 17:38:07 +0000 (10:38 -0700)]
Fix typo and comments
Eddie Hung [Tue, 9 Jul 2019 17:22:57 +0000 (10:22 -0700)]
Merge pull request #1170 from YosysHQ/eddie/fix_double_underscore
Rename __builtin_bswap32 -> bswap32
Eddie Hung [Tue, 9 Jul 2019 17:22:49 +0000 (10:22 -0700)]
Merge remote-tracking branch 'origin/master' into xc7mux
Eddie Hung [Tue, 9 Jul 2019 17:21:54 +0000 (10:21 -0700)]
synth_xilinx to call commands of synth -coarse directly
Eddie Hung [Tue, 9 Jul 2019 17:15:02 +0000 (10:15 -0700)]
Revert "synth_xilinx to call "synth -run coarse" with "-keepdc""
This reverts commit
7f964859ec99500e471853f5914b6e5b7c35a031.
Eddie Hung [Tue, 9 Jul 2019 17:14:23 +0000 (10:14 -0700)]
Revert "Add "synth -keepdc" option"
Eddie Hung [Tue, 9 Jul 2019 16:35:09 +0000 (09:35 -0700)]
Rename __builtin_bswap32 -> bswap32
Eddie Hung [Tue, 9 Jul 2019 16:22:12 +0000 (09:22 -0700)]
Fix spacing
Eddie Hung [Tue, 9 Jul 2019 16:16:00 +0000 (09:16 -0700)]
Fix spacing
Clifford Wolf [Tue, 9 Jul 2019 14:59:43 +0000 (16:59 +0200)]
Merge pull request #1168 from whitequark/bugpoint-processes
Add support for processes in bugpoint
Clifford Wolf [Tue, 9 Jul 2019 14:59:18 +0000 (16:59 +0200)]
Merge pull request #1169 from whitequark/more-proc-cleanups
A new proc_prune pass
Clifford Wolf [Tue, 9 Jul 2019 14:57:16 +0000 (16:57 +0200)]
Merge pull request #1163 from whitequark/more-case-attrs
More support for case rule attributes
Clifford Wolf [Tue, 9 Jul 2019 14:56:29 +0000 (16:56 +0200)]
Merge pull request #1162 from whitequark/rtlil-case-attrs
Allow attributes on individual switch cases in RTLIL
Clifford Wolf [Tue, 9 Jul 2019 14:49:08 +0000 (16:49 +0200)]
Merge pull request #1167 from YosysHQ/eddie/xc7srl_cleanup
Cleanup synth_xilinx SRL inference, make more consistent
whitequark [Tue, 9 Jul 2019 08:14:52 +0000 (08:14 +0000)]
proc_prune: promote assigns to module connections when legal.
This can pave the way for further transformations by exposing
identities that were previously hidden in a process to any pass that
uses SigMap. Indeed, this commit removes some ad-hoc logic from
proc_init that appears to have been tailored to the output of
genrtlil in favor of using `SigMap.apply()`. (This removal is not
optional, as the ad-hoc logic cannot cope with the result of running
proc_prune; a similar issue was fixed in proc_arst.)
whitequark [Mon, 8 Jul 2019 15:19:01 +0000 (15:19 +0000)]
proc_prune: new pass.
The proc_prune pass is similar in nature to proc_rmdead pass: while
proc_rmdead removes branches that never become active because another
branch preempts it, proc_prune removes assignments that never become
active because another assignment preempts them.
Genrtlil contains logic similar to the proc_prune pass, but their
purpose is different: genrtlil has to prune assignments to adapt
the semantics of blocking assignments in HDLs (latest assignment
wins) to semantics of assignments in RTLIL processes (assignment in
the most specific case wins). On the other hand proc_prune is
a general purpose RTLIL simplification that benefits all frontends,
even those not using the Yosys AST library.
The proc_prune pass is added to the proc script after proc_rmdead,
since it gives better results with fewer branches.
whitequark [Tue, 9 Jul 2019 09:08:38 +0000 (09:08 +0000)]
bugpoint: add -assigns and -updates options.
whitequark [Tue, 9 Jul 2019 08:57:57 +0000 (08:57 +0000)]
proc_clean: add -quiet option.
This is useful for other passes that call it often, like bugpoint.
Eddie Hung [Tue, 9 Jul 2019 06:51:13 +0000 (23:51 -0700)]
Decompose mux inputs in delay-orientated (rather than area) fashion
Eddie Hung [Tue, 9 Jul 2019 06:49:16 +0000 (23:49 -0700)]
Do not call opt -mux_undef (part of -full) before muxcover
Eddie Hung [Tue, 9 Jul 2019 06:05:48 +0000 (23:05 -0700)]
Add one more comment
Eddie Hung [Tue, 9 Jul 2019 06:02:57 +0000 (23:02 -0700)]
Less thinking
Eddie Hung [Tue, 9 Jul 2019 05:56:19 +0000 (22:56 -0700)]
Reword
Eddie Hung [Tue, 9 Jul 2019 04:43:16 +0000 (21:43 -0700)]
Merge pull request #1166 from YosysHQ/eddie/synth_keepdc
Add "synth -keepdc" option
Eddie Hung [Tue, 9 Jul 2019 02:26:43 +0000 (19:26 -0700)]
Merge branch 'master' of github.com:YosysHQ/yosys
Eddie Hung [Tue, 9 Jul 2019 02:23:24 +0000 (19:23 -0700)]
synth_xilinx to call "synth -run coarse" with "-keepdc"
Eddie Hung [Tue, 9 Jul 2019 02:21:53 +0000 (19:21 -0700)]
Merge remote-tracking branch 'origin/eddie/synth_keepdc' into xc7mux
Eddie Hung [Tue, 9 Jul 2019 02:21:21 +0000 (19:21 -0700)]
Clarify script -scriptwire doc
Eddie Hung [Tue, 9 Jul 2019 02:15:37 +0000 (19:15 -0700)]
Add synth -keepdc to CHANGELOG
Eddie Hung [Tue, 9 Jul 2019 02:15:07 +0000 (19:15 -0700)]
Clarify 'wreduce -keepdc' doc
Eddie Hung [Tue, 9 Jul 2019 02:14:54 +0000 (19:14 -0700)]
Add synth -keepdc option
Eddie Hung [Tue, 9 Jul 2019 00:06:35 +0000 (17:06 -0700)]
Map $__XILINX_SHIFTX in a more balanced manner
Eddie Hung [Tue, 9 Jul 2019 00:06:22 +0000 (17:06 -0700)]
Capitalisation
Eddie Hung [Tue, 9 Jul 2019 00:04:39 +0000 (17:04 -0700)]
Add synth_xilinx -widemux recommended value
Eddie Hung [Mon, 8 Jul 2019 21:34:37 +0000 (14:34 -0700)]
Merge pull request #1164 from YosysHQ/eddie/muxcover_mux2
Add muxcover -mux2=cost option
David Shah [Mon, 8 Jul 2019 20:04:33 +0000 (21:04 +0100)]
Merge pull request #1160 from ZirconiumX/cyclone_v
synth_intel: Warn about untested Quartus backend
Eddie Hung [Mon, 8 Jul 2019 19:50:59 +0000 (12:50 -0700)]
Update muxcover doc as per @ZirconiumX
Eddie Hung [Mon, 8 Jul 2019 19:03:38 +0000 (12:03 -0700)]
Fixes for 2:1 muxes
Eddie Hung [Mon, 8 Jul 2019 18:29:21 +0000 (11:29 -0700)]
synth_xilinx -widemux=2 is minimum now
Eddie Hung [Mon, 8 Jul 2019 18:08:20 +0000 (11:08 -0700)]
Parametric muxcover costs as per @daveshah1
Eddie Hung [Mon, 8 Jul 2019 18:00:31 +0000 (11:00 -0700)]
Merge remote-tracking branch 'origin/eddie/muxcover_mux2' into xc7mux
Eddie Hung [Mon, 8 Jul 2019 18:00:06 +0000 (11:00 -0700)]
atoi -> stoi