Implementation of neural networks on an FPGA on Neurochip