./cad/ng-spice, Next generation circuit simulation program

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 27nb1, Package name: ng-spice-27nb1, Maintainer: dmcmahill

NG-SPICE is the program being developed as the replacement for Berkeley
SPICE. Using the Berkeley code as a starting point, the NG-SPICE team
is working on improving the build system, adding to the models, and
improving the analysis capability.

SPICE is a general-purpose circuit simulation program for nonlinear dc,
nonlinear transient, and linear ac analyses. Circuits may contain resistors,
capacitors, inductors, mutual inductors, independent voltage and current
sources, four types of dependent sources, lossless and lossy transmission
lines (two separate implementations), switches, uniform distributed RC
lines, and the five most common semiconductor devices: diodes, BJTs, JFETs,

NG-SPICE is part of the gEDA project.

Required to run:
[math/fftw] [devel/readline]

Required to build:
[pkgtools/x11-links] [pkgtools/cwrappers]

Master sites:

SHA1: 544e713d21aeab14d04abff5ece39a17b0c2b050
RMD160: a500dba09b711c2a1df93e1a55e6431832c61e25
Filesize: 7200.193 KB

Version history: (Expand)

CVS history: (Expand)

   2019-03-20 11:43:17 by Thomas Klausner | Files touched by this commit (1) | Package updated
Log message:
ng-spice: update to 27nb1.

Remove libXp dependency. Not used here.
   2018-03-08 15:11:24 by Makoto Fujiwara | Files touched by this commit (3) | Package updated
Log message:
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 \ 
    + 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/ngspic … ster/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/ … rtlog;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 \ 
    + 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
   2015-11-03 01:21:20 by Alistair G. Crooks | Files touched by this commit (58)
Log message:
Add SHA512 digests for distfiles for cad category

Problems found with existing distfile for eagle:
No changes made to eagle/distinfo file.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2013-10-15 16:31:39 by Roy Marples | Files touched by this commit (1)
Log message:
ng-spice doesn't really use curses
   2013-07-15 04:02:29 by Ryo ONODERA | Files touched by this commit (177)
Log message:
* .include "../../devel/readline/buildlink3.mk" with USE_GNU_READLINE=yes
  are replaced with .include "../../devel/readline/buildlink3.mk", and
  USE_GNU_READLINE are removed,

* .include "../../devel/readline/buildlink3.mk" without USE_GNU_READLINE
  are replaced with .include "../../mk/readline.buildlink3.mk".
   2013-04-06 22:27:30 by Blue Rats | Files touched by this commit (94)
Log message:
"INFO_FILES should be set to YES or yes."
"Packages that install info files should set INFO_FILES."
Makefile and PLIST warning, respectively.
   2012-10-08 15:25:17 by Aleksej Saushev | Files touched by this commit (62)
Log message:
Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days.
   2011-08-30 14:01:04 by Dan McMahill | Files touched by this commit (5) | Package updated
Log message:
Update to ngspice-23 from ngspice-20.  From the NEWS file:

Ngspice-23, June 5th, 2011

- New features:
    + Reduction of trtol to 1 only if 'A' devices in the circuit and xspice is \ 
    + command wrs2p to write a s-parameter file using Touchstone vers. 1 format
	+ d_source d_state d_ram, test cases for those xspice codemodels
	+ transient noise simulation added to independent voltage and current sources
	+ Random telegraph noise added to independent voltage and current sources
	+ 'time = nnn' in stop command added
	+ random voltage generator option trrandom to independent voltage and current \ 
	+ ngspice build possible in a separate directory (e.g. in ng-spice-rework/release)
	+ update FIND .. WHEN measurements
	+ diode & bjt temperature model update with tlev and tlevc
	+ merge bsim3v1a code with bsim3v0 and bsim3v1s code with bsim3v1
	+ bjt2: removed - all GP extensions of this model are now in the bjt model
	+ HiSIM_HV model vers. 1.2.1 added
	+ bsim3v32: delvto and mulu0 as instance parameters
	+ Replace HiSIM1 by HiSIM_2.5.1_Release_20110407

- Bug fixes:
    + More on prototypes, type casts, reordering of functions, compiler warnings
	+ allow models like 2N2904 or 2SK136 also in subcircuits
	+ fix sensitvity calculation (for the dc-2+.cir testcase)
	+ allow multiple call to setup w/ correct node collapsing
	+ Many small bugs

Ngspice-22, Sept 26th, 2010

- New features:
    + OpenMP multicore support for BSIM3, BSIM4, and BSIMSOI4
    + reinstate {$var} expansion in interactive interpreter
    + .TITLE line added
    + update to 'spectrum' script
    + par('expression') in .four, .plot, .print, .meas, .save commands
    + command 'option' for use in spinit, .spiceinit, and in scripts
    + adms procedure updated
    + new random number generator, random functions sunif() and sgauss()
    + ngspice manual updated

- Bug fixes:
    + Major code cleanup to reduce compiler/linker warnings: ansi function \ 
      void/char pointers to named pointers, explicit type casts and many more
    + Many small bugs

Ng-spice-rework-21, Jun3, 13th 2010

- Updated Devices: BSIMSOI 4.3.1

- New features:
    + Compatibility: C, L, R, devices and E, G sources with expressions
	  Variables HERTZ, TIME, TEMPER added
    + E, G sources with pwl function
    + New manual
	+ Plotting with Gnuplot,
	+ Writing wrdata for simple text table to file
	+ .measure improved
	+ transmission line models improved

- Bug fixes:
    + Many small bugs, memory leaks, memory overflows