diff options
Diffstat (limited to 'ecp5/cells.h')
-rw-r--r-- | ecp5/cells.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ecp5/cells.h b/ecp5/cells.h index 8c8e98a1..2d11da20 100644 --- a/ecp5/cells.h +++ b/ecp5/cells.h @@ -38,6 +38,8 @@ inline bool is_carry(const BaseCtx *ctx, const CellInfo *cell) { return cell->ty inline bool is_lc(const BaseCtx *ctx, const CellInfo *cell) { return cell->type == ctx->id("TRELLIS_LC"); } +inline bool is_trellis_io(const BaseCtx *ctx, const CellInfo *cell) { return cell->type == ctx->id("TRELLIS_IO"); } + inline bool is_dpram(const BaseCtx *ctx, const CellInfo *cell) { return cell->type == ctx->id("TRELLIS_DPR16X4"); } inline bool is_pfumx(const BaseCtx *ctx, const CellInfo *cell) { return cell->type == ctx->id("PFUMX"); } |