3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-24 01:25:33 +00:00

Revert "abc9: fix abc9_arrival for flops"

This reverts commit f7c0dbecee.
This commit is contained in:
Eddie Hung 2020-02-14 16:08:04 -08:00
parent c7af1b22ba
commit f9f86fd758
2 changed files with 4 additions and 36 deletions

View file

@ -643,6 +643,7 @@ struct XAigerWriter
write_s_buffer(ff_bits.size());
for (const auto &i : ff_bits) {
const SigBit &d = i.first;
const Cell *cell = i.second;
int mergeability = cell->attributes.at(ID(abc9_mergeability)).as_int();
@ -660,11 +661,7 @@ struct XAigerWriter
write_s_buffer(0);
}
auto it = cell->attributes.find(ID(abc9_arrival));
if (it != cell->attributes.end())
write_i_buffer(it->second.as_int());
else
write_i_buffer(0);
write_i_buffer(arrival_times.at(d, 0));
//write_o_buffer(0);
}