From ed86b1cfde715e1522736f6dc5d1e84c171ac875 Mon Sep 17 00:00:00 2001 From: rlar Date: Thu, 12 Apr 2012 14:05:15 +0200 Subject: [PATCH] demo via ngspice -p, this time without a local spinit --- hic0+.cir | 6 ++++++ wip-adms3.el | 4 ++++ 2 files changed, 10 insertions(+) create mode 100644 hic0+.cir diff --git a/hic0+.cir b/hic0+.cir new file mode 100644 index 000000000..b6e16f16c --- /dev/null +++ b/hic0+.cir @@ -0,0 +1,6 @@ +// (compile "cat hic0+.cir | ../build-wip-adms3/src/ngspice -p") + +// load the adms shared library model +admsmodel hicum0 + +source hic0.cir diff --git a/wip-adms3.el b/wip-adms3.el index fb2655d74..cd87a249b 100644 --- a/wip-adms3.el +++ b/wip-adms3.el @@ -33,6 +33,10 @@ ../build-wip-adms3/src/ngspice -b hic0.cir") +(compile "LD_LIBRARY_PATH=src/spicelib/devices/adms/hicum0/adms3va \ + ../build-wip-adms3/src/ngspice -p < hic0+.cir") + + ;;; expected: Model issue on line 0 : .model x1:hic0_full hicum0 is=1.3525e-18 vef=8.0 iqf=3.0 ...