diff options
author | YRabbit <rabbit@yrabbit.cyou> | 2022-07-19 20:20:26 +1000 |
---|---|---|
committer | YRabbit <rabbit@yrabbit.cyou> | 2022-07-19 20:20:26 +1000 |
commit | ce2335bc0065df5217585f341f7ed46aa8f66c36 (patch) | |
tree | d8784aaad126e93c529f5e1b989741540e246d9c | |
parent | 6969782a4b76dd7846bb206d08768736b9cac341 (diff) | |
download | nextpnr-ce2335bc0065df5217585f341f7ed46aa8f66c36.tar.gz nextpnr-ce2335bc0065df5217585f341f7ed46aa8f66c36.tar.bz2 nextpnr-ce2335bc0065df5217585f341f7ed46aa8f66c36.zip |
gowin: fix compilation
Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
-rw-r--r-- | gowin/cells.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gowin/cells.h b/gowin/cells.h index 84de70bd..3a570f97 100644 --- a/gowin/cells.h +++ b/gowin/cells.h @@ -62,23 +62,15 @@ inline bool is_alu(const BaseCtx *ctx, const CellInfo *cell) { return (cell->typ // is MUX2_LUT5 inline bool is_mux2_lut5(const BaseCtx *ctx, const CellInfo *cell) { return (cell->type.index == ID_MUX2_LUT5); } -inline bool is_mux2_lut5(const BaseCtx *ctx, const CellInfo *cell) { return (cell->type.index == ID_MUX2_LUT5); } - // is MUX2_LUT6 inline bool is_mux2_lut6(const BaseCtx *ctx, const CellInfo *cell) { return (cell->type.index == ID_MUX2_LUT6); } -inline bool is_mux2_lut6(const BaseCtx *ctx, const CellInfo *cell) { return (cell->type.index == ID_MUX2_LUT6); } - // is MUX2_LUT7 inline bool is_mux2_lut7(const BaseCtx *ctx, const CellInfo *cell) { return (cell->type.index == ID_MUX2_LUT7); } -inline bool is_mux2_lut7(const BaseCtx *ctx, const CellInfo *cell) { return (cell->type.index == ID_MUX2_LUT7); } - // is MUX2_LUT8 inline bool is_mux2_lut8(const BaseCtx *ctx, const CellInfo *cell) { return (cell->type.index == ID_MUX2_LUT8); } -inline bool is_mux2_lut8(const BaseCtx *ctx, const CellInfo *cell) { return (cell->type.index == ID_MUX2_LUT8); } - // Return true if a cell is a flipflop inline bool is_ff(const BaseCtx *ctx, const CellInfo *cell) { |