A Low Power System-on-Chip with Memory Stacked on Top of Logic