mirror of https://github.com/YosysHQ/yosys.git
abc_flop to also get topologically sorted
This commit is contained in:
parent
9f608d6be3
commit
375fcbe511
|
@ -312,7 +312,7 @@ struct XAigerWriter
|
||||||
undriven_bits.erase(O);
|
undriven_bits.erase(O);
|
||||||
ff_bits.emplace_back(q);
|
ff_bits.emplace_back(q);
|
||||||
}
|
}
|
||||||
else {
|
|
||||||
for (const auto &conn : cell->connections()) {
|
for (const auto &conn : cell->connections()) {
|
||||||
if (cell->input(conn.first)) {
|
if (cell->input(conn.first)) {
|
||||||
// Ignore inout for the sake of topographical ordering
|
// Ignore inout for the sake of topographical ordering
|
||||||
|
@ -326,7 +326,6 @@ struct XAigerWriter
|
||||||
bit_drivers[bit].insert(cell->name);
|
bit_drivers[bit].insert(cell->name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
else {
|
else {
|
||||||
bool cell_known = cell->known();
|
bool cell_known = cell->known();
|
||||||
for (const auto &c : cell->connections()) {
|
for (const auto &c : cell->connections()) {
|
||||||
|
|
Loading…
Reference in New Issue