A good starting point might be to see if you can get your ARM decoder to parse, generate, and build correctly within M5. In the m5/build directly, you could do this for ALPHA with a command such as:
scons ALPHA_SE/arch/alpha/decoder.do

Then, you could try to get M5 to build the regular way (e.g. scons ALPHA_SE/m5.debug ...).

Once that works, you could focus on getting the basic "Hello, world!" program working. With a ARM/Linux cross-compiled binary, you could edit a M5 configuration file to run M5 with the SimpleCPU model and the "InstExec" trace flag enabled (to view the instruction trace).

Hope that helps.

Quoting Mr Stephen Tonkin <[EMAIL PROTECTED]>:

I'm currently attempting to implement the ARM ISA on M5. I've been
basing my implementation so far off the Alpha and MIPS SE modes (in
terms of defining the ISA traits, decoding etc.) and am making good
progress at the moment. However, I'm unsure at the moment how I will be
able to debug and test my implementation.

If anyone could suggest some methods on how to test a new ISA, it would
be greatly appreciated.

Stephen.


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
m5sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/m5sim-users







--
Korey LaMar Sewell
University of Michigan Computer Science & Engineering Ph.D Student
------
``Experience is not what happens to you. It is what you do with what happens to you.''






-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
m5sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/m5sim-users

Reply via email to