diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2019-06-21 17:45:53 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2019-06-21 17:45:53 +0200 |
commit | 0c3093fe49d9ba14577b38bd5032081699e05680 (patch) | |
tree | a85298b3dfe13fe03266d7b7c7e2c02974213a48 /json | |
parent | 87ecd492957af9871db60155d3dddf121ef15714 (diff) | |
download | nextpnr-0c3093fe49d9ba14577b38bd5032081699e05680.tar.gz nextpnr-0c3093fe49d9ba14577b38bd5032081699e05680.tar.bz2 nextpnr-0c3093fe49d9ba14577b38bd5032081699e05680.zip |
fix regression
Diffstat (limited to 'json')
-rw-r--r-- | json/jsonparse.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/json/jsonparse.cc b/json/jsonparse.cc index 5c5c1bcd..81b0c3be 100644 --- a/json/jsonparse.cc +++ b/json/jsonparse.cc @@ -748,7 +748,6 @@ void json_import(Context *ctx, string modname, JsonNode *node) for (int attrid = 0; attrid < GetSize(attr_node->data_dict_keys); attrid++) { json_import_top_attrib(ctx, modname, attr_node, &ctx->attrs, attrid); } - ctx->settings[ctx->id("synth")] = "1"; JsonNode *ports_parent = nullptr; if (node->data_dict.count("ports") > 0) @@ -884,6 +883,7 @@ void json_import(Context *ctx, string modname, JsonNode *node) } } check_all_nets_driven(ctx); + ctx->settings[ctx->id("synth")] = "1"; } }; // End Namespace JsonParser |