Send output to correct gate/port