diff options
author | Eddie Hung <eddie@fpgeh.com> | 2019-12-31 22:54:56 -0800 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2020-01-01 08:33:32 -0800 |
commit | ac808c5e2aa0fbcfb5b56160131fcc61ba13da05 (patch) | |
tree | a4b57b2f1901837de9551eb47a48ff771471400c /backends/aiger | |
parent | 44d9fb0e7cee7d8986ed037429e3c9fdd1b29ba1 (diff) | |
download | yosys-ac808c5e2aa0fbcfb5b56160131fcc61ba13da05.tar.gz yosys-ac808c5e2aa0fbcfb5b56160131fcc61ba13da05.tar.bz2 yosys-ac808c5e2aa0fbcfb5b56160131fcc61ba13da05.zip |
attributes.count() -> get_bool_attribute()
Diffstat (limited to 'backends/aiger')
-rw-r--r-- | backends/aiger/xaiger.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/aiger/xaiger.cc b/backends/aiger/xaiger.cc index be900f0e7..77659b4d8 100644 --- a/backends/aiger/xaiger.cc +++ b/backends/aiger/xaiger.cc @@ -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; } |