diff options
Diffstat (limited to 'ecp5')
-rw-r--r-- | ecp5/archdefs.h | 2 | ||||
-rw-r--r-- | ecp5/globals.cc | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/ecp5/archdefs.h b/ecp5/archdefs.h index c4e1413f..b5cdea3c 100644 --- a/ecp5/archdefs.h +++ b/ecp5/archdefs.h @@ -136,7 +136,9 @@ struct DecalId struct ArchNetInfo { + bool is_global = false; }; + struct ArchCellInfo { struct diff --git a/ecp5/globals.cc b/ecp5/globals.cc index 22fcbb05..91d224e5 100644 --- a/ecp5/globals.cc +++ b/ecp5/globals.cc @@ -280,6 +280,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; dcc->ports[id_CLKO].net = glbnet.get(); glbnet->users = net->users; |