Use newly-renamed `-push-copy` option.
authorAlberto Gonzalez <boqwxp@airmail.cc>
Sat, 4 Apr 2020 22:22:54 +0000 (22:22 +0000)
committerAlberto Gonzalez <boqwxp@airmail.cc>
Sat, 4 Apr 2020 22:22:54 +0000 (22:22 +0000)
passes/sat/qbfsat.cc

index 8b7ccc685746f7d663a2160211786b087f4ab942..798a8edbb3d2a0d2b9468584872cf5f82213ca91 100644 (file)
@@ -483,7 +483,7 @@ struct QbfSatPass : public Pass {
                if (!opt.specialize_from_file) {
                        //Save the design to restore after modiyfing the current module.
                        std::string module_name = module->name.str();
-                       Pass::call(design, "design -duplicate");
+                       Pass::call(design, "design -push-copy");
 
                        //Replace input wires with wires assigned $allconst cells.
                        std::set<std::string> input_wires = validate_design_and_get_inputs(module, opt);