litedram_gen: Set default csr_data_width to 32 (similar to LiteX).
This commit is contained in:
parent
6b0a35b309
commit
0bb3bff8af
|
@ -477,7 +477,7 @@ class LiteDRAMCore(SoCCore):
|
||||||
sys_clk_freq = core_config["sys_clk_freq"]
|
sys_clk_freq = core_config["sys_clk_freq"]
|
||||||
cpu_type = core_config["cpu"]
|
cpu_type = core_config["cpu"]
|
||||||
cpu_variant = core_config.get("cpu_variant", "standard")
|
cpu_variant = core_config.get("cpu_variant", "standard")
|
||||||
csr_data_width = core_config.get("csr_data_width", 8)
|
csr_data_width = core_config.get("csr_data_width", 32)
|
||||||
uart_type = core_config.get("uart", "rs232")
|
uart_type = core_config.get("uart", "rs232")
|
||||||
if cpu_type is None:
|
if cpu_type is None:
|
||||||
kwargs["integrated_rom_size"] = 0
|
kwargs["integrated_rom_size"] = 0
|
||||||
|
|
Loading…
Reference in New Issue