mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
soc_core: fix cpu_variant config (we don't want the extension)
This commit is contained in:
parent
7d9cf1d2bd
commit
4b686dbdb2
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ class SoCCore(Module):
|
|||
|
||||
# Add CPU
|
||||
self.config["CPU_TYPE"] = str(cpu_type).upper()
|
||||
self.config["CPU_VARIANT"] = str(cpu_variant).upper()
|
||||
self.config["CPU_VARIANT"] = str(cpu_variant.split('+')[0]).upper()
|
||||
if cpu_type is not None:
|
||||
# CPU selection / instance
|
||||
if cpu_type == "lm32":
|
||||
|
|
Loading…
Reference in a new issue