2023-01-14 07:18:32 +08:00
|
|
|
# Copyright (c) 2023 Rivos Inc.
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2024-01-04 00:30:23 +08:00
|
|
|
config SOC_OPENTITAN
|
2023-01-14 07:18:32 +08:00
|
|
|
bool "OpenTitan implementation"
|
|
|
|
select ATOMIC_OPERATIONS_C
|
|
|
|
select INCLUDE_RESET_VECTOR
|
|
|
|
select RISCV_ISA_RV32I
|
|
|
|
select RISCV_ISA_EXT_M
|
|
|
|
select RISCV_ISA_EXT_C
|
|
|
|
select RISCV_ISA_EXT_ZICSR
|
|
|
|
select RISCV_ISA_EXT_ZIFENCEI
|
|
|
|
select RISCV_ISA_EXT_ZBA
|
|
|
|
select RISCV_ISA_EXT_ZBB
|
|
|
|
select RISCV_ISA_EXT_ZBC
|
|
|
|
select RISCV_ISA_EXT_ZBS
|
2024-01-04 00:30:23 +08:00
|
|
|
select RISCV
|
|
|
|
select RISCV_PRIVILEGED
|
2024-01-16 22:55:41 +08:00
|
|
|
select RISCV_HAS_PLIC
|
2024-01-04 00:30:23 +08:00
|
|
|
# OpenTitan Ibex core mtvec mode is read-only / forced to vectored mode.
|
|
|
|
select RISCV_VECTORED_MODE
|
|
|
|
select GEN_IRQ_VECTOR_TABLE
|