aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/archdefs.h
diff options
context:
space:
mode:
authorKeith Rothman <537074+litghost@users.noreply.github.com>2021-03-19 18:26:00 -0700
committerKeith Rothman <537074+litghost@users.noreply.github.com>2021-03-22 09:54:49 -0700
commit32f2ec86c4b83d1e0f3c0982566ff4de30edebb3 (patch)
treef2d1a08d93cd9e9106b984cabfae23e768868b4b /fpga_interchange/archdefs.h
parent0f4014615cf9059332a75244a0ef5a9df4886ed0 (diff)
downloadnextpnr-32f2ec86c4b83d1e0f3c0982566ff4de30edebb3.tar.gz
nextpnr-32f2ec86c4b83d1e0f3c0982566ff4de30edebb3.tar.bz2
nextpnr-32f2ec86c4b83d1e0f3c0982566ff4de30edebb3.zip
Rework FPGA interchange site router.
The new site router should be robust to most situations, and isn't significantly slower with the use of caching. Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
Diffstat (limited to 'fpga_interchange/archdefs.h')
-rw-r--r--fpga_interchange/archdefs.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/fpga_interchange/archdefs.h b/fpga_interchange/archdefs.h
index d20c5ea4..8364520d 100644
--- a/fpga_interchange/archdefs.h
+++ b/fpga_interchange/archdefs.h
@@ -98,11 +98,14 @@ struct BelBucketId
bool operator<(const BelBucketId &other) const { return name < other.name; }
};
+struct SiteExpansionLoop;
+
struct ArchNetInfo
{
-};
+ virtual ~ArchNetInfo();
-struct NetInfo;
+ SiteExpansionLoop *loop = nullptr;
+};
struct ArchCellInfo
{