Real-Time Multi-Chip Neural Network for Cognitive Systems