From: Eddie Hung Date: Thu, 16 Apr 2020 17:40:33 +0000 (-0700) Subject: abc9: restore selected_modules() X-Git-Tag: working-ls180~549^2~30 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c50601e35e9444e9fb77fd89622b3263d85d1fd0;p=yosys.git abc9: restore selected_modules() --- diff --git a/passes/techmap/abc9_ops.cc b/passes/techmap/abc9_ops.cc index 976b6462e..4843200d8 100644 --- a/passes/techmap/abc9_ops.cc +++ b/passes/techmap/abc9_ops.cc @@ -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)) {