In the Mishneh Torah הלכות אישות פרק טו, ב Rambam requires a man to who hasn't had a male and female child and whose wife has not given birth for ten years since their marriage to either take a second wife for the purpose of fulfilling "be fruitful and multiply" or divorce the wife.
Do other Rishonim list this or a similar requirement, or is it only Rambam? If other Rishonim discuss it, what do they say?