Patent ID: 8222097

Claim:
A method for manufacturing a semiconductor device comprising the steps of: forming a semiconductor element over a substrate; forming a first electrode over the semiconductor element, the first electrode being electrically connected to the semiconductor element; forming an insulating film over the first electrode; forming a first region including a plurality of defects at a first depth in the insulating film by first doping for adding first ions into the insulating film at a first accelerating voltage; forming a second region including a plurality of defects at a second depth which is different from the first depth in the insulating film by second doping for adding second ions into the insulating film at a second accelerating voltage which is different from the first accelerating voltage; forming a metal layer containing a metal element over the first and second regions; and diffusing the metal element from the metal layer to the first and second regions by heating thereby forming an electrical connection between the first electrode and the metal layer by the diffused metal element, wherein the second region overlaps the first region.