mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-24 01:25:33 +00:00
abc9_ops: cope with (* abc9_flop *) in place of (* abc9_box_id *)
This commit is contained in:
parent
48984a7605
commit
485e08e436
2 changed files with 3 additions and 3 deletions
|
@ -318,7 +318,7 @@ struct XAigerWriter
|
|||
|
||||
RTLIL::Module* box_module = module->design->module(cell->type);
|
||||
log_assert(box_module);
|
||||
log_assert(box_module->attributes.count("\\abc9_box_id"));
|
||||
log_assert(box_module->attributes.count("\\abc9_box_id") || box_module->get_bool_attribute("\\abc9_flop"));
|
||||
|
||||
auto r = box_ports.insert(cell->type);
|
||||
if (r.second) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue