Abstract: In one embodiment, devices, such as metal-insulator-metal tunneling diodes, are fabricated by forming a cavity in a substrate having a top surface, conformally depositing a thin film of material in the cavity so as to form a thin layer of material on walls of the cavity, and depositing a layer of material to fill the cavity, wherein a top edge of the thin film is exposed and is flush with the top surface of the substrate.