Hello. I want to check my comparator's offset. so, I want to run mc simulation. but I don't know how...
u
Hello. I want to check my comparator's offset. so, I want to run mc simulation. but I don't know how to do mc_simulation collectly and to plot the figure. I try to do simulation like attatched image. I think it simulated. How can I check all output using plot? or How can I plot the file named
test_mc_model.raw
? I appreciate for your help.
s
After the write comand put a '`set appendwrite`' command, otherwise the last write clears the previous ones. At the end of the sim do a
plot all.v(outp)
, so put the plot command after the
end
of the repeat loop and change to
plot all.v(outp)
👍 1
u
@Stefan Schippers Thank you for your advice!
@Stefan Schippers I have one question. If I use
all.v(outd)
as you suggested, all names will come out as out. I want to see it separately. Is there any way to check without entering all names individually, such as
ran1.v(outd)
and
tran2.v(outd)
?
s
I think the only other option is just what you said: plot tran1.v(oute) tran2.v(outd)... Xschem in its internal graphs uses a similar approach, where outp references all the plots, and displayed as a single waveform, outp%0, outp%1, outp%2 use the specified run (first, second, third).