diff --git a/himbaechel/uarch/gatemate/pack_io.cc b/himbaechel/uarch/gatemate/pack_io.cc index 111b7e3e..e6300c7e 100644 --- a/himbaechel/uarch/gatemate/pack_io.cc +++ b/himbaechel/uarch/gatemate/pack_io.cc @@ -233,11 +233,11 @@ void GateMatePacker::pack_io() ci.params[id_SLEW] = Property(Property::State::S1); int keeper = int_or_default(ci.params, id_KEEPER, 0); + ci.unsetParam(id_KEEPER); if (keeper && (int_or_default(ci.params, id_PULLUP, 0) + int_or_default(ci.params, id_PULLDOWN, 0) > 1)) log_error("PULLUP/PULLDOWN and KEEPER are mutually exclusive parameters, issue for '%s' cell.\n", ci.name.c_str(ctx)); if (keeper) { - ci.unsetParam(id_KEEPER); ci.params[id_PULLUP] = Property(Property::State::S1); ci.params[id_PULLDOWN] = Property(Property::State::S1); }