From 00895518e53710cf8cbe73108f08f87c1d158fa7 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 18 Feb 2020 16:59:55 +0100 Subject: [PATCH] cores/cpu: use standard+debug variant when only debug is specified. --- litex/soc/cores/cpu/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/litex/soc/cores/cpu/__init__.py b/litex/soc/cores/cpu/__init__.py index 3a52fcdbd..870a96967 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.