mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
tools/litex_sim: Add boot to main_ram when sdram_init contents provided.
This commit is contained in:
parent
8f5d2ba27f
commit
6e883b4513
1 changed files with 1 additions and 1 deletions
|
@ -448,7 +448,7 @@ def main():
|
|||
trace_reset_on = trace_start > 0 or trace_end > 0,
|
||||
sdram_init = [] if args.sdram_init is None else get_mem_data(args.sdram_init, cpu.endianness),
|
||||
**soc_kwargs)
|
||||
if args.ram_init is not None:
|
||||
if args.ram_init is not None or args.sdram_init is not None:
|
||||
soc.add_constant("ROM_BOOT_ADDRESS", 0x40000000)
|
||||
if args.with_ethernet:
|
||||
for i in range(4):
|
||||
|
|
Loading…
Reference in a new issue