mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-22 13:53:40 +00:00
Selective boolopt
This commit is contained in:
parent
e8e25b4cea
commit
b2587f5e68
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ struct AigmapPass : public Pass {
|
||||||
SigBit new_bit = module->addWire(NEW_ID2_SUFFIX("new_bit"));
|
SigBit new_bit = module->addWire(NEW_ID2_SUFFIX("new_bit"));
|
||||||
auto gate = module->addNotGate(NEW_ID2_SUFFIX("inv"), bit, new_bit);
|
auto gate = module->addNotGate(NEW_ID2_SUFFIX("inv"), bit, new_bit);
|
||||||
for (auto attr : cell->attributes)
|
for (auto attr : cell->attributes)
|
||||||
gate->attributes[attr.first] = attr.second;
|
gate->attributes[attr.first] = attr.second;
|
||||||
bit = new_bit;
|
bit = new_bit;
|
||||||
if (select_mode)
|
if (select_mode)
|
||||||
new_sel.insert(gate->name);
|
new_sel.insert(gate->name);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue