I have met a strange thing in smartspice.
i defined a variable in the input file, for example, "ratiox=v(v1)-v(v2)" and this variable sometime could be negative. however, if simulate it and load the raw file, the negative part of the waveform is reverted back to positive.
is there anyone encountered same thing before? and how to solve it?
actually, i just found the reason is as following: the simulation was done is ac. and therefore all the data are flaged as complex, so when plotting only the magnitude is plot(which is absolute value). i am looking for the settings to change this.