aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/cells.h
diff options
context:
space:
mode:
authorDaniel Serpell <daniel.serpell@gmail.com>2018-12-01 22:27:04 -0300
committerDaniel Serpell <daniel.serpell@gmail.com>2018-12-01 22:27:04 -0300
commitd4b3c1d819703667b604ad144a36415c2f3bcdf5 (patch)
tree6bb98bc9f3e650a31b4f055338bb1facb2ff2ba2 /ice40/cells.h
parentdc549cd56bf1db4342a2bab1fb3fc04ca3a9ceea (diff)
downloadnextpnr-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/cells.h')
-rw-r--r--ice40/cells.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ice40/cells.h b/ice40/cells.h
index 1fbd9073..93ef3db4 100644
--- a/ice40/cells.h
+++ b/ice40/cells.h
@@ -76,6 +76,8 @@ inline bool is_sb_mac16(const BaseCtx *ctx, const CellInfo *cell) { return cell-
inline bool is_sb_rgba_drv(const BaseCtx *ctx, const CellInfo *cell) { return cell->type == ctx->id("SB_RGBA_DRV"); }
+inline bool is_sb_ledda_ip(const BaseCtx *ctx, const CellInfo *cell) { return cell->type == ctx->id("SB_LEDDA_IP"); }
+
inline bool is_sb_pll40(const BaseCtx *ctx, const CellInfo *cell)
{
return cell->type == ctx->id("SB_PLL40_PAD") || cell->type == ctx->id("SB_PLL40_2_PAD") ||