From 2e206919ad7c28ea0f64ddf259e7d3e8e05f3eb5 Mon Sep 17 00:00:00 2001 From: mef Date: Thu, 8 Mar 2018 14:11:24 +0000 Subject: Updated cad/ng-spice 23 to 27 Ngspice-27, Aug 28th, 2017 ============ - New features: + check for correct inductor coefficients + add variable 'win_console' + --enable-relpath configure flag to set preprocessor flag HAS_RELPATH + sets search path for spinit relativ to current directory + The search path for .spiceinit is: current dir, HOME dir, USERPROFILE dir + new function stddev to calculate the standard deviation of all elements of a vector + xspice digital n-input x m-output look-up table gate + xspice digital model d_lut (digital n-input look-up table gate) + add variable $sharedmode (if shared ngspice is running), to be used in scripts + enable msys2 for mingw compilation + OMP support for bsim3v3.24 model + bsim3v3.24: add model parameter lmlt (Channel length scaling) + OMP support for BSIM4.5 model + update and extension of command 'wrdata' + option xmu to set damping in trapezoid integration + command 'linearize' will take time data from transient analysis vector if no circuit is loaded + two new commands: edisplay and eprvcd + 'edisplay' will show a list of all event nodes + 'eprvcd' will print all event nodes in vcd format + XSPICE 2D and 3D table models + add variable 'batchmode' which is set when command line option `-b' is active + enable backquote substitution for Visual Studio console apps + update how-to-ngspice-vstudio.txt + update visualc directory and project files, add XSPICE code model generation by VS2015 + allow access to 4 GB memory of 32 bit ngspice on 64 bit Windows, 8 TB for 64 bit ngspice + new variable `interactive' + xspice, introduce cm_message_printf() + add variable `width' to command "print line ..." + support msys2 + favor exponential temperatur equation if all parameters tc1, tc2 and tce are given for R + move libfftw3 sideways out of the ngspice tree + remove visual studio 2008 .vcproj files + visualc/sharedspice.vcxproj, updated and migrated with visual studio 2015 + `E..table {expr} {pairs}', `G..', allow an optional `=' after `table' + `E..value=', `G..value=', allow `=' being optional + introduce TCE, exponential temperature coefficient for R + allow `temper' to be recognised when preceded by '=' + allow cross-compilation, especially for MinGW-w64 + allow "plot xlog ylog" (equiv to "plot loglog") + extend qa test to hisimhv version 2 + update hisimhv model to version 2.2.0 + update hisim model to version 2.8.0 + .control variable "sqrnoise" to deliver noise data in squared representation + noise analysis, deliver results in V/sqrt(Hz) and A/sqrt(Hz) + add delvt0 for bsim4 models + bug fixes for diode model + allow a xspice circuit with exclusively xspice event nodes + man pages for cmpp ngmakeidx and ngproc2mod + implement `nint()' + everywhere: ln to the base e, log to the base e, log10 to the base 10 + allow an optional '=' in ".func foo() = {expr}" + bsim4, update to version 4.8 + update hisimhv to version 1.2.4 + cmc quality check for bsim3 model + nested indexing for vectors + option savecurrents to save current through all devices + option interp to plot interpolated raw file data + MS VS 2010 project file added for compatibility + XSPICE: new callback function cm_get_path - Bug fixes: + many, many ... as always Ngspice-26, Jan 4th, 2014 ============ - New features: + fft command may (optionally) use fftw3 library + add nint() rounding function + usage of 'temper' in behavioral devices + check for soa (safe operating area) in several device models + library processing rewritten completely to enhance ngspice compatibility (.lib) + include file processing rewritten to allow nesting and various absolute and relative path names (.inc) + asinh, acosh, atanh functions + shared ngspice option added: ngspice optionally compiles as a shared object or dynamic link library + use a hash table to massively speed up parsing the netlist + implement a very basic .if/.else block + implement a signed power function `pwr' for controlled sources + implement multiplier `m' in F, G source + apply Area Calculation Method (ACM) to the bsim3v3.3 model + implement `tc1', `tc2' instance parameters - Bug fixes: + many, many ... please see http://sourceforge.net/p/ngspice/ngspice/ci/master/tree/ and check the 'history' button on the upper right. + removed memory leaks Ngspice-25, Jan 4th, 2013 ============ - New features: + add temperature coefficients for B source + commands "mdump", "mrdump" to dump matrix to file + allow `time', `temper', and `hertz' in expressions with behavioral R, L, C + Enable ctrl-c to interrupt a simulation also for Windows GUI + tests/bsim4: use the standard CMC model qa check + implement exit code for command "quit" + .nodeset all = value + memristor code model in extradev + new scalable diode model including tunnel component + variable xtrtol may override the XSPICE reduction of trtol + XSPICE example: delta-sigma converter + XSPICE: new d_source model + new option noopac + bsim3: make additonal parameters accessible with @mxx[par] + enable Mac OS X compilation + option reseries = val + commands "snsave", "snload" + update hisim to version 2.7.0, new qa tests + hisimhv update to version 1.2.3, new qa tests + allow Ctrl-d to quit + jfet model temperature extension, tcv and bex parameter + speed up vector handling by hash table for vector address storage and retrieval + update PSS code - Bug fixes: + many, many ... please see http://ngspice.git.sourceforge.net/git/gitweb.cgi?p=ngspice/ngspice;a=shortlog;pg=0 + remove memory leaks + update tclspice for MS Windows + adms3 removed due to licensing issues Ngspice-24, Jan 29th, 2012 ============ - New features: + .csparam allows to tranfer a param into a vector in .control ... .endc + functions floor and ceil + syntax Gxxx n1 n2 TABLE {expression} = (x0, y0) (x1, y1) (x2, y2) + syntax Gxxx n1 n2 value={equation} or Exxx n1 n2 value={equation} + variable strict_errorhandling to exit ngspice with exit code 1 if any error occurs during circuit parsing + command altermod allows reading from file + command "devhelp" to show available devices and describe device parameters + command "inventory" to print the number of istances of each device. + function cph(vec) delivers phase from a vector without jumps at +-PI + enable 64 bit compilation in MS Visual Studio + --adms3 flag to compile with (experimental) adms code + still very experimental pss code + command 'remcirc' to remove a circuit from the list + command 'wrdata' aknowledges appendwrite and prints complex variables + allow comment lines inside of command files + path variable NGSPICE_INPUT + 'Filesource' code model - Bug fixes: + More on prototypes, type casts, reordering of functions, compiler warnings + fix a numerical problem in the hisim2 and hisimhv models + plot i(vdd) from a loaded rawfile + fix the guard for device generated internal nodes (via CKTmkVolt()) + reduce memory leaks for command 'reset' + parameter processing for nested .subckt + bsim4/b4noi.c: correct init the correlated noise slot in noiseDens and lnNdens vector + Many small bugs --- cad/ng-spice/Makefile | 8 ++-- cad/ng-spice/PLIST | 129 +++++++++++++++++++++++++++++++++++++++++++++++++- cad/ng-spice/distinfo | 10 ++-- 3 files changed, 136 insertions(+), 11 deletions(-) (limited to 'cad') diff --git a/cad/ng-spice/Makefile b/cad/ng-spice/Makefile index fda1647c635..4767e1b8022 100644 --- a/cad/ng-spice/Makefile +++ b/cad/ng-spice/Makefile @@ -1,9 +1,8 @@ -# $NetBSD: Makefile,v 1.43 2013/10/15 14:31:39 roy Exp $ +# $NetBSD: Makefile,v 1.44 2018/03/08 14:11:24 mef Exp $ # -DISTNAME= ngspice-23 -PKGREVISION= 1 -PKGNAME= ng-spice-23 +DISTNAME= ngspice-27 +PKGNAME= ng-spice-27 CATEGORIES= cad MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ngspice/} @@ -25,6 +24,7 @@ TEXINFO_REQD= 4.6 .include "../../devel/libgetopt/buildlink3.mk" # uses rl_* interface .include "../../devel/readline/buildlink3.mk" +.include "../../math/fftw/buildlink3.mk" .include "../../x11/libXaw/buildlink3.mk" .include "../../x11/libXp/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/cad/ng-spice/PLIST b/cad/ng-spice/PLIST index b292437e24b..cf5ac4372bb 100644 --- a/cad/ng-spice/PLIST +++ b/cad/ng-spice/PLIST @@ -1,13 +1,138 @@ -@comment $NetBSD: PLIST,v 1.12 2011/08/30 12:01:03 dmcmahill Exp $ -@comment bin/nghelp +@comment $NetBSD: PLIST,v 1.13 2018/03/08 14:11:24 mef Exp $ bin/ngmakeidx bin/ngmultidec bin/ngnutmeg bin/ngproc2mod bin/ngsconvert bin/ngspice +include/ngspice/1-f-code.h +include/ngspice/FastNorm3.h +include/ngspice/acdefs.h +include/ngspice/bdrydefs.h +include/ngspice/bool.h +include/ngspice/carddefs.h +include/ngspice/ciderinp.h +include/ngspice/cidersupt.h +include/ngspice/cktdefs.h +include/ngspice/cluster.h +include/ngspice/cm.h +include/ngspice/cmconstants.h +include/ngspice/cmproto.h +include/ngspice/cmtypes.h +include/ngspice/compatmode.h +include/ngspice/complex.h +include/ngspice/config.h +include/ngspice/const.h +include/ngspice/contdefs.h +include/ngspice/cpdefs.h +include/ngspice/cpextern.h +include/ngspice/cpstd.h +include/ngspice/defines.h +include/ngspice/devdefs.h +include/ngspice/dgen.h +include/ngspice/distodef.h +include/ngspice/dllitf.h +include/ngspice/domndefs.h +include/ngspice/dopdefs.h +include/ngspice/dstring.h +include/ngspice/dvec.h +include/ngspice/elctdefs.h +include/ngspice/enh.h +include/ngspice/enhtypes.h +include/ngspice/evt.h +include/ngspice/evtproto.h +include/ngspice/evttypes.h +include/ngspice/evtudn.h +include/ngspice/fftext.h +include/ngspice/ftedbgra.h +include/ngspice/ftedebug.h +include/ngspice/ftedefs.h +include/ngspice/ftedev.h +include/ngspice/fteext.h +include/ngspice/fteinp.h +include/ngspice/fteinput.h +include/ngspice/fteoptdefs.h +include/ngspice/fteparse.h +include/ngspice/gendefs.h +include/ngspice/gendev.h +include/ngspice/graph.h +include/ngspice/grid.h +include/ngspice/hash.h +include/ngspice/hlpdefs.h +include/ngspice/iferrmsg.h +include/ngspice/ifsim.h +include/ngspice/inpdefs.h +include/ngspice/inpmacs.h +include/ngspice/inpptree.h +include/ngspice/ipc.h +include/ngspice/ipcproto.h +include/ngspice/ipctiein.h +include/ngspice/jobdefs.h +include/ngspice/lsort.h +include/ngspice/macros.h +include/ngspice/material.h +include/ngspice/matldefs.h +include/ngspice/memory.h +include/ngspice/meshdefs.h +include/ngspice/meshext.h +include/ngspice/methdefs.h +include/ngspice/mif.h +include/ngspice/mifcmdat.h +include/ngspice/mifdefs.h +include/ngspice/mifparse.h +include/ngspice/mifproto.h +include/ngspice/miftypes.h +include/ngspice/missing_math.h +include/ngspice/mobdefs.h +include/ngspice/modldefs.h +include/ngspice/multi_line.h +include/ngspice/ngspice.h +include/ngspice/noisedef.h +include/ngspice/numcards.h +include/ngspice/numconst.h +include/ngspice/numenum.h +include/ngspice/numgen.h +include/ngspice/numglobs.h +include/ngspice/onedev.h +include/ngspice/onemesh.h +include/ngspice/opdefs.h +include/ngspice/optdefs.h +include/ngspice/optndefs.h +include/ngspice/outpdefs.h +include/ngspice/plot.h +include/ngspice/pnode.h +include/ngspice/profile.h +include/ngspice/pssdefs.h +include/ngspice/pzdefs.h +include/ngspice/randnumb.h +include/ngspice/sen2defs.h +include/ngspice/sensdefs.h +include/ngspice/sensgen.h +include/ngspice/sharedspice.h +include/ngspice/sim.h +include/ngspice/smpdefs.h +include/ngspice/sperror.h +include/ngspice/spmatrix.h +include/ngspice/stringskip.h +include/ngspice/stringutil.h +include/ngspice/suffix.h +include/ngspice/swec.h +include/ngspice/tclspice.h +include/ngspice/tfdefs.h +include/ngspice/trandefs.h +include/ngspice/trcvdefs.h +include/ngspice/tskdefs.h +include/ngspice/twodev.h +include/ngspice/twomesh.h +include/ngspice/typedefs.h +include/ngspice/wallace.h +include/ngspice/wordlist.h +include/ngspice/wstdio.h +man/man1/cmpp.1 +man/man1/ngmakeidx.1 man/man1/ngmultidec.1 man/man1/ngnutmeg.1 +man/man1/ngproc2mod.1 man/man1/ngsconvert.1 man/man1/ngspice.1 share/ngspice/helpdir/ngspice.idx diff --git a/cad/ng-spice/distinfo b/cad/ng-spice/distinfo index 6998baa3501..9fcff750872 100644 --- a/cad/ng-spice/distinfo +++ b/cad/ng-spice/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.16 2015/11/03 00:21:18 agc Exp $ +$NetBSD: distinfo,v 1.17 2018/03/08 14:11:24 mef Exp $ -SHA1 (ngspice-23.tar.gz) = 65fa23d1168cb3af7651b990344f763c77bf6132 -RMD160 (ngspice-23.tar.gz) = 34a5bb0a06e67a9ebe21f7abe8067cd8e793ea9e -SHA512 (ngspice-23.tar.gz) = 576edcf4c61db078ab425664468e60c5feab83b350fa55d21bbda6c4f0b5d12513104d54bcf9de2a65254c9de797c9ad136e355b0b9a64e948bfaeca3df119f8 -Size (ngspice-23.tar.gz) = 6485536 bytes +SHA1 (ngspice-27.tar.gz) = 544e713d21aeab14d04abff5ece39a17b0c2b050 +RMD160 (ngspice-27.tar.gz) = a500dba09b711c2a1df93e1a55e6431832c61e25 +SHA512 (ngspice-27.tar.gz) = 1714f95ab5716c228a0b39395a742e8b9a823e0e6f7e08625d089541ea786df5fd7b9d2982bcec8431e27ac6ba7603ecc507f9cfcb0a6aacd53f5633f52bd2ea +Size (ngspice-27.tar.gz) = 7372998 bytes -- cgit v1.2.3