litex_sim: add phytype to PhySettings.
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Thu, 16 Apr 2020 08:22:43 +0000 (10:22 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Thu, 16 Apr 2020 08:22:43 +0000 (10:22 +0200)
litex/tools/litex_sim.py

index 1efea94d3566339045618a4219836bdedc6cf91b..8ac544fcb7f368379b26156f4dd14c80d2f4d489 100755 (executable)
@@ -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,