gnupic: Re: [gnupic] Writing a port out to a file in GPSIM


Previous by date: 30 Jul 2006 03:10:20 +0100 Re: [gnupic] GPSim Socket Interface, Scott Dattalo
Next by date: 30 Jul 2006 03:10:20 +0100 Re: [gnupic] GPSim Socket Interface, octal works
Previous in thread:
Next in thread: 30 Jul 2006 03:10:20 +0100 Re: [gnupic] Writing a port out to a file in GPSIM, Peter Chant

Subject: Re: [gnupic] Writing a port out to a file in GPSIM
From: "Scott Dattalo" ####@####.####
Date: 30 Jul 2006 03:10:20 +0100
Message-Id: <60029.71.139.1.184.1154224770.squirrel@ruckus.brouhaha.com>

On Sat, 2006-07-29 at 18:52 +0100, Peter Chant wrote:
> Is there any way to set something similar to a break point where
> gpsim stops, write the contents of say RB0 to a file and then carrys
> on with the simulation until it revisits this point?  I can't see a
> way to do it from the manual as breakpoints require manual
> interations.  I suppose I could write a kluge with expect if there
> was no other way.

The answer is yes, but... it currently doesn't work. I haven't tried
this feature out in a long time, and to my disappointment I see that
it's broken. But this is the way it's supposed to work; The 'log'
command is similar to the 'break' command except that trigger
conditions are logged to a file instead. For example,

gpsim> log w portb

Is supposed to record all writes to portb.

After digging around for a while, I see why the code is broken. I'm going
to take a stab at fixing it. When done, I expect the log command to be
identical to the break command except that all actions will get logged
instead of triggering a halt.

Scott

Previous by date: 30 Jul 2006 03:10:20 +0100 Re: [gnupic] GPSim Socket Interface, Scott Dattalo
Next by date: 30 Jul 2006 03:10:20 +0100 Re: [gnupic] GPSim Socket Interface, octal works
Previous in thread:
Next in thread: 30 Jul 2006 03:10:20 +0100 Re: [gnupic] Writing a port out to a file in GPSIM, Peter Chant


Powered by ezmlm-browse 0.20.