권용진학부생
11/03/2023, 5:52 AMac dec 10 1 10M
and I want to see simulation result.
It said Transient op finished successfully
. but I can't see the graph of result.
It said no such vector cdac_vd
. I attached the image foe your reference.
I thought command db() is problem. so I tried to simulated except many commands.
Finally, I tried a simulation to using command like plot v(cdac_vd)
but, It didn't work.
How can I do to plot the AC analysis result? I appreciate for your help.Stefan Schippers
11/03/2023, 7:33 PM.control
...
save all
ac ....
write ...
...
.endc
You can use the display
command at the ngspice prompt to see the available nodes.
you can use vdb(node) instead of v(node) to display the value in dB, or ph(node) to get the phase (it is in radians, so you will often use plot ph(node)*180/pi )권용진학부생
11/04/2023, 8:54 AMsave all
inside the .control
but I think It has same error.Stefan Schippers
11/04/2023, 9:32 AMdisplay
command should be given without any arguments at the ngspice prompt. You can use it to get the name of all saved waveforms. You will see if cdac_vd
exists or not.
Do not write into an ac_top.txt file, you should better keep the default extension, ac_top.raw, althouugh this is not an error.Stefan Schippers
11/04/2023, 9:37 AM.options savecurrents
.control
save all
ac dec 10 1 10MEG
remzerovec
write ac_top.raw
plot vdb(cdac_vd)
.endc