From c0f31dc8438d3a08909fb0083c5fe6779051291f Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Wed, 30 Nov 2022 08:46:42 +0100 Subject: [PATCH] integration/soc_core: Add default value to soc_core_argdict/ident_version. --- litex/soc/integration/soc_core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/soc/integration/soc_core.py b/litex/soc/integration/soc_core.py index 1ad8fd4c4..c0eb5942d 100644 --- a/litex/soc/integration/soc_core.py +++ b/litex/soc/integration/soc_core.py @@ -315,7 +315,7 @@ def soc_core_argdict(args): arg = not getattr(args, a.replace("with", "no"), True) # Handle specific ident_version case (--no-ident-version is exposed). elif a in ["ident_version"]: - arg = not getattr(args, "no_ident_version") + arg = not getattr(args, "no_ident_version", True) # Regular cases. else: arg = getattr(args, a, None)