From: Florent Kermarrec Date: Tue, 20 Nov 2018 16:45:11 +0000 (+0100) Subject: soc_core: convert cpu_type="None" string to None X-Git-Tag: 24jan2021_ls180~1478 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7359a99bf94a550cc62736f0a8d92307702f94ee;p=litex.git soc_core: convert cpu_type="None" string to None --- diff --git a/litex/soc/integration/soc_core.py b/litex/soc/integration/soc_core.py index 8e91d31c..9cf3ea06 100644 --- a/litex/soc/integration/soc_core.py +++ b/litex/soc/integration/soc_core.py @@ -124,6 +124,8 @@ class SoCCore(Module): self.platform = platform self.clk_freq = clk_freq + if cpu_type == "None": + cpu_type = None self.cpu_type = cpu_type self.cpu_variant = cpu_variant if integrated_rom_size: