A Generic Building Block For Hopfield Neural Networks With On-chip Learning | IEEE Conference Publication | IEEE Xplore