From e383212ffbe47cfcb01ffe9547e4d5d6345e3800 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 19 Nov 2021 22:43:57 +0100 Subject: [PATCH] cores/cpu/femtorv: Fix typos (thanks @BrunoLevy) and remove TODO (upstream has been updated). --- litex/soc/cores/cpu/femtorv/core.py | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/litex/soc/cores/cpu/femtorv/core.py b/litex/soc/cores/cpu/femtorv/core.py index f5a781e3d..7a4a9f51d 100644 --- a/litex/soc/cores/cpu/femtorv/core.py +++ b/litex/soc/cores/cpu/femtorv/core.py @@ -11,15 +11,6 @@ from migen import * from litex.soc.interconnect import wishbone from litex.soc.cores.cpu import CPU, CPU_GCC_TRIPLE_RISCV32 -# TODO: -# - electron: Issue with ADDR_PAD (Similar to the previous issue with quark). -# - intermissum: Issue with ADDR_PAD (Similar to the previous issue with intermissum). -# - intermissum: Connect Interrupt (but should still work in polling mode). -# - gracilis: Issue with ADDR_PAD (Similar to the previous issue with intermissum). -# - gracilis: Connect Interrupt (but should still work in polling mode). -# - petitbateau: Missing NRV_IS_IO_ADDR. - - # Variants ----------------------------------------------------------------------------------------- CPU_VARIANTS = { @@ -27,7 +18,7 @@ CPU_VARIANTS = { "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. - "intermissum": "femtorv32_electron", # Intermissum: Adds Interrupt + CSR. + "intermissum": "femtorv32_intermissum", # Intermissum: Adds Interrupt + CSR. "gracilis": "femtorv32_gracilis", # Gracilis: Adds C support. "petitbateau": "femtorv32_petitbateau", # PetitBateau: Adds F support. } @@ -48,7 +39,7 @@ GCC_FLAGS = { "electron": "-march=rv32im -mabi=ilp32", "intermissum": "-march=rv32im -mabi=ilp32", "gracilis": "-march=rv32imc -mabi=ilp32", - "petitbateau": "-march=rv32imcf -mabi=ilp32", + "petitbateau": "-march=rv32imcf -mabi=ilp32f", } # FemtoRV ------------------------------------------------------------------------------------------