Files
ngspice/tests/regression/misc/empty-1.cir
rlar 8e65614d31 spfactor.c, cktnames.c, don't crash when simulating "nothing"
reported by Siddhant Saraf in
> [ngspice:discussion] "out of memory" error : simulating a 2bit AND gate"

This comes in two flavours,
   1) an empty circuit
   2) a xspice circuit with exclusively xspice event nodes
2015-02-08 22:07:14 +01:00

19 lines
304 B
Plaintext

check that we can survive emptiness
* (exec-spice "ngspice -b %s")
* Nothingness, No circuit elements at all.
* We have only the implicit node "0"
* Checks whether we can live with a
* zero times zero circuit matrix
.control
op
tran 0.1m 1m
ac lin 3 1kHz 2kHz
echo "TEST: done"
quit 0
.endc
.end