Browse Source

prepare release 23

h_vogt 15 years ago
parent
commit
0457245332
  1. 6
      COPYING
  2. 5
      ChangeLog
  3. 38
      FAQ
  4. 120
      INSTALL
  5. 27
      NEWS
  6. 2
      configure.ac
  7. 6
      visualc/include/config.h

6
COPYING

@ -1,6 +1,6 @@
12345678901234567890123456789012345678901234567890123456789012345678901234567890 12345678901234567890123456789012345678901234567890123456789012345678901234567890
Ngspice-22
Copyright (c) 2010,
Ngspice-23
Copyright (c) 2011,
All rights reserved. All rights reserved.
@ -13,7 +13,7 @@ to the work of researchers, electronic designers, software editors, etc.
The Ngspice team tries to collect work from the different sources and The Ngspice team tries to collect work from the different sources and
contribute new functionalities. Thus, the material we manipulate is contribute new functionalities. Thus, the material we manipulate is
heterogeneous in licenses. Keeping the licenses as is, is the way to live with heterogeneous in licenses. Keeping the licenses as is, is the way to live with
that diversity. For release 21 as well, we choose not to relicense.
that diversity. For release 23 as well, we choose not to relicense.
Copyleft is a fundamental question in FOSS development. The choice of a Copyleft is a fundamental question in FOSS development. The choice of a
copylefted contribution, or a non copylefted contribution is an important copylefted contribution, or a non copylefted contribution is an important

5
ChangeLog

