aboutsummaryrefslogtreecommitdiffstats
path: root/gowin/cells.h
diff options
context:
space:
mode:
authormyrtle <gatecat@ds0.me>2022-07-21 11:34:51 +0100
committerGitHub <noreply@github.com>2022-07-21 11:34:51 +0100
commit1b54fa2a1c1fae82315916f3b92f6282f376c861 (patch)
tree483d8f5b1d13546f3294e813adf07a571d150a4a /gowin/cells.h
parentdfea954754966fccb65ca30592ce8c15dad45267 (diff)
parent0285d471381d42cfa68eca2af0e83d112c087728 (diff)
downloadnextpnr-1b54fa2a1c1fae82315916f3b92f6282f376c861.tar.gz
nextpnr-1b54fa2a1c1fae82315916f3b92f6282f376c861.tar.bz2
nextpnr-1b54fa2a1c1fae82315916f3b92f6282f376c861.zip
Merge pull request #1004 from yrabbit/fix-muxes
gowin: Remove incomprehensible names of the muxes
Diffstat (limited to 'gowin/cells.h')
-rw-r--r--gowin/cells.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/gowin/cells.h b/gowin/cells.h
index b6d86497..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_gw_mux2_lut5(const BaseCtx *ctx, const CellInfo *cell) { return (cell->type.index == ID_GW_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_gw_mux2_lut6(const BaseCtx *ctx, const CellInfo *cell) { return (cell->type.index == ID_GW_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_gw_mux2_lut7(const BaseCtx *ctx, const CellInfo *cell) { return (cell->type.index == ID_GW_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_gw_mux2_lut8(const BaseCtx *ctx, const CellInfo *cell) { return (cell->type.index == ID_GW_MUX2_LUT8); }
-
// Return true if a cell is a flipflop
inline bool is_ff(const BaseCtx *ctx, const CellInfo *cell)
{