A review on SRAM-based computing in-memory: Circuits, functions, and applications