integration/soc_core: avoid cpu_variant check if custom cpu_cls is passed.
This commit is contained in:
parent
6f8f0d2346
commit
de7e0ee9ff
|
@ -128,7 +128,7 @@ class SoCCore(LiteXSoC):
|
||||||
# Parameters management --------------------------------------------------------------------
|
# Parameters management --------------------------------------------------------------------
|
||||||
cpu_type = None if cpu_type == "None" else cpu_type
|
cpu_type = None if cpu_type == "None" else cpu_type
|
||||||
cpu_reset_address = None if cpu_reset_address == "None" else cpu_reset_address
|
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_type = cpu_type
|
||||||
self.cpu_variant = cpu_variant
|
self.cpu_variant = cpu_variant
|
||||||
|
|
Loading…
Reference in New Issue