I am not concerned about cycles at the moment, just bit-exact simulation of
the CPU.
The msp430-run program looks useful, thank you. (Except the msp430-run
programs packaged by Debian segfault immediately.)
I've compiled gdb-7.7 with --target=msp430 and it works!
Is there any best way to pass data in / out of the simulator? I guess I
can use the "run" program and set up a memory region for the input data,
and write a little main() to feed it into through the algorithm. But if
there's an easier way, I'd like to hear about it before I do it the hard
way.
Regards,
Mark
On Tue, Jun 3, 2014 at 11:01 AM, DJ Delorie <d...@redhat.com> wrote:
>
> Could you try the gdb from the FSF's source tree? It's version 7.7
> and has the RH simulator in it. However, I don't think the profiling
> results from the RH simulator will be useful to you if you want
> cycle-accurate counts, but it will show you every single instruction
> being executed.
>
> Also, there's a standalone simulator msp430-elf-run that has some
> profiling command line options, not sure if those would be helpful.
>
--
Regards,
Mark
markrages@gmail
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users