Ryan R
07/21/2022, 3:49 PMMitch Bailey
07/23/2022, 2:08 PMsimulations/.spiceinit
file with the following contents:
set ngbehavior=hsa
set ng_nomodcheck
# set filetype=ascii
You said that you included it, which is not the same thing.
Hopefully this helps. Besides the total elapsed run time, the only major difference I see between your result and Stefan's is the library pages.Ryan R
07/23/2022, 2:10 PMMitch Bailey
07/23/2022, 3:18 PMStefan Schippers
07/23/2022, 9:39 PMopen_pdks
, which takes care of downloading skywater spice models and patching them in many places. My open_pdks version is :
commit 3a2a72e112d12771f528ed8b79b799222728e7eb (HEAD -> master, tag: 1.0.316, origin/open_pdks-1.0, origin/master, origin/HEAD)
Author: Tim Edwards <tim@opencircuitdesign.com>
Date: Mon Jun 27 14:08:22 2022 -0400
Corrected the sky130 JSON file to add a couple of missing commas
that break JSON syntax.
installed using the usual:
./configure --enable-sky130-pdk --prefix=/home/schippes
make
[sudo] make install
in my case no sudo is necessary since i install in my home dir.Mitch Bailey
07/23/2022, 10:34 PMTotal analysis time (seconds) = 12.1835
Total CPU time (seconds) = 2714.315
Total DRAM available = 128931.973 MB.
DRAM currently available = 96590.703 MB.
Maximum ngspice program size = 1526.375 MB.
Current ngspice program size = 1499.145 MB.
Shared ngspice pages = 9.801 MB.
Text (code) pages = 5.574 MB.
Stack = 0 bytes.
Library pages = 1489.930 MB.
real 45m14.954s
user 45m9.544s
sys 0m4.787s
I'll try building the pdk locally instead of using the canned version and see what the difference is.Stefan Schippers
07/23/2022, 10:39 PMMitch Bailey
07/23/2022, 11:09 PMMitch Bailey
07/24/2022, 9:20 PMMitch Bailey
07/24/2022, 9:21 PM.spiceinit
in the same directory that you run ngspice
. That worked for me.
Total analysis time (seconds) = 12.0473
Total CPU time (seconds) = 34.669
Total DRAM available = 128931.973 MB.
DRAM currently available = 41720.793 MB.
Maximum ngspice program size = 691.812 MB.
Current ngspice program size = 664.605 MB.
Shared ngspice pages = 9.629 MB.
Text (code) pages = 5.574 MB.
Stack = 0 bytes.
Library pages = 655.367 MB.
real 0m34.696s
user 0m31.774s
sys 0m2.920s
Ryan R
07/27/2022, 5:59 AM