<#C017P3RAD42|xschem> <@U01819B63HP> Not able to l...
# general
v
#xschem @Stefan Schippers Not able to load ac waveforms in internal xschem viewer. Please suggest what could be the issue.
s
after the ac analysis you need to do a:
write cs_ac_tb.raw
If you want to keep the previous op analysis too add these two lines:
set appendwrite
write cs_ac_tb.raw
However if you do so loading the raw data with the menu will load the first dataset (the OP analysis). To expicitly load the AC data do this at the xshem terminal prompt:
xschem raw_read $netlist_dir/cs_ac_tb.raw ac
You can also "`add a waveform reload launcher`" from SImulation menu and change
tran
to
ac
in the attributes. Doing a ctrl-left button click will load/unload the AC data.
v
@Stefan Schippers AC waveform is not getting plotted. Can you please suggest what is missing.
s
Remove the
set appendwrite
, remove the writing of the operating point raw file, keep only the
write
after the
ac
command. Run the command from the xschem prompt:
Copy code
% xschem raw_read $netlist_dir/cs_ac_tb.raw ac
Raw file data read: /home/schippes/.xschem/simulations/cs_ac_tb.raw
points=121, vars=88, datasets=1
1
If you get '1' as the return value the file is loaded. Then double click in the graph and select nodes to plot. If you don't get '1' there is some other problem.
👍 1
v
Yes, it is working now after removing
set appendwrite
. Thanks for the help. How can xschem command prompt be accessed ?
s
If you run xschem from a terminal, the terminal becomes the xschem prompt. Xschem has a tcl interpreter embedded.
👍 1