diff options
author | Matt Johnston <matt@codeconstruct.com.au> | 2021-12-10 15:46:15 +0800 |
---|---|---|
committer | Matt Johnston <matt@codeconstruct.com.au> | 2021-12-12 22:09:11 +0800 |
commit | 80dd442412982af1901dcdf707ddc68379c20e0c (patch) | |
tree | 02d4140ab40bf6e596187a72b8783eeab0e8a03d /ecp5/archdefs.h | |
parent | fd2d4a8f999947ece42f791e19ddc4c2d8b823f2 (diff) | |
download | nextpnr-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.h | 2 |
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 |