The opto-electronic integrated circuit device comprises an optical switch
18 provided in an input port 12a of a first input/output port 36a over a
substrate 10 and changing over an optical path of an optical signal
inputted from the input port 12a and outputting the optical signal
through one of a plurality of output terminals 24a 24d; an opto-electric
conversion element 26a optically connected to one of the plural output
terminals of the optical switch 18, and converting the optical signal
outputted from one of the output terminals 24a 24d of the optical switch
18 to an electric signal and inputting the converted electric signal in a
semiconductor element 30 mounted over the substrate 10; and an optical
waveguide 50 optically connected to another of the plural output terminal
24d of the optical switch 18 and outputting the optical signal outputted
from said another output terminal 24d of the optical switch 18 through an
output port 32b of a second input/output port 36b over the substrate 10.