Added missing ct_all setup to opt_clean

This commit is contained in:
Clifford Wolf 2015-08-11 07:54:32 +02:00
parent 883e09d8ed
commit 2185125760
1 changed files with 3 additions and 0 deletions

View File

@ -353,6 +353,8 @@ struct OptCleanPass : public Pass {
ct_reg.setup_internals_mem(); ct_reg.setup_internals_mem();
ct_reg.setup_stdcells_mem(); ct_reg.setup_stdcells_mem();
ct_all.setup(design);
for (auto module : design->selected_whole_modules_warn()) { for (auto module : design->selected_whole_modules_warn()) {
if (module->has_processes_warn()) if (module->has_processes_warn())
continue; continue;
@ -365,6 +367,7 @@ struct OptCleanPass : public Pass {
ct.clear(); ct.clear();
ct_reg.clear(); ct_reg.clear();
ct_all.clear();
log_pop(); log_pop();
} }
} OptCleanPass; } OptCleanPass;