frac32buffer in
frac32buffer o1
frac32buffer o2
frac32.u.map overlap
frac32.s.map cutoff
int32_t center;
int32_t width;
int32_t o1;
int32_t o2;
center = param_cutoff;
width = param_overlap;
if (inlet_in < center - width) {
o1 = inlet_in;
o2 = 0;
} else if (inlet_in > center + width) {
o2 = inlet_in;
o1 = 0;
} else {
o1 = inlet_in;
o2 = inlet_in;
}
outlet_o1 = o1;
outlet_o2 = o2;