mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
soc_core: convert cpu_type="None" string to None
This commit is contained in:
parent
5805d63013
commit
7359a99bf9
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue