diff options
author | David Shah <dave@ds0.me> | 2019-02-25 11:07:21 +0000 |
---|---|---|
committer | David Shah <dave@ds0.me> | 2019-02-25 11:49:25 +0000 |
commit | 95a85c8ea76cdd0a1c5824200451569366c9eb8c (patch) | |
tree | 264b6927d3a31691b58f4889e3dc30664508f6ec /ecp5/arch.cc | |
parent | a0fa16439942d15e9be745ec074fc1ba3a2a7c95 (diff) | |
download | nextpnr-95a85c8ea76cdd0a1c5824200451569366c9eb8c.tar.gz nextpnr-95a85c8ea76cdd0a1c5824200451569366c9eb8c.tar.bz2 nextpnr-95a85c8ea76cdd0a1c5824200451569366c9eb8c.zip |
ecp5: Improve packing density
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'ecp5/arch.cc')
-rw-r--r-- | ecp5/arch.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ecp5/arch.cc b/ecp5/arch.cc index fdc9c8fc..cd5fa0cb 100644 --- a/ecp5/arch.cc +++ b/ecp5/arch.cc @@ -457,7 +457,7 @@ delay_t Arch::estimateDelay(WireId src, WireId dst) const int dx = abs(src_loc.first - dst_loc.first), dy = abs(src_loc.second - dst_loc.second); return (130 - 25 * args.speed) * - (8 + std::max(dx - 5, 0) + std::max(dy - 5, 0) + 2 * (std::min(dx, 5) + std::min(dy, 5))); + (6 + std::max(dx - 5, 0) + std::max(dy - 5, 0) + 2 * (std::min(dx, 5) + std::min(dy, 5))); } delay_t Arch::predictDelay(const NetInfo *net_info, const PortRef &sink) const |