Hi everyone, I was trying to use the iic-jku osic ...
# general
k
Hi everyone, I was trying to use the iic-jku osic tools docker image and it seems that for some reason, I can't view the waveforms using the integrated waveform viewer with xschem. I can plot them using the ngspice terminal, one by one....but that kinda gets complicated + if I want to scroll through the plot and find a specific point, like in [insert proprietary SPICE tool here] I can't do it with just the native ngspice viewer + I would just prefer gaw instead of having to type plot for all the waveforms I wanna see.....anyone know how to fix this? and see my plots with gaw, when I open it using the external viewer option it is empty. I have even used the .save all command, despite that it shows that the raw file for the waveform doesn't exist.
s
Modify the SPICE commands as follows:
.temp 75
.ic v(Vosc)=0
.control
save all
tran 1ps 0.2ns
remzerovec
write Oscillator.raw
.endc
👍 1
k
Thanks, it works now. Though could you please explain, which zero length vector was being removed with
remzerovec
? so that I don't repeat such mistakes in the future.
s
the
remzerovec
removes empty vectors. Without this if there are zero length vectors (for example some body currents of transistors) the
write
statement fails. Since it is irritating to have
write
refusing to create the raw file because of zero length vectors I always add this statement before
write
. In my opinion this is a ngspice bug.
👍 1