From 7359a99bf94a550cc62736f0a8d92307702f94ee Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 20 Nov 2018 17:45:11 +0100 Subject: [PATCH] soc_core: convert cpu_type="None" string to None --- 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 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: -- 2.30.2