summaryrefslogtreecommitdiff
path: root/cad/ipal-current
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2000-11-19 17:05:28 +0000
committerdmcmahill <dmcmahill>2000-11-19 17:05:28 +0000
commitc8a6b0a641407818ea7476d8b3320845caf28735 (patch)
tree72390c98491c3718be57b2c62e2c1b015382fc06 /cad/ipal-current
parent4aa9612218958e14da202179fe21d7c7f667c45c (diff)
downloadpkgsrc-c8a6b0a641407818ea7476d8b3320845caf28735.tar.gz
initial import of ipal-current-20001118
note, this is the development snapshot version of the package. As stable releases become available, there will be a ipal package. from DESCR: Icarus PAL is a set of libraries and utilities for manipulating PAL designs. The design information is conveyed in the industry standard JEDEC file format. Icarus PAL accepts parts descriptions that detail the device structure, capabilities and pinouts so that software can be written to work relatively independent of the part type. These parts descriptions also describe how the fuses of a device are arranged, so that synthesis tools can generate fuse maps to get the desired functionality and pinout. See as a commented example the description in the pa/pal22v10.pa description. The ipaledit program takes as input a .JED file and displays the PAL design. It shows the sum-of-products as a fuse matrix, and shows the macrocell configurations in convenient form. The ipalrev program takes as input a .JED file and reverse compiles it, producing a Verilog program that logically describes the design. This use useful for moving old designs to new tools. Please note that this package is a development snapshot and while it contains the latest and greatest features, it may be buggy as well. When available there will be a seperate ipal package which will be made of the stable releases.
Diffstat (limited to 'cad/ipal-current')
-rw-r--r--cad/ipal-current/Makefile18
-rw-r--r--cad/ipal-current/files/md53
-rw-r--r--cad/ipal-current/files/patch-sum6
-rw-r--r--cad/ipal-current/patches/patch-aa63
-rw-r--r--cad/ipal-current/patches/patch-ab11
-rw-r--r--cad/ipal-current/patches/patch-ac11
-rw-r--r--cad/ipal-current/patches/patch-ad11
-rw-r--r--cad/ipal-current/pkg/COMMENT1
-rw-r--r--cad/ipal-current/pkg/DESCR24
-rw-r--r--cad/ipal-current/pkg/PLIST9
10 files changed, 157 insertions, 0 deletions
diff --git a/cad/ipal-current/Makefile b/cad/ipal-current/Makefile
new file mode 100644
index 00000000000..d18de5a5186
--- /dev/null
+++ b/cad/ipal-current/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/11/19 17:05:28 dmcmahill Exp $
+#
+
+DISTNAME= ipal-20001118
+PKGNAME= ipal-current-20001118
+CATEGORIES= cad
+MASTER_SITES= ftp://icarus.com/pub/eda/ipal/
+
+MAINTAINER= dmcmahill@netbsd.org
+
+BUILD_DEPENDS+= bison:../../devel/bison
+DEPENDS+= gtk+>=1.2.7:../../x11/gtk
+
+GNU_CONFIGURE= YES
+USE_GMAKE= YES
+USE_X11= YES
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/cad/ipal-current/files/md5 b/cad/ipal-current/files/md5
new file mode 100644
index 00000000000..7f0235fe196
--- /dev/null
+++ b/cad/ipal-current/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/11/19 17:05:28 dmcmahill Exp $
+
+MD5 (ipal-20001118.tar.gz) = bdaa8d55a0a2c7730470ad73ac65bfc7
diff --git a/cad/ipal-current/files/patch-sum b/cad/ipal-current/files/patch-sum
new file mode 100644
index 00000000000..d8321f25261
--- /dev/null
+++ b/cad/ipal-current/files/patch-sum
@@ -0,0 +1,6 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/11/19 17:05:28 dmcmahill Exp $
+
+MD5 (patch-aa) = 2578ebeac70cd3090a96a0452cbbf82b
+MD5 (patch-ab) = e38e1289b78c521c333ee6578aef739e
+MD5 (patch-ac) = fd3a228432d6158a2ce2b89b50eac703
+MD5 (patch-ad) = bf77f8808aeaa34a8ea0cc02032d9758
diff --git a/cad/ipal-current/patches/patch-aa b/cad/ipal-current/patches/patch-aa
new file mode 100644
index 00000000000..d0ba8a667cb
--- /dev/null
+++ b/cad/ipal-current/patches/patch-aa
@@ -0,0 +1,63 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/11/19 17:05:28 dmcmahill Exp $
+
+need to be sure we can pass down MAKE=gmake
+
+--- Makefile.in.orig Sat Nov 18 17:35:08 2000
++++ Makefile.in Sun Nov 19 11:03:43 2000
+@@ -43,16 +43,16 @@
+
+ all:
+- cd libjedec ; make all
+- cd libipal ; make all
+- cd pa ; make all
+- cd ipaledit ; make all
+- cd ipalrev ; make all
++ cd libjedec ; ${MAKE} all
++ cd libipal ; ${MAKE} all
++ cd pa ; ${MAKE} all
++ cd ipaledit ; ${MAKE} all
++ cd ipalrev ; ${MAKE} all
+
+ clean:
+- cd ipalrev ; make clean
+- cd ipaledit ; make clean
+- cd pa ; make clean
+- cd libjedec ; make clean
+- cd libipal ; make clean
++ cd ipalrev ; ${MAKE} clean
++ cd ipaledit ; ${MAKE} clean
++ cd pa ; ${MAKE} clean
++ cd libjedec ; ${MAKE} clean
++ cd libipal ; ${MAKE} clean
+
+ distclean: clean
+@@ -63,9 +63,9 @@
+
+ install: installdirs $(includedir)/ipal.h $(includedir)/jedec.h
+- cd libjedec ; make install
+- cd libipal ; make install
+- cd pa ; make install
+- cd ipaledit ; make install
+- cd ipalrev ; make install
++ cd libjedec ; ${MAKE} install
++ cd libipal ; ${MAKE} install
++ cd pa ; ${MAKE} install
++ cd ipaledit ; ${MAKE} install
++ cd ipalrev ; ${MAKE} install
+
+ installdirs: mkinstalldirs
+@@ -79,9 +79,9 @@
+
+ uninstall:
+- cd libjedec ; make uninstall
+- cd libipal ; make uninstall
+- cd pa ; make uninstall
+- cd ipaledit ; make uninstall
+- cd ipalrev ; make uninstall
++ cd libjedec ; ${MAKE} uninstall
++ cd libipal ; ${MAKE} uninstall
++ cd pa ; ${MAKE} uninstall
++ cd ipaledit ; ${MAKE} uninstall
++ cd ipalrev ; ${MAKE} uninstall
+ rm -f $(includedir)/ipal.h
+ rm -f $(includedir)/jedec.h
diff --git a/cad/ipal-current/patches/patch-ab b/cad/ipal-current/patches/patch-ab
new file mode 100644
index 00000000000..cd439443e34
--- /dev/null
+++ b/cad/ipal-current/patches/patch-ab
@@ -0,0 +1,11 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/11/19 17:05:28 dmcmahill Exp $
+
+--- ipaledit/Makefile.in.orig Sat Nov 18 17:35:08 2000
++++ ipaledit/Makefile.in Sun Nov 19 11:14:31 2000
+@@ -72,5 +72,5 @@
+
+ $(bindir)/ipaledit: ./ipaledit
+- $(INSTALL_PROGRAM ./ipaledit $(bindir)/ipaledit
++ $(INSTALL_PROGRAM) ./ipaledit $(bindir)/ipaledit
+
+ uninstall:
diff --git a/cad/ipal-current/patches/patch-ac b/cad/ipal-current/patches/patch-ac
new file mode 100644
index 00000000000..bc76e60f14a
--- /dev/null
+++ b/cad/ipal-current/patches/patch-ac
@@ -0,0 +1,11 @@
+$NetBSD: patch-ac,v 1.1.1.1 2000/11/19 17:05:28 dmcmahill Exp $
+
+--- ipalrev/Makefile.in.orig Sat Nov 18 17:35:08 2000
++++ ipalrev/Makefile.in Sun Nov 19 11:14:39 2000
+@@ -65,5 +65,5 @@
+
+ $(bindir)/ipalrev: ./ipalrev
+- $(INSTALL_PROGRAM ./ipalrev $(bindir)/ipalrev
++ $(INSTALL_PROGRAM) ./ipalrev $(bindir)/ipalrev
+
+ uninstall:
diff --git a/cad/ipal-current/patches/patch-ad b/cad/ipal-current/patches/patch-ad
new file mode 100644
index 00000000000..2cd02e56770
--- /dev/null
+++ b/cad/ipal-current/patches/patch-ad
@@ -0,0 +1,11 @@
+$NetBSD: patch-ad,v 1.1.1.1 2000/11/19 17:05:28 dmcmahill Exp $
+
+--- ipaledit/main.c.orig Sat Nov 18 00:18:31 2000
++++ ipaledit/main.c Sun Nov 19 11:50:48 2000
+@@ -61,4 +61,6 @@
+ }
+ }
++
++ return can;
+ }
+
diff --git a/cad/ipal-current/pkg/COMMENT b/cad/ipal-current/pkg/COMMENT
new file mode 100644
index 00000000000..a05d5f68f81
--- /dev/null
+++ b/cad/ipal-current/pkg/COMMENT
@@ -0,0 +1 @@
+Libs and utils for manipulating PAL designs (development version)
diff --git a/cad/ipal-current/pkg/DESCR b/cad/ipal-current/pkg/DESCR
new file mode 100644
index 00000000000..cf16d952999
--- /dev/null
+++ b/cad/ipal-current/pkg/DESCR
@@ -0,0 +1,24 @@
+Icarus PAL is a set of libraries and utilities for manipulating PAL
+designs. The design information is conveyed in the industry standard
+JEDEC file format.
+
+Icarus PAL accepts parts descriptions that detail the device
+structure, capabilities and pinouts so that software can be written to
+work relatively independent of the part type. These parts descriptions
+also describe how the fuses of a device are arranged, so that
+synthesis tools can generate fuse maps to get the desired
+functionality and pinout. See as a commented example the description
+in the pa/pal22v10.pa description.
+
+The ipaledit program takes as input a .JED file and displays the PAL
+design. It shows the sum-of-products as a fuse matrix, and shows the
+macrocell configurations in convenient form.
+
+The ipalrev program takes as input a .JED file and reverse compiles
+it, producing a Verilog program that logically describes the
+design. This use useful for moving old designs to new tools.
+
+Please note that this package is a development snapshot and while it contains
+the latest and greatest features, it may be buggy as well. When
+available there will be a seperate ipal package which will be made of
+the stable releases.
diff --git a/cad/ipal-current/pkg/PLIST b/cad/ipal-current/pkg/PLIST
new file mode 100644
index 00000000000..b6a21ded48e
--- /dev/null
+++ b/cad/ipal-current/pkg/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/11/19 17:05:28 dmcmahill Exp $
+bin/ipaledit
+bin/ipalrev
+include/ipal.h
+include/jedec.h
+lib/libipal.a
+lib/libjedec.a
+share/ipal/pal22v10.pa
+@dirrm share/ipal