phy/s7ddrphy: adjust dqs/dq tristate latency.
OSERDESE2 has a latency of 2 sys_clk.
This commit is contained in:
parent
6a23bd623b
commit
16480d9aed
|
@ -206,7 +206,7 @@ class S7DDRPHY(Module, AutoCSR):
|
||||||
dqs_oe = Signal()
|
dqs_oe = Signal()
|
||||||
dqs_preamble = Signal()
|
dqs_preamble = Signal()
|
||||||
dqs_postamble = Signal()
|
dqs_postamble = Signal()
|
||||||
dqs_oe_delay = TappedDelayLine(ntaps=1)
|
dqs_oe_delay = TappedDelayLine(ntaps=2)
|
||||||
dqs_pattern = DQSPattern(
|
dqs_pattern = DQSPattern(
|
||||||
preamble = dqs_preamble,
|
preamble = dqs_preamble,
|
||||||
postamble = dqs_postamble,
|
postamble = dqs_postamble,
|
||||||
|
@ -298,7 +298,7 @@ class S7DDRPHY(Module, AutoCSR):
|
||||||
|
|
||||||
# DQ ---------------------------------------------------------------------------------------
|
# DQ ---------------------------------------------------------------------------------------
|
||||||
dq_oe = Signal()
|
dq_oe = Signal()
|
||||||
dq_oe_delay = TappedDelayLine(ntaps=1)
|
dq_oe_delay = TappedDelayLine(ntaps=2)
|
||||||
self.submodules += dq_oe_delay
|
self.submodules += dq_oe_delay
|
||||||
self.comb += dq_oe_delay.input.eq(dqs_preamble | dq_oe | dqs_postamble)
|
self.comb += dq_oe_delay.input.eq(dqs_preamble | dq_oe | dqs_postamble)
|
||||||
for i in range(databits):
|
for i in range(databits):
|
||||||
|
|
Loading…
Reference in New Issue