Skeleton-based design and simulation flow for Computation-in-Memory architectures