mirror of
https://github.com/litex-hub/litex-boards.git
synced 2025-01-03 03:43:36 -05:00
Set minimal core, since full does not work for some reason
This commit is contained in:
parent
b0dcd96964
commit
6954dd25eb
1 changed files with 4 additions and 0 deletions
|
@ -43,6 +43,10 @@ class BaseSoC(SoCCore):
|
||||||
def __init__(self, sys_clk_freq=int(24e6), with_led_chaser=True, **kwargs):
|
def __init__(self, sys_clk_freq=int(24e6), with_led_chaser=True, **kwargs):
|
||||||
platform = sipeed_tang_primer.Platform()
|
platform = sipeed_tang_primer.Platform()
|
||||||
|
|
||||||
|
# Set CPU variant
|
||||||
|
if kwargs.get("cpu_type", "vexriscv") == "vexriscv":
|
||||||
|
kwargs["cpu_variant"] = "minimal"
|
||||||
|
|
||||||
# SoCCore ----------------------------------------------------------------------------------
|
# SoCCore ----------------------------------------------------------------------------------
|
||||||
SoCCore.__init__(self, platform, sys_clk_freq,
|
SoCCore.__init__(self, platform, sys_clk_freq,
|
||||||
ident = "LiteX SoC on Tang Primer",
|
ident = "LiteX SoC on Tang Primer",
|
||||||
|
|
Loading…
Reference in a new issue