mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
integration/soc_core: avoid cpu_variant check if custom cpu_cls is passed.
This commit is contained in:
parent
6f8f0d2346
commit
de7e0ee9ff
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ class SoCCore(LiteXSoC):
|
|||
# Parameters management --------------------------------------------------------------------
|
||||
cpu_type = None if cpu_type == "None" else cpu_type
|
||||
cpu_reset_address = None if cpu_reset_address == "None" else cpu_reset_address
|
||||
cpu_variant = cpu.check_format_cpu_variant(cpu_variant)
|
||||
cpu_variant = cpu.check_format_cpu_variant(cpu_variant) if cpu_cls is None else cpu_variant
|
||||
|
||||
self.cpu_type = cpu_type
|
||||
self.cpu_variant = cpu_variant
|
||||
|
|
Loading…
Reference in a new issue