From: Florent Kermarrec Date: Tue, 18 Feb 2020 15:59:55 +0000 (+0100) Subject: cores/cpu: use standard+debug variant when only debug is specified. X-Git-Tag: 24jan2021_ls180~653 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=00895518e53710cf8cbe73108f08f87c1d158fa7;p=litex.git cores/cpu: use standard+debug variant when only debug is specified. --- diff --git a/litex/soc/cores/cpu/__init__.py b/litex/soc/cores/cpu/__init__.py index 3a52fcdb..870a9696 100644 --- a/litex/soc/cores/cpu/__init__.py +++ b/litex/soc/cores/cpu/__init__.py @@ -93,6 +93,8 @@ def check_format_cpu_variant(variant): # Support the old style which used underscore for separator if variant is None: variant = "standard" + if variant == "debug": + variant = "standard+debug" variant = variant.replace('_', '+') # Check for valid CPU variants.