Cleanup
authorEddie Hung <eddie@fpgeh.com>
Thu, 2 Jan 2020 23:58:45 +0000 (15:58 -0800)
committerEddie Hung <eddie@fpgeh.com>
Thu, 2 Jan 2020 23:58:45 +0000 (15:58 -0800)
passes/techmap/abc9.cc

index a7e748ce7356d2e21c868d071eecb0d1f0f5006b..8e17460e1f02110e9541a410308a8ed1847773d8 100644 (file)
@@ -190,11 +190,10 @@ struct Abc9Pass : public ScriptPass
                run("flatten -wb @abc9_holes");
                run("techmap @abc9_holes");
                run("aigmap @abc9_holes");
-               run("select -list @abc9_holes");
                if (dff_mode)
                        run("abc9_ops -prep_dff");
                run("opt -purge @abc9_holes");
-               run("setattr -mod -set whitebox 1 @abc9_holes");
+               run("wbflip @abc9_holes");
 
                auto selected_modules = active_design->selected_modules();
                active_design->selection_stack.emplace_back(false);