Hi Kaiyuan,

There are multiple system-level difference between A class and M class
that will prevent you from running things out of the box. In particular
interrupts and memory protection work very differently. You would also
have to rewrite most of the system register decoding/handling.

This could certainly be done, but it would be a lot of work. In fact, I
suspect gem5 isn¹t the tool you want to use for this type of project. As
I¹m sure you are aware, most microcontrollers don¹t use out of order
pipelines and a rich memory system (complex memory hierarchies backed by
DRAM), so using gem5 would clearly be overkill.

Regards,
Andreas

On 04/07/2016, 05:49, "gem5-dev on behalf of kaiyu...@tju.edu.cn"
<gem5-dev-boun...@gem5.org on behalf of kaiyu...@tju.edu.cn> wrote:

>Hello guys,
>
>I am trying to implement some features in ARMv7-M3 ISA using gem5. The
>official document shows the ARM ISA gem5 support is ARMv7-A ISA.
>Is ARMv7-A compatible to ARMv7-M, especially thumb instructions? Could I
>suppose that the programs in -M can run on -A ISA gem5?
>
>Thank you very much!
>
>
>Kaiyuan Liang
>School of Computer Science and Technology
>Tianjin University
>_______________________________________________
>gem5-dev mailing list
>gem5-dev@gem5.org
>http://m5sim.org/mailman/listinfo/gem5-dev

IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.

_______________________________________________
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to