Skip to content

Commit

Permalink
ice40: add IO group to static
Browse files Browse the repository at this point in the history
  • Loading branch information
Ravenslofty committed Nov 6, 2023
1 parent f67d87f commit 06f66c0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ice40/arch.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 06f66c0

Please sign in to comment.