gnupic: gpsim stimulus
Subject:
gpsim stimulus
From:
John Duncan ####@####.####
Date:
10 Aug 2000 02:23:03 -0000
Message-Id: <39921243.BE675598@bom.gov.au>
hello,
i am hoping that someone can help me. I have been experimenting with
stimulus files with gpsim 00.20.1. I just can't get things to work as I
expect for example the following file:
processor p16f84
load -s test1.cod
node test_node
stimulus asynchronous_stimulus
start_cycle 0x10
initial_state 1
period 0x50
0x20 0
0x25 1
0x30 0
name asy1
end
attach test_node asy1 portb0
My understanding is that this would result in portb0 going high at 0x10
then low at 0x20, high at 0x25, low at 0x30, then high again at 0x60 and
repeating
What I get is high at 0x25, low at 0x30, then high again at 0x75. It
appears that the initial_state of 1 is not occurring. When gpsim starts
I get.
new node : test_node
period = 50
phase = 0
start_cycle = 0
Next break cycle = 20
What have I missed??
regards
John