Is there a software simulator for ARM Cortex-M0 ?
Use Simulations µVision instruction set simulations can be enabled in Project -> Options for Target -> Debug tab. Select Use Simulator on the left-hand side of the window. Refer to the description of the Debug dialog.
The Archulator or the ARM-Architecture Simulator is a simulation framework that provides the means to simulate user programs for an ARM target system consisting of a processor, instruction and data caches, system bus, memory device, and an optional hardware coprocessor.
In Cortex-M4 case, the FPU performance is about 60 to 80 % higher than software emulation performance. Compared with Cortex-M0+, Cortex-M4 performance is about 6 times higher performance. Also, because Cortex-M0+ adopted the 2 stage pipeline, it would not get such faster clock speed as Cortex-M4.
The ARM Cortex-M is a group of 32-bit RISC ARM processor cores licensed by Arm Holdings. These cores are optimized for low-cost and energy-efficient integrated circuits, which have been embedded in tens of billions of consumer devices.
I have a thumb only (not thumb2) instruction set simulator, goto github and search for thumbulator. Depends on what you are trying to do, could compile for thumb for a while then switch to thumb2 later.
For arm I found a behavioral verilog model out on a university site.
For thumb2 you might check and see if qemu supports it, I know there is support for the stellaris cortex-m3 so that may put you close enough.
There is no FOSS simulator. ARM documentation license prohibit documentation use for making simulator. You have to pay money to ARM to use documentation for simulation purposes and so all ARM simulators for latest architectures are non free.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With