tools/litex_sim: restore functionality of '--with-sdram' option

After LiteDRAM commit #50e1d478, an additional positional argument
('databits') is required by the PhySettings() constructor.

The value used here (32) will generate a 64MByte simulated SDRAM.
This commit is contained in:
Gabriel L. Somlo 2019-05-23 08:53:26 -04:00
parent 3a72688b28
commit e90caa8683
1 changed files with 1 additions and 0 deletions

View File

@ -116,6 +116,7 @@ class SimSoC(SoCSDRAM):
sdram_module = MT48LC16M16(100e6, "1:1") # use 100MHz timings
phy_settings = PhySettings(
memtype="SDR",
databits=32,
dfi_databits=16,
nphases=1,
rdphase=0,