gnupic: Re: [gnupic] Problem with stimuli..
Subject:
Re: [gnupic] Problem with stimuli..
From:
Tobias Schlottke ####@####.####
Date:
28 Mar 2006 08:26:36 +0100
Message-Id: <Pine.LNX.4.64.0603280922580.3619@ws-toby.Netzwert.AG>
Hi Scott,
thanks for your answer. But.....
I'm still locked.
I dont not see the link of shift_in in your example and
a real pin of a pic. I checked the regression tests and
found digital_stim.
I can create the processor, load the code and create a
stimulus. But if I try to create a node I get:
**gpsim> node pulse trackinput porta2
***ERROR: parse error, unexpected SYMBOL_T, expecting
EOLN_T while parsing:
'trackinput'
Last command: node pulse trackinput porta2
So I think my problem is more related to create a node
than a stimulus. And regardless if I first create the
stimulus or the node, the error is the same.
Toby
On Mon, 27 Mar 2006, Scott Dattalo wrote:
> Tobias Schlottke wrote:
>
>> Here follows the content of track.stc:
>>
>> ===========================8<======================
>> node track
>> stimulus asynchronous_stimulus
>> initial_state 0
>> name trackinput
>> start_cycle 50000
>> 0 1 #1.1-bit 1-tritt 0. tritt of addr 4
>> 182 0
>> end
>> attach track trackinput porta2
>> ===========================8<======================
>
> Hi Tobias,
>
> The stimulus syntax changed a while back. You'll need to add commas between
> the data elements. For example,
>
> stimulus asynchronous_stimulus
> initial_state 0
> name trackinput
> start_cycle 50000
> {
> 0, 1, #1.1-bit 1-tritt 0. tritt of addr 4
> 182, 0
> }
> end
>
> Or here's an example for a register stimulus:
>
> http://cvs.sourceforge.net/viewcvs.py/gpsim/regression/register_stim/register_stim.stc?view=markup
>
> Scott
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
>
>