diff options
author | David Shah <dave@ds0.me> | 2020-11-18 10:54:52 +0000 |
---|---|---|
committer | David Shah <dave@ds0.me> | 2020-11-30 08:45:28 +0000 |
commit | 76543d05e7ef9b7bd87b7641ace08360d81dc023 (patch) | |
tree | 4ed7e2cc486e9f1d5ac66b1df4672e82ac27eda6 /nexus | |
parent | e3b3201d530c035e0c1f118e3752e16ca351311a (diff) | |
download | nextpnr-76543d05e7ef9b7bd87b7641ace08360d81dc023.tar.gz nextpnr-76543d05e7ef9b7bd87b7641ace08360d81dc023.tar.bz2 nextpnr-76543d05e7ef9b7bd87b7641ace08360d81dc023.zip |
nexus: Tweak heuristics to improve routeability
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'nexus')
-rw-r--r-- | nexus/arch.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nexus/arch.cc b/nexus/arch.cc index 3a279f4a..1ecf168d 100644 --- a/nexus/arch.cc +++ b/nexus/arch.cc @@ -545,7 +545,7 @@ delay_t Arch::estimateDelay(WireId src, WireId dst) const int dst_x = dst.tile % chip_info->width, dst_y = dst.tile / chip_info->width; int dist_x = std::abs(src_x - dst_x); int dist_y = std::abs(src_y - dst_y); - return 100 * dist_x + 100 * dist_y + 250; + return 75 * dist_x + 75 * dist_y + 200; } delay_t Arch::predictDelay(const NetInfo *net_info, const PortRef &sink) const { @@ -608,7 +608,7 @@ bool Arch::place() cfg.cellGroups.back().insert(id_OXIDE_COMB); cfg.cellGroups.back().insert(id_OXIDE_FF); - cfg.beta = 0.7; + cfg.beta = 0.6; cfg.criticalityExponent = 7; if (!placer_heap(getCtx(), cfg)) return false; |