The PLL_inst will cause an error due to new[?] range constraints in device data delivered with IDE version 1.9.10 (build 75092).
The IDIV_SEL value of 3, will cause the following error due to 50Mhz/3 being below 19Mhz;
ERROR (PA2078) : Invalid PFD frequency 'FCLKIN/IDIV_SEL' to 'PLL_inst'(PLL) set by module 'Gowin_PLL', suitable range is from 19MHz to 400MHz
The PLL_inst will cause an error due to new[?] range constraints in device data delivered with IDE version 1.9.10 (build 75092). The IDIV_SEL value of 3, will cause the following error due to 50Mhz/3 being below 19Mhz;
ERROR (PA2078) : Invalid PFD frequency 'FCLKIN/IDIV_SEL' to 'PLL_inst'(PLL) set by module 'Gowin_PLL', suitable range is from 19MHz to 400MHz
This can be fixed by changing:
defparam PLL_inst.IDIV_SEL = 2; defparam PLL_inst.MDIV_SEL = 45;
This produces an output image of 640x480@~60Hz, 25Mhz pixelclk.