litedram_gen: Fix error with --sim option
It looks like commit 317072a198
("litedram_gen: Add initial SDRAM
support (with ULX3S example)") broke building with the --sim option.
This commit is contained in:
parent
ae139096c0
commit
fe1bb083ef
|
@ -501,7 +501,7 @@ class LiteDRAMCore(SoCCore):
|
|||
memtype = sdram_module.memtype,
|
||||
data_width = core_config["sdram_module_nb"]*8,
|
||||
clk_freq = sdram_clk_freq)
|
||||
self.submodules.ddrphy = SDRAMPHYModel(
|
||||
self.submodules.ddrphy = sdram_phy = SDRAMPHYModel(
|
||||
module = sdram_module,
|
||||
settings = phy_settings,
|
||||
clk_freq = sdram_clk_freq)
|
||||
|
|
Loading…
Reference in New Issue