A compact SPICE model for bipolar resistive switching memory | IEEE Conference Publication | IEEE Xplore