int32 input 1
bool32 output 0
bool32 output 1
bool32 output 2
bool32 output 3
bool32 output 4
bool32 output 5
bool32 output 6
bool32 output 7
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_o4 = (inlet_i1 == 4) ? 1 : 0;
outlet_o5 = (inlet_i1 == 5) ? 1 : 0;
outlet_o6 = (inlet_i1 == 6) ? 1 : 0;
outlet_o7 = (inlet_i1 == 7) ? 1 : 0;
outlet_chain = (inlet_i1 - 8);