Ngspice

From CBLFS
Jump to navigationJump to search
Download Source: ftp://ftp.geda.seul.org/pub/geda/dist/ng-spice-rework-17.tar.gz

Introduction to Ngspice

NgSpice is a mixed-level/mixed-signal circuit simulator based on three open source software packages: Spice3f5, Cider1b1 and Xspice.

Project Homepage: http://ngspice.sourceforge.net

Dependencies

Required

Configuration Information

--enable-sense2: Use spice2 sensitivity analysis.
--enable-intnoise: Enable noise integration in noise analysis.
--enable-smoketest: Enable "smoketest" compile.
--enable-xgraph: Enable xgraph compilation.

Non-Multilib

Compile the package:

./configure --prefix=/usr &&
make

Install the package:

make install

If you have TeTeX installed and would like to install the html and/or pdf documentation:

make -C doc html pdf &&
install -v -m755 -d /usr/share/ng-spice-rework &&
cp -v doc/ngspice.pdf /usr/share/ng-spice-rework/ &&
cp -v doc/ngspice.html/*.html /usr/share/ng-spice-rework/html

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" USE_ARCH=32 \
./configure --prefix=/usr &&
make

Install the package:

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" USE_ARCH=n32 \
./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package:

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" USE_ARCH=64 \
./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package:

make install

If you have TeTeX installed and would like to install the html and/or pdf documentation:

make -C doc html pdf &&
install -v -m755 -d /usr/share/ng-spice-rework &&
cp -v doc/ngspice.pdf /usr/share/ng-spice-rework/ &&
cp -v doc/ngspice.html/*.html /usr/share/ng-spice-rework/html

Contents

Installed Programs: nghelp, ngmultidec, ngnutmeg, ngsconvert, ngspice
Installed Libraries: libbsim4.a
Installed Directories: /usr/lib/ng-spice-rework, /usr/share/ng-spice-rework/{helpdir,scripts}

Short Descriptions

nghelp: Provides help for ng-spice-rework functions.
ngmultidec: Creates a subcircuit for coupled lines using uncoupled simple lossy lines.
ngnutmeg: Calls the engine to simulate the electical circuits in FILE passed as an argument.
ngsconvert: Converts various ng-spice-rework file types to other ng-spice-rework file types.
ngspice: Calls the engine to simulate the electical circuits in FILE passed as an argument.
Retrieved from "?title=Ngspice&oldid=15029"