diff --git a/litex/soc/integration/soc_core.py b/litex/soc/integration/soc_core.py index 8e91d31c1..9cf3ea061 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: