Patent ID: 8907389

Claim:
A semiconductor device, comprising: a ferroelectric film made of PZT by metal organic chemical vapor deposition; an electrode stacked on the ferroelectric film, the electrode including a two-layer structure of an electrode lower layer in contact with the ferroelectric film and an electrode upper layer stacked on the electrode lower layer; and the electrode upper layer including a conductive material having TiN, an upper surface of the electrode upper layer being planarized, and a lower surface of the electrode upper layer not being planarized; and a hydrogen barrier film covering the surfaces of the ferroelectric film and the electrode, the hydrogen barrier film having a generally uniform thickness; wherein an upper surface of the electrode lower layer has a morphology that is based on a morphology of an upper surface of the ferroelectric film; wherein the upper surface of the ferroelectric film and the upper surface of the electrode lower layer have a rough shape based on the morphology of the ferroelectric film; wherein the upper surface of the electrode upper layer is smoother than the upper surface of the ferroelectric film and the upper surface of the electrode lower layer; and wherein a flatness A of the upper surface of the electrode upper layer, a flatness B of the upper surface of the electrode lower layer, and a flatness C of the upper surface of the ferroelectric film satisfy the following: Flatness A>Flatness C>Flatness B.