diff options
Diffstat (limited to 'gowin/cells.h')
-rw-r--r-- | gowin/cells.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gowin/cells.h b/gowin/cells.h index cb1c7aba..8f0636b8 100644 --- a/gowin/cells.h +++ b/gowin/cells.h @@ -57,6 +57,8 @@ inline bool is_widelut(const BaseCtx *ctx, const CellInfo *cell) } } +inline bool is_alu(const BaseCtx *ctx, const CellInfo *cell) { return (cell->type.index == ID_ALU); } + // is MUX2_LUT5 inline bool is_mux2_lut5(const BaseCtx *ctx, const CellInfo *cell) { return (cell->type.index == ID_MUX2_LUT5); } |