Added splitnets to synth_greenpak4
authorAndrew Zonenberg <azonenberg@drawersteak.com>
Wed, 30 Mar 2016 03:02:59 +0000 (20:02 -0700)
committerAndrew Zonenberg <azonenberg@drawersteak.com>
Wed, 30 Mar 2016 03:02:59 +0000 (20:02 -0700)
techlibs/greenpak4/synth_greenpak4.cc

index 04166d8be737ddf0a8f81fd1a3c04eb38a6aaf55..872ad5a2c4301cc738b981887183373b206f0e9f 100644 (file)
@@ -108,6 +108,7 @@ struct SynthGreenPAK4Pass : public Pass {
                log("        check -noinit\n");
                log("\n");
                log("    json:\n");
+               log("        splitnets                    (temporary workaround for gp4par parser limitation)\n");
                log("        write_json <file-name>\n");
                log("\n");
        }
@@ -221,6 +222,7 @@ struct SynthGreenPAK4Pass : public Pass {
 
                if (check_label(active, run_from, run_to, "json"))
                {
+                       Pass::call(design, "splitnets");
                        if (!json_file.empty())
                                Pass::call(design, stringf("write_json %s", json_file.c_str()));
                }