aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/site_router.h
diff options
context:
space:
mode:
authorKeith Rothman <537074+litghost@users.noreply.github.com>2021-03-25 17:11:06 -0700
committerKeith Rothman <537074+litghost@users.noreply.github.com>2021-03-25 17:56:11 -0700
commitc8dccd3e7bec95c635ebe435c8454ffe10edd6f3 (patch)
tree3d73b20a24fab6cc57194247c2b1a31ea1fc4028 /fpga_interchange/site_router.h
parentcc4f2b451613f2d7152e1d42d2e4d0d59887df1c (diff)
downloadnextpnr-c8dccd3e7bec95c635ebe435c8454ffe10edd6f3.tar.gz
nextpnr-c8dccd3e7bec95c635ebe435c8454ffe10edd6f3.tar.bz2
nextpnr-c8dccd3e7bec95c635ebe435c8454ffe10edd6f3.zip
Implement debugging tools for site router.
- Finishes implementation of SiteArch::nameOfPip and SiteArch::nameOfWire - Adds "explain_bel_status", which should be an exhaustive diagnostic of the status of a BEL placement. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fpga_interchange/site_router.h b/fpga_interchange/site_router.h
index ebdfbe3b..cf17026d 100644
--- a/fpga_interchange/site_router.h
+++ b/fpga_interchange/site_router.h
@@ -47,6 +47,7 @@ struct SiteRouter
void unbindBel(CellInfo *cell);
bool checkSiteRouting(const Context *ctx, const TileStatus &tile_status) const;
void bindSiteRouting(Context *ctx);
+ void explain(const Context *ctx) const;
};
NEXTPNR_NAMESPACE_END