mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
Work with no cpu_variant
provided.
This commit is contained in:
parent
65650919a7
commit
71a837315a
1 changed files with 2 additions and 0 deletions
|
@ -202,6 +202,8 @@ class SoCCore(Module):
|
|||
self.cpu_type = cpu_type
|
||||
|
||||
# Support the old style which used underscore for separator
|
||||
if cpu_variant is None:
|
||||
cpu_variant = "standard"
|
||||
cpu_variant = cpu_variant.replace('_', '+')
|
||||
# Check for valid CPU variants.
|
||||
cpu_variant_processor, *cpu_variant_ext = cpu_variant.split('+')
|
||||
|
|
Loading…
Reference in a new issue