1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-05-02 14:29:53 +00:00

hacky way to support ECP5 for now

This commit is contained in:
Miodrag Milanovic
2019-06-03 21:13:47 +02:00
parent 44d6f16b66
commit d5f804832f
2 changed files with 10 additions and 1 deletions

View File

@@ -349,7 +349,11 @@ void json_import_net_attrib(Context *ctx, string &modname, NetInfo *net, JsonNod
else
log_error("JSON parameter type of \"%s\' of net \'%s\' not supported\n", pId.c_str(ctx),
net->name.c_str(ctx));
#ifdef ARCH_ECP5
if (param_node->data_dict_keys[param_id]== "NEXTPNR_IS_GLOBAL") {
net->is_global = (*dest)[pId].num;
}
#endif
if (json_debug)
log_info(" Added parameter \'%s\'=%s to net \'%s\' "
"of module \'%s\'\n",