From 50830da636e015d90adc4546c39fbadb89b9c113 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 12 May 2022 11:56:33 +0200 Subject: [PATCH] tools/litex_sim: Use LiteXSoCArgumentParser. --- litex/tools/litex_sim.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litex/tools/litex_sim.py b/litex/tools/litex_sim.py index 8047ae113..05a1e95a1 100755 --- a/litex/tools/litex_sim.py +++ b/litex/tools/litex_sim.py @@ -354,7 +354,6 @@ def generate_gtkw_savefile(builder, vns, trace_fst): dfi_group("dfi commands", ["rddata"]) def sim_args(parser): - builder_args(parser) soc_core_args(parser) verilator_build_args(parser) @@ -382,7 +381,8 @@ def sim_args(parser): parser.add_argument("--non-interactive", action="store_true", help="Run simulation without user input.") def main(): - parser = argparse.ArgumentParser(description="LiteX SoC Simulation utility") + from litex.soc.integration.soc import LiteXSoCArgumentParser + parser = LiteXSoCArgumentParser(description="LiteX SoC Simulation utility") sim_args(parser) args = parser.parse_args()