Merge pull request #412 from azonenberg/reduce-fixes
[yosys.git] / techlibs / greenpak4 / synth_greenpak4.cc
index be12ab4955d68f7c414bac42363dd1128116a227..5e0e9e5d54761e2ca6dc14e891ac99454c85eb08 100644 (file)
@@ -155,7 +155,7 @@ struct SynthGreenPAK4Pass : public ScriptPass
 
                if (check_label("fine"))
                {
-                       run("greenpak4_counters");
+                       run("extract_counter -pout GP_DCMP,GP_DAC -maxwidth 14");
                        run("clean");
                        run("opt -fast -mux_undef -undriven -fine");
                        run("memory_map");
@@ -204,8 +204,6 @@ struct SynthGreenPAK4Pass : public ScriptPass
                        if (!json_file.empty() || help_mode)
                                run(stringf("write_json %s", help_mode ? "<file-name>" : json_file.c_str()));
                }
-
-               log_pop();
        }
 } SynthGreenPAK4Pass;