Stefan Schippers
12/18/2024, 12:55 PMngspice
- Xyce
- Icarus verilog
- Verilator
- GHDL
.Diarmuid Collins
12/19/2024, 9:15 AMStefan Schippers
12/19/2024, 9:27 AMRoel Jordans
12/19/2024, 12:15 PMDiarmuid Collins
12/19/2024, 6:56 PMHolger Vogt
12/20/2024, 1:12 PMRoel Jordans
12/20/2024, 1:31 PMHolger Vogt
12/20/2024, 1:47 PMRoel Jordans
12/20/2024, 3:31 PM.option LINSOL TYPE=AztecOO PREC_TYPE=Ifpack
) we're using with Xyce make the difference but then I should dive deeper into ngspice again to see if it allows for similar options too.Stefan Schippers
12/20/2024, 3:56 PMwrite
command. Using batch mode ngspice (ngspice -b -r circuit.raw circuit.cir
, which is more an apple to apple comparison with Xyce which is only batch mode) data is saved on disk and the whole simulation database is not growing in memory.
The advantage of interactive/control mode is flexibility, since you can post-process all simulated vectors and make calculations.
The disadvantage as you noticed is the growing memory footprint, that can be mitigated by reducing the saved nodes (no .option savecurrents
and no save all
)Roel Jordans
12/20/2024, 4:01 PMStefan Schippers
12/20/2024, 4:06 PM.control
/ ... / .endc
blocks must be present (or are just ignored, I don't remember) so the testbench in some cases needs to be edited. Just add the analysis line (.tran .... .ac ... whatever) and the .save
lines (if you want to save only selected nodes, if no .save
is present all voltage nodes and voltage source currents are saved by default).Stefan Schippers
12/20/2024, 4:54 PM