mirror of https://github.com/YosysHQ/yosys.git
opt_lut: reflect changes in sigmap.
Otherwise, some LUTs will be missed during elimination.
This commit is contained in:
parent
06143ab33f
commit
c55dfb8369
|
@ -271,6 +271,8 @@ struct OptLutWorker
|
||||||
}
|
}
|
||||||
|
|
||||||
module->connect(lut_output, value);
|
module->connect(lut_output, value);
|
||||||
|
sigmap.add(lut_output, value);
|
||||||
|
|
||||||
module->remove(lut);
|
module->remove(lut);
|
||||||
luts.erase(lut);
|
luts.erase(lut);
|
||||||
luts_arity.erase(lut);
|
luts_arity.erase(lut);
|
||||||
|
|
Loading…
Reference in New Issue