A Heterogeneous Multi-Core System-on-Chip for Energy Efficient Brain Inspired Computing