forked from M-Labs/artiq
1
0
Fork 0

drtio: connect RST and LOCKED on 7series RXSynchronizer MMCM

This commit is contained in:
Sebastien Bourdeauducq 2016-11-05 00:24:00 +08:00
parent 5019b03f10
commit de47123737
1 changed files with 2 additions and 0 deletions

View File

@ -223,6 +223,7 @@ class RXSynchronizer(Module, AutoCSR):
Instance("MMCME2_ADV", Instance("MMCME2_ADV",
p_CLKIN1_PERIOD=1e9/rtio_clk_freq, p_CLKIN1_PERIOD=1e9/rtio_clk_freq,
i_CLKIN1=ClockSignal("rtio_rx"), i_CLKIN1=ClockSignal("rtio_rx"),
i_RST=ResetSignal("rtio_rx"),
i_CLKINSEL=1, # yes, 1=CLKIN1 0=CLKIN2 i_CLKINSEL=1, # yes, 1=CLKIN1 0=CLKIN2
p_CLKFBOUT_MULT_F=mmcm_mult, p_CLKFBOUT_MULT_F=mmcm_mult,
@ -237,6 +238,7 @@ class RXSynchronizer(Module, AutoCSR):
p_CLKOUT0_USE_FINE_PS="TRUE", p_CLKOUT0_USE_FINE_PS="TRUE",
o_CLKOUT0=mmcm_output, o_CLKOUT0=mmcm_output,
o_LOCKED=mmcm_locked,
i_PSCLK=ClockSignal(), i_PSCLK=ClockSignal(),
i_PSEN=self.phase_shift.re, i_PSEN=self.phase_shift.re,