frac32 in
bool32 out
frac32.s.map level1
frac32.s.map level0
bool state = false;
int32_t mini = param_level0 < param_level1 ? param_level0 : param_level1;
if (state && inlet_in < mini)
state = false;
int32_t maxi = param_level0 > param_level1 ? param_level0 : param_level1;
if (!state && inlet_in > maxi)
state = true;
outlet_out = state;