Added missing ct_all setup to opt_clean
authorClifford Wolf <clifford@clifford.at>
Tue, 11 Aug 2015 05:54:32 +0000 (07:54 +0200)
committerClifford Wolf <clifford@clifford.at>
Tue, 11 Aug 2015 05:54:32 +0000 (07:54 +0200)
passes/opt/opt_clean.cc

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