diff options
author | David Shah <davey1576@gmail.com> | 2018-07-17 13:19:27 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-07-17 13:19:27 +0200 |
commit | ac4cdd6604b95e293ac2a48f4b46fa0cab7cc94a (patch) | |
tree | a6550758cc6f6ce71f0d8513d260279848817041 /ecp5/cells.h | |
parent | 0e31a8e26646b86ffbeb409e95a13c0516a0e970 (diff) | |
download | nextpnr-ac4cdd6604b95e293ac2a48f4b46fa0cab7cc94a.tar.gz nextpnr-ac4cdd6604b95e293ac2a48f4b46fa0cab7cc94a.tar.bz2 nextpnr-ac4cdd6604b95e293ac2a48f4b46fa0cab7cc94a.zip |
ecp5: Refactor skeleton of packer
Signed-off-by: David Shah <davey1576@gmail.com>
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"); } |