Electromigration effect of Ni electrodes on the resistive switching characteristics of NiO thin films