diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2019-06-14 11:14:18 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2019-06-14 11:14:18 +0200 |
commit | 0d8c80ad5daafc02030385da90c5a57182a5d4e5 (patch) | |
tree | 723a15b598d8c7396882a08af188edb17350d31a /json | |
parent | 053bd48bef73668e5c7bdf84e826a996a519c5bb (diff) | |
download | nextpnr-0d8c80ad5daafc02030385da90c5a57182a5d4e5.tar.gz nextpnr-0d8c80ad5daafc02030385da90c5a57182a5d4e5.tar.bz2 nextpnr-0d8c80ad5daafc02030385da90c5a57182a5d4e5.zip |
gui for json write and proper statuses
Diffstat (limited to 'json')
-rw-r--r-- | json/jsonparse.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/json/jsonparse.cc b/json/jsonparse.cc index b2597828..92bbf92f 100644 --- a/json/jsonparse.cc +++ b/json/jsonparse.cc @@ -740,7 +740,8 @@ 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) ports_parent = node->data_dict.at("ports"); |