Re: [avr-gcc-list] simulator

From:

Theodore A. Roth

Subject:

Re: [avr-gcc-list] simulator

Date:

Mon, 1 Oct 2001 13:54:48 -0600 (MDT)

Chris,
I'd be interested in seeing some of your code for other cpu cores. I'm
curious how you map the opcodes into function calls and such. I'd like to
get some more ideas in mind head before digging into C code.
It looks like python is _too_ slow. At least the python stuff got me a
prototype to work from (if the design isn't completely stupid) and a good
deal of knowledge about the avr core.
Ted Roth
On Mon, 1 Oct 2001, ChristoGeo wrote:
:)I don't say too much here but I would suggest that any simulator out there
:)be written in C not Python. Only thing worse would be TCL based.
:)
:)I could write the opcodes in C for you if you desire. I write cpu cores
:)all the time in C for pleasure
:)
:)Regards,
:)Chris
:)
:)
:)
:)At 06:49 AM 10/1/2001 +0000, address@hidden wrote:
:)
:)
:)
:)>Sounds interesting :-)
:)>Too bad I'm not familiar with Python, but I've been
:)>"fooling around" with AVR:s for some time ...
:)>And There's not too many (1--) AVR simulators for Linux ...
:)>Sounds like a good enough reason to pick up Python ...
:)>
:)>Have You got a web-page, or how do You plan to make
:)>the code available ??
:)>
:)>BR : Johan
:)>
:)>BTW : Is 'pyhton' a typo, or am I completely lost ??
:)>
:)>"Theodore A. Roth" <address@hidden> wrote:
:)>
:)> > Hi,
:)> >
:)> > I've been working on a simluator written in pyhton for the last couple of
:)> > weeks. It's not near done yet, but I can already run programs that don't
:)> > use the IO registers. Right now I'm working on hooks for the virtual
:)> > connections to the IO pins of devices.
:)> >
:)> > I'm not sure if it could be accessed from gdb, but it has been in the back
:)> > of my mind. Right now I'm only using assembly code to test it so as to
:)> > keep the programs simple and be able to understand what's going on.
:)> >
:)> > So far, I've got the basics for the at90s1200, 4414 and 8515 going, but
:)> > I've only been testing with the 8515. It should be easy to add new
:)>devices
:)> > in the feature, since I've been designing it with that in mind.
:)> >
:)> > If anyone's interested, I'd be more than happy to make the code
:)>available.
:)> >
:)> > Ted Roth
:)> > address@hidden
:)> >
:)> >
:)> > _______________________________________________
:)> > avr-gcc-list mailing list
:)> > address@hidden
:)> > http://avr.jpk.co.nz/mailman/listinfo/avr-gcc-list
:)> >
:)>
:)>
:)>
:)>--
:)>
:)>
:)>
:)>
:)>________________________________________________________________
:)>Ilmainen Internet @ http://www.nic.fi/
:)>
:)>
:)>_______________________________________________
:)>avr-gcc-list mailing list
:)>address@hidden
:)>http://avr.jpk.co.nz/mailman/listinfo/avr-gcc-list
:)
:)
:)_______________________________________________
:)avr-gcc-list mailing list
:)address@hidden
:)http://avr.jpk.co.nz/mailman/listinfo/avr-gcc-list
:)