aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/cells.h
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2018-11-17 18:02:31 +0100
committerSylvain Munaut <tnt@246tNt.com>2018-11-19 18:20:20 +0100
commite8556aff372c77c1e14a4378b43b47f8ba1e75ec (patch)
tree40d8a30b0d1d30bf84df1fd47b0c8d38e594b7f2 /ice40/cells.h
parentde8de6304f6905525fd5774d30851c0cc9fe4e37 (diff)
downloadnextpnr-e8556aff372c77c1e14a4378b43b47f8ba1e75ec.tar.gz
nextpnr-e8556aff372c77c1e14a4378b43b47f8ba1e75ec.tar.bz2
nextpnr-e8556aff372c77c1e14a4378b43b47f8ba1e75ec.zip
ice40: Add support for SB_RGBA_DRV
Signed-off-by: Sylvain Munaut <tnt@246tNt.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 270292ed..1fbd9073 100644
--- a/ice40/cells.h
+++ b/ice40/cells.h
@@ -74,6 +74,8 @@ inline bool is_sb_spram(const BaseCtx *ctx, const CellInfo *cell) { return cell-
inline bool is_sb_mac16(const BaseCtx *ctx, const CellInfo *cell) { return cell->type == ctx->id("SB_MAC16"); }
+inline bool is_sb_rgba_drv(const BaseCtx *ctx, const CellInfo *cell) { return cell->type == ctx->id("SB_RGBA_DRV"); }
+
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") ||