From 15a1d4f582e9d1706665fd862ade9ef3671ec8d6 Mon Sep 17 00:00:00 2001 From: David Shah Date: Fri, 7 Jun 2019 11:55:20 +0100 Subject: ecp5: Use an attribute to store is_global Signed-off-by: David Shah --- ecp5/globals.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ecp5/globals.cc') 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 keep_users; -- cgit v1.2.3