A non-volatile comparator based on 1T1M crossbar arrays using memristor-aided logic | IEEE Conference Publication | IEEE Xplore