summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cad/lc/DESCR24
-rw-r--r--cad/lc/Makefile82
-rw-r--r--cad/lc/PLIST4
-rw-r--r--cad/lc/distinfo23
4 files changed, 133 insertions, 0 deletions
diff --git a/cad/lc/DESCR b/cad/lc/DESCR
new file mode 100644
index 00000000000..75b12d361b8
--- /dev/null
+++ b/cad/lc/DESCR
@@ -0,0 +1,24 @@
+LC is simulation tool for the analysis of the electromagnetic
+properties of electrical interconnects. The full three-dimensional
+circuit is modeled, so all interactions are automatically included in
+the solution. The model can be excited by numerous types of waveforms,
+and the transient response measured using common values such as
+voltage and current. Circuit parameters such as inductance,
+capacitance, and impedance can be derived from the transient response,
+and frequency-domain results such as S-parameters can also be
+calculated. Far field radiation patterns can be obtained.
+
+LC is primarily an electromagnetic simulation and uses the
+Finite-Difference Time-Domain (FD-TD) technique. FD-TD is a full wave
+explicit solution of Maxwell's equations in three dimensions. In FD-TD,
+the rectangular volume enclosing the model is discretized into a large
+number of small cells, which may be uniformly-sized, or may vary in size
+within the simulation space. The dielectric, permeable, lossy, and
+conducting material properties of each cell are incorporated into the
+field updates, which are performed iteratively in small time steps.
+
+An interface between the electromagnetic simulation and the circuit
+simulation program SPICE is available within LC. This allows the user
+to add arbitrary SPICE circuits, such as drivers and loads, into the
+interconnect model. The interconnect performance is calculated using
+FD-TD while the lumped-element circuits are evaluated by SPICE.
diff --git a/cad/lc/Makefile b/cad/lc/Makefile
new file mode 100644
index 00000000000..7487f51ad77
--- /dev/null
+++ b/cad/lc/Makefile
@@ -0,0 +1,82 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/02/23 22:50:40 dmcmahill Exp $
+
+DISTNAME= lc # Overridden below
+PKGNAME= lc-2.10
+CATEGORIES= cad
+MASTER_SITES= http://lc.cray.com/download/
+
+MAINTAINER= dmcmahill@NetBSD.org
+HOMEPAGE= http://lc.cray.com/
+COMMENT= Finite Difference Time Domain (FDTD) Electromagnetic Simulator
+
+DIST_SUBDIR= ${PKGNAME_NOREV}
+
+# FIXME -- find the license and read it
+RESTRICTED= Original installer required to redistribute.
+NO_SRC_ON_CDROM= ${RESTRICTED}
+NO_BIN_ON_CDROM= ${RESTRICTED}
+NO_BIN_ON_FTP= ${RESTRICTED}
+NO_SRC_ON_FTP= ${RESTRICTED}
+LICENSE= lc-license
+CHECK_SHLIBS_SUPPORTED= no
+
+WRKSRC= ${WRKDIR}/lc2.10
+NO_BUILD= YES
+
+.include "../../mk/bsd.prefs.mk"
+
+# With this, we can run
+# make makesum MAINTAINER_MODE=yes
+# and process all the possible distfiles without regard to what platform we're on
+.if defined(MAINTAINER_MODE)
+DISTFILES= lc_doc.tar.gz
+DISTFILES+= lc_amd64_lx24.tar.gz
+DISTFILES+= lc_irix.tar.gz
+DISTFILES+= lc_irix64.tar.gz
+DISTFILES+= lc_linux_motif1.tar.gz
+DISTFILES+= lc_linux_motif3.tar.gz
+DISTFILES+= lc_solaris.tar.gz
+
+.else
+
+ONLY_FOR_PLATFORM= *-*-i386 *-*-sparc
+
+.if (${MACHINE_ARCH} == "x86_64")
+DISTNAME= lc_amd64_lx24
+
+.elif ${MACHINE_ARCH} == "mipsel"
+DISTNAME= lc_irix
+
+.elif ${MACHINE_ARCH} == "mipsel64"
+DISTNAME= lc_irix64
+
+.elif (${MACHINE_ARCH} == "i386")
+#DISTNAME= lc_linux_motif1
+DISTNAME= lc_linux_motif3
+. if (${OPSYS} == "NetBSD")
+DEPENDS+= suse_gtk2>=9.1:../../emulators/${SUSE_DIR_PREFIX}_gtk2
+. endif
+
+.elif ${MACHINE_ARCH} == "sparc"
+DISTNAME= lc_solaris
+. if (${OPSYS} == "NetBSD")
+. if !exists(/emul/svr4/usr/lib/ld.so)
+PKG_FAIL_REASON+= '${PKGNAME} requires Solaris libraries - see compat_svr4(8)'
+. endif
+. endif
+.endif
+
+INSTALLATION_DIRS= bin
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/lc ${PREFIX}/bin/lc
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/lcplot ${PREFIX}/bin/lcplot
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/spice ${PREFIX}/bin/lcspice
+
+.endif # !MAINTAINER
+
+# do not include the linux stuff if we are, for example, on a Solaris box
+. if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "x86_64")
+.include "../../emulators/suse_linux/Makefile.application"
+.endif
+.include "../../mk/bsd.pkg.mk"
diff --git a/cad/lc/PLIST b/cad/lc/PLIST
new file mode 100644
index 00000000000..1fd2b2afbf2
--- /dev/null
+++ b/cad/lc/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/02/23 22:50:40 dmcmahill Exp $
+bin/lc
+bin/lcplot
+bin/lcspice
diff --git a/cad/lc/distinfo b/cad/lc/distinfo
new file mode 100644
index 00000000000..d9a0f0a0cbc
--- /dev/null
+++ b/cad/lc/distinfo
@@ -0,0 +1,23 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/02/23 22:50:40 dmcmahill Exp $
+
+SHA1 (lc-2.10/lc_doc.tar.gz) = a0a120ab7de4f8d87a9685266c0c3f22cab6f1fc
+RMD160 (lc-2.10/lc_doc.tar.gz) = f943c4d8843ca8d5372b0ea4bbb42ded50023275
+Size (lc-2.10/lc_doc.tar.gz) = 1494973 bytes
+SHA1 (lc-2.10/lc_amd64_lx24.tar.gz) = b7e5a6f5a297efa52e0e659d7f8bb8f065a6c1b7
+RMD160 (lc-2.10/lc_amd64_lx24.tar.gz) = a61f5bac2060eff6d91634d5309cbee02681a16e
+Size (lc-2.10/lc_amd64_lx24.tar.gz) = 2598142 bytes
+SHA1 (lc-2.10/lc_irix.tar.gz) = 0d197317f63276c5d695cd028bcbf0afe528d522
+RMD160 (lc-2.10/lc_irix.tar.gz) = af4ed7c6a20ca2a5f9ce07345c2d5dc7074257bb
+Size (lc-2.10/lc_irix.tar.gz) = 2658949 bytes
+SHA1 (lc-2.10/lc_irix64.tar.gz) = cc616e039fe33e39b75680029f34730efda47494
+RMD160 (lc-2.10/lc_irix64.tar.gz) = 1b72abfae4da8ec8f3e22ee6b9e027d8cc0c60d0
+Size (lc-2.10/lc_irix64.tar.gz) = 2864612 bytes
+SHA1 (lc-2.10/lc_linux_motif1.tar.gz) = 7f46aa7846466649a57addde5ce30d6989353664
+RMD160 (lc-2.10/lc_linux_motif1.tar.gz) = ed2e7caad443dfaebc3df37765b5a563843e6653
+Size (lc-2.10/lc_linux_motif1.tar.gz) = 3020285 bytes
+SHA1 (lc-2.10/lc_linux_motif3.tar.gz) = e750aa83d3bd681abd96934fa8dcea2cf9050643
+RMD160 (lc-2.10/lc_linux_motif3.tar.gz) = 9a552a217bc743bd872ac475e26207bdb1708851
+Size (lc-2.10/lc_linux_motif3.tar.gz) = 8773141 bytes
+SHA1 (lc-2.10/lc_solaris.tar.gz) = 5cf9fa1aac559d7d0f020fa26bb400f566fecc2c
+RMD160 (lc-2.10/lc_solaris.tar.gz) = c9690a921adbcc8e3016ce7f677e1a865ddf77a2
+Size (lc-2.10/lc_solaris.tar.gz) = 2779087 bytes