3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-05-11 17:54:44 +00:00

Merge pull request #4768 from YosysHQ/krys/refactor_selections

Refactor full_selection
This commit is contained in:
KrystalDelusion 2025-04-05 14:15:27 +13:00 committed by GitHub
commit 98d4355b82
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
38 changed files with 700 additions and 263 deletions

View file

@ -333,7 +333,7 @@ struct ClockgatePass : public Pass {
dict<ClkNetInfo, GClkNetInfo> clk_nets;
int gated_flop_count = 0;
for (auto module : design->selected_whole_modules()) {
for (auto module : design->selected_unboxed_whole_modules()) {
for (auto cell : module->cells()) {
if (!RTLIL::builtin_ff_cell_types().count(cell->type))
continue;