summaryrefslogtreecommitdiff
path: root/cad/gnucap
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2001-11-15 02:58:50 +0000
committerdmcmahill <dmcmahill>2001-11-15 02:58:50 +0000
commit446546b931ad5b7bd1bbac13448cba800fc608bb (patch)
treebfb949be6409ca4211fde7fce2729db45d8916c2 /cad/gnucap
parent86f31d335159d88054125e012d97d420ab07e4c5 (diff)
downloadpkgsrc-446546b931ad5b7bd1bbac13448cba800fc608bb.tar.gz
initial import of GnuCap
GnuCap is a general purpose circuit simulator. GnuCap was formerly known as ACS. GnuCap performs nonlinear dc and transient analyses, fourier analysis, and ac analysis linearized at an operating point. It is fully interactive and command driven. It can also be run in batch mode or as a server. The output is produced as it simulates. Spice compatible models for the MOSFET (level 1-7) and diode are included in this release. Since it is fully interactive, it is possible to make changes and re-simulate quickly. The interactive design makes it well suited to the typical iterative design process used it optimizing a circuit design. Unlike Spice, the engine is designed to do true mixed-mode simulation. Most of the code is in place for future support of event driven analog simulation, and true multi-rate simulation. If you are tired of Spice and want a second opinion, you want to play with the circuit and want a simulator that is interactive, you want to study the source code and want something easier to follow than Spice, or you are a researcher working on modeling and want automated model generation tools to make your job easier, try GnuCap.
Diffstat (limited to 'cad/gnucap')
-rw-r--r--cad/gnucap/DESCR24
-rw-r--r--cad/gnucap/Makefile32
-rw-r--r--cad/gnucap/PLIST219
-rw-r--r--cad/gnucap/distinfo5
-rw-r--r--cad/gnucap/patches/patch-aa11
5 files changed, 291 insertions, 0 deletions
diff --git a/cad/gnucap/DESCR b/cad/gnucap/DESCR
new file mode 100644
index 00000000000..e8553ce313a
--- /dev/null
+++ b/cad/gnucap/DESCR
@@ -0,0 +1,24 @@
+GnuCap is a general purpose circuit simulator. GnuCap was
+formerly known as ACS. GnuCap performs nonlinear
+dc and transient analyses, fourier analysis, and ac analysis
+linearized at an operating point. It is fully interactive and
+command driven. It can also be run in batch mode or as a server.
+The output is produced as it simulates. Spice compatible models
+for the MOSFET (level 1-7) and diode are included in this
+release.
+
+Since it is fully interactive, it is possible to make changes and
+re-simulate quickly. The interactive design makes it well suited
+to the typical iterative design process used it optimizing a circuit
+design.
+
+Unlike Spice, the engine is designed to do true mixed-mode
+simulation. Most of the code is in place for future support of
+event driven analog simulation, and true multi-rate simulation.
+
+If you are tired of Spice and want a second opinion, you want to
+play with the circuit and want a simulator that is interactive,
+you want to study the source code and want something easier to
+follow than Spice, or you are a researcher working on modeling
+and want automated model generation tools to make your job easier,
+try GnuCap.
diff --git a/cad/gnucap/Makefile b/cad/gnucap/Makefile
new file mode 100644
index 00000000000..8facca4519c
--- /dev/null
+++ b/cad/gnucap/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/11/15 02:58:50 dmcmahill Exp $
+#
+
+DISTNAME= gnucap-0.30
+CATEGORIES= cad
+MASTER_SITES= ${MASTER_SITE_GNU:=gnucap/}
+
+MAINTAINER= dmcmahill@netbsd.org
+HOMEPAGE= http://www.geda.seul.org/tools/acs/index.html
+COMMENT= general purpose circuit simulator
+
+USE_GMAKE= YES
+
+do-build:
+ cd ${WRKSRC}/modelgen && ${MAKE_PROGRAM} ${LOWER_OPSYS}
+ cd ${WRKSRC}/src && ${MAKE_PROGRAM} ${LOWER_OPSYS}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/*/gnucap ${PREFIX}/bin/
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gnucap
+ ${INSTALL_DATA} ${WRKSRC}/doc/acs-tutorial ${PREFIX}/share/doc/gnucap
+ ${INSTALL_DATA} ${WRKSRC}/man/man.pdf ${PREFIX}/share/doc/gnucap
+ ${INSTALL_DATA} ${WRKSRC}/doc/whatisit ${PREFIX}/share/doc/gnucap
+ ${INSTALL_DATA} ${WRKSRC}/man/man/* ${PREFIX}/share/doc/gnucap
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gnucap
+ ${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/share/examples/gnucap
+
+test: build
+ cd ${WRKSRC}/test && ./test ../src/*/gnucap "" 0001 == 2>&1 | \
+ tee ${WRKDIR}/test.log
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/cad/gnucap/PLIST b/cad/gnucap/PLIST
new file mode 100644
index 00000000000..c49b569f7a7
--- /dev/null
+++ b/cad/gnucap/PLIST
@@ -0,0 +1,219 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/11/15 02:58:50 dmcmahill Exp $
+bin/gnucap
+share/doc/gnucap/acs-tutorial
+share/doc/gnucap/contents.png
+share/doc/gnucap/images.aux
+share/doc/gnucap/images.idx
+share/doc/gnucap/images.log
+share/doc/gnucap/images.pl
+share/doc/gnucap/images.tex,v
+share/doc/gnucap/img1.png
+share/doc/gnucap/img10.png
+share/doc/gnucap/img11.png
+share/doc/gnucap/img12.png
+share/doc/gnucap/img13.png
+share/doc/gnucap/img14.png
+share/doc/gnucap/img15.png
+share/doc/gnucap/img16.png
+share/doc/gnucap/img17.png
+share/doc/gnucap/img18.png
+share/doc/gnucap/img19.png
+share/doc/gnucap/img2.png
+share/doc/gnucap/img20.png
+share/doc/gnucap/img21.png
+share/doc/gnucap/img22.png
+share/doc/gnucap/img23.png
+share/doc/gnucap/img24.png
+share/doc/gnucap/img25.png
+share/doc/gnucap/img26.png
+share/doc/gnucap/img27.png
+share/doc/gnucap/img28.png
+share/doc/gnucap/img29.png
+share/doc/gnucap/img3.png
+share/doc/gnucap/img30.png
+share/doc/gnucap/img31.png
+share/doc/gnucap/img32.png
+share/doc/gnucap/img33.png
+share/doc/gnucap/img34.png
+share/doc/gnucap/img35.png
+share/doc/gnucap/img36.png
+share/doc/gnucap/img37.png
+share/doc/gnucap/img38.png
+share/doc/gnucap/img39.png
+share/doc/gnucap/img4.png
+share/doc/gnucap/img40.png
+share/doc/gnucap/img41.png
+share/doc/gnucap/img42.png
+share/doc/gnucap/img43.png
+share/doc/gnucap/img44.png
+share/doc/gnucap/img45.png
+share/doc/gnucap/img46.png
+share/doc/gnucap/img47.png
+share/doc/gnucap/img48.png
+share/doc/gnucap/img49.png
+share/doc/gnucap/img5.png
+share/doc/gnucap/img50.png
+share/doc/gnucap/img51.png
+share/doc/gnucap/img52.png
+share/doc/gnucap/img53.png
+share/doc/gnucap/img54.png
+share/doc/gnucap/img6.png
+share/doc/gnucap/img7.png
+share/doc/gnucap/img8.png
+share/doc/gnucap/img9.png
+share/doc/gnucap/index.html
+share/doc/gnucap/labels.pl
+share/doc/gnucap/man.css
+share/doc/gnucap/man.html
+share/doc/gnucap/man.pdf
+share/doc/gnucap/next.png
+share/doc/gnucap/next_g.png
+share/doc/gnucap/node1.html
+share/doc/gnucap/node10.html
+share/doc/gnucap/node100.html
+share/doc/gnucap/node101.html
+share/doc/gnucap/node102.html
+share/doc/gnucap/node103.html
+share/doc/gnucap/node104.html
+share/doc/gnucap/node105.html
+share/doc/gnucap/node106.html
+share/doc/gnucap/node107.html
+share/doc/gnucap/node108.html
+share/doc/gnucap/node109.html
+share/doc/gnucap/node110.html
+share/doc/gnucap/node111.html
+share/doc/gnucap/node112.html
+share/doc/gnucap/node11.html
+share/doc/gnucap/node12.html
+share/doc/gnucap/node13.html
+share/doc/gnucap/node14.html
+share/doc/gnucap/node15.html
+share/doc/gnucap/node16.html
+share/doc/gnucap/node17.html
+share/doc/gnucap/node18.html
+share/doc/gnucap/node19.html
+share/doc/gnucap/node2.html
+share/doc/gnucap/node20.html
+share/doc/gnucap/node21.html
+share/doc/gnucap/node22.html
+share/doc/gnucap/node23.html
+share/doc/gnucap/node24.html
+share/doc/gnucap/node25.html
+share/doc/gnucap/node26.html
+share/doc/gnucap/node27.html
+share/doc/gnucap/node28.html
+share/doc/gnucap/node29.html
+share/doc/gnucap/node3.html
+share/doc/gnucap/node30.html
+share/doc/gnucap/node31.html
+share/doc/gnucap/node32.html
+share/doc/gnucap/node33.html
+share/doc/gnucap/node34.html
+share/doc/gnucap/node35.html
+share/doc/gnucap/node36.html
+share/doc/gnucap/node37.html
+share/doc/gnucap/node38.html
+share/doc/gnucap/node39.html
+share/doc/gnucap/node4.html
+share/doc/gnucap/node40.html
+share/doc/gnucap/node41.html
+share/doc/gnucap/node42.html
+share/doc/gnucap/node43.html
+share/doc/gnucap/node44.html
+share/doc/gnucap/node45.html
+share/doc/gnucap/node46.html
+share/doc/gnucap/node47.html
+share/doc/gnucap/node48.html
+share/doc/gnucap/node49.html
+share/doc/gnucap/node5.html
+share/doc/gnucap/node50.html
+share/doc/gnucap/node51.html
+share/doc/gnucap/node52.html
+share/doc/gnucap/node53.html
+share/doc/gnucap/node54.html
+share/doc/gnucap/node55.html
+share/doc/gnucap/node56.html
+share/doc/gnucap/node57.html
+share/doc/gnucap/node58.html
+share/doc/gnucap/node59.html
+share/doc/gnucap/node6.html
+share/doc/gnucap/node60.html
+share/doc/gnucap/node61.html
+share/doc/gnucap/node62.html
+share/doc/gnucap/node63.html
+share/doc/gnucap/node64.html
+share/doc/gnucap/node65.html
+share/doc/gnucap/node66.html
+share/doc/gnucap/node67.html
+share/doc/gnucap/node68.html
+share/doc/gnucap/node69.html
+share/doc/gnucap/node7.html
+share/doc/gnucap/node70.html
+share/doc/gnucap/node71.html
+share/doc/gnucap/node72.html
+share/doc/gnucap/node73.html
+share/doc/gnucap/node74.html
+share/doc/gnucap/node75.html
+share/doc/gnucap/node76.html
+share/doc/gnucap/node77.html
+share/doc/gnucap/node78.html
+share/doc/gnucap/node79.html
+share/doc/gnucap/node8.html
+share/doc/gnucap/node80.html
+share/doc/gnucap/node81.html
+share/doc/gnucap/node82.html
+share/doc/gnucap/node83.html
+share/doc/gnucap/node84.html
+share/doc/gnucap/node85.html
+share/doc/gnucap/node86.html
+share/doc/gnucap/node87.html
+share/doc/gnucap/node88.html
+share/doc/gnucap/node89.html
+share/doc/gnucap/node9.html
+share/doc/gnucap/node90.html
+share/doc/gnucap/node91.html
+share/doc/gnucap/node92.html
+share/doc/gnucap/node93.html
+share/doc/gnucap/node94.html
+share/doc/gnucap/node95.html
+share/doc/gnucap/node96.html
+share/doc/gnucap/node97.html
+share/doc/gnucap/node98.html
+share/doc/gnucap/node99.html
+share/doc/gnucap/prev.png
+share/doc/gnucap/prev_g.png
+share/doc/gnucap/up.png
+share/doc/gnucap/up_g.png
+share/doc/gnucap/whatisit
+share/examples/gnucap/README
+share/examples/gnucap/eq.doc
+share/examples/gnucap/eq2-145.ckt
+share/examples/gnucap/eq2-289.ckt
+share/examples/gnucap/eq2-577.ckt
+share/examples/gnucap/eq3-1153.ckt
+share/examples/gnucap/eq4-2305.ckt
+share/examples/gnucap/eq4-4609.ckt
+share/examples/gnucap/eq4-6913.ckt
+share/examples/gnucap/eq4-9217.ckt
+share/examples/gnucap/eq4-9217.tran.ckt
+share/examples/gnucap/eqboost.ckt
+share/examples/gnucap/eqflat.ckt
+share/examples/gnucap/eqmodify.ckt
+share/examples/gnucap/killzap.ckt
+share/examples/gnucap/killzap.doc
+share/examples/gnucap/nmos.doc
+share/examples/gnucap/nmos100.ckt
+share/examples/gnucap/nmos15.ckt
+share/examples/gnucap/nmos18.ckt
+share/examples/gnucap/nmos30.ckt
+share/examples/gnucap/nmosgen.c
+share/examples/gnucap/nmp100.ckt
+share/examples/gnucap/nmpgen.c
+share/examples/gnucap/opamp-ol.ckt
+share/examples/gnucap/opamp-vf.ckt
+share/examples/gnucap/opamp.doc
+share/examples/gnucap/runall
+share/examples/gnucap/runall.out
+share/examples/gnucap/sc18.ckt
+@dirrm share/doc/gnucap
+@dirrm share/examples/gnucap
diff --git a/cad/gnucap/distinfo b/cad/gnucap/distinfo
new file mode 100644
index 00000000000..1ac231e45d4
--- /dev/null
+++ b/cad/gnucap/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/11/15 02:58:50 dmcmahill Exp $
+
+SHA1 (gnucap-0.30.tar.gz) = 3ee2e80d1396c6a730eea61220f5ef2d878773a5
+Size (gnucap-0.30.tar.gz) = 1145450 bytes
+SHA1 (patch-aa) = af391bd5db0a367caed0e4891b842972ad9a29b7
diff --git a/cad/gnucap/patches/patch-aa b/cad/gnucap/patches/patch-aa
new file mode 100644
index 00000000000..67ea5ac9553
--- /dev/null
+++ b/cad/gnucap/patches/patch-aa
@@ -0,0 +1,11 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/11/15 02:58:50 dmcmahill Exp $
+
+--- src/md.h.orig Sat Jun 30 03:20:53 2001
++++ src/md.h Thu Jul 5 06:40:14 2001
+@@ -46,5 +46,5 @@
+ };
+ /*--------------------------------------------------------------------------*/
+-#if defined(__unix__)
++#if defined(__unix__) || defined(UNIX)
+ /* usual but non-standard collection of includes */
+ #include <unistd.h> /* chdir, access, getcwd */