A semiconductor device comprises a semiconductor substrate, a conductive
plug electrically connected to the semiconductor substrate, a silicon
carbide film provided on the conductive plug, a metal compound film
provided on the silicon carbide film and containing a metal carbide, and
an electrode provided on the metal compound film.