I've found a bug during editing stimuli for IRSIM. The bug happens if user sets stimuli with time in random order. If the next time is less than the previous one (even if these times affect different stimuli) the Waveform editor and IRSIM work not correctly.
In the waveform editor a time shift betwen the time wished by user to betwwen set and time that is really set appears. For example, I want to set V stimuli at 3 ns, but it is being set at 4 ns. Wrong dots also appear where no signal inversions are.
IRSIM generates negative times in stimuli files.
The bug was tested under Debian Linux and Windows 2000 Pro.
P.S. The following files are attached to the letter:
Jelibs: laba1.jelib - library used by the scheme test2.jelib - the scheme
Screenshots: scr1.png - screenshot of the scheme. scr2.png
- Waveform editor without any editing scr3.png - stimuli set in normal order scr4g.png - stimulus signal changed, time back, "g" button pressed. The red dots in C signal go wrong. scr5g.png - here I've pressed "g" and have got the signal inversion some time later than it had been planned.
scr5v.png - the same with "v" and some time later scr6.png - screenshot of the stimuli set loaded (saved after scr4g.png). We can see, that the saved and the loaded sets are quite different!
CMD files:
step1.cmd - after scr4.png step2.cmd - after scr5g.png step3.cmd - after scr5v.png