aboutsummaryrefslogtreecommitdiffstats
path: root/nexus/arch.h
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2020-11-16 13:31:43 +0000
committerDavid Shah <dave@ds0.me>2020-11-30 08:45:28 +0000
commit6b5277638bc63b592e30acb4f51a4df3a8bd59d8 (patch)
treea2d55d1d1e03afd7800f996e37205274efbe2248 /nexus/arch.h
parent160045a058dc6f5dea278f133f227697532f8cbb (diff)
downloadnextpnr-6b5277638bc63b592e30acb4f51a4df3a8bd59d8.tar.gz
nextpnr-6b5277638bc63b592e30acb4f51a4df3a8bd59d8.tar.bz2
nextpnr-6b5277638bc63b592e30acb4f51a4df3a8bd59d8.zip
nexus: Fix slow routing around DSPs
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'nexus/arch.h')
-rw-r--r--nexus/arch.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/nexus/arch.h b/nexus/arch.h
index f7299cb7..debf66b0 100644
--- a/nexus/arch.h
+++ b/nexus/arch.h
@@ -1367,6 +1367,10 @@ struct Arch : BaseCtx
bool getBudgetOverride(const NetInfo *net_info, const PortRef &sink, delay_t &budget) const;
ArcBounds getRouteBoundingBox(WireId src, WireId dst) const;
+ // for better DSP bounding boxes
+ void pre_routing();
+ std::unordered_set<WireId> dsp_wires;
+
// -------------------------------------------------
// Get the delay through a cell from one port to another, returning false