diff options
author | David Shah <davey1576@gmail.com> | 2018-12-02 08:48:58 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-02 08:48:58 +0000 |
commit | 6e728c9a9b0fc14d7dc5b7e12a9050dbcd6f0b83 (patch) | |
tree | 6bb98bc9f3e650a31b4f055338bb1facb2ff2ba2 /ice40/cells.h | |
parent | dc549cd56bf1db4342a2bab1fb3fc04ca3a9ceea (diff) | |
parent | d4b3c1d819703667b604ad144a36415c2f3bcdf5 (diff) | |
download | nextpnr-6e728c9a9b0fc14d7dc5b7e12a9050dbcd6f0b83.tar.gz nextpnr-6e728c9a9b0fc14d7dc5b7e12a9050dbcd6f0b83.tar.bz2 nextpnr-6e728c9a9b0fc14d7dc5b7e12a9050dbcd6f0b83.zip |
Merge pull request #160 from dmsc/sb_ledda_ip
ice40: Add support for placing SB_LEDDA_IP block.
Diffstat (limited to 'ice40/cells.h')
-rw-r--r-- | ice40/cells.h | 2 |
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") || |