Closed Cyviznerd closed 5 days ago
The above PLL settings was for the "svo" code. For the 1080p colorbars, use: defparam PLL_inst.IDIV_SEL = 2; defparam PLL_inst.MDIV_SEL = 59;
This produces 1920x1080@~60Hz,147.5 MHz pixelclock-
Thanks for your suggestion, we will consider it and make corrections in the future.
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.