mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
soc_core: fix cpu_variant renaming regression
This commit is contained in:
parent
a2f1683b97
commit
e4712ff7f3
1 changed files with 3 additions and 3 deletions
|
@ -120,14 +120,14 @@ class SoCCore(LiteXSoC):
|
|||
self.config = {}
|
||||
|
||||
# Parameters management --------------------------------------------------------------------
|
||||
if cpu_type == "None":
|
||||
cpu_type = None
|
||||
cpu_type = None if cpu_type == "None" else cpu_type
|
||||
cpu_variant = cpu.check_format_cpu_variant(cpu_variant)
|
||||
|
||||
if not with_wishbone:
|
||||
self.mem_map["csr"] = 0x00000000
|
||||
|
||||
self.cpu_type = cpu_type
|
||||
self.cpu_variant = cpu.check_format_cpu_variant(cpu_variant)
|
||||
self.cpu_variant = cpu_variant
|
||||
|
||||
self.integrated_rom_size = integrated_rom_size
|
||||
self.integrated_rom_initialized = integrated_rom_init != []
|
||||
|
|
Loading…
Reference in a new issue