3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-05-07 07:45:47 +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

@ -734,7 +734,7 @@ struct CleanPass : public Pass {
count_rm_cells = 0;
count_rm_wires = 0;
for (auto module : design->selected_whole_modules()) {
for (auto module : design->selected_unboxed_whole_modules()) {
if (module->has_processes())
continue;
rmunused_module(module, purge_mode, ys_debug(), true);