litex_sim: fix with_uart parameter.
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 3 Mar 2020 18:04:18 +0000 (19:04 +0100)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 3 Mar 2020 18:04:18 +0000 (19:04 +0100)
litex/tools/litex_sim.py

index 825a8367f9af73c373f8039bf74388f740b04636..f4146c43a5ddb5bb210d828466ba67fc613edd9e 100755 (executable)
@@ -168,7 +168,6 @@ class SimSoC(SoCSDRAM):
         # SoCSDRAM ---------------------------------------------------------------------------------
         SoCSDRAM.__init__(self, platform, clk_freq=sys_clk_freq,
             ident               = "LiteX Simulation", ident_version=True,
-            with_uart           = False,
             l2_reverse          = False,
             **kwargs)
         # CRG --------------------------------------------------------------------------------------
@@ -287,7 +286,7 @@ def main():
     if "cpu_type" in soc_kwargs:
         if soc_kwargs["cpu_type"] in ["mor1kx", "lm32"]:
             cpu_endianness = "big"
-
+    soc_kwargs["with_uart"] = False
     if args.rom_init:
         soc_kwargs["integrated_rom_init"] = get_mem_data(args.rom_init, cpu_endianness)
     if not args.with_sdram: