diff options
author | Miodrag Milanović <mmicko@gmail.com> | 2019-06-07 04:16:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-07 04:16:44 -0700 |
commit | 729e6c1ee93d5c1fadffce88c1c48c93ff75fc42 (patch) | |
tree | 8990169c09b0e1087aa00924a132ddb68c858430 /ecp5/globals.cc | |
parent | 1093d7e1228272ca73114bbc4415c48d6cba76ed (diff) | |
parent | 15a1d4f582e9d1706665fd862ade9ef3671ec8d6 (diff) | |
download | nextpnr-729e6c1ee93d5c1fadffce88c1c48c93ff75fc42.tar.gz nextpnr-729e6c1ee93d5c1fadffce88c1c48c93ff75fc42.tar.bz2 nextpnr-729e6c1ee93d5c1fadffce88c1c48c93ff75fc42.zip |
Merge pull request #286 from YosysHQ/json_write_ecp5
ecp5: Use an attribute to store is_global
Diffstat (limited to 'ecp5/globals.cc')
-rw-r--r-- | ecp5/globals.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ecp5/globals.cc b/ecp5/globals.cc index fae2c683..026f3a85 100644 --- a/ecp5/globals.cc +++ b/ecp5/globals.cc @@ -382,7 +382,7 @@ class Ecp5GlobalRouter glbnet->name = ctx->id("$glbnet$" + net->name.str(ctx)); glbnet->driver.cell = dcc.get(); glbnet->driver.port = id_CLKO; - glbnet->is_global = true; + glbnet->attrs[ctx->id("ECP5_IS_GLOBAL")] = "1"; dcc->ports[id_CLKO].net = glbnet.get(); std::vector<PortRef> keep_users; |