An All-Digital Reconfigurable SRAM-Based Compute-in-Memory Macro for TinyML Devices