mirror of https://github.com/YosysHQ/yosys.git
Add comment, use sigmap
This commit is contained in:
parent
403214f44d
commit
449b1d2c6f
|
@ -198,11 +198,11 @@ struct XAigerWriter
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Cannot fold into above due to use of sigmap
|
||||||
for (auto bit : input_bits)
|
for (auto bit : input_bits)
|
||||||
undriven_bits.erase(sigmap(bit));
|
undriven_bits.erase(sigmap(bit));
|
||||||
for (auto bit : output_bits)
|
for (auto bit : output_bits)
|
||||||
if (!bit.wire->port_input)
|
unused_bits.erase(sigmap(bit));
|
||||||
unused_bits.erase(bit);
|
|
||||||
|
|
||||||
// TODO: Speed up toposort -- ultimately we care about
|
// TODO: Speed up toposort -- ultimately we care about
|
||||||
// box ordering, but not individual AIG cells
|
// box ordering, but not individual AIG cells
|
||||||
|
|
Loading…
Reference in New Issue