targets/Ultrascale+: use USPDDRPHY.
This commit is contained in:
parent
ce922613a7
commit
cf58550bba
|
@ -84,12 +84,11 @@ class BaseSoC(SoCSDRAM):
|
||||||
|
|
||||||
# DDR4 SDRAM -------------------------------------------------------------------------------
|
# DDR4 SDRAM -------------------------------------------------------------------------------
|
||||||
if not self.integrated_main_ram_size:
|
if not self.integrated_main_ram_size:
|
||||||
self.submodules.ddrphy = usddrphy.USDDRPHY(platform.request("ddram"),
|
self.submodules.ddrphy = usddrphy.USPDDRPHY(platform.request("ddram"),
|
||||||
memtype = "DDR4",
|
memtype = "DDR4",
|
||||||
sim_device = "ULTRASCALE_PLUS",
|
sys_clk_freq = sys_clk_freq,
|
||||||
iodelay_clk_freq = 200e6,
|
iodelay_clk_freq = 200e6,
|
||||||
cmd_latency = 0,
|
cmd_latency = 0)
|
||||||
sys_clk_freq = sys_clk_freq)
|
|
||||||
self.add_csr("ddrphy")
|
self.add_csr("ddrphy")
|
||||||
self.add_constant("USDDRPHY", None)
|
self.add_constant("USDDRPHY", None)
|
||||||
sdram_module = MT40A256M16(sys_clk_freq, "1:4")
|
sdram_module = MT40A256M16(sys_clk_freq, "1:4")
|
||||||
|
|
|
@ -86,10 +86,11 @@ class BaseSoC(SoCSDRAM):
|
||||||
|
|
||||||
# DDR4 SDRAM -------------------------------------------------------------------------------
|
# DDR4 SDRAM -------------------------------------------------------------------------------
|
||||||
if not self.integrated_main_ram_size:
|
if not self.integrated_main_ram_size:
|
||||||
self.submodules.ddrphy = usddrphy.USDDRPHY(platform.request("ddram"),
|
self.submodules.ddrphy = usddrphy.USPDDRPHY(platform.request("ddram"),
|
||||||
memtype = "DDR4",
|
memtype = "DDR4",
|
||||||
sys_clk_freq = sys_clk_freq,
|
sys_clk_freq = sys_clk_freq,
|
||||||
sim_device = "ULTRASCALE_PLUS")
|
iodelay_clk_freq = 200e6,
|
||||||
|
cmd_latency = 0)
|
||||||
self.add_csr("ddrphy")
|
self.add_csr("ddrphy")
|
||||||
self.add_constant("USDDRPHY", None)
|
self.add_constant("USDDRPHY", None)
|
||||||
sdram_module = EDY4016A(sys_clk_freq, "1:4")
|
sdram_module = EDY4016A(sys_clk_freq, "1:4")
|
||||||
|
|
|
@ -85,12 +85,11 @@ class BaseSoC(SoCSDRAM):
|
||||||
|
|
||||||
# DDR4 SDRAM -------------------------------------------------------------------------------
|
# DDR4 SDRAM -------------------------------------------------------------------------------
|
||||||
if not self.integrated_main_ram_size:
|
if not self.integrated_main_ram_size:
|
||||||
self.submodules.ddrphy = usddrphy.USDDRPHY(platform.request("ddram_32"), # FIXME: use ddram_64
|
self.submodules.ddrphy = usddrphy.USPDDRPHY(platform.request("ddram_32"), # FIXME: use ddram_64
|
||||||
memtype = "DDR4",
|
memtype = "DDR4",
|
||||||
sim_device = "ULTRASCALE_PLUS",
|
sys_clk_freq = sys_clk_freq,
|
||||||
iodelay_clk_freq = 500e6,
|
iodelay_clk_freq = 500e6,
|
||||||
cmd_latency = 1,
|
cmd_latency = 1)
|
||||||
sys_clk_freq = sys_clk_freq)
|
|
||||||
self.add_csr("ddrphy")
|
self.add_csr("ddrphy")
|
||||||
self.add_constant("USDDRPHY", None)
|
self.add_constant("USDDRPHY", None)
|
||||||
sdram_module = KVR21SE15S84(sys_clk_freq, "1:4")
|
sdram_module = KVR21SE15S84(sys_clk_freq, "1:4")
|
||||||
|
|
Loading…
Reference in New Issue