From 1583cc8a402468eb55a200a4627618981e3ab72e Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 21 Mar 2022 17:14:24 +0100 Subject: [PATCH] cpu/naxriscv: Add default value to xlen argument. --- litex/soc/cores/cpu/naxriscv/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litex/soc/cores/cpu/naxriscv/core.py b/litex/soc/cores/cpu/naxriscv/core.py index 211e54fb4..ff898c608 100644 --- a/litex/soc/cores/cpu/naxriscv/core.py +++ b/litex/soc/cores/cpu/naxriscv/core.py @@ -92,8 +92,8 @@ class NaxRiscv(CPU): @staticmethod def args_fill(parser): cpu_group = parser.add_argument_group("cpu") - cpu_group.add_argument("--scala-file", action='append', help="Specify the scala files used to configure NaxRiscv") - cpu_group.add_argument("--xlen", help="Specify the RISC-V data width") + cpu_group.add_argument("--scala-file", action="append", help="Specify the scala files used to configure NaxRiscv.") + cpu_group.add_argument("--xlen", default=32, help="Specify the RISC-V data width.") @staticmethod def args_read(args):