Stefan Schippers
10/14/2023, 10:06 PMwrite
command is the ngspice command to save simulation data to disk.
When used interactively ngspice stores all data in memory. If data grows too large at a certain point it stops and bails out, to avoid hogging the whole server.
I don't know if there is an internal variable to avoid this data size limit check.
You can work around this problem by saving only the interesting nodes (voltages and currents) with .save
lines. Note in xschem you can place the spice_probe.sym
component on interesting nodes to have these .save lines inserted in the netlist.
Another option is to start ngspice in batch mode (ngspice -b ....). In this case no data is kept in memory, saved nodes are written to file as soon as simulation proceeds.정진형학부생
10/15/2023, 8:44 AM