Performance comparison of O-based and Cu-based ReRAM for high-density applications | Synapse