mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
Merge pull request #1017 from asadaleem-rs/master
customize main ram size from command line argument
This commit is contained in:
commit
1598b5958d
1 changed files with 2 additions and 1 deletions
|
@ -325,7 +325,8 @@ def main():
|
|||
if args.rom_init:
|
||||
soc_kwargs["integrated_rom_init"] = get_mem_data(args.rom_init, cpu.endianness)
|
||||
if not args.with_sdram:
|
||||
soc_kwargs["integrated_main_ram_size"] = 0x10000000 # 256 MB
|
||||
#configure main ram size from command line argument
|
||||
soc_kwargs["integrated_main_ram_size"] = args.integrated_main_ram_size
|
||||
if args.ram_init is not None:
|
||||
soc_kwargs["integrated_main_ram_init"] = get_mem_data(args.ram_init, cpu.endianness)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue