aboutsummaryrefslogtreecommitdiffstats
path: root/ice40
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 /ice40
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 'ice40')
-rw-r--r--ice40/arch.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/ice40/arch.cc b/ice40/arch.cc
index 09e64b16..ce824c83 100644
--- a/ice40/arch.cc
+++ b/ice40/arch.cc
@@ -672,7 +672,9 @@ bool Arch::getBudgetOverride(const NetInfo *net_info, const PortRef &sink, delay
bool Arch::place()
{
if (bool_or_default(settings, id("heap_placer"), false)) {
- if (!placer_heap(getCtx()))
+ PlacerHeapCfg cfg(getCtx());
+ cfg.ioBufTypes.insert(id_SB_IO);
+ if (!placer_heap(getCtx(), cfg))
return false;
} else {
if (!placer1(getCtx(), Placer1Cfg(getCtx())))