projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6565091
)
Work with no `cpu_variant` provided.
author
Tim 'mithro' Ansell
<me@mith.ro>
Fri, 26 Apr 2019 22:08:07 +0000
(17:08 -0500)
committer
Tim 'mithro' Ansell
<me@mith.ro>
Fri, 26 Apr 2019 22:44:36 +0000
(17:44 -0500)
litex/soc/integration/soc_core.py
patch
|
blob
|
history
diff --git
a/litex/soc/integration/soc_core.py
b/litex/soc/integration/soc_core.py
index f9507b731d1262baa6bc484d9469f7bf35850b54..c5fe7ad2fe12f46979e6be04e9f7dff82ab5f066 100644
(file)
--- a/
litex/soc/integration/soc_core.py
+++ b/
litex/soc/integration/soc_core.py
@@
-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('+')