logic port