Add processes for choosing register file write input