Patent ID: 8330196

Claim:
A method of manufacturing a semiconductor device, comprising: forming a gate insulating film on a first semiconductor layer in a substrate; forming a gate electrode on the gate insulating film; forming a gate sidewall at a side portion of the gate electrode, the gate sidewall being made of an insulating material; forming a magnetic metal film on regions to be source and drain regions in the first semiconductor layer and on the gate sidewall; performing a first heat treatment to turn the magnetic metal film on the regions in the first semiconductor layer into a first magnetic metal semiconductor compound film and leave the magnetic metal film on the gate sidewall, the first magnetic metal semiconductor compound film containing a magnetic metal element of the magnetic metal film; forming a semiconductor film on the first magnetic metal semiconductor compound film and on the magnetic film on the gate sidewall after the formation of the first magnetic metal semiconductor compound film, the semiconductor film including the same semiconductor as a semiconductor of the first semiconductor layer; performing a second heat treatment to turn a surface part of the first magnetic metal semiconductor compound film into a second magnetic metal semiconductor compound film, and turn the magnetic metal film on the gate sidewall into a third magnetic metal semiconductor compound film, the semiconductor in the second magnetic metal semiconductor compound film having a higher concentration than a concentration of the semiconductor in the first magnetic metal semiconductor compound film, the semiconductor in the third magnetic metal semiconductor compound film having a lower concentration than the concentration of the semiconductor in the second magnetic metal semiconductor compound film; and removing the third magnetic metal semiconductor compound film on the gate sidewall.