@ -1,3 +1,6 @@
2011-05-28 Holger Vogt
* update to prepare release 23
2011-05-28 Robert Larice 2011-05-28 Robert Larice
* src/ngsconvert.c : * src/ngsconvert.c :
bug fix, (#3188327), segfault in ngsconvert bug fix, (#3188327), segfault in ngsconvert
@ -188,7 +191,7 @@
2011-05-03 Holger Vogt 2011-05-03 Holger Vogt
* x11.c, graph.h: move #define NUMCOLORS to x11.c to avoid redefinition * x11.c, graph.h: move #define NUMCOLORS to x11.c to avoid redefinition
under MS Visual Studion
under MS Visual Studio
2011-05-01 Robert Larice 2011-05-01 Robert Larice
* src/frontend/outitf.c , * src/frontend/outitf.c ,

38
FAQ

@ -236,25 +236,33 @@
The latest version released is: The latest version released is:
* ngspice-rework-22 (released on 26/09/2010)
* ngspice-rework-23 (released on 05/06/2011)
2.2. What are the latest features in the current release? 2.2. What are the latest features in the current release?
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 prototypes,
void/char pointers to named pointers, explicit type casts and many more
- New features:
+ Reduction of trtol to 1 only if 'A' devices in the circuit and xspice is enabled
+ 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 sources
+ 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 + Many small bugs

120
INSTALL

@ -61,29 +61,29 @@ This file describes the procedures to install ngspice from sources.
Now change directories in to the top-level source directory (where this Now change directories in to the top-level source directory (where this
INSTALL file can be found). INSTALL file can be found).
The project uses the GNU build process. This is still very crude and needs
work, but basically you should be able to do the following:
The project uses the GNU build process. The compile output should go into a separate
directory, so to e.g. maitain and distinguish debug and release versions.
$ ./autogen.sh $ ./autogen.sh
$ ./configure --enable-maintainer-mode
$ mkdir debug
$ cd debug
$ ../configure --enable-maintainer-mode
$ make $ make
$ sudo make install $ sudo make install
At present it is normal for there to be some warning generated during this
process.
See the section titled 'Advanced Install' for instructions about arguments See the section titled 'Advanced Install' for instructions about arguments
that can be passed to ./configure to customise the build and installation. that can be passed to ./configure to customise the build and installation.
Preferred arguments to ./configure to obtain a comfortably working ngspice may be Preferred arguments to ./configure to obtain a comfortably working ngspice may be
--with-editline=yes (if not available, --with-readline=yes will work, but has
a licensing issue) and --disable-debug (for smaller and speed optimized
--with-readline=yes and --disable-debug (for smaller and speed optimized
executable). executable).
A fully featured ngspice on LINUX may be obtained with the following commands: A fully featured ngspice on LINUX may be obtained with the following commands:
$ ./autogen.sh --adms $ ./autogen.sh --adms
$ ./configure --with-x --enable-xspice --disable-debug --enable-cider --with-readline=yes --enable-openmp --enable-adms
$ make
$ mkdir release
$ cd release
$ ../configure --with-x --enable-xspice --disable-debug --enable-cider --with-readline=yes --enable-openmp --enable-adms
$ make 2>&1 | tee make.log
$ sudo make install $ sudo make install
If a problem is found with the build proccess, please submit a report to If a problem is found with the build proccess, please submit a report to
@ -95,18 +95,19 @@ This file describes the procedures to install ngspice from sources.
1.3 Basic Install 1.3 Basic Install
This covers installation from a tarball (for example ngspice-rework-18.tgz).
This covers installation from a tarball (for example ngspice-23.tar.gz).
After downloading the tar ball to a local directory unpack it using: After downloading the tar ball to a local directory unpack it using:
$ tar -zxvf ngspice-rework-18.tgz
$ tar -zxvf ngspice-23.tar.gz
Now change directories in to the top-level source directory (where this Now change directories in to the top-level source directory (where this
INSTALL file can be found). INSTALL file can be found).
You should be able to do: You should be able to do:
$ ./autogen.sh
$ ./configure
$ mkdir debug
$ cd debug
$ ../configure
$ make $ make
$ sudo make install $ sudo make install
@ -116,10 +117,17 @@ This file describes the procedures to install ngspice from sources.
that can be passed to ./configure to customise the build and installation. that can be passed to ./configure to customise the build and installation.
Preferred arguments to ./configure to obtain a comfortably working ngspice may be Preferred arguments to ./configure to obtain a comfortably working ngspice may be
--with-editline=yes (if not available, --with-readline=yes will work, but has
a licensing issue) and --disable-debug (for smaller and speed optimized
--with-readline=yes and --disable-debug (for smaller and speed optimized
executable). executable).
A fully featured ngspice on LINUX may be obtained with the following commands:
$ ./autogen.sh --adms
$ mkdir release
$ cd release
$ ../configure --with-x --enable-xspice --disable-debug --enable-cider --with-readline=yes --enable-openmp --enable-adms
$ make 2>&1 | tee make.log
$ sudo make install
1.4 Advanced Install 1.4 Advanced Install
@ -134,8 +142,7 @@ This file describes the procedures to install ngspice from sources.
The following sections provide some guidance and descriptions for many, The following sections provide some guidance and descriptions for many,
but not all, of these options. but not all, of these options.
1.4.1 Options Specific to Using Ngspice
1.4.1 Most useful options:
--enable-adms --enable-adms
ADMS is an experimental model compiler that translates ADMS is an experimental model compiler that translates
@ -144,6 +151,28 @@ This file describes the procedures to install ngspice from sources.
completely working. If you want to use it, please refer to the completely working. If you want to use it, please refer to the
ADMS section on ngspice web site. ADMS section on ngspice web site.
--enable-cider
Cider is a mixed-level simulator that couples Spice3 and DSIM
to simulate devices from their technological parameters. This
part of the simulator is not compiled by default.
--enable-xspice
Enable XSpice enhancements, (experimental)
A mixed signal simulator built upon spice3 with codemodel
dynamic loading support. See src/xspice/README for details.
--with-readline=yes
Enable GNU readline support for the command line interface.
--enable-openmp
Compile ngspice for multi-core processors.
Parallelization is done by OpenMP
1.4.2 Options Specific to Using Ngspice
Most of the now following options are not well maintained, are not tested or even maybe obsolete.
--enable-capbypass --enable-capbypass
Bypass calculation of cbd/cbs in the mosfets if the vbs/vbd Bypass calculation of cbd/cbs in the mosfets if the vbs/vbd
voltages are unchanged. voltages are unchanged.
@ -152,11 +181,6 @@ This file describes the procedures to install ngspice from sources.
Bypass all the cbd/cbs calculations if Czero is zero. This is Bypass all the cbd/cbs calculations if Czero is zero. This is
enabled by default since rework-18. enabled by default since rework-18.
--enable-cider
Cider is a mixed-level simulator that couples Spice3 and DSIM
to simulate devices from their technological parameters. This
part of the simulator is not compiled by default.
--enable-cluster --enable-cluster
Clustering code for distributed simulation. This is a Clustering code for distributed simulation. This is a
contribution never tested. This code comes from TCLspice contribution never tested. This code comes from TCLspice
@ -207,32 +231,17 @@ This file describes the procedures to install ngspice from sources.
Compile the Xgraph plotting program. Compile the Xgraph plotting program.
Xgraph is a plotting package for X11 and was once very popular. Xgraph is a plotting package for X11 and was once very popular.
--enable-xspice
Enable XSpice enhancements, (experimental)
A mixed signal simulator built upon spice3 with codemodel
dynamic loading support. See src/xspice/README for details.
--with-editline=yes --with-editline=yes
Enables the use of the BSD editline library (libedit). Enables the use of the BSD editline library (libedit).
See http://www.thrysoee.dk/editline/ See http://www.thrysoee.dk/editline/
This is preferred over GNU readline due to licensing issues.
--with-readline=yes
Enable GNU readline support for the command line interface.
This requires linking against the GNU readline library and
is discouraged.
--with-tcl=tcldir --with-tcl=tcldir
When configured with this option the tcl module When configured with this option the tcl module
"tclspice" is compiled and installed instead of "tclspice" is compiled and installed instead of
plain ngspice. plain ngspice.
--enable-openmp
Compile ngspice for multi-core processors.
Parallelization is done by OpenMP
1.4.2 Options Useful for Debugging Ngspice
1.4.3 Options Useful for Debugging Ngspice
--enable-ansi --enable-ansi
Configure will try to find an option for your compiler so that Configure will try to find an option for your compiler so that
@ -277,37 +286,6 @@ This file describes the procedures to install ngspice from sources.
Turns on debugging of convergence stepping?? Turns on debugging of convergence stepping??
1.5 Compilation using an user defined directory tree for object files
The procedures described above will store the *.o files (output
of the compilation step) into the directories where the sources (*.c)
are located. This may not be the best option if you want for example
to have a debug version and in parallel a release version of ngspice
(./configure option --disable-debug).
So if you intend to create a separate object file tree like
ng-spice-rework/ngbuild/release, you may do the following, starting
from the default directory ng-spice-rework:
mkdir -p ngbuild/release
cd ngbuild/release
../../configure <some options>
make install
This will create an object file directory tree, similar to the source
file directory tree, the object files are now separated from the source
files. For the debug version, you may do the same as described above,
replacing 'release' by 'debug', and obtain another separated object
file directory tree.
If you already have run ./configure in ng-spice-rework, you have to do a
maintainer-clean, before the above procedure will work.
Unfortunately this procedure will not work with Xspice enabled, so your
options should not include --enable-xspice. This bug will be removed in a
future version of ngspice.
2 Compilers and Options 2 Compilers and Options
===================== =====================
@ -514,7 +492,7 @@ This file describes the procedures to install ngspice from sources.
9.2 make ngspice with MS Visual Studio 2008 9.2 make ngspice with MS Visual Studio 2008
ngspice may now be compiled with MS Visual Studio 2008.
ngspice may be compiled with MS Visual Studio 2008.
CIDER and XSPICE are included, but the code models for XSPICE CIDER and XSPICE are included, but the code models for XSPICE
(*.cm) are not (yet) made. You may however use the code models (*.cm) are not (yet) made. You may however use the code models

27
NEWS

@ -1,3 +1,30 @@
Ngspice-23, June 5th, 2011
============
- New features:
+ Reduction of trtol to 1 only if 'A' devices in the circuit and xspice is enabled
+ 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 sources
+ 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 Ngspice-22, Sept 26th, 2010
============ ============

2
configure.ac

@ -12,7 +12,7 @@ dnl Initialisation
dnl --------------- dnl ---------------
dnl Initialisation of configure dnl Initialisation of configure
AC_INIT(ngspice,22,http://ngspice.sourceforge.net/bugrep.html)
AC_INIT(ngspice,23,http://ngspice.sourceforge.net/bugrep.html)
dnl Unique file in the source directory dnl Unique file in the source directory
AC_CONFIG_SRCDIR([src/ngspice.c]) AC_CONFIG_SRCDIR([src/ngspice.c])

6
visualc/include/config.h

@ -472,13 +472,13 @@
#define PACKAGE_NAME "ngspice" #define PACKAGE_NAME "ngspice"
/* Define to the full name and version of this package. */ /* Define to the full name and version of this package. */
#define PACKAGE_STRING "ngspice 22"
#define PACKAGE_STRING "ngspice 23"
/* Define to the one symbol short name of this package. */ /* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "ngspice" #define PACKAGE_TARNAME "ngspice"
/* Define to the version of this package. */ /* Define to the version of this package. */
#define PACKAGE_VERSION "22"
#define PACKAGE_VERSION "23"
/* Define if we want predictor algorithm */ /* Define if we want predictor algorithm */
/* #undef PREDICTOR */ /* #undef PREDICTOR */
@ -533,7 +533,7 @@
/* #undef TM_IN_SYS_TIME */ /* #undef TM_IN_SYS_TIME */
/* Version number of package */ /* Version number of package */
#define VERSION "22"
#define VERSION "23"
/* Define if we want spice2 sensitivity analysis */ /* Define if we want spice2 sensitivity analysis */
/* #undef WANT_SENSE2 */ /* #undef WANT_SENSE2 */

Loading…
Cancel
Save