aboutsummaryrefslogtreecommitdiffstats
path: root/gowin/gfx.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gowin/gfx.cc')
-rw-r--r--gowin/gfx.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gowin/gfx.cc b/gowin/gfx.cc
index fcd42c7c..9c9bc3fc 100644
--- a/gowin/gfx.cc
+++ b/gowin/gfx.cc
@@ -5637,28 +5637,28 @@ void gfxSetBelDefaultDecal(Arch *arch, BelInfo &bel)
}
arch->setBelDecal(bel.name, active, inactive);
break;
- case ID_GW_MUX2_LUT5:
+ case ID_MUX2_LUT5:
active.x = inactive.x = bel.x + mux2lut5_x;
active.y = inactive.y = arch->gridDimY - 1. - bel.y + mux2lut5_y[(bel.z - BelZ::mux_0_z) >> 1];
active.decal = id_DECAL_MUXUPPER_ACTIVE;
inactive.decal = id_DECAL_MUXUPPER_INACTIVE;
arch->setBelDecal(bel.name, active, inactive);
break;
- case ID_GW_MUX2_LUT6:
+ case ID_MUX2_LUT6:
active.x = inactive.x = bel.x + mux2lut6_x;
active.y = inactive.y = arch->gridDimY - 1. - bel.y + mux2lut6_y[(bel.z - BelZ::mux_0_z) / 5];
active.decal = id_DECAL_MUXLOWER_ACTIVE;
inactive.decal = id_DECAL_MUXLOWER_INACTIVE;
arch->setBelDecal(bel.name, active, inactive);
break;
- case ID_GW_MUX2_LUT7:
+ case ID_MUX2_LUT7:
active.x = inactive.x = bel.x + mux2lut7_x;
active.y = inactive.y = arch->gridDimY - 1. - bel.y + mux2lut7_y;
active.decal = id_DECAL_MUXLOWER_ACTIVE;
inactive.decal = id_DECAL_MUXLOWER_INACTIVE;
arch->setBelDecal(bel.name, active, inactive);
break;
- case ID_GW_MUX2_LUT8:
+ case ID_MUX2_LUT8:
active.x = inactive.x = bel.x + mux2lut8_x;
active.y = inactive.y = arch->gridDimY - 1. - bel.y + mux2lut8_y;
active.decal = id_DECAL_MUXUPPER_ACTIVE;