diff options
Diffstat (limited to 'Windows/spice/tests/bsim3soidd')
-rw-r--r-- | Windows/spice/tests/bsim3soidd/Makefile.am | 20 | ||||
-rw-r--r-- | Windows/spice/tests/bsim3soidd/Makefile.in | 516 | ||||
-rw-r--r-- | Windows/spice/tests/bsim3soidd/RampVg2.cir | 19 | ||||
-rw-r--r-- | Windows/spice/tests/bsim3soidd/inv2.cir | 17 | ||||
-rw-r--r-- | Windows/spice/tests/bsim3soidd/lib.h | 110 | ||||
-rw-r--r-- | Windows/spice/tests/bsim3soidd/nmosdd.mod | 39 | ||||
-rw-r--r-- | Windows/spice/tests/bsim3soidd/pmosdd.mod | 39 | ||||
-rw-r--r-- | Windows/spice/tests/bsim3soidd/ring51.cir | 23 | ||||
-rw-r--r-- | Windows/spice/tests/bsim3soidd/t3.cir | 18 | ||||
-rw-r--r-- | Windows/spice/tests/bsim3soidd/t4.cir | 17 | ||||
-rw-r--r-- | Windows/spice/tests/bsim3soidd/t5.cir | 16 |
11 files changed, 834 insertions, 0 deletions
diff --git a/Windows/spice/tests/bsim3soidd/Makefile.am b/Windows/spice/tests/bsim3soidd/Makefile.am new file mode 100644 index 00000000..a12504ae --- /dev/null +++ b/Windows/spice/tests/bsim3soidd/Makefile.am @@ -0,0 +1,20 @@ +## Process this file with automake to produce Makefile.in + +TESTS = \ + t3.cir \ + t4.cir \ + t5.cir \ + inv2.cir \ + RampVg2.cir + +TESTS_ENVIRONMENT = ngspice_vpath=$(srcdir) $(SHELL) $(top_srcdir)/tests/bin/check.sh $(top_builddir)/src/ngspice + +EXTRA_DIST = \ + nmosdd.mod \ + pmosdd.mod \ + $(TESTS) \ + $(TESTS:.cir=.out) + +EXTRA_DIST += ring51.cir lib.h + +MAINTAINERCLEANFILES = Makefile.in diff --git a/Windows/spice/tests/bsim3soidd/Makefile.in b/Windows/spice/tests/bsim3soidd/Makefile.in new file mode 100644 index 00000000..58449324 --- /dev/null +++ b/Windows/spice/tests/bsim3soidd/Makefile.in @@ -0,0 +1,516 @@ +# Makefile.in generated by automake 1.11.6 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software +# Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ +VPATH = @srcdir@ +am__make_dryrun = \ + { \ + am__dry=no; \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ + | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ + *) \ + for am__flg in $$MAKEFLAGS; do \ + case $$am__flg in \ + *=*|--*) ;; \ + *n*) am__dry=yes; break;; \ + esac; \ + done;; \ + esac; \ + test $$am__dry = yes; \ + } +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = tests/bsim3soidd +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/src/include/ngspice/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +SOURCES = +DIST_SOURCES = +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__tty_colors = \ +red=; grn=; lgn=; blu=; std= +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ADMSXML = @ADMSXML@ +ALLOCA = @ALLOCA@ +AMTAR = @AMTAR@ +AM_CPPFLAGS = @AM_CPPFLAGS@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AS = @AS@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GREP = @GREP@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LEX = @LEX@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +NM = @NM@ +NMEDIT = @NMEDIT@ +NOTVLADEVDIR = @NOTVLADEVDIR@ +NOTXGRAPH = @NOTXGRAPH@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OPENMP_CFLAGS = @OPENMP_CFLAGS@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +RANLIB = @RANLIB@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STATIC = @STATIC@ +STRIP = @STRIP@ +TCL_LIB_SPEC = @TCL_LIB_SPEC@ +TCL_PACKAGE_PATH = @TCL_PACKAGE_PATH@ +VERSION = @VERSION@ +VLADEV = @VLADEV@ +VLADEVDIR = @VLADEVDIR@ +XGRAPHDIR = @XGRAPHDIR@ +XMKMF = @XMKMF@ +XSPICEDLLIBS = @XSPICEDLLIBS@ +XSPICEINIT = @XSPICEINIT@ +X_CFLAGS = @X_CFLAGS@ +X_EXTRA_LIBS = @X_EXTRA_LIBS@ +X_LIBS = @X_LIBS@ +X_PRE_LIBS = @X_PRE_LIBS@ +YACC = @YACC@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +subdirs = @subdirs@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +TESTS = \ + t3.cir \ + t4.cir \ + t5.cir \ + inv2.cir \ + RampVg2.cir + +TESTS_ENVIRONMENT = ngspice_vpath=$(srcdir) $(SHELL) $(top_srcdir)/tests/bin/check.sh $(top_builddir)/src/ngspice +EXTRA_DIST = nmosdd.mod pmosdd.mod $(TESTS) $(TESTS:.cir=.out) \ + ring51.cir lib.h +MAINTAINERCLEANFILES = Makefile.in +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/bsim3soidd/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu tests/bsim3soidd/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +check-TESTS: $(TESTS) + @failed=0; all=0; xfail=0; xpass=0; skip=0; \ + srcdir=$(srcdir); export srcdir; \ + list=' $(TESTS) '; \ + $(am__tty_colors); \ + if test -n "$$list"; then \ + for tst in $$list; do \ + if test -f ./$$tst; then dir=./; \ + elif test -f $$tst; then dir=; \ + else dir="$(srcdir)/"; fi; \ + if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \ + all=`expr $$all + 1`; \ + case " $(XFAIL_TESTS) " in \ + *[\ \ ]$$tst[\ \ ]*) \ + xpass=`expr $$xpass + 1`; \ + failed=`expr $$failed + 1`; \ + col=$$red; res=XPASS; \ + ;; \ + *) \ + col=$$grn; res=PASS; \ + ;; \ + esac; \ + elif test $$? -ne 77; then \ + all=`expr $$all + 1`; \ + case " $(XFAIL_TESTS) " in \ + *[\ \ ]$$tst[\ \ ]*) \ + xfail=`expr $$xfail + 1`; \ + col=$$lgn; res=XFAIL; \ + ;; \ + *) \ + failed=`expr $$failed + 1`; \ + col=$$red; res=FAIL; \ + ;; \ + esac; \ + else \ + skip=`expr $$skip + 1`; \ + col=$$blu; res=SKIP; \ + fi; \ + echo "$${col}$$res$${std}: $$tst"; \ + done; \ + if test "$$all" -eq 1; then \ + tests="test"; \ + All=""; \ + else \ + tests="tests"; \ + All="All "; \ + fi; \ + if test "$$failed" -eq 0; then \ + if test "$$xfail" -eq 0; then \ + banner="$$All$$all $$tests passed"; \ + else \ + if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \ + banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \ + fi; \ + else \ + if test "$$xpass" -eq 0; then \ + banner="$$failed of $$all $$tests failed"; \ + else \ + if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \ + banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \ + fi; \ + fi; \ + dashes="$$banner"; \ + skipped=""; \ + if test "$$skip" -ne 0; then \ + if test "$$skip" -eq 1; then \ + skipped="($$skip test was not run)"; \ + else \ + skipped="($$skip tests were not run)"; \ + fi; \ + test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \ + dashes="$$skipped"; \ + fi; \ + report=""; \ + if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \ + report="Please report to $(PACKAGE_BUGREPORT)"; \ + test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \ + dashes="$$report"; \ + fi; \ + dashes=`echo "$$dashes" | sed s/./=/g`; \ + if test "$$failed" -eq 0; then \ + col="$$grn"; \ + else \ + col="$$red"; \ + fi; \ + echo "$${col}$$dashes$${std}"; \ + echo "$${col}$$banner$${std}"; \ + test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \ + test -z "$$report" || echo "$${col}$$report$${std}"; \ + echo "$${col}$$dashes$${std}"; \ + test "$$failed" -eq 0; \ + else :; fi + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am + $(MAKE) $(AM_MAKEFLAGS) check-TESTS +check: check-am +all-am: Makefile +installdirs: +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." + -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) +clean: clean-am + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: + +.MAKE: check-am install-am install-strip + +.PHONY: all all-am check check-TESTS check-am clean clean-generic \ + clean-libtool distclean distclean-generic distclean-libtool \ + distdir dvi dvi-am html html-am info info-am install \ + install-am install-data install-data-am install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-info install-info-am install-man \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + uninstall uninstall-am + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/Windows/spice/tests/bsim3soidd/RampVg2.cir b/Windows/spice/tests/bsim3soidd/RampVg2.cir new file mode 100644 index 00000000..dde2a26e --- /dev/null +++ b/Windows/spice/tests/bsim3soidd/RampVg2.cir @@ -0,0 +1,19 @@ +* BSIMSOI (DD) example +* +* SOI, Ramp Vg + +Vd d 0 1.5 +Vg g 0 0.0 PULSE 0V 2V .02n .1n .1n .2n .6n +Ve e 0 0.0 +Vs s 0 0.0 +Vb b 0 0.0 + +m1 d g s e n1 w=10u l=0.25u debug=-1 + +.option gmin=1e-20 itl1=200 itl2=200 abstol=1e-9 noacct +.tran 1p 1.0ns +.print tran @m1[Vbs], V(g)/10 +.include nmosdd.mod + +.end + diff --git a/Windows/spice/tests/bsim3soidd/inv2.cir b/Windows/spice/tests/bsim3soidd/inv2.cir new file mode 100644 index 00000000..f1240e8e --- /dev/null +++ b/Windows/spice/tests/bsim3soidd/inv2.cir @@ -0,0 +1,17 @@ +* model = BSIMSOI (DD) +* +* +* SOI Inverter - floating body + +vin in 0 dc 2.5 +vdd dd 0 dc 2.5 +vss ss 0 dc 0 +ve e 0 dc 1.25 +m1 out in dd e p1 w=20u l=0.25u +m2 out in ss e n1 w=10u l=0.25u + +.option itl1=500 gmin=1e-25 noacct +.dc vin 0 2.5 0.01 +.print dc v(in), v(out) +.include nmosdd.mod +.include pmosdd.mod diff --git a/Windows/spice/tests/bsim3soidd/lib.h b/Windows/spice/tests/bsim3soidd/lib.h new file mode 100644 index 00000000..310aa396 --- /dev/null +++ b/Windows/spice/tests/bsim3soidd/lib.h @@ -0,0 +1,110 @@ + + +.subckt dum ss +mn1 ss ss ss ss ss n1 w=4u l=0.15u debug=1 AS=6p AD=6p PS=7u PD=7u +.ends dum + +* XOR2 +.subckt xnor2 dd ss sub A B out +mn1 T1 A C1 sub n1 w=4u l=0.15u AS=6p AD=6p PS=7u PD=7u +mn2 C1 B ss sub n1 w=4u l=0.15u AS=6p AD=6p PS=7u PD=7u +mn3 out A C2 sub n1 w=4u l=0.15u AS=6p AD=6p PS=7u PD=7u +mn4 out B C2 sub n1 w=4u l=0.15u AS=6p AD=6p PS=7u PD=7u +mn5 C2 T1 ss sub n1 w=4u l=0.15u AS=6p AD=6p PS=7u PD=7u +mp1 T1 A dd sub p1 w=10u l=0.15u AS=15p AD=15p PS=13u PD=13u +mp2 T1 B dd sub p1 w=10u l=0.15u AS=15p AD=15p PS=13u PD=13u +mp3 out A C3 sub p1 w=10u l=0.15u AS=15p AD=15p PS=13u PD=13u +mp4 C3 B dd sub p1 w=10u l=0.15u AS=15p AD=15p PS=13u PD=13u +mp5 out T1 dd sub p1 w=10u l=0.15u AS=15p AD=15p PS=13u PD=13u +.ends xnor2 + +.subckt nor2 dd ss sub A B out +mn1 out A ss sub n1 w=4u l=0.15u AS=6p AD=6p PS=7u PD=7u +mn2 out B ss sub n1 w=4u l=0.15u AS=6p AD=6p PS=7u PD=7u +mp1 out A C1 sub p1 w=10u l=0.15u AS=15p AD=15p PS=13u PD=13u +mp2 C1 B dd sub p1 w=10u l=0.15u AS=15p AD=15p PS=13u PD=13u +.ends nor2 + +.subckt nand2 dd ss sub A B out +mn1 out A C1 sub n1 w=4u l=0.15u AS=6p AD=6p PS=7u PD=7u +mn2 C1 B ss sub n1 w=4u l=0.15u AS=6p AD=6p PS=7u PD=7u +mp1 out A dd sub p1 w=10u l=0.15u AS=15p AD=15p PS=13u PD=13u +mp2 out B dd sub p1 w=10u l=0.15u AS=15p AD=15p PS=13u PD=13u +.ends nand2 + +.subckt nor3 dd ss sub A B C out +mn1 out A ss sub n1 w=4u l=0.15u AS=6p AD=6p PS=7u PD=7u +mn2 out B ss sub n1 w=4u l=0.15u AS=6p AD=6p PS=7u PD=7u +mn3 out C ss sub n1 w=4u l=0.15u AS=6p AD=6p PS=7u PD=7u +mp1 out A C1 sub p1 w=10u l=0.15u AS=15p AD=15p PS=13u PD=13u +mp2 C1 B C2 sub p1 w=10u l=0.15u AS=15p AD=15p PS=13u PD=13u +mp3 C2 C dd sub p1 w=10u l=0.15u AS=15p AD=15p PS=13u PD=13u +.ends nor3 + +.subckt nand3 dd ss sub A B C out +mn1 out A C1 sub n1 w=4u l=0.15u AS=6p AD=6p PS=7u PD=7u +mn2 C1 B C2 sub n1 w=4u l=0.15u AS=6p AD=6p PS=7u PD=7u +mn3 C2 C ss sub n1 w=4u l=0.15u AS=6p AD=6p PS=7u PD=7u +mp1 out A dd sub p1 w=10u l=0.15u AS=15p AD=15p PS=13u PD=13u +mp2 out B dd sub p1 w=10u l=0.15u AS=15p AD=15p PS=13u PD=13u +mp3 out C dd sub p1 w=10u l=0.15u AS=15p AD=15p PS=13u PD=13u +.ends nand3 + +.subckt nor4 dd ss sub A B C D out +mn1 out A ss sub n1 w=4u l=0.15u AS=6p AD=6p PS=7u PD=7u +mn2 out B ss sub n1 w=4u l=0.15u AS=6p AD=6p PS=7u PD=7u +mn3 out C ss sub n1 w=4u l=0.15u AS=6p AD=6p PS=7u PD=7u +mn4 out C ss sub n1 w=4u l=0.15u AS=6p AD=6p PS=7u PD=7u +mp1 out A C1 sub p1 w=10u l=0.15u AS=15p AD=15p PS=13u PD=13u +mp2 C1 B C2 sub p1 w=10u l=0.15u AS=15p AD=15p PS=13u PD=13u +mp3 C2 C C3 sub p1 w=10u l=0.15u AS=15p AD=15p PS=13u PD=13u +mp4 C3 C dd sub p1 w=10u l=0.15u AS=15p AD=15p PS=13u PD=13u +.ends nor4 + +.subckt nand4 dd ss sub A B C D out +mn1 out A C1 sub n1 w=4u l=0.15u AS=6p AD=6p PS=7u PD=7u +mn2 C1 B C2 sub n1 w=4u l=0.15u AS=6p AD=6p PS=7u PD=7u +mn3 C2 C C3 sub n1 w=4u l=0.15u AS=6p AD=6p PS=7u PD=7u +mn4 C3 C ss sub n1 w=4u l=0.15u AS=6p AD=6p PS=7u PD=7u +mp1 out A dd sub p1 w=10u l=0.15u AS=15p AD=15p PS=13u PD=13u +mp2 out B dd sub p1 w=10u l=0.15u AS=15p AD=15p PS=13u PD=13u +mp3 out C dd sub p1 w=10u l=0.15u AS=15p AD=15p PS=13u PD=13u +mp4 out C dd sub p1 w=10u l=0.15u AS=15p AD=15p PS=13u PD=13u +.ends nand4 + +.subckt inv1 dd ss sub in out +mn1 out in ss sub n1 w=4u l=0.15u AS=6p AD=6p PS=7u PD=7u +mp1 out in dd sub p1 w=10u l=0.15u AS=15p AD=15p PS=13u PD=13u +.ends inv1 + +.subckt inv5 dd ss sub in out +xinv1 dd ss sub in 1 inv1 +xinv2 dd ss sub 1 2 inv1 +xinv3 dd ss sub 2 3 inv1 +xinv4 dd ss sub 3 4 inv1 +xinv5 dd ss sub 4 out inv1 +.ends inv5 + +.subckt inv25 dd ss sub in out +xinv1 dd ss sub in 1 inv5 +xinv2 dd ss sub 1 2 inv5 +xinv3 dd ss sub 2 3 inv5 +xinv4 dd ss sub 3 4 inv5 +xinv5 dd ss sub 4 out inv5 +.ends inv25 + +.subckt inv125 dd ss sub in out +xinv1 dd ss sub in 1 inv25 +xinv2 dd ss sub 1 2 inv25 +xinv3 dd ss sub 2 3 inv25 +xinv4 dd ss sub 3 4 inv25 +xinv5 dd ss sub 4 out inv25 +.ends inv125 + +.subckt inv625 dd ss sub in out +xinv1 dd ss sub in 1 inv125 +xinv2 dd ss sub 1 2 inv125 +xinv3 dd ss sub 2 3 inv125 +xinv4 dd ss sub 3 4 inv125 +xinv5 dd ss sub 4 out inv125 +.ends inv625 diff --git a/Windows/spice/tests/bsim3soidd/nmosdd.mod b/Windows/spice/tests/bsim3soidd/nmosdd.mod new file mode 100644 index 00000000..c53fe206 --- /dev/null +++ b/Windows/spice/tests/bsim3soidd/nmosdd.mod @@ -0,0 +1,39 @@ +*Model Card for BSIMDD2.0, floating body DD SOI NMOS +*Released on 2/15/99 +.Model N1 NMOS Level= 56 ++TNOM = 27 TOX = 4.5E-09 TSI = 5e-8 TBOX = 8E-08 ++MOBMOD = 0 CAPMOD = 3 SHMOD = 0 ++PARAMCHK=0 WINT = 0 LINT = -2E-08 ++VTH0 = .52 K1 = .39 K2 = .1 K3 = 0 ++KB1 = .95 K3B = 2.2 NLX = 7.2E-08 ++DVT0 = .55 DVT1 = .28 DVT2 = -1.4 ++DVT0W = 0 DVT1W = 0 DVT2W = 0 ++NCH = 3.3E+17 NSUB = 1E+15 NGATE = 1E+20 ++DVBD0 = 60.0 DVBD1 = 1.1 VBSA = 0.0 ++KB3 = 2.2 DELP = 0.02 ++ABP = 0.9 MXC = 0.9 ADICE0 = 0.93 ++KBJT1 = 1.0E-08 EDL = .0000005 ++NDIODE = 1.13 NTUN = 14.0 ++ISBJT = 2e-6 ISDIF = 1e-6 ISTUN = 0.0 ISREC = 1e-5 ++XBJT = 0.01 XDIF = 0.01 XREC = 0.01 XTUN = 0.001 ++U0 = 352 UA = 1.3E-11 UB = 1.7E-18 UC = -4E-10 ++W0 = 1.16E-06 AGS = .25 A1 = 0 A2 = 1 ++B0 = .01 B1 = 10 ++RDSW = 700 PRWG = 0 PRWB = -.2 WR = 1 ++RBODY = 0.0 RBSH = 0.0 ++A0 = 1.4 KETA = -.67 VSAT = 135000 ++DWG = 0 DWB = 0 ++ALPHA0 = 0.0 ALPHA1 = 1.5 BETA0 = 20.5 ++AII = 1.2 BII = 0.1e-7 CII = 0.8 DII = 0.6 ++VOFF = -.14 NFACTOR = .7 CDSC = .00002 CDSCB = 0 ++CDSCD = 0 CIT = 0 ++PCLM = 2.9 PVAG = 12 PDIBLC1 = .18 PDIBLC2 = .004 ++PDIBLCB = -.234 DROUT = .2 ++DELTA = .01 ETA0 = .01 ETAB = 0 ++DSUB = .3 RTH0 = .006 ++CLC = .0000001 CLE = .6 CF = 1E-20 CKAPPA = .6 ++CGDL = 1E-20 CGSL = 1E-20 KT1 = -.3 KT1L = 0 ++KT2 = .022 UTE = -1.5 UA1 = 4.31E-09 UB1 = -7.61E-18 ++UC1 = -5.6E-11 PRT = 760 AT = 22400 ++CGSO = 1e-10 CGDO = 1e-10 CJSWG = 5e-10 TT=3e-10 ++ASD = 0.3 CSDESW = 1e-12 diff --git a/Windows/spice/tests/bsim3soidd/pmosdd.mod b/Windows/spice/tests/bsim3soidd/pmosdd.mod new file mode 100644 index 00000000..4cf2f135 --- /dev/null +++ b/Windows/spice/tests/bsim3soidd/pmosdd.mod @@ -0,0 +1,39 @@ +*Model Card for BSIMDD2.0, floating body DD SOI PMOS +*Released on 2/15/99 +.Model P1 PMOS Level= 56 ++TNOM = 27 TOX = 4.5E-09 TSI = 5e-8 TBOX = 8E-08 ++MOBMOD = 2 CAPMOD = 3 SHMOD = 0 ++WINT = 0 LINT = -2E-08 ++VTH0 = -.52 K1 = .39 K2 = .1 K3 = 0 ++KB1 = .95 K3B = 2.2 NLX = 7.2E-08 ++DVT0 = .55 DVT1 = .28 DVT2 = -1.4 ++DVT0W = 0 DVT1W = 0 DVT2W = 0 ++NCH = 3.0E+17 NSUB = 1E+15 NGATE = 1E+20 ++DVBD0 = 60.0 DVBD1 = 1.1 VBSA = -0.2 ++KB3 = 2.2 DELP = 0.02 ++ABP = 0.9 MXC = 0.9 ADICE0 = 0.93 ++KBJT1 = 1.0E-08 EDL = .0000005 ++NDIODE = 1.13 NTUN = 14.0 ++ISBJT = 0.0 ISDIF = 1e-6 ISTUN = 0.0 ISREC = 0.0 ++XBJT = 0.01 XDIF = 0.01 XREC = 0.01 XTUN = 0.001 ++U0 = 145 UA = 1.3E-11 UB = 1.7E-18 UC = -4E-10 ++W0 = 1.16E-06 AGS = .25 A1 = 0 A2 = 1 ++B0 = .01 B1 = 10 ++RDSW = 700 PRWG = 0 PRWB = -.2 WR = 1 ++RBODY = 0.0 RBSH = 0.0 ++A0 = 1.4 KETA = -.67 VSAT = 75000 ++DWG = 0 DWB = 0 ++ALPHA0 = 0.0 ALPHA1 = 1e-4 BETA0 = 19 ++AII = 1.25 BII = 0.1e-7 CII = 0.8 DII = 0.6 ++VOFF = -.14 NFACTOR = .7 CDSC = .00002 CDSCB = 0 ++CDSCD = 0 CIT = 0 ++PCLM = 2.9 PVAG = 12 PDIBLC1 = .18 PDIBLC2 = .004 ++PDIBLCB = -.234 DROUT = .2 ++DELTA = .01 ETA0 = .01 ETAB = 0 ++DSUB = .3 RTH0 = .006 ++CLC = .0000001 CLE = .6 CF = 1E-20 CKAPPA = .6 ++CGDL = 1E-20 CGSL = 1E-20 KT1 = -.3 KT1L = 0 ++KT2 = .022 UTE = -1.5 UA1 = 4.31E-09 UB1 = -7.61E-18 ++UC1 = -5.6E-11 PRT = 760 AT = 22400 ++CGSO = 1e-10 CGDO = 1e-10 CJSWG = 5e-10 TT=3e-10 ++ASD = 0.3 CSDESW = 1e-12 diff --git a/Windows/spice/tests/bsim3soidd/ring51.cir b/Windows/spice/tests/bsim3soidd/ring51.cir new file mode 100644 index 00000000..d777727e --- /dev/null +++ b/Windows/spice/tests/bsim3soidd/ring51.cir @@ -0,0 +1,23 @@ +* 51 stage Ring-Osc. + +vin in out 2 pulse 2 0 0.1n 5n 1 1 1 +vdd dd 0 dc 0 pulse 0 2 0 1n 1 1 1 +vss ss 0 dc 0 +ve sub 0 dc 0 + +xinv1 dd ss sub in out25 inv25 +xinv2 dd ss sub out25 out50 inv25 +xinv5 dd ss sub out50 out inv1 +xinv11 dd ss sub out buf inv1 +cout buf ss 1pF + +xdum ss dum + +.option itl1=500 gmin=1e-15 itl4=10 noacct +*.dc vdd 0 2 0.01 +.tran 0.2n 50n + +.include nmosdd.mod +.include pmosdd.mod +.include lib.h +.end diff --git a/Windows/spice/tests/bsim3soidd/t3.cir b/Windows/spice/tests/bsim3soidd/t3.cir new file mode 100644 index 00000000..4faf0c7d --- /dev/null +++ b/Windows/spice/tests/bsim3soidd/t3.cir @@ -0,0 +1,18 @@ +*model = BSIMSOI (DD) +*Berkeley Spice Compatibility +* +* SOI NMOSFET, floating body simulation + +vd d 0 dc 1.5 +vs s 0 dc 0 +ve e 0 dc 0 +vg g 0 dc 3 + + +m1 d g s e n1 w=10u l=0.25u + +.option gmin=1e-25 itl1=500 noacct +.dc vd 0 3 0.01 vg 0.5 3 0.5 +.print dc v(g), i(vs) +.include nmosdd.mod + diff --git a/Windows/spice/tests/bsim3soidd/t4.cir b/Windows/spice/tests/bsim3soidd/t4.cir new file mode 100644 index 00000000..a30c4cc6 --- /dev/null +++ b/Windows/spice/tests/bsim3soidd/t4.cir @@ -0,0 +1,17 @@ +*model = BSIMSOI (DD) +*Berkeley Spice Compatibility +* +* SOI NMOSFET, tied body simulation + +vd d 0 dc 0.05 +vs s 0 dc 0 +ve e 0 dc 0 +vg g 0 dc 3 +vb b 0 dc 0 + +m1 d g s e b n1 w=10u l=0.25u + +.option gmin=1e-25 itl1=500 noacct +.dc vg 0 1.5 0.01 vb -0.3 0.5 0.1 +.print dc i(vs) +.include nmosdd.mod diff --git a/Windows/spice/tests/bsim3soidd/t5.cir b/Windows/spice/tests/bsim3soidd/t5.cir new file mode 100644 index 00000000..54e36843 --- /dev/null +++ b/Windows/spice/tests/bsim3soidd/t5.cir @@ -0,0 +1,16 @@ +*model = BSIMSOI (DD) +*Berkeley Spice Compatibility +* +* SOI NMOSFET, floating body simulation + +vd d 0 dc 0.05 +vs s 0 dc 0 +ve e 0 dc 0 +vg g 0 dc 3 + +m1 d g s e n1 w=10u l=0.25u + +.option gmin=1e-25 itl1=500 noacct +.dc vg 0 1.5 0.01 ve -4 4 1 +.print dc i(vs) +.include nmosdd.mod |