From 71a837315acd8a3d4e3e92baa8db9e381edc189b Mon Sep 17 00:00:00 2001 From: Tim 'mithro' Ansell Date: Fri, 26 Apr 2019 17:08:07 -0500 Subject: [PATCH] Work with no `cpu_variant` provided. --- litex/soc/integration/soc_core.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/litex/soc/integration/soc_core.py b/litex/soc/integration/soc_core.py index f9507b73..c5fe7ad2 100644 --- a/litex/soc/integration/soc_core.py +++ b/litex/soc/integration/soc_core.py @@ -202,6 +202,8 @@ class SoCCore(Module): self.cpu_type = cpu_type # Support the old style which used underscore for separator + if cpu_variant is None: + cpu_variant = "standard" cpu_variant = cpu_variant.replace('_', '+') # Check for valid CPU variants. cpu_variant_processor, *cpu_variant_ext = cpu_variant.split('+') -- 2.30.2