A semiconductor device includes an interlevel insulating film disposed on
a semiconductor substrate and having an opening formed therein. An
interconnection main layer, which contains Cu as a main component, is
embedded in the opening. A barrier film is interposed between the
interlevel insulating film and the interconnection main layer within the
opening. The barrier film contains, as a main component, a compound of a
predetermined metal element with a component element of the interlevel
insulating film.