Merge pull request #271 from antonblanchard/fix-sim

litedram_gen: Fix error with --sim option
This commit is contained in:
enjoy-digital 2021-08-09 19:46:17 +02:00 committed by GitHub
commit 203cc73ceb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)