I run tran. and dc. in the same simulatin file. I want to save all the nodes for DC simulation. But only save selected nodes for transient simulation to save disk space. is it possible?
I tried several ways, but both tran. and dc. save the same nodes as long as they are in one simulation file.
Yes, you can do this. In the Save Options form, ask it to save selected, and then pick which outputs to be saved - i.e. what you've been doing already.
Then on the options form for the dc analysis, set the "save" parameter to "allpub" (or "all"). The specific option for the analysis will win over the global default.
This is equivalent to adding save=allpub on the dc analysis line itself in the netlist.
Thanks for your replay. Your suggestion solves most of my probelms. Except for one. One of my purpose for dc is to check the currents for each terminals. I do not want to save these terminal current in tran. If I set save=all in dc analysis, I believe it will save all the node voltages but not all terminal currents. If I set currents=all in options statement, spectre will save all the terminal currents even in the tran, which I do not want. Do you have solution to save terminal currents only for dc (not for tran)?
This is not currently possible - it really needs a currents parameter to be able to be specified on each analysis. So please contact customer support so that we can file an enhancement request on your behalf.