Prepare for ngspice-40
This commit is contained in:
parent
311ddeac0d
commit
806489860f
9
DEVICES
9
DEVICES
|
|
@ -63,11 +63,6 @@ Table of contents
|
||||||
12.4 BSIMSOI - SOI model (partially/full depleted devices)
|
12.4 BSIMSOI - SOI model (partially/full depleted devices)
|
||||||
12.5 SOI3 - STAG SOI3 Model
|
12.5 SOI3 - STAG SOI3 Model
|
||||||
13. Verilog-A models
|
13. Verilog-A models
|
||||||
13.1 EKV MOS model
|
|
||||||
13.2 PSP MOS model 102
|
|
||||||
13.3 PSP MOS model 103
|
|
||||||
13.4 HICUM0 Bipolar Model
|
|
||||||
13.5 Mextram Bipolar Model
|
|
||||||
14. XSPICE code models
|
14. XSPICE code models
|
||||||
15. Digital Building Blocks (U instances)
|
15. Digital Building Blocks (U instances)
|
||||||
|
|
||||||
|
|
@ -831,8 +826,8 @@ will be updated every time the device specific code is altered or changed to ref
|
||||||
13.7 PSP 103.8
|
13.7 PSP 103.8
|
||||||
13.8 r2_cmc
|
13.8 r2_cmc
|
||||||
|
|
||||||
More may be made available, user compiled models are possible as well
|
More models are available at https://github.com/dwarning/VA-Models,
|
||||||
(See ngspice manual, chapter 13).
|
user compiled models are possible as well (See ngspice manual, chapter 13).
|
||||||
|
|
||||||
|
|
||||||
14. XSpice code models
|
14. XSpice code models
|
||||||
|
|
|
||||||
6
FAQ
6
FAQ
|
|
@ -1,7 +1,7 @@
|
||||||
Ngspice F.A.Q.Version 2.9 (ngspice-39 release)
|
Ngspice F.A.Q.Version 2.9 (ngspice-40 release)
|
||||||
|
|
||||||
Maintained by Holger Vogt
|
Maintained by Holger Vogt
|
||||||
Last update: Jan 24 2023
|
Last update: Mar 24 2023
|
||||||
|
|
||||||
This document contains the Frequently Asked Questions (and Answers)
|
This document contains the Frequently Asked Questions (and Answers)
|
||||||
for ngspice project.
|
for ngspice project.
|
||||||
|
|
@ -252,7 +252,7 @@
|
||||||
|
|
||||||
The latest version released is:
|
The latest version released is:
|
||||||
|
|
||||||
* ngspice-39 (released on Jan 31 2023)
|
* ngspice-40 (released on Mar 26 2023)
|
||||||
|
|
||||||
|
|
||||||
2.2. What are the latest features in the current release?
|
2.2. What are the latest features in the current release?
|
||||||
|
|
|
||||||
20
INSTALL
20
INSTALL
|
|
@ -1,7 +1,7 @@
|
||||||
Ngspice installation instructions
|
Ngspice installation instructions
|
||||||
=================================
|
=================================
|
||||||
|
|
||||||
Important notice: since ngspice-35 there has been an update
|
Important notice: since ngspice-39 there has been an update
|
||||||
to the XSPICE code models (analog.cm etc.). Therefore it
|
to the XSPICE code models (analog.cm etc.). Therefore it
|
||||||
is not sufficient to only re-make the main executable,
|
is not sufficient to only re-make the main executable,
|
||||||
you will have to compile and install the code models as well,
|
you will have to compile and install the code models as well,
|
||||||
|
|
@ -28,7 +28,7 @@ Table of contents
|
||||||
8 Operation Controls
|
8 Operation Controls
|
||||||
9 NGSPICE COMPILATION UNDER WINDOWS OS
|
9 NGSPICE COMPILATION UNDER WINDOWS OS
|
||||||
9.1 How to make ngspice with MINGW and MSYS
|
9.1 How to make ngspice with MINGW and MSYS
|
||||||
9.2 make ngspice with MS Visual Studio 2019 or 2022
|
9.2 make ngspice with MS Visual Studio 2022
|
||||||
9.3 make ngspice with pure CYGWIN
|
9.3 make ngspice with pure CYGWIN
|
||||||
9.4 ngspice console app with MINGW or CYGWIN
|
9.4 ngspice console app with MINGW or CYGWIN
|
||||||
9.5 cross compiling ngspice for Windows from LINUX
|
9.5 cross compiling ngspice for Windows from LINUX
|
||||||
|
|
@ -580,9 +580,9 @@ This file describes the procedures to install ngspice from sources.
|
||||||
script compile_min_shared.sh.
|
script compile_min_shared.sh.
|
||||||
|
|
||||||
|
|
||||||
9.2 make ngspice with MS Visual Studio 2019 and 2022
|
9.2 make ngspice with MS Visual Studio 2022
|
||||||
|
|
||||||
ngspice may be compiled with MS Visual Studio 2019 or newer.
|
ngspice may be compiled with MS Visual Studio 2022 or newer.
|
||||||
|
|
||||||
CIDER and XSPICE are included, the code models for XSPICE
|
CIDER and XSPICE are included, the code models for XSPICE
|
||||||
(*.cm) are made as well.
|
(*.cm) are made as well.
|
||||||
|
|
@ -594,13 +594,13 @@ This file describes the procedures to install ngspice from sources.
|
||||||
The directory (visualc) with its files
|
The directory (visualc) with its files
|
||||||
vngspice.sln (project starter) and
|
vngspice.sln (project starter) and
|
||||||
vngspice.vcproj (project contents)
|
vngspice.vcproj (project contents)
|
||||||
allows to compile and link ngspice with MS Visual Studio 2019.
|
allows to compile and link ngspice with MS Visual Studio 2022.
|
||||||
|
|
||||||
/visualc/include contains a dedicated config.h file. It contains the
|
/visualc/include contains a dedicated config.h file. It contains the
|
||||||
preprocessor definitions required to properly compile the code.
|
preprocessor definitions required to properly compile the code.
|
||||||
strings.h has been necessary during setting up the project.
|
strings.h has been necessary during setting up the project.
|
||||||
|
|
||||||
Install Microsoft Visual Studio 2019 Community with C/C++. For
|
Install Microsoft Visual Studio 2022 Community with C/C++. For
|
||||||
example, the German edition is available at no cost from
|
example, the German edition is available at no cost from
|
||||||
https://www.visualstudio.com/de/vs/community/.
|
https://www.visualstudio.com/de/vs/community/.
|
||||||
|
|
||||||
|
|
@ -612,7 +612,7 @@ This file describes the procedures to install ngspice from sources.
|
||||||
|
|
||||||
Goto /ngspice/visualc.
|
Goto /ngspice/visualc.
|
||||||
|
|
||||||
Start MS Visual Studio 2019 by double click onto vngspice.sln.
|
Start MS Visual Studio 2022 by double click onto vngspice.sln.
|
||||||
|
|
||||||
After MS Visual Studio has opened up, select debug or release version
|
After MS Visual Studio has opened up, select debug or release version
|
||||||
by checking 'Build' , 'Configuration Manager', 'Debug' or 'ReleaseOmp'.
|
by checking 'Build' , 'Configuration Manager', 'Debug' or 'ReleaseOmp'.
|
||||||
|
|
@ -722,11 +722,9 @@ cross-compile-shared.sh.
|
||||||
sudo port install automake autoconf libtool bison flex ncurses xorg-libXaw
|
sudo port install automake autoconf libtool bison flex ncurses xorg-libXaw
|
||||||
readline fontconfig freetype libomp SM ICE
|
readline fontconfig freetype libomp SM ICE
|
||||||
4. Execute this command:
|
4. Execute this command:
|
||||||
./autogen.sh or ./autogen.sh --adms (if you want to enable ADMS)
|
./autogen.sh
|
||||||
5. Configure NGSPICE invoking "./configure". A complete set of feature is:
|
5. Configure NGSPICE invoking "./configure". A complete set of feature is:
|
||||||
./configure --enable-cider --enable-xspice --enable-openmp --enable-pss --with-readline=yes --enable-debug=no
|
./configure --enable-cider --enable-xspice --enable-openmp --enable-pss --with-readline=yes --enable-debug=no
|
||||||
or (if you want to enable ADMS)
|
|
||||||
./configure --enable-adms --enable-cider --enable-xspice --enable-openmp --enable-pss --with-readline=yes --enable-debug=no
|
|
||||||
6. Compile NGSPICE invoking "make -j4"
|
6. Compile NGSPICE invoking "make -j4"
|
||||||
7. Install NGSPICE invoking "make install" or "sudo make install"
|
7. Install NGSPICE invoking "make install" or "sudo make install"
|
||||||
|
|
||||||
|
|
@ -749,7 +747,7 @@ Resulting dependencies of ngspice
|
||||||
/usr/lib/libSystem.B.dylib
|
/usr/lib/libSystem.B.dylib
|
||||||
/usr/local/lib/gcc/11/libgcc_s.1.dylib
|
/usr/local/lib/gcc/11/libgcc_s.1.dylib
|
||||||
|
|
||||||
10.5 About compilers
|
10.4 About compilers
|
||||||
A compile script compile_macos_clang.sh contains all necessary steps for compiling
|
A compile script compile_macos_clang.sh contains all necessary steps for compiling
|
||||||
with the Xcode clang/llvm compiler. This compiler however does not support -fopenmp.
|
with the Xcode clang/llvm compiler. This compiler however does not support -fopenmp.
|
||||||
Therefore you may download and install gcc, e.g. from Homebrew and run the new
|
Therefore you may download and install gcc, e.g. from Homebrew and run the new
|
||||||
|
|
|
||||||
|
|
@ -24,10 +24,4 @@ To compile NGSPICE with OSDI support ensure that the `--enable-predictor` and `-
|
||||||
The `compile_linux.sh` file enables these flags by default.
|
The `compile_linux.sh` file enables these flags by default.
|
||||||
|
|
||||||
|
|
||||||
## Example/Test Case
|
|
||||||
|
|
||||||
A simple handwritten diode can be found in `test_cases/diode/diode.c`.
|
|
||||||
In the same directory a script named `test_diode.py` is provided that will compile this model and run some example simulations.
|
|
||||||
After the script has finished the compilation result `diode.osdi` and the netlist can then be found in `test_cases/diode/test_osdi`.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue