litex_sim: add phytype to PhySettings.

This commit is contained in:
Florent Kermarrec 2020-04-16 10:22:43 +02:00
parent c0c5ae558a
commit 3915ed9760

View file

@ -141,6 +141,7 @@ def get_sdram_phy_settings(memtype, data_width, clk_freq):
} }
return PhySettings( return PhySettings(
phytype = "SDRAMPHYModel",
memtype = memtype, memtype = memtype,
databits = data_width, databits = data_width,
dfi_databits = data_width if memtype == "SDR" else 2*data_width, dfi_databits = data_width if memtype == "SDR" else 2*data_width,