mirror of
https://github.com/enjoy-digital/litedram.git
synced 2025-01-04 09:52:25 -05:00
phy/usddrphy: add assertions on iodelay_clk_freq.
200MHz min on Ultrascale. 300MHz min on Ultrascale+.
This commit is contained in:
parent
052b436d9a
commit
6101eab3ac
1 changed files with 4 additions and 0 deletions
|
@ -35,6 +35,10 @@ class USDDRPHY(Module, AutoCSR):
|
|||
nphases = 4
|
||||
assert databits%8 == 0
|
||||
assert device in ["ULTRASCALE", "ULTRASCALE_PLUS"]
|
||||
if device == "ULTRASCALE":
|
||||
assert iodelay_clk_freq >= 200e6
|
||||
if device == "ULTRASCALE_PLUS":
|
||||
assert iodelay_clk_freq >= 300e6
|
||||
|
||||
if hasattr(pads, "ten"):
|
||||
self.comb += pads.ten.eq(0)
|
||||
|
|
Loading…
Reference in a new issue