A dedicated multi-chip programmable system for cellular neural networks