A Programmable Compute-in-Memory-Enabled RISC-V SoC for High-Performance Edge AI Acceleration