mirror of https://github.com/YosysHQ/yosys.git
Do not put constants into output_bits
This commit is contained in:
parent
61ca83e099
commit
43cd047fb9
|
@ -229,9 +229,9 @@ struct XAigerWriter
|
||||||
/*if (!output_bits.count(b))*/
|
/*if (!output_bits.count(b))*/
|
||||||
if (abc_box)
|
if (abc_box)
|
||||||
co_bits.emplace_back(b, 0);
|
co_bits.emplace_back(b, 0);
|
||||||
else {
|
else if (b.wire) {
|
||||||
output_bits.insert(b);
|
output_bits.insert(b);
|
||||||
if (b.wire && !b.wire->port_input)
|
if (!b.wire->port_input)
|
||||||
unused_bits.erase(b);
|
unused_bits.erase(b);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue