AN ANALOG ON-CHIP LEARNING CIRCUIT ARCHITECTURE OF THE WEIGHTPERTURBATION ALGORITHM