Browse Source
During setup of the models thre have been search scans in the
During setup of the models thre have been search scans in the
linked model list modtab. The time used here grows approx. quadratically with the number of models. If the numbers get large, e.g. with the IHP Open PDK, setup time make simulation impractical. Therefore the linked list modtab has been enhanced by a hash table modtabhash, which allows linear search time and makes simulation of a 200k transistor circuit with IHP PDK possible. Already the setup time for 15k transistor circuits has been reduced.pre-master-46
7 changed files with 78 additions and 19 deletions
-
3src/frontend/runcoms.c
-
5src/frontend/runcoms2.c
-
4src/frontend/spiceif.c
-
2src/include/ngspice/ftedefs.h
-
30src/spicelib/parser/inpgmod.c
-
8src/spicelib/parser/inpkmods.c
-
45src/spicelib/parser/inpmkmod.c
Write
Preview
Loading…
Cancel
Save
Reference in new issue