I. Introduction
The ReRAM is a nonvolatile memory device studied due to the favorable characteristics that could allow it to replace flash memory technology [1]. These devices have a metal-insulator-metal structure whose operating principle relies on resistive switching controlled by an external voltage [2]. After fabrication, these devices are in a highly resistive state, called a pristine state. They need to be activated by an electroforming process that creates a conductive filament (CF) inside the insulator that connects the electrodes. During operation, the ReRAM can change between a high resistive state (HRS) and a low resistive state (LRS) due to the local changes inside the CF. Indeed, electroforming is a critical step for the functioning of the ReRAM devices because it determines the switching characteristics, especially the resistance, during the HRS and LRS.