Add generation of cpp register field access fucntions.