abc -dff now implies "-D 0" otherwise retiming doesn't happen
authorEddie Hung <eddieh@ece.ubc.ca>
Fri, 5 Apr 2019 21:42:25 +0000 (14:42 -0700)
committerEddie Hung <eddieh@ece.ubc.ca>
Fri, 5 Apr 2019 21:42:25 +0000 (14:42 -0700)
passes/techmap/abc.cc

index 21b70f492805fcb5dc534664ecd07f204749467f..c828ad8edf4e330ffb20387a9c61f4d490f26f38 100644 (file)
@@ -1674,6 +1674,8 @@ struct AbcPass : public Pass {
                        }
                        if (arg == "-dff") {
                                dff_mode = true;
+                               if (delay_target.empty())
+                                       delay_target = "-D 0";
                                continue;
                        }
                        if (arg == "-clk" && argidx+1 < args.size()) {