Add comment
authorEddie Hung <eddie@fpgeh.com>
Tue, 6 Aug 2019 20:20:32 +0000 (13:20 -0700)
committerEddie Hung <eddie@fpgeh.com>
Wed, 7 Aug 2019 16:54:27 +0000 (09:54 -0700)
passes/techmap/abc9.cc

index df14f8f7e4784569fa849ca32b6ce47cde17b56d..7255e248137ea9186fc1bf40d9c340a0442e5322 100644 (file)
@@ -1263,10 +1263,11 @@ struct Abc9Pass : public Pass {
                        }
                }
 
-               Pass::call(design, "clean");
-
                assign_map.clear();
 
+               // The "clean" pass also contains a design->check() call
+               Pass::call(design, "clean");
+
                log_pop();
        }
 } Abc9Pass;