diff options
author | Daniel Serpell <daniel.serpell@gmail.com> | 2018-12-01 22:27:04 -0300 |
---|---|---|
committer | Daniel Serpell <daniel.serpell@gmail.com> | 2018-12-01 22:27:04 -0300 |
commit | d4b3c1d819703667b604ad144a36415c2f3bcdf5 (patch) | |
tree | 6bb98bc9f3e650a31b4f055338bb1facb2ff2ba2 /ice40/pack.cc | |
parent | dc549cd56bf1db4342a2bab1fb3fc04ca3a9ceea (diff) | |
download | nextpnr-d4b3c1d819703667b604ad144a36415c2f3bcdf5.tar.gz nextpnr-d4b3c1d819703667b604ad144a36415c2f3bcdf5.tar.bz2 nextpnr-d4b3c1d819703667b604ad144a36415c2f3bcdf5.zip |
ice40: Add support for placing SB_LEDDA_IP block.
Signed-off-by: Daniel Serpell <daniel.serpell@gmail.com>
Diffstat (limited to 'ice40/pack.cc')
-rw-r--r-- | ice40/pack.cc | 4 |
1 files changed, 4 insertions, 0 deletions
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; |