Patent ID: 8836039

Claim:
A semiconductor device, comprising: a first high dielectric gate insulating film formed on a substrate; and a first metal gate electrode formed on the high dielectric gate insulating film, wherein the first metal gate electrode is made of TiN including a plurality of crystalline portions and an amorphous portion located at a crystal grain boundary between the plurality of crystalline portions, a grain size of the TiN is smaller in a lower portion of the first metal gate electrode than in an upper portion of the first metal gate electrode, where the lower portion is close to the first high dielectric gate insulating film, and the upper portion is farther away from the first high dielectric gate insulating film than the lower portion is, the TiN includes a halogen element, a first concentration of the halogen element of the TiN is higher in the lower portion than in the upper portion, and the halogen element is localized in the amorphous portion.