forked from M-Labs/artiq
serwb: remove idelaye3 en_vtc (was not done correctly, we'll add direct software control)
This commit is contained in:
parent
6b4bbe31f7
commit
e09dbc89bc
|
@ -32,7 +32,6 @@ class KUSSerdes(Module):
|
||||||
self.rx_bitslip_value = Signal(6)
|
self.rx_bitslip_value = Signal(6)
|
||||||
self.rx_delay_rst = Signal()
|
self.rx_delay_rst = Signal()
|
||||||
self.rx_delay_inc = Signal()
|
self.rx_delay_inc = Signal()
|
||||||
self.rx_delay_en_vtc = Signal()
|
|
||||||
|
|
||||||
# # #
|
# # #
|
||||||
|
|
||||||
|
@ -174,7 +173,7 @@ class KUSSerdes(Module):
|
||||||
|
|
||||||
i_CLK=ClockSignal("sys"),
|
i_CLK=ClockSignal("sys"),
|
||||||
i_RST=self.rx_delay_rst, i_LOAD=0,
|
i_RST=self.rx_delay_rst, i_LOAD=0,
|
||||||
i_INC=1, i_EN_VTC=self.rx_delay_en_vtc,
|
i_INC=1, i_EN_VTC=0,
|
||||||
i_CE=self.rx_delay_inc,
|
i_CE=self.rx_delay_inc,
|
||||||
|
|
||||||
i_IDATAIN=serdes_i_nodelay, o_DATAOUT=serdes_i_delayed
|
i_IDATAIN=serdes_i_nodelay, o_DATAOUT=serdes_i_delayed
|
||||||
|
|
|
@ -147,8 +147,6 @@ class _SerdesMasterInit(Module):
|
||||||
fsm.act("READY",
|
fsm.act("READY",
|
||||||
self.ready.eq(1)
|
self.ready.eq(1)
|
||||||
)
|
)
|
||||||
if hasattr(serdes, "rx_delay_en_vtc"):
|
|
||||||
self.comb += serdes.rx_delay_en_vtc.eq(self.ready)
|
|
||||||
fsm.act("ERROR",
|
fsm.act("ERROR",
|
||||||
self.error.eq(1)
|
self.error.eq(1)
|
||||||
)
|
)
|
||||||
|
@ -277,8 +275,6 @@ class _SerdesSlaveInit(Module, AutoCSR):
|
||||||
fsm.act("READY",
|
fsm.act("READY",
|
||||||
self.ready.eq(1)
|
self.ready.eq(1)
|
||||||
)
|
)
|
||||||
if hasattr(serdes, "rx_delay_en_vtc"):
|
|
||||||
self.comb += serdes.rx_delay_en_vtc.eq(self.ready)
|
|
||||||
fsm.act("ERROR",
|
fsm.act("ERROR",
|
||||||
self.error.eq(1)
|
self.error.eq(1)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue