Current pulse generator for multilevel cell programming of innovative PCM