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:
parent
3a72688b28
commit
e90caa8683
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue