A semiconductor device includes a first wiring line group made of a metal,
wiring lines of the first wiring line group being arranged in parallel
with each other, a second wiring line group which is made of a
semiconductor and crosses the first wiring line group, wiring lines of
the second wiring line group being arranged in parallel with each other
and being movable in the vicinity of each intersection with the wiring
lines of the first wiring line group, and a plurality of metal regions
which are formed to be joined with the wiring lines constituting the
second wiring line group, and have a work function different from that of
the metal forming the first wiring line group.