Looking for a P2 Simulator
Reinhard
Posts: 489
hi all,
I'm searching a simulator tool for P2.
This means: generate a elf - file with the propgcc toolchain and the simulator read the elf file and process the instructions.( Like gdb, but without hardware )
I have search the web but found no hits.
Do anybody in this forum know about such a project ?
Best Regards
Reinhard
I'm searching a simulator tool for P2.
This means: generate a elf - file with the propgcc toolchain and the simulator read the elf file and process the instructions.( Like gdb, but without hardware )
I have search the web but found no hits.
Do anybody in this forum know about such a project ?
Best Regards
Reinhard
Comments
The PropGCC version of spinsim doesn't have a debugger. I do have a private version of spinsim that I worked on many months ago that supports simple debug instructions, but I haven't posted that version.
spinsim is exactly the tool, what I needed ;-))
for example - - -
this command line:
C:\propgcc\demos\forumists\Reinhard\DES-RSA>spinsim -p -10 -l out.txt crypto_demo.elf
make this output:
Cog 0: 0 000 00000000 I if_never wrbyte 000, 000
Cog 0: 4 000 a0fc0005 mov 000, #005
Cog 0: 8 001 a0bc03f0 mov 001, 1f0
Cog 0: 12 002 80fc0202 add 001, #002
Cog 0: 16 003 04bfd601 W rdword 1eb, 001
Cog 0: 20 003 04bfd601 rdword 1eb, 001
Cog 0: 24 004 80fc0700 add 003, #100
Cog 0: 28 005 80fc0700 add 003, #100
Cog 0: 32 006 e4fc0002 djnz 000, #002
Cog 0: 36 002 80fc0202 add 001, #002
---
Thank's a lot
Reinhard