A Fast Weight Control Strategy for Programmable Linear RAM Based on the Self-Calibrating Erase Operation