ARC: nSIM: Add RMX100 platform
This PR adds support for new Synopsys nSIM RMX100 platform. New platform based on RISC-V ISA instead of classic ARC. Signed-off-by: Nikolay Agishev <agishev@synopsys.com>
This commit is contained in:
parent
ea7a876cff
commit
57af793bb4
21 changed files with 438 additions and 1 deletions
3
soc/snps/nsim/arc_v/CMakeLists.txt
Normal file
3
soc/snps/nsim/arc_v/CMakeLists.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
add_subdirectory(${SOC_SERIES})
|
8
soc/snps/nsim/arc_v/Kconfig
Normal file
8
soc/snps/nsim/arc_v/Kconfig
Normal file
|
@ -0,0 +1,8 @@
|
|||
# Copyright (c) 2024 Synopsys, Inc.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if SOC_FAMILY_NSIM_ARC_V
|
||||
|
||||
rsource "*/Kconfig"
|
||||
|
||||
endif # SOC_FAMILY_NSIM_ARC_V
|
8
soc/snps/nsim/arc_v/Kconfig.defconfig
Normal file
8
soc/snps/nsim/arc_v/Kconfig.defconfig
Normal file
|
@ -0,0 +1,8 @@
|
|||
# Copyright (c) 2024 Synopsys, Inc.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if SOC_FAMILY_NSIM_ARC_V
|
||||
|
||||
rsource "*/Kconfig.defconfig"
|
||||
|
||||
endif # SOC_FAMILY_NSIM_ARC_V
|
10
soc/snps/nsim/arc_v/Kconfig.soc
Normal file
10
soc/snps/nsim/arc_v/Kconfig.soc
Normal file
|
@ -0,0 +1,10 @@
|
|||
# Copyright (c) 2024 Synopsys, Inc.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config SOC_FAMILY_NSIM_ARC_V
|
||||
bool
|
||||
|
||||
config SOC_FAMILY
|
||||
default "nsim_arc_v" if SOC_FAMILY_NSIM_ARC_V
|
||||
|
||||
rsource "*/Kconfig.soc"
|
3
soc/snps/nsim/arc_v/rmx/CMakeLists.txt
Normal file
3
soc/snps/nsim/arc_v/rmx/CMakeLists.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/riscv/common/linker.ld CACHE INTERNAL "")
|
16
soc/snps/nsim/arc_v/rmx/Kconfig
Normal file
16
soc/snps/nsim/arc_v/rmx/Kconfig
Normal file
|
@ -0,0 +1,16 @@
|
|||
# Copyright (c) 2024 Synopsys, Inc.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config SOC_SERIES_RMX
|
||||
bool
|
||||
|
||||
select RISCV
|
||||
select RISCV_PRIVILEGED
|
||||
select RISCV_ISA_RV32I
|
||||
select RISCV_ISA_EXT_M
|
||||
select RISCV_ISA_EXT_A
|
||||
select RISCV_ISA_EXT_C
|
||||
select RISCV_ISA_EXT_ZICSR
|
||||
select RISCV_ISA_EXT_ZIFENCEI
|
||||
select INCLUDE_RESET_VECTOR
|
||||
select ATOMIC_OPERATIONS_BUILTIN
|
18
soc/snps/nsim/arc_v/rmx/Kconfig.defconfig
Normal file
18
soc/snps/nsim/arc_v/rmx/Kconfig.defconfig
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Copyright (c) 2024 Synopsys, Inc.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if SOC_SERIES_RMX
|
||||
|
||||
config RISCV_SOC_INTERRUPT_INIT
|
||||
default y
|
||||
|
||||
config RISCV_GP
|
||||
default y
|
||||
|
||||
config MULTI_LEVEL_INTERRUPTS
|
||||
default n
|
||||
|
||||
config NUM_IRQS
|
||||
default 18
|
||||
|
||||
endif # SOC_SERIES_RMX
|
16
soc/snps/nsim/arc_v/rmx/Kconfig.soc
Normal file
16
soc/snps/nsim/arc_v/rmx/Kconfig.soc
Normal file
|
@ -0,0 +1,16 @@
|
|||
# Copyright (c) 2024 Synopsys, Inc.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config SOC_SERIES_RMX
|
||||
bool
|
||||
select SOC_FAMILY_NSIM_ARC_V
|
||||
|
||||
config SOC_SERIES
|
||||
default "rmx" if SOC_SERIES_RMX
|
||||
|
||||
config SOC_RMX100
|
||||
bool
|
||||
select SOC_SERIES_RMX
|
||||
|
||||
config SOC
|
||||
default "rmx100" if SOC_RMX100
|
6
soc/snps/nsim/arc_v/soc.yml
Normal file
6
soc/snps/nsim/arc_v/soc.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
family:
|
||||
- name: nsim_arc_v
|
||||
series:
|
||||
- name: rmx
|
||||
socs:
|
||||
- name: rmx100
|
Loading…
Add table
Add a link
Reference in a new issue