Design of a nanopower current reference with reduced process variability