From d4b3c1d819703667b604ad144a36415c2f3bcdf5 Mon Sep 17 00:00:00 2001 From: Daniel Serpell Date: Sat, 1 Dec 2018 22:27:04 -0300 Subject: ice40: Add support for placing SB_LEDDA_IP block. Signed-off-by: Daniel Serpell --- ice40/pack.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ice40/pack.cc') diff --git a/ice40/pack.cc b/ice40/pack.cc index 523a2642..17d2df8b 100644 --- a/ice40/pack.cc +++ b/ice40/pack.cc @@ -1044,6 +1044,10 @@ static void pack_special(Context *ctx) ci->ports.erase(ctx->id("RGB0")); ci->ports.erase(ctx->id("RGB1")); ci->ports.erase(ctx->id("RGB2")); + } else if (is_sb_ledda_ip(ctx, ci)) { + /* Force placement (no choices anyway) */ + cell_place_unique(ctx, ci); + } else if (is_sb_pll40(ctx, ci)) { bool is_pad = is_sb_pll40_pad(ctx, ci); bool is_core = !is_pad; -- cgit v1.2.3