Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Software simulation from ARM Cortex-M0

Tags:

arm

simulator

Is there a software simulator for ARM Cortex-M0 ?

like image 209
Rumple Stiltskin Avatar asked Mar 31 '11 05:03

Rumple Stiltskin


People also ask

How do you run simulation in Keil?

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.

What is an ARM architecture simulator?

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.

What is the difference between the Arm Cortex M0 and M4?

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.

How many cores does Arm Cortex M0 have?

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.


2 Answers

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.

like image 109
old_timer Avatar answered Jan 02 '23 07:01

old_timer


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.

like image 43
jpou Avatar answered Jan 02 '23 06:01

jpou