Import of chipmunk-1.57
Tools for schematic capture, netlist creation, and analog and digital simulation (log), IC mask layout, extraction, and DRC (wol), simple chip compilation (wolcomp), MOSIS fabrication request generation (mosis), netlist comparison (netcmp), data plotting (view) and postscript graphics editing (until). These tools were used exclusively for the design and test of all the integrated circuits described in Carver Mead's book "Analog VLSI and Neural Systems". Until was used as the primary tool for figure creation for the book. The directory also contains an example of an analog VLSI chip that was designed and fabricated with these tools, and an example of an Actel field-programmable gate array design that was simulated and converted to Actel format with these tools (example). These tools were originally written for HP 200 Series ("Chipmunk") computers, and were later ported to Unix and the X Window System.
This commit is contained in:
parent
774e18ab50
commit
7913918505
64
cad/chipmunk/Makefile
Normal file
64
cad/chipmunk/Makefile
Normal file
@ -0,0 +1,64 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2003/10/25 18:33:27 pvalchev Exp $
|
||||
|
||||
COMMENT= "electronic CAD system"
|
||||
|
||||
PKGNAME= chipmunk-1.57
|
||||
DISTNAME= psys-1.57
|
||||
DISTFILES= psys-1.57.tar.gz webdoc1.46.tar.gz log-5.61.tar.gz \
|
||||
view-1.13.tar.gz until-1.13.tar.gz wol-1.13.tar.gz \
|
||||
wolcomp-1.13.tar.gz
|
||||
CATEGORIES= cad
|
||||
|
||||
HOMEPAGE= http://www.pcmp.caltech.edu/chipmunk/
|
||||
|
||||
MAINTAINER= Peter Valchev <pvalchev@openbsd.org>
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= http://www.cs.berkeley.edu/~lazzaro/chipmunk/pickup/sources/
|
||||
DIST_SUBDIR= chipmunk
|
||||
|
||||
WRKDIST= ${WRKDIR}
|
||||
ALL_TARGET= makeonly
|
||||
LDIR= ${LOCALBASE}/share/chipmunk/
|
||||
MAKE_FLAGS= CHIPMUNKCC="${CC} ${CFLAGS}" XINCLUDEDIR="${X11BASE}/include" \
|
||||
CHIPMUNKFLAGS="-DBSD -Dfreebsd -Dlinux -DF_OK=0" \
|
||||
LIBX11="-L${X11BASE}/lib -lX11" \
|
||||
CHIPLIB="${LDIR}" \
|
||||
LOGLIBDIR="${LDIR}" \
|
||||
LIBDIR="${LDIR}" \
|
||||
WOLLIBDIR="${LDIR}" \
|
||||
UNTILPSMAP="${LDIR}/pensps.map"
|
||||
|
||||
FAKE_FLAGS= ${MAKE_FLAGS}
|
||||
|
||||
USE_X11= Yes
|
||||
NO_REGRESS= Yes
|
||||
|
||||
post-extract:
|
||||
@cp ${FILESDIR}/Makefile ${WRKDIR}
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/chipmunk
|
||||
${INSTALL_DATA} ${WRKSRC}/psys/src/texstuff.ps ${PREFIX}/share/doc/chipmunk/
|
||||
${INSTALL_DATA} ${WRKSRC}/psys/src/untilstuff.ps ${PREFIX}/share/doc/chipmunk/
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/log/src/log ${PREFIX}/bin/diglog
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/log/src/log ${PREFIX}/bin/analog
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/log/src/loged ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/log/src/fixfet7 ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/wol/wol ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/until/V1.2/until ${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKSRC}/until/V1.2/pensps.map ${PREFIX}/share/doc/chipmunk/
|
||||
${INSTALL_DATA} ${WRKSRC}/until/V1.2/system.untilrc ${PREFIX}/share/doc/chipmunk/
|
||||
${INSTALL_DATA} ${WRKSRC}/until/V1.2/until.pro ${PREFIX}/share/doc/chipmunk/
|
||||
${INSTALL_DATA} ${WRKSRC}/until/V1.2/until.ps ${PREFIX}/share/doc/chipmunk/
|
||||
${INSTALL_DATA} ${WRKSRC}/view/view ${PREFIX}/bin/cview
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/chipmunk
|
||||
${INSTALL_DATA} ${WRKSRC}/log/lib/*.* ${PREFIX}/share/chipmunk
|
||||
${INSTALL_DATA} ${WRKSRC}/view/lib/* ${PREFIX}/share/chipmunk
|
||||
|
||||
.include <bsd.port.mk>
|
21
cad/chipmunk/distinfo
Normal file
21
cad/chipmunk/distinfo
Normal file
@ -0,0 +1,21 @@
|
||||
MD5 (chipmunk/log-5.61.tar.gz) = 3bac656e658c16001eee8867aee5eb76
|
||||
MD5 (chipmunk/psys-1.57.tar.gz) = 80d1ec7c06c7341dc84e84ba9934c0d9
|
||||
MD5 (chipmunk/until-1.13.tar.gz) = 046515311c72a5f3412a016dbcc7295b
|
||||
MD5 (chipmunk/view-1.13.tar.gz) = 30cc4bc0a52f1016eebb67c754c4078f
|
||||
MD5 (chipmunk/webdoc1.46.tar.gz) = a29455d44851280c3dfd5db2fc6140d7
|
||||
MD5 (chipmunk/wol-1.13.tar.gz) = 430e5bbfb019d1c109e6ef308ddc5d31
|
||||
MD5 (chipmunk/wolcomp-1.13.tar.gz) = 90f6b427ff184c3bc773fdbababdd7e0
|
||||
RMD160 (chipmunk/log-5.61.tar.gz) = e2bd93d150cf4b1f05b5e17cc46044032d651428
|
||||
RMD160 (chipmunk/psys-1.57.tar.gz) = 52fe9622e5dea6fc24b78e8a0624917631d1ac66
|
||||
RMD160 (chipmunk/until-1.13.tar.gz) = ec5f41a94d1c666b184cc34ed48e2b9e8fe5908b
|
||||
RMD160 (chipmunk/view-1.13.tar.gz) = 2bd6afa1aaba76bc6397715418e0e43bdae475d1
|
||||
RMD160 (chipmunk/webdoc1.46.tar.gz) = bd4147cb4290e7b46e81a578caf1ea32f3773313
|
||||
RMD160 (chipmunk/wol-1.13.tar.gz) = 732aee086d0cc626d8b01c1d0439f4199b97464c
|
||||
RMD160 (chipmunk/wolcomp-1.13.tar.gz) = 024e6a31f23ea0664856bb55f376eba04fc3384d
|
||||
SHA1 (chipmunk/log-5.61.tar.gz) = be6c0f29b087f3680f4edddda7e03dc4f1e25ee1
|
||||
SHA1 (chipmunk/psys-1.57.tar.gz) = df76bf256a41997f5dcd9ab5ea1462cc0e0f6660
|
||||
SHA1 (chipmunk/until-1.13.tar.gz) = 3fcb0e7305b8c64f831bb8f1af59ee45d17eabe2
|
||||
SHA1 (chipmunk/view-1.13.tar.gz) = d4f9c73952e7bff3efd94d31bbab4518058f477f
|
||||
SHA1 (chipmunk/webdoc1.46.tar.gz) = 95cf3ca1464662a1e113b0c9ffa70452804eff1e
|
||||
SHA1 (chipmunk/wol-1.13.tar.gz) = b462e9ab4844a29dca82cf799fa579ef454b5a46
|
||||
SHA1 (chipmunk/wolcomp-1.13.tar.gz) = b794abbc26ac56a29caec6419a57ef69075ff279
|
69
cad/chipmunk/files/Makefile
Normal file
69
cad/chipmunk/files/Makefile
Normal file
@ -0,0 +1,69 @@
|
||||
# System Makefile for the Chipmunk Tools
|
||||
#
|
||||
# Copyright (C) 1983, 1990, 1993 California Institute of Technology.
|
||||
# Authors: Dave Gillespie, Marwan Jabri
|
||||
# Maintainers: John Lazzaro and Dave Gillespie
|
||||
# Maintainers's address: lazzaro@cs.berkeley.edu;
|
||||
# EECS/571 Evans Hall/UCB/Berkeley CA 94720
|
||||
# daveg@synaptics.com;
|
||||
# Send questions, bug fixes, to these addresses.
|
||||
#
|
||||
#
|
||||
#This program is free software; you can redistribute it and/or modify
|
||||
#it under the terms of the GNU General Public License as published by
|
||||
#the Free Software Foundation (Version 1, 1989).
|
||||
#
|
||||
#This program is distributed in the hope that it will be useful,
|
||||
#but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
#GNU General Public License for more details.
|
||||
#
|
||||
#You should have received a copy of the GNU General Public License
|
||||
#along with this program; see the file COPYING. If not, write to
|
||||
#the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
|
||||
# This makefile allows you to make and install the entire
|
||||
# chipmunk toolset in one command. It assume you have all of the
|
||||
# tools in the distribution; if not, comment out the tools you
|
||||
# do not have in the lines below.
|
||||
|
||||
PACKAGES= \
|
||||
psys/src \
|
||||
log/src \
|
||||
wol \
|
||||
wolcomp \
|
||||
until/V1.2 \
|
||||
view
|
||||
# mosis \
|
||||
# util \
|
||||
# netcmp \
|
||||
|
||||
makeonly: lib bin
|
||||
for i in $(PACKAGES) ;\
|
||||
do (cd $$i ; echo "Making in $$i..."; make $(MFLAGS)); done
|
||||
|
||||
World: lib bin clean install
|
||||
|
||||
lib:
|
||||
-mkdir lib
|
||||
|
||||
bin:
|
||||
-mkdir bin
|
||||
|
||||
clean:
|
||||
for i in $(PACKAGES) ;\
|
||||
do (cd $$i ; echo "Making clean in $$i..."; \
|
||||
make clean); done
|
||||
|
||||
install:
|
||||
for i in $(PACKAGES) ;\
|
||||
do (cd $$i ; echo "Making install in $$i..."; \
|
||||
make install); done
|
||||
|
||||
create:
|
||||
for i in $(PACKAGES) ;\
|
||||
do (cd $$i ; echo "Making create in $$i..."; \
|
||||
make create); done
|
||||
|
||||
|
||||
|
12
cad/chipmunk/patches/patch-log_src_ana_globals_c
Normal file
12
cad/chipmunk/patches/patch-log_src_ana_globals_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-log_src_ana_globals_c,v 1.1.1.1 2003/10/25 18:33:27 pvalchev Exp $
|
||||
--- log/src/ana/globals.c.orig 2003-03-12 15:49:31.000000000 -0700
|
||||
+++ log/src/ana/globals.c 2003-10-23 23:36:34.000000000 -0600
|
||||
@@ -341,7 +341,7 @@ double *Value;
|
||||
m_graphics_on();
|
||||
printf("\f");
|
||||
printf("%s[% .5E]:", Varname, *Value);
|
||||
- gets(Name);
|
||||
+ fgets(Name, 255, stdin);
|
||||
TRY(try1);
|
||||
Newval = strtod(Name, &STR3);
|
||||
Temp = STR3 - Name + 1;
|
12
cad/chipmunk/patches/patch-log_src_ana_inter_c
Normal file
12
cad/chipmunk/patches/patch-log_src_ana_inter_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-log_src_ana_inter_c,v 1.1.1.1 2003/10/25 18:33:27 pvalchev Exp $
|
||||
--- log/src/ana/inter.c.orig 2003-03-12 15:49:31.000000000 -0700
|
||||
+++ log/src/ana/inter.c 2003-10-24 00:56:57.000000000 -0600
|
||||
@@ -125,7 +125,7 @@ log_action *act;
|
||||
putchar('\n');
|
||||
do {
|
||||
printf("<modulename>_<Procname> : ");
|
||||
- gets(Response);
|
||||
+ fgets(Response, 255, stdin);
|
||||
} while (strlen(Response) < 1);
|
||||
strcpy(STR1, strltrim(Response));
|
||||
strcpy(Response, STR1);
|
33
cad/chipmunk/patches/patch-log_src_log_c
Normal file
33
cad/chipmunk/patches/patch-log_src_log_c
Normal file
@ -0,0 +1,33 @@
|
||||
$OpenBSD: patch-log_src_log_c,v 1.1.1.1 2003/10/25 18:33:27 pvalchev Exp $
|
||||
--- log/src/log.c.orig 2003-03-12 15:49:30.000000000 -0700
|
||||
+++ log/src/log.c 2003-10-25 10:51:32.000000000 -0600
|
||||
@@ -21278,6 +21278,9 @@ Static Void initialize()
|
||||
short FORLIM;
|
||||
nk_keytransinfo *WITH;
|
||||
log_sigrec *WITH1;
|
||||
+ int fd = -1;
|
||||
+ char tmpf[25] = "/tmp/chipmunk.XXXXXXXXXX";
|
||||
+ FILE *tmpp;
|
||||
|
||||
#ifdef OS2
|
||||
_control87(EM_UNDERFLOW, EM_UNDERFLOW); /* Turn off underflow exception. */
|
||||
@@ -21576,8 +21579,17 @@ Static Void initialize()
|
||||
if (flag) {
|
||||
if (libf1[k]->f != NULL)
|
||||
rewind(libf1[k]->f);
|
||||
- else
|
||||
- libf1[k]->f = tmpfile();
|
||||
+ else {
|
||||
+ if ((fd = mkstemp(tmpf)) == -1 ||
|
||||
+ (tmpp = fdopen(fd, "w+")) == NULL) {
|
||||
+ if (fd != -1) {
|
||||
+ unlink(tmpf);
|
||||
+ close(fd);
|
||||
+ }
|
||||
+ libf1[k]->f = NULL;
|
||||
+ } else
|
||||
+ libf1[k]->f = tmpp;
|
||||
+ }
|
||||
if (libf1[k]->f == NULL) {
|
||||
P_escapecode = -10;
|
||||
P_ioresult = FileNotFound;
|
33
cad/chipmunk/patches/patch-log_src_loged_c
Normal file
33
cad/chipmunk/patches/patch-log_src_loged_c
Normal file
@ -0,0 +1,33 @@
|
||||
$OpenBSD: patch-log_src_loged_c,v 1.1.1.1 2003/10/25 18:33:27 pvalchev Exp $
|
||||
--- log/src/loged.c.orig 2003-03-12 15:49:30.000000000 -0700
|
||||
+++ log/src/loged.c 2003-10-25 10:51:38.000000000 -0600
|
||||
@@ -1956,6 +1956,9 @@ Char *s_, *gname_;
|
||||
descrec *WITH;
|
||||
vectorrec *WITH2;
|
||||
Char STR5[256];
|
||||
+ int fd = -1;
|
||||
+ char tmpf[25] = "/tmp/chipmunk.XXXXXXXXXX";
|
||||
+ FILE *tmpp;
|
||||
|
||||
strcpy(s, s_);
|
||||
strcpy(gname, gname_);
|
||||
@@ -2032,8 +2035,17 @@ Char *s_, *gname_;
|
||||
/* p2c: loged.text, line 1701: Note: OPEN does not specify a name [181] */
|
||||
if (V.f != NULL)
|
||||
rewind(V.f);
|
||||
- else
|
||||
- V.f = tmpfile();
|
||||
+ else {
|
||||
+ if ((fd == mkstemp(tmpf)) == -1 ||
|
||||
+ (tmpp = fdopen(fd, "w+")) == NULL) {
|
||||
+ if (fd != -1) {
|
||||
+ unlink(tmpf);
|
||||
+ close(fd);
|
||||
+ }
|
||||
+ V.f = NULL;
|
||||
+ } else
|
||||
+ V.f = tmpp;
|
||||
+ }
|
||||
if (V.f == NULL) {
|
||||
P_escapecode = -10;
|
||||
P_ioresult = FileNotFound;
|
11
cad/chipmunk/patches/patch-psys_include_p2c_p2c_h
Normal file
11
cad/chipmunk/patches/patch-psys_include_p2c_p2c_h
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-psys_include_p2c_p2c_h,v 1.1.1.1 2003/10/25 18:33:27 pvalchev Exp $
|
||||
--- psys/include/p2c/p2c.h.orig 2003-03-12 15:47:35.000000000 -0700
|
||||
+++ psys/include/p2c/p2c.h 2003-10-25 11:12:13.000000000 -0600
|
||||
@@ -336,6 +336,7 @@ extern Void P_sun_argv PP( (char *, int
|
||||
#define EndOfFile 30
|
||||
|
||||
/* Creating temporary files */
|
||||
+#define HAVE_TMPFILE
|
||||
#if (defined(BSD) || defined(NO_TMPFILE)) && !defined(HAVE_TMPFILE)
|
||||
# define tmpfile() (fopen(tmpnam(NULL), "w+"))
|
||||
#endif
|
12
cad/chipmunk/patches/patch-psys_src_Makefile
Normal file
12
cad/chipmunk/patches/patch-psys_src_Makefile
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-psys_src_Makefile,v 1.1.1.1 2003/10/25 18:33:27 pvalchev Exp $
|
||||
--- psys/src/Makefile.orig 2003-10-22 20:58:35.000000000 -0600
|
||||
+++ psys/src/Makefile 2003-10-22 20:58:42.000000000 -0600
|
||||
@@ -149,7 +149,7 @@ CD = cd
|
||||
|
||||
CHIPMUNKFLAGS =
|
||||
|
||||
-CFLAGS = $(CHIPMUNKFLAGS) -I$(LOCINC) -I$(XINCLUDEDIR) -DCHIPLIB=\"`$(CD) $(LIBDIR); pwd`\"
|
||||
+CFLAGS = $(CHIPMUNKFLAGS) -I$(LOCINC) -I$(XINCLUDEDIR) -DCHIPLIB=\"$(LIBDIR)\"
|
||||
|
||||
P2CFLAGS = -DLOCAL_INIT=_local_p2c_init
|
||||
|
12
cad/chipmunk/patches/patch-psys_src_lunix_pas_c
Normal file
12
cad/chipmunk/patches/patch-psys_src_lunix_pas_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-psys_src_lunix_pas_c,v 1.1.1.1 2003/10/25 18:33:27 pvalchev Exp $
|
||||
--- psys/src/lunix_pas.c.orig 2003-03-12 15:47:35.000000000 -0700
|
||||
+++ psys/src/lunix_pas.c 2003-10-25 00:25:12.000000000 -0600
|
||||
@@ -17,7 +17,7 @@ Void lunix_intToDate (long idate, datere
|
||||
{
|
||||
struct tm *temp_tm;
|
||||
|
||||
- temp_tm = localtime(&idate);
|
||||
+ temp_tm = localtime((time_t *)&idate);
|
||||
date->year = temp_tm->tm_year;
|
||||
date->day = temp_tm->tm_mday;
|
||||
date->month = temp_tm->tm_mon + 1;
|
18
cad/chipmunk/patches/patch-psys_src_misc_c
Normal file
18
cad/chipmunk/patches/patch-psys_src_misc_c
Normal file
@ -0,0 +1,18 @@
|
||||
$OpenBSD: patch-psys_src_misc_c,v 1.1.1.1 2003/10/25 18:33:27 pvalchev Exp $
|
||||
--- psys/src/misc.c.orig 2003-03-12 15:47:35.000000000 -0700
|
||||
+++ psys/src/misc.c 2003-09-19 00:31:20.000000000 -0600
|
||||
@@ -136,12 +136,14 @@ char *ptr;
|
||||
|
||||
#ifdef freebsd
|
||||
|
||||
+#ifndef __OpenBSD__
|
||||
int cfree(ptr)
|
||||
char *ptr;
|
||||
{
|
||||
free(ptr);
|
||||
return 0;
|
||||
}
|
||||
+#endif
|
||||
|
||||
int _cfree(ptr)
|
||||
char *ptr;
|
12
cad/chipmunk/patches/patch-psys_src_newasmlib_c
Normal file
12
cad/chipmunk/patches/patch-psys_src_newasmlib_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-psys_src_newasmlib_c,v 1.1.1.1 2003/10/25 18:33:27 pvalchev Exp $
|
||||
--- psys/src/newasmlib.c.orig 2003-03-12 15:47:35.000000000 -0700
|
||||
+++ psys/src/newasmlib.c 2003-10-25 00:25:01.000000000 -0600
|
||||
@@ -1815,7 +1815,7 @@ register long i, w;
|
||||
Char *strdate(res, opts) /* ignore opts for now */
|
||||
Char *res, *opts;
|
||||
{
|
||||
- time_t t = time((long *)0);
|
||||
+ time_t t = time((time_t *)0);
|
||||
strcpy(res, ctime(&t));
|
||||
res[strlen(res)-1] = 0; /* eat the \n */
|
||||
return res;
|
33
cad/chipmunk/patches/patch-psys_src_plot_c
Normal file
33
cad/chipmunk/patches/patch-psys_src_plot_c
Normal file
@ -0,0 +1,33 @@
|
||||
$OpenBSD: patch-psys_src_plot_c,v 1.1.1.1 2003/10/25 18:33:27 pvalchev Exp $
|
||||
--- psys/src/plot.c.orig 2003-03-12 15:47:36.000000000 -0700
|
||||
+++ psys/src/plot.c 2003-10-25 10:50:56.000000000 -0600
|
||||
@@ -2633,6 +2633,9 @@ long *which_;
|
||||
Char STR4[256];
|
||||
point *pp1;
|
||||
chardesc *cd1;
|
||||
+ int fd = -1;
|
||||
+ char tmpf[25] = "/tmp/chipmunk.XXXXXXXXXX";
|
||||
+ FILE *tmpp;
|
||||
|
||||
P_setcpy(which, which_);
|
||||
f = NULL;
|
||||
@@ -2664,8 +2667,17 @@ long *which_;
|
||||
if (f != NULL) {
|
||||
/* p2c: plot.text, line 2335: Note: OPEN does not specify a name [181] */
|
||||
rewind(f);
|
||||
- } else
|
||||
- f = tmpfile();
|
||||
+ } else {
|
||||
+ if ((fd == mkstemp(tmpf)) == -1 ||
|
||||
+ (tmpp = fdopen(fd, "w+")) == NULL) {
|
||||
+ if (fd != -1) {
|
||||
+ unlink(tmpf);
|
||||
+ close(fd);
|
||||
+ }
|
||||
+ f = NULL;
|
||||
+ } else
|
||||
+ f = tmpp;
|
||||
+ }
|
||||
if (f == NULL) {
|
||||
P_escapecode = -10;
|
||||
P_ioresult = FileNotFound;
|
12
cad/chipmunk/patches/patch-until_V1_2_data_types_c
Normal file
12
cad/chipmunk/patches/patch-until_V1_2_data_types_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-until_V1_2_data_types_c,v 1.1.1.1 2003/10/25 18:33:27 pvalchev Exp $
|
||||
--- until/V1.2/data_types.c.orig 2003-03-12 15:59:51.000000000 -0700
|
||||
+++ until/V1.2/data_types.c 2003-10-25 00:26:02.000000000 -0600
|
||||
@@ -87,7 +87,7 @@ short curRots; /* Number of possible ro
|
||||
|
||||
Char *today(Char *Result)
|
||||
{
|
||||
- long now;
|
||||
+ time_t now;
|
||||
Char s[64];
|
||||
Char u[41];
|
||||
|
21
cad/chipmunk/patches/patch-until_V1_2_main_c
Normal file
21
cad/chipmunk/patches/patch-until_V1_2_main_c
Normal file
@ -0,0 +1,21 @@
|
||||
$OpenBSD: patch-until_V1_2_main_c,v 1.1.1.1 2003/10/25 18:33:27 pvalchev Exp $
|
||||
--- until/V1.2/main.c.orig 2003-03-12 15:59:51.000000000 -0700
|
||||
+++ until/V1.2/main.c 2003-09-19 00:48:05.000000000 -0600
|
||||
@@ -2051,7 +2051,7 @@ Static void myFixedMenuHandler(long f)
|
||||
break;
|
||||
|
||||
case 13: /*Undelete*/
|
||||
- undelete();
|
||||
+ Cundelete();
|
||||
break;
|
||||
|
||||
case 14: /*Zoom*/
|
||||
@@ -2345,7 +2345,7 @@ Static void buildMenus(void)
|
||||
addElem("Quit", "^Q", do_exit);
|
||||
|
||||
startMenu("Edit");
|
||||
- addElem("Undelete", "", undelete);
|
||||
+ addElem("Undelete", "", Cundelete);
|
||||
addElem("", "", nothing);
|
||||
addElem("Extend-curFig", "", extendCurFig);
|
||||
addElem("Extend-files", "", extendFiles);
|
12
cad/chipmunk/patches/patch-until_V1_2_prim_stuff_c
Normal file
12
cad/chipmunk/patches/patch-until_V1_2_prim_stuff_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-until_V1_2_prim_stuff_c,v 1.1.1.1 2003/10/25 18:33:27 pvalchev Exp $
|
||||
--- until/V1.2/prim_stuff.c.orig 2003-03-12 15:59:51.000000000 -0700
|
||||
+++ until/V1.2/prim_stuff.c 2003-09-19 00:47:39.000000000 -0600
|
||||
@@ -2620,7 +2620,7 @@ Static void insert_obj(object *o)
|
||||
|
||||
|
||||
/* Restore the top thing from the deleted list */
|
||||
-void undelete(void)
|
||||
+void Cundelete(void)
|
||||
{
|
||||
object *next;
|
||||
|
12
cad/chipmunk/patches/patch-until_V1_2_prim_stuff_h
Normal file
12
cad/chipmunk/patches/patch-until_V1_2_prim_stuff_h
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-until_V1_2_prim_stuff_h,v 1.1.1.1 2003/10/25 18:33:27 pvalchev Exp $
|
||||
--- until/V1.2/prim_stuff.h.orig 2003-09-19 00:44:33.000000000 -0600
|
||||
+++ until/V1.2/prim_stuff.h 2003-09-19 00:47:30.000000000 -0600
|
||||
@@ -87,7 +87,7 @@ extern void update_root_mbb(void);
|
||||
extern void pr_refresh(void);
|
||||
extern void setup(long x, long y, objkinds kind);
|
||||
extern void dispose_obj(object *op);
|
||||
-extern void undelete(void);
|
||||
+extern void Cundelete(void);
|
||||
extern void refObj(object *op);
|
||||
extern void drawObj(object *op);
|
||||
extern object *copyObj(object *op);
|
15
cad/chipmunk/pkg/DESCR
Normal file
15
cad/chipmunk/pkg/DESCR
Normal file
@ -0,0 +1,15 @@
|
||||
Tools for schematic capture, netlist creation, and analog and digital
|
||||
simulation (log), IC mask layout, extraction, and DRC (wol), simple
|
||||
chip compilation (wolcomp), MOSIS fabrication request generation
|
||||
(mosis), netlist comparison (netcmp), data plotting (view) and
|
||||
postscript graphics editing (until). These tools were used exclusively
|
||||
for the design and test of all the integrated circuits described in
|
||||
Carver Mead's book "Analog VLSI and Neural Systems". Until was used
|
||||
as the primary tool for figure creation for the book. The directory
|
||||
also contains an example of an analog VLSI chip that was designed and
|
||||
fabricated with these tools, and an example of an Actel
|
||||
field-programmable gate array design that was simulated and converted
|
||||
to Actel format with these tools (example).
|
||||
|
||||
These tools were originally written for HP 200 Series ("Chipmunk")
|
||||
computers, and were later ported to Unix and the X Window System.
|
80
cad/chipmunk/pkg/PLIST
Normal file
80
cad/chipmunk/pkg/PLIST
Normal file
@ -0,0 +1,80 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/10/25 18:33:27 pvalchev Exp $
|
||||
bin/analog
|
||||
bin/cview
|
||||
bin/diglog
|
||||
bin/fixfet7
|
||||
bin/loged
|
||||
bin/until
|
||||
bin/wol
|
||||
share/chipmunk/Makefile
|
||||
share/chipmunk/actel.gate
|
||||
share/chipmunk/actellog.cnf
|
||||
share/chipmunk/add
|
||||
share/chipmunk/ana.gate
|
||||
share/chipmunk/analog-man.ps
|
||||
share/chipmunk/analog-tr.ps
|
||||
share/chipmunk/analog.cnf
|
||||
share/chipmunk/cheat.text
|
||||
share/chipmunk/crunch.view
|
||||
share/chipmunk/diglog.cnf
|
||||
share/chipmunk/ebasis.view
|
||||
share/chipmunk/errbar.view
|
||||
share/chipmunk/errbar2.view
|
||||
share/chipmunk/examples.log
|
||||
share/chipmunk/examples.out
|
||||
share/chipmunk/examples.view
|
||||
share/chipmunk/fet5model.ps
|
||||
share/chipmunk/fet7model.pdf
|
||||
share/chipmunk/fet7model.ps
|
||||
share/chipmunk/filter.view
|
||||
share/chipmunk/genlog.cnf
|
||||
share/chipmunk/groups.cnf
|
||||
share/chipmunk/histogram.view
|
||||
share/chipmunk/integrate.view
|
||||
share/chipmunk/lesson1.lgf
|
||||
share/chipmunk/lesson2.lgf
|
||||
share/chipmunk/lesson3.lgf
|
||||
share/chipmunk/lesson4.lgf
|
||||
share/chipmunk/lesson5.lgf
|
||||
share/chipmunk/librstr.cnf
|
||||
share/chipmunk/log.cnf
|
||||
share/chipmunk/log.doc
|
||||
share/chipmunk/log.gate
|
||||
share/chipmunk/log.text
|
||||
share/chipmunk/lognews.text
|
||||
share/chipmunk/logntk.cnf
|
||||
share/chipmunk/logspc.cnf
|
||||
share/chipmunk/logspc.tim
|
||||
share/chipmunk/lplot.cnf
|
||||
share/chipmunk/models.cnf
|
||||
share/chipmunk/mos.cnf
|
||||
share/chipmunk/mos14tb.cnf
|
||||
share/chipmunk/mos26g.cnf
|
||||
share/chipmunk/mos_example.cnf
|
||||
share/chipmunk/mosscn12.cnf
|
||||
share/chipmunk/oview.cnf
|
||||
share/chipmunk/pens.cnf
|
||||
share/chipmunk/plot.font
|
||||
share/chipmunk/post.spc
|
||||
share/chipmunk/pre.spc
|
||||
share/chipmunk/preamble.ps
|
||||
share/chipmunk/pwl-test.iv
|
||||
share/chipmunk/pwl-test.lgf
|
||||
share/chipmunk/rev.view
|
||||
share/chipmunk/reverse.view
|
||||
share/chipmunk/spcfet5.lgf
|
||||
share/chipmunk/spctest.lgf
|
||||
share/chipmunk/swapxy.view
|
||||
share/chipmunk/tweak.view
|
||||
share/chipmunk/view.cnf
|
||||
share/chipmunk/view.log
|
||||
share/chipmunk/vlsi.cnf
|
||||
share/chipmunk/zcross.view
|
||||
share/doc/chipmunk/pensps.map
|
||||
share/doc/chipmunk/system.untilrc
|
||||
share/doc/chipmunk/texstuff.ps
|
||||
share/doc/chipmunk/until.pro
|
||||
share/doc/chipmunk/until.ps
|
||||
share/doc/chipmunk/untilstuff.ps
|
||||
@dirrm share/doc/chipmunk
|
||||
@dirrm share/chipmunk
|
Loading…
Reference in New Issue
Block a user