System-on-a-chip