From ce2335bc0065df5217585f341f7ed46aa8f66c36 Mon Sep 17 00:00:00 2001 From: YRabbit Date: Tue, 19 Jul 2022 20:20:26 +1000 Subject: gowin: fix compilation Signed-off-by: YRabbit --- gowin/cells.h | 8 -------- 1 file changed, 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) { -- cgit v1.2.3