| CPC H01L 21/76877 (2013.01) [G11C 5/06 (2013.01); G11C 11/161 (2013.01); H01L 21/3213 (2013.01); H01L 21/76802 (2013.01); H10N 50/85 (2023.02)] | 20 Claims |

|
1. An integrated chip, comprising:
an inter-level dielectric (ILD) laterally surrounding a memory device;
one or more sidewall spacers arranged along opposing sides of the memory device, wherein the one or more sidewall spacers have a bottom surface over a bottom of the memory device;
an etch stop layer disposed on the one or more sidewall spacers and along the opposing sides of the memory device; and
an upper interconnect arranged directly over the memory device, a top surface of the one or more sidewall spacers, and an upper surface of the etch stop layer, the upper surface of the etch stop layer being vertically below a top of the memory device.
|