targets/sipeed_tang_primer_20k: fix CLKDIV (disable reset and calibration)

This commit is contained in:
Gwenhael Goavec-Merou 2022-08-31 13:32:23 +02:00
parent 74d4a72494
commit ce5977bc1a

View file

@ -62,6 +62,8 @@ class _CRG(Module):
video_pll.create_clkout(self.cd_hdmi5x, 125e6)
self.specials += Instance("CLKDIV",
p_DIV_MODE= "5",
i_RESETN = 1, # disable reset signal
i_CALIB = 0, # no calibration
i_HCLKIN = self.cd_hdmi5x.clk,
o_CLKOUT = self.cd_hdmi.clk
)