soc_core: convert cpu_type="None" string to None

This commit is contained in:
Florent Kermarrec 2018-11-20 17:45:11 +01:00
parent 5805d63013
commit 7359a99bf9
1 changed files with 2 additions and 0 deletions

View File

@ -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: