phy/usddrphy: Add missing iteration on pads.clk when multiple ranks.
This commit is contained in:
parent
81d318aa46
commit
2113ecfba8
|
@ -137,6 +137,7 @@ class USDDRPHY(Module, AutoCSR):
|
||||||
pads.sel_group(pads_group)
|
pads.sel_group(pads_group)
|
||||||
|
|
||||||
# Clock --------------------------------------------------------------------------------
|
# Clock --------------------------------------------------------------------------------
|
||||||
|
for i in range(len(pads.clk_p)):
|
||||||
clk_o_nodelay = Signal()
|
clk_o_nodelay = Signal()
|
||||||
clk_o_delayed = Signal()
|
clk_o_delayed = Signal()
|
||||||
self.specials += [
|
self.specials += [
|
||||||
|
@ -172,8 +173,8 @@ class USDDRPHY(Module, AutoCSR):
|
||||||
),
|
),
|
||||||
Instance("OBUFDS",
|
Instance("OBUFDS",
|
||||||
i_I = clk_o_delayed,
|
i_I = clk_o_delayed,
|
||||||
o_O = pads.clk_p,
|
o_O = pads.clk_p[i],
|
||||||
o_OB = pads.clk_n,
|
o_OB = pads.clk_n[i],
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue