aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/site_router.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/site_router.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/site_router.h')
-rw-r--r--fpga_interchange/site_router.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fpga_interchange/site_router.h b/fpga_interchange/site_router.h
index c2590728..ebdfbe3b 100644
--- a/fpga_interchange/site_router.h
+++ b/fpga_interchange/site_router.h
@@ -25,6 +25,8 @@
#include "nextpnr_namespaces.h"
#include "nextpnr_types.h"
+#include "site_arch.h"
+#include "site_routing_storage.h"
NEXTPNR_NAMESPACE_BEGIN
@@ -44,6 +46,7 @@ struct SiteRouter
void bindBel(CellInfo *cell);
void unbindBel(CellInfo *cell);
bool checkSiteRouting(const Context *ctx, const TileStatus &tile_status) const;
+ void bindSiteRouting(Context *ctx);
};
NEXTPNR_NAMESPACE_END