targets/de0nano: set sys2x_ps to 180° for sdram_rate=1:2.

This commit is contained in:
Florent Kermarrec 2020-08-24 09:30:30 +02:00
parent d16051ff90
commit 4f1c32abdc
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ class _CRG(Module):
pll.create_clkout(self.cd_sys, sys_clk_freq)
if sdram_rate == "1:2":
pll.create_clkout(self.cd_sys2x, 2*sys_clk_freq)
pll.create_clkout(self.cd_sys2x_ps, 2*sys_clk_freq, phase=90)
pll.create_clkout(self.cd_sys2x_ps, 2*sys_clk_freq, phase=180) # Idealy 90° but needs to be increased.
else:
pll.create_clkout(self.cd_sys_ps, sys_clk_freq, phase=90)