bool32 trig
frac32 o
frac32.s.map prob
int32_t val;
int32_t val1;
int ntrig;
int rtrig;
val = (int32_t)(GenerateRandomNumber()) >> 4;
val1 = 0;
ntrig = 0;
rtrig = 0;
if ((inlet_trig > 0) && !ntrig) {
val = (int32_t)(GenerateRandomNumber()) >> 4;
ntrig = 1;
} else if (!(inlet_trig > 0))
ntrig = 0;
if (((param_prob > val) && (inlet_trig) > 0) && !rtrig) {
val1 = (int32_t)(GenerateRandomNumber()) >> 4;
rtrig = 1;
} else if (!((param_prob > val) && (inlet_trig) > 0))
rtrig = 0;
outlet_o = val1;