aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/archdefs.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@codeconstruct.com.au>2021-12-10 15:46:15 +0800
committerMatt Johnston <matt@codeconstruct.com.au>2021-12-12 22:09:11 +0800
commit80dd442412982af1901dcdf707ddc68379c20e0c (patch)
tree02d4140ab40bf6e596187a72b8783eeab0e8a03d /ecp5/archdefs.h
parentfd2d4a8f999947ece42f791e19ddc4c2d8b823f2 (diff)
downloadnextpnr-80dd442412982af1901dcdf707ddc68379c20e0c.tar.gz
nextpnr-80dd442412982af1901dcdf707ddc68379c20e0c.tar.bz2
nextpnr-80dd442412982af1901dcdf707ddc68379c20e0c.zip
ecp5: Use a vector rather than dict
This improves router1 performance vs the default dict Using it for wire2net, pip2net, wire_fanout
Diffstat (limited to 'ecp5/archdefs.h')
-rw-r--r--ecp5/archdefs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ecp5/archdefs.h b/ecp5/archdefs.h
index 59219544..80e7810c 100644
--- a/ecp5/archdefs.h
+++ b/ecp5/archdefs.h
@@ -156,6 +156,8 @@ struct ArchNetInfo
typedef IdString ClusterId;
+struct NetInfo;
+
struct ArchCellInfo : BaseClusterInfo
{
struct