mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
cores/cpu/femtorv: Fix variant filename/CI.
This commit is contained in:
parent
10155c7d6f
commit
59d5b1230f
1 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ from litex.soc.cores.cpu import CPU, CPU_GCC_TRIPLE_RISCV32
|
|||
# Variants -----------------------------------------------------------------------------------------
|
||||
|
||||
CPU_VARIANTS = {
|
||||
"standard": "femtorv32_quark",
|
||||
"standard": "femtorv32_quark",
|
||||
"quark": "femtorv32_quark", # Quark: Most elementary version of FemtoRV32.
|
||||
"tachyon": "femtorv32_tachyon", # Tachyon: Like Quark but supporting higher freq.
|
||||
"electron": "femtorv32_electron", # Electron: Adds M support.
|
||||
|
@ -181,7 +181,7 @@ class FemtoRV(CPU):
|
|||
@staticmethod
|
||||
def add_sources(platform, variant):
|
||||
platform.add_verilog_include_path(os.getcwd())
|
||||
cpu_files = [f"femtorv32_{variant}.v"]
|
||||
cpu_files = [f"{CPU_VARIANTS[variant]}.v"]
|
||||
if variant == "petitbateau":
|
||||
cpu_files.append("petitbateau.v")
|
||||
for cpu_file in cpu_files:
|
||||
|
|
Loading…
Reference in a new issue