frac32.bipolar In1
frac32.bipolar In2
frac32.bipolar In3
frac32.bipolar In4
frac32.positive Out
// sum inputs
int64_t accum = inlet_In1 + inlet_In2 + inlet_In3 + inlet_In4;
while (accum > 134217728)
accum -= 134217728;
if (accum < 0)
accum = 0;
// int32_t accum = __SSAT(inlet_In1 + inlet_In2 + inlet_In3 + inlet_In4,28);
outlet_Out = accum;