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
1 changed files with 1 additions and 0 deletions

View File

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