aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2019-02-25 12:48:01 +0000
committerDavid Shah <dave@ds0.me>2019-03-22 10:31:54 +0000
commitbd12c0a4866e0d67bedd1c40f1205e9168b5d428 (patch)
treee7593f3c40421894ac37e566bba461cbb761f678 /ecp5
parent7142db28a8b828da557729a706c20c8f330ba129 (diff)
downloadnextpnr-bd12c0a4866e0d67bedd1c40f1205e9168b5d428.tar.gz
nextpnr-bd12c0a4866e0d67bedd1c40f1205e9168b5d428.tar.bz2
nextpnr-bd12c0a4866e0d67bedd1c40f1205e9168b5d428.zip
HeAP: Add PlacerHeapCfg
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'ecp5')
-rw-r--r--ecp5/arch.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/ecp5/arch.cc b/ecp5/arch.cc
index 8385e57b..938b5f8e 100644
--- a/ecp5/arch.cc
+++ b/ecp5/arch.cc
@@ -460,7 +460,6 @@ delay_t Arch::estimateDelay(WireId src, WireId dst) const
return (130 - 25 * args.speed) *
(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
@@ -517,10 +516,14 @@ bool Arch::place()
return false;
#ifdef WITH_HEAP
} else {
- if (!placer_heap(getCtx()))
+ PlacerHeapCfg cfg(getCtx());
+ cfg.criticalityExponent = 7;
+ cfg.ioBufTypes.insert(id_TRELLIS_IO);
+ if (!placer_heap(getCtx(), cfg))
return false;
}
#endif
+ permute_luts();
return true;
}