gen: add l2_data_width to kwargs
This commit is contained in:
parent
b77af48d50
commit
c07f4a1f1b
|
@ -258,12 +258,14 @@ class LiteDRAMCore(SoCSDRAM):
|
||||||
kwargs["integrated_rom_size"] = 0
|
kwargs["integrated_rom_size"] = 0
|
||||||
kwargs["integrated_sram_size"] = 0
|
kwargs["integrated_sram_size"] = 0
|
||||||
kwargs["l2_size"] = 0
|
kwargs["l2_size"] = 0
|
||||||
|
kwargs["l2_data_width"] = 32
|
||||||
kwargs["with_uart"] = False
|
kwargs["with_uart"] = False
|
||||||
kwargs["with_timer"] = False
|
kwargs["with_timer"] = False
|
||||||
kwargs["with_ctrl"] = False
|
kwargs["with_ctrl"] = False
|
||||||
kwargs["with_wishbone"] = (cpu_type != None)
|
kwargs["with_wishbone"] = (cpu_type != None)
|
||||||
else:
|
else:
|
||||||
kwargs["l2_size"] = 0
|
kwargs["l2_size"] = 0
|
||||||
|
kwargs["l2_data_width"] = 32
|
||||||
|
|
||||||
# SoCSDRAM ---------------------------------------------------------------------------------
|
# SoCSDRAM ---------------------------------------------------------------------------------
|
||||||
SoCSDRAM.__init__(self, platform, sys_clk_freq,
|
SoCSDRAM.__init__(self, platform, sys_clk_freq,
|
||||||
|
|
Loading…
Reference in New Issue