Source or drain doping programmed