T32 Simulator: Basic Instruction set sim for ARMM3

The T32 can simulate bare instruction sets without periphery.
For the Cortex-M3 we have complete NVIC model including Systick Timer.
Currently a simple CiAO can run on the simulator.

TODO:
 - Let memlogger log all memory accesses.
 - Interact with FailT32 for a complete simulation/FI
This commit is contained in:
Martin Hoffmann
2013-03-20 17:17:38 +01:00
parent f0e26a9b63
commit 96bc39c05d
42 changed files with 5880 additions and 46 deletions

View File

@ -0,0 +1,17 @@
# NVIC simulation model for the T32
set(SRCS
nvic.c
../../include/simul.c # TODO we need a simul.c anywhere...
nvic_id_space.c
nvic_interrupt_type.c
nvic_nvic.c
nvic_software_trigger.c
nvic_system_control_block.c
nvic_system_control_block_cpuid.c
nvic_system_timer.c
)
add_library(nvic SHARED ${SRCS})
GET_TARGET_PROPERTY(__T32_NVIC_LIB nvic LOCATION)
SET(T32_NVIC_LIB "${__T32_NVIC_LIB}" CACHE INTERNAL "")