simulavr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Simulavr-devel] RFC: a few feature ideas


From: Michael N. Moran
Subject: Re: [Simulavr-devel] RFC: a few feature ideas
Date: Wed, 22 Apr 2009 17:57:37 -0400
User-agent: Thunderbird 2.0.0.5 (X11/20070727)

Joel Sherrill wrote:
As I have been working on getting a feedback
and testing framework built for a real application,
I have come across a few things I think would
be useful.  I would like to bounce them all off
of you.

Is that going to hurt? ;)

+ A mechanism to load the contents of the eeprom
to a file and subsequently save it to that file.

That sounds useful. I guess there may be cross
platform issues with file I/O, but ... other than
that :)

+ exit command from feedback/ui. So it can determine
when to terminate a simulation.

I'm unqualified to comment on that, never having
used it.

+ optional time "pulse" from simulated avr to
feedback/ui so it can stay in time sync with
simulation time.  I was thinking of an optional
object with a configurable time to pulse.

Couldn't the ui just "be" another SimulationMember
and get the same "clock" information that other
simulated devices receive? Oh ... wait .. the
UserInterface class is already a SimulationMember.
I guess I don't understand the issue.

+ possibly having the simulator stop after the
time pulse until the ui/feedback says continue.
This would give the ui/feedback time to update
the "real world" in sync with the simulated avr.
I have done similar things in the past and frame
rates of 100 Hz (stop simulated processor every
10 milliseconds of sim time) for updates of
real world.

I don't understand how this would be used.

Comments appreciated.

Sorry I couldn't give "useful" comments...
On the other hand, the bounce didn't hurt either. :-)


--
Michael N. Moran           (h) 770 516 7918
5009 Old Field Ct.         (c) 678 521 5460
Kennesaw, GA, USA 30144    http://mnmoran.org

"So often times it happens, that we live our lives in chains
 and we never even know we have the key."
"Already Gone" by Jack Tempchin (recorded by The Eagles)

The Beatles were wrong: 1 & 1 & 1 is 1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]