frac32 in
frac32 cmod
frac32 wmod
bool32 out
bool32 inverted output
frac32.s.map center
frac32.u.map width
int32_t center;
int32_t width;
bool o;
center = param_center + inlet_cmod;
width = param_width + inlet_wmod;
if (inlet_in > center - width && inlet_in < center + width)
o = 1;
else
o = 0;
outlet_out = o;
outlet_inv = !o;