1
0
Fork 0

cxp downconn: remove tx/rx rate

This commit is contained in:
morgan 2024-08-23 12:48:28 +08:00
parent 95297157c4
commit 7631907d76
1 changed files with 0 additions and 11 deletions

View File

@ -54,8 +54,6 @@ class CXP_DownConn(Module, AutoCSR):
# GTPTXPhaseAlignement for inspiration # GTPTXPhaseAlignement for inspiration
# Connect all GTX connections' DRP # Connect all GTX connections' DRP
self.tx_div = CSRStorage(3)
self.rx_div = CSRStorage(3)
self.gtx_daddr = CSRStorage(9) self.gtx_daddr = CSRStorage(9)
self.gtx_dread = CSR() self.gtx_dread = CSR()
@ -80,8 +78,6 @@ class CXP_DownConn(Module, AutoCSR):
self.comb += gtx.dclk.eq(ClockSignal("sys")) self.comb += gtx.dclk.eq(ClockSignal("sys"))
self.sync += [ self.sync += [
gtx.tx_rate.eq(self.tx_div.storage),
gtx.rx_rate.eq(self.rx_div.storage),
gtx.den.eq(0), gtx.den.eq(0),
gtx.dwen.eq(0), gtx.dwen.eq(0),
@ -468,9 +464,6 @@ class GTX(Module):
self.txenable = Signal() self.txenable = Signal()
self.rx_ready = Signal() self.rx_ready = Signal()
self.tx_rate = Signal(3)
self.rx_rate = Signal(3)
# Dynamic Reconfiguration Ports # Dynamic Reconfiguration Ports
self.daddr = Signal(9) self.daddr = Signal(9)
self.dclk = Signal() self.dclk = Signal()
@ -531,10 +524,6 @@ class GTX(Module):
p_PD_TRANS_TIME_TO_P2=0x64, p_PD_TRANS_TIME_TO_P2=0x64,
i_CPLLPD=1, i_CPLLPD=1,
# Dynamic Tx/Rx divider
i_TXRATE=self.tx_rate,
i_RXRATE=self.rx_rate,
# QPLL # QPLL
i_QPLLCLK=qpll.clk, i_QPLLCLK=qpll.clk,
i_QPLLREFCLK=qpll.refclk, i_QPLLREFCLK=qpll.refclk,