Compression Architecture For Bit-Write Reduction In Non-Volatile Memory Technologies