aboutsummaryrefslogtreecommitdiffstats
path: root/gowin/cells.h
diff options
context:
space:
mode:
authorYRabbit <rabbit@yrabbit.cyou>2022-07-19 18:51:25 +1000
committerYRabbit <rabbit@yrabbit.cyou>2022-07-19 18:51:25 +1000
commit6969782a4b76dd7846bb206d08768736b9cac341 (patch)
tree44ffd30ab8437868b353a868d80606c7699a01c1 /gowin/cells.h
parent5667113f8a8f23cf0385a3e0ae88cd844e622443 (diff)
downloadnextpnr-6969782a4b76dd7846bb206d08768736b9cac341.tar.gz
nextpnr-6969782a4b76dd7846bb206d08768736b9cac341.tar.bz2
nextpnr-6969782a4b76dd7846bb206d08768736b9cac341.zip
gowin: Remove incomprehensible names of the muxes
There is no need to multiply item names, it is a rudiment of my very first addition to nextpnr. Fully compatible with older versions of Apicula. Note: the cosmetic changes in lines with RAM are not my initiative, but the result of applying clang-format. Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
Diffstat (limited to 'gowin/cells.h')
-rw-r--r--gowin/cells.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gowin/cells.h b/gowin/cells.h
index b6d86497..84de70bd 100644
--- a/gowin/cells.h
+++ b/gowin/cells.h
@@ -62,22 +62,22 @@ 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); }
+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_gw_mux2_lut6(const BaseCtx *ctx, const CellInfo *cell) { return (cell->type.index == ID_GW_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_gw_mux2_lut7(const BaseCtx *ctx, const CellInfo *cell) { return (cell->type.index == ID_GW_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_gw_mux2_lut8(const BaseCtx *ctx, const CellInfo *cell) { return (cell->type.index == ID_GW_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)