tools/litex_sim: Use LiteXSoCArgumentParser.
This commit is contained in:
parent
aa8932dd4f
commit
50830da636
|
@ -354,7 +354,6 @@ def generate_gtkw_savefile(builder, vns, trace_fst):
|
||||||
dfi_group("dfi commands", ["rddata"])
|
dfi_group("dfi commands", ["rddata"])
|
||||||
|
|
||||||
def sim_args(parser):
|
def sim_args(parser):
|
||||||
|
|
||||||
builder_args(parser)
|
builder_args(parser)
|
||||||
soc_core_args(parser)
|
soc_core_args(parser)
|
||||||
verilator_build_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.")
|
parser.add_argument("--non-interactive", action="store_true", help="Run simulation without user input.")
|
||||||
|
|
||||||
def main():
|
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)
|
sim_args(parser)
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue