projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06143ab
)
opt_lut: reflect changes in sigmap.
author
whitequark
<whitequark@whitequark.org>
Wed, 2 Jan 2019 10:21:58 +0000
(10:21 +0000)
committer
whitequark
<whitequark@whitequark.org>
Wed, 2 Jan 2019 10:21:58 +0000
(10:21 +0000)
Otherwise, some LUTs will be missed during elimination.
passes/opt/opt_lut.cc
patch
|
blob
|
history
diff --git
a/passes/opt/opt_lut.cc
b/passes/opt/opt_lut.cc
index a79a9a2da285369c51e48bc14e21a8def87ca1fe..b9a1ce7a7a4aaed1f4558440e1a85e92de777653 100644
(file)
--- a/
passes/opt/opt_lut.cc
+++ b/
passes/opt/opt_lut.cc
@@
-271,6
+271,8
@@
struct OptLutWorker
}
module->connect(lut_output, value);
+ sigmap.add(lut_output, value);
+
module->remove(lut);
luts.erase(lut);
luts_arity.erase(lut);