projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed7540a
)
Add comment about supporting $dffe in ice40_dsp
author
Eddie Hung
<eddie@fpgeh.com>
Thu, 1 Aug 2019 22:13:18 +0000
(15:13 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Thu, 1 Aug 2019 22:13:18 +0000
(15:13 -0700)
passes/pmgen/ice40_dsp.pmg
patch
|
blob
|
history
diff --git
a/passes/pmgen/ice40_dsp.pmg
b/passes/pmgen/ice40_dsp.pmg
index 040332539a81edddaef55735b2217666f82a0123..b6da1d2f6ec5e595afb1f1842a967e382f0e7b6c 100644
(file)
--- a/
passes/pmgen/ice40_dsp.pmg
+++ b/
passes/pmgen/ice40_dsp.pmg
@@
-12,6
+12,7
@@
match mul
endmatch
match ffA
+ // TODO: Support $dffe too by checking if all enable signals are identical
select ffA->type.in($dff)
filter !port(mul, \A).remove_const().empty()
filter includes(port(ffA, \Q).to_sigbit_set(), port(mul, \A).remove_const().to_sigbit_set())