> Maybe Alan knows: how is the time in simulation managed?
Not really...
The code was a real mess. The current preferred method is
Simulator::time(). This will read the current linear element clock for you.
There is kindof a problem though because if a subcircuit has analog
elements it will
2009/9/16 Zoltan Padrah
> Yes. the logic update is done as you've written.
>
> What do you mean by unstable? Ktechlab crashes or just outputs garbage?
>
Unstable perhaps is not the proper word... i mean irregular periods, i tried
with a simple toggle led pic program at 1 Hz.
Logic update at 5e6
Yes. the logic update is done as you've written.
What do you mean by unstable? Ktechlab crashes or just outputs garbage?
Also I don't understand how to reproduce the problem. Set the logic update
timer to 5e6 and then?
Maybe Alan knows: how is the time in simulation managed? We should provide
th
I't looks to me that logic update rate (then gpsim processors) is actually
1e6, then 1 MHz.. is this correct?
What is the actual behaivor of logic update rates?
i think the qtimer is at 1KHz, but the loops inside every call aren't
sinchonized... i mean: logic updates are done 1e6 times/Sec, but no