Abstract: The processing-in-memory architecture based on memristors has been widely studied for hardware implementation in neural networks, serving as a solution to address the von Neumann bottleneck.