int32 input 1
bool32 output 0
bool32 output 1
bool32 output 2
bool32 output 3
int32 chain output
outlet_o0 = (inlet_i1 == 0) ? 1 : 0;
outlet_o1 = (inlet_i1 == 1) ? 1 : 0;
outlet_o2 = (inlet_i1 == 2) ? 1 : 0;
outlet_o3 = (inlet_i1 == 3) ? 1 : 0;
outlet_chain = (inlet_i1 - 4);