diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2019-06-14 09:59:04 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2019-06-14 09:59:04 +0200 |
commit | 36ccc22fc93eddd9b6ed867782668b0057ec67e2 (patch) | |
tree | 39652b8a959b7248101b4ecda929e77dff174307 /json | |
parent | ca7e944d7a58bc305f0efce4da757520a6a86041 (diff) | |
download | nextpnr-36ccc22fc93eddd9b6ed867782668b0057ec67e2.tar.gz nextpnr-36ccc22fc93eddd9b6ed867782668b0057ec67e2.tar.bz2 nextpnr-36ccc22fc93eddd9b6ed867782668b0057ec67e2.zip |
Use flags for each step
Diffstat (limited to 'json')
-rw-r--r-- | json/jsonparse.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/json/jsonparse.cc b/json/jsonparse.cc index a6b45282..b2597828 100644 --- a/json/jsonparse.cc +++ b/json/jsonparse.cc @@ -740,8 +740,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); } - if (ctx->attrs.find(ctx->id("step")) == ctx->attrs.end()) - ctx->attrs[ctx->id("step")] = "synth"; JsonNode *ports_parent = nullptr; if (node->data_dict.count("ports") > 0) |