From e3c44dd20a9166436261636835b9958bef7f35c2 Mon Sep 17 00:00:00 2001 From: Lofty Date: Mon, 6 Nov 2023 13:07:26 +0000 Subject: [PATCH] ice40: add IO group to static --- ice40/arch.cc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ice40/arch.cc b/ice40/arch.cc index 9cc0dfe361..77261327ed 100644 --- a/ice40/arch.cc +++ b/ice40/arch.cc @@ -688,6 +688,15 @@ bool Arch::place() comb.bel_area[id_SB_WARMBOOT] = StaticRect(1.0f, 1.0f); comb.spacer_rect = StaticRect(1.0f, 1.0f); } + + { + cfg.cell_groups.emplace_back(); + auto &comb = cfg.cell_groups.back(); + comb.name = getCtx()->id("IO"); + comb.cell_area[id_SB_IO] = StaticRect(0.5f, 0.5f); + comb.bel_area[id_SB_IO] = StaticRect(0.5f, 0.5f); + comb.spacer_rect = StaticRect(1.0f, 1.0f); + } if (!placer_static(getCtx(), cfg)) return false; } else {