diff options
author | whitequark <whitequark@whitequark.org> | 2019-01-02 10:21:58 +0000 |
---|---|---|
committer | whitequark <whitequark@whitequark.org> | 2019-01-02 10:21:58 +0000 |
commit | c55dfb83693c6707ecb1d7dce7824a61e87eb44d (patch) | |
tree | 0222ba0b38bc80f055bfc1213080eeb1eb970a43 /passes/opt | |
parent | 06143ab33f4064677586be2a2b0d763f0818e856 (diff) | |
download | yosys-c55dfb83693c6707ecb1d7dce7824a61e87eb44d.tar.gz yosys-c55dfb83693c6707ecb1d7dce7824a61e87eb44d.tar.bz2 yosys-c55dfb83693c6707ecb1d7dce7824a61e87eb44d.zip |
opt_lut: reflect changes in sigmap.
Otherwise, some LUTs will be missed during elimination.
Diffstat (limited to 'passes/opt')
-rw-r--r-- | passes/opt/opt_lut.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/passes/opt/opt_lut.cc b/passes/opt/opt_lut.cc index a79a9a2da..b9a1ce7a7 100644 --- 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); |