Adds support for the CVA6 family of RISC-V CPUs. CVA6 is commonly found as a soft core CPU on FPGA designs. Different configurations and instruction set extensions can be configured, and different SoCs targeting various FPGA boards are available. This commit adds support for the 32-bit and 64-bit configurations of CVA6, as well as three slightly different SoCs (a minimal 32-bit configuration, a 64-bit configuration without FPU, a 64-bit configuration with FPU). Signed-off-by: Eric Ackermann <eric.ackermann@cispa.de>
21 lines
584 B
Text
21 lines
584 B
Text
# Copyright 2024 CISPA Helmholtz Center for Information Security gGmbH
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
# RISCV32 OpenHW Group cva6 configuration options
|
|
|
|
config SOC_CV32A6
|
|
select RISCV
|
|
select RISCV_PRIVILEGED
|
|
select ATOMIC_OPERATIONS_BUILTIN
|
|
select RISCV_HAS_PLIC
|
|
select USE_SWITCH_SUPPORTED
|
|
select USE_SWITCH
|
|
select CPU_HAS_FPU
|
|
select CPU_HAS_FPU_DOUBLE_PRECISION
|
|
select SCHED_IPI_SUPPORTED
|
|
select RISCV_ISA_RV32I
|
|
select RISCV_ISA_EXT_M
|
|
select RISCV_ISA_EXT_A
|
|
select RISCV_ISA_EXT_ZICSR
|
|
select RISCV_ISA_EXT_ZIFENCEI
|
|
select CPU_HAS_DCACHE
|
|
select CPU_HAS_ICACHE
|