abc9: restore selected_modules()

This commit is contained in:
Eddie Hung 2020-04-16 10:40:33 -07:00
parent 8fbb55f4ab
commit c50601e35e
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ void prep_dff_hier(RTLIL::Design *design)
Design *unmap_design = new Design;
for (auto module : design->modules())
for (auto module : design->selected_modules())
for (auto cell : module->cells()) {
auto inst_module = design->module(cell->type);
if (inst_module && inst_module->attributes.count(ID::abc9_flop)) {