and Implementation of Digital Hopeld-Type Associative Memory with On-Chip Training