I'm trying to simulate an 8kB 1wr1r 32x2048 with ngspice and run into the N_GLOBAL_NODES error. Before futher digging the internet, I was wondering if Matthew has a solution, because google shows Matt's tweet about it on twitter, but not the solution 😉 Matthew, any idea ?
m
Matt Venn
04/06/2022, 7:13 PM
@User i assume
m
Matthew Guthaus
04/06/2022, 7:34 PM
I've been using Xyce instead of ngspice. I think that you have to increase the size of the static array in ngspice if you want to use it
Matthew Guthaus
04/06/2022, 7:37 PM
I'd also suggest:
1) making sure you compile with the parallel model evaluation options I previously sent you
2) using the "trimmed" netlist if possible
Note 1 and 2 both improve runtime in related ways
t
Tobias Strauch
04/07/2022, 10:51 AM
My question was not related to runtime. It was related to the issue, that ngspice might limit subcircuits to < 1005 pins, if I understand it correcty. I though you were aware of this issue: https://twitter.com/mguthaus/status/1380197235049123842 😉 Parallel mode doesn't help here, I would guess. Thanks.
m
Matthew Guthaus
04/07/2022, 1:04 PM
Yes, increase 1005 and recompile.
Matthew Guthaus
04/07/2022, 1:06 PM
If I recall, I submitted an issue to ngspice, but it's been almost exactly a year...