fix regression
This commit is contained in:
parent
87ecd49295
commit
0c3093fe49
@ -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++) {
|
for (int attrid = 0; attrid < GetSize(attr_node->data_dict_keys); attrid++) {
|
||||||
json_import_top_attrib(ctx, modname, attr_node, &ctx->attrs, attrid);
|
json_import_top_attrib(ctx, modname, attr_node, &ctx->attrs, attrid);
|
||||||
}
|
}
|
||||||
ctx->settings[ctx->id("synth")] = "1";
|
|
||||||
|
|
||||||
JsonNode *ports_parent = nullptr;
|
JsonNode *ports_parent = nullptr;
|
||||||
if (node->data_dict.count("ports") > 0)
|
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);
|
check_all_nets_driven(ctx);
|
||||||
|
ctx->settings[ctx->id("synth")] = "1";
|
||||||
}
|
}
|
||||||
}; // End Namespace JsonParser
|
}; // End Namespace JsonParser
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user