FIG. 7 depicts a cross-sectional side view of the semiconductor device 100 subsequent to depositing a second electrode 714 on the dielectric layer 612. Non-limiting examples of materials for the top electrode 714 (also referred to as a top electrode) include metals, for example, platinum, copper, silver, gold, ruthenium, iridium, nickel, titanium, titanium nitride, tantalum, tantalum nitride, zirconium nitride, or a combination thereof. The second electrode 714 and the first electrode 306 can be same metal, or different metal.