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

attributes.count() -> get_bool_attribute()

This commit is contained in:
Eddie Hung 2019-12-31 22:54:56 -08:00
parent 44d9fb0e7c
commit ac808c5e2a
2 changed files with 3 additions and 3 deletions

View file

@ -284,7 +284,7 @@ struct XAigerWriter
toposort.node(cell->name);
if (inst_module->attributes.count("\\abc9_flop"))
if (inst_module->get_bool_attribute("\\abc9_flop"))
flop_boxes.push_back(cell);
continue;
}