The present invention relates to device for space selective switching of an optical
signal from an input access waveguide to a first selected output access waveguide.
Said device comprising a multi-mode interference (MMI) waveguide having at a first
side a number, N, of accesses for connection of access waveguides. Said MMI waveguide
having a length, in light propagating direction, so that an image at the i:th,
iN access waveguide propagating into said MMI waveguide will produce N
self-images at a second side opposite to said first side, where N is an integer
than 1. Said device further comprises reflective means located in said MMI waveguide
close to said second side, arranged to reflect said N self-images towards said
first side of said MMI waveguide, and means, arranged at said second side, for
adjusting the phase of each of said self-images to create a single self-image at
said selected output access waveguide.