mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-13 04:28:18 +00:00
write_xaiger: skip abc9_flop only if abc_box_seq present
This commit is contained in:
parent
1c41dc6b95
commit
d6da9c0c0f
|
@ -226,7 +226,7 @@ struct XAigerWriter
|
||||||
}
|
}
|
||||||
|
|
||||||
if (inst_module) {
|
if (inst_module) {
|
||||||
bool abc9_flop = inst_module->get_bool_attribute("\\abc9_flop");
|
bool abc9_flop = false;
|
||||||
auto it = cell->attributes.find("\\abc9_box_seq");
|
auto it = cell->attributes.find("\\abc9_box_seq");
|
||||||
if (it != cell->attributes.end()) {
|
if (it != cell->attributes.end()) {
|
||||||
int abc9_box_seq = it->second.as_int();
|
int abc9_box_seq = it->second.as_int();
|
||||||
|
@ -234,6 +234,7 @@ struct XAigerWriter
|
||||||
box_list.resize(abc9_box_seq+1);
|
box_list.resize(abc9_box_seq+1);
|
||||||
box_list[abc9_box_seq] = cell;
|
box_list[abc9_box_seq] = cell;
|
||||||
// Only flop boxes may have arrival times
|
// Only flop boxes may have arrival times
|
||||||
|
abc9_flop = inst_module->get_bool_attribute("\\abc9_flop");
|
||||||
if (!abc9_flop)
|
if (!abc9_flop)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue