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 authored and gatecat committed Nov 7, 2023
1 parent 214cc43 commit e3c44dd
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 e3c44dd

Please sign in to comment.