Design and modeling of nonvolatile memories by resistive switching elements