In xscheme, how do I view the dc and ac analysis r...
# analog-design
a
In xscheme, how do I view the dc and ac analysis results at the same time? I have this SPICE code
name=SIM only_toplevel=false value="
.control
option savecurrents
save all
save @m.xm5.msky130_fd_pr__nfet_01v8[gm]
save @m.xm5.msky130_fd_pr__nfet_01v8[id]
save @m.xm5.msky130_fd_pr__nfet_01v8[gds]
save @m.xm1.msky130_fd_pr__nfet_01v8[gm]
save @m.xm1.msky130_fd_pr__nfet_01v8[id]
save @m.xm1.msky130_fd_pr__nfet_01v8[gds]
save @m.xm2.msky130_fd_pr__nfet_01v8[gm]
save @m.xm2.msky130_fd_pr__nfet_01v8[id]
save @m.xm2.msky130_fd_pr__nfet_01v8[gds]
save @m.xm3.msky130_fd_pr__pfet_01v8[gm]
save @m.xm3.msky130_fd_pr__pfet_01v8[id]
save @m.xm3.msky130_fd_pr__pfet_01v8[gds]
save @m.xm4.msky130_fd_pr__pfet_01v8[gm]
save @m.xm4.msky130_fd_pr__pfet_01v8[id]
save @m.xm4.msky130_fd_pr__pfet_01v8[gds]
op
write OPAMP_OP.raw
tran 1u 10m
write OPAMP_TRAN.raw
.endc
"
But once I load the "op" results, the transient graphs will vanish and vice cersa. I want to view the op point and transient graphs at the same time. How to do this?
t
I think the solution is that you need to do
set appendwrite
after your first
write
statement, and then write to the same file in the second
write
statement. I'm not sure that xschem can read into graphs from multiple raw files (although I could be wrong).
At least I have seen it done that way; see https://github.com/mole99/ota-5t example testbench in the xschem/ directory.
a
Thank you I will check