bug-gnu-electric
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A bug found in Waveform window and IRSIM


From: Steven Rubin
Subject: Re: A bug found in Waveform window and IRSIM
Date: Tue, 30 May 2006 10:19:29 -0700


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 fix is rather simple. In the source file Analyzer.java in package com.sun.electric.plugins.irsim is the method newVector(). Find this line of code:

        afterSV.value = curTime + stepSze - insertTime / cmdFileUnits;

Change it to read:

        afterSV.value = (curTime + stepSze - insertTime) / cmdFileUnits;

-Steven Rubin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]