Patent ID: 7851861

Claim:
A device comprising: a substrate comprising a first insulator region and a second insulator region; a bottom electrode, comprising a first conductor, overlying the first insulator region; an insulator layer overlying the substrate and the bottom electrode, wherein the insulator layer comprises a first opening connecting parts of the bottom electrode and a second opening connecting parts of the second insulator region; a dielectric film lining the first and second openings, and disposed directly on the bottom electrode, the second insulator region, and sidewalls of the first and second openings; a top electrode, comprising a second conductor, overlying the dielectric film in the first opening, wherein the dielectric film lines sidewalls and bottom of the top electrode; and a metal gate electrode, comprising the second conductor, overlying the dielectric film in the second opening, wherein the dielectric film lines sidewalls and bottom of the metal gate electrode, wherein the metal gate electrode and the top electrode substantially have the same thickness, and the first insulator region and the second region substantially have the same depth.