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