summaryrefslogtreecommitdiffstatshomepage
path: root/regtests/jedutil
diff options
context:
space:
mode:
author Kevin Eshbach <keshbach@comcast.net>2016-02-13 15:12:36 -0500
committer Kevin Eshbach <keshbach@comcast.net>2016-02-13 15:12:36 -0500
commita18fb2ccb1345752d2097a8c1998b8d582c92624 (patch)
treeff5b54be96bd9f20ed69a9555d08fa02dd8e9517 /regtests/jedutil
parent3276c835c93c354072010fd9b12b2c421d4e24f2 (diff)
Adding regression tests for the AMPAL18P8
Diffstat (limited to 'regtests/jedutil')
-rw-r--r--regtests/jedutil/baseline/ampal18p8/pal10h8-as-ampal18p8.txt97
-rw-r--r--regtests/jedutil/baseline/ampal18p8/pal10l8-as-ampal18p8.txt97
-rw-r--r--regtests/jedutil/baseline/ampal18p8/pal12h6-as-ampal18p8.txt75
-rw-r--r--regtests/jedutil/baseline/ampal18p8/pal12l6-as-ampal18p8.txt75
-rw-r--r--regtests/jedutil/baseline/ampal18p8/pal14h4-as-ampal18p8.txt53
-rw-r--r--regtests/jedutil/baseline/ampal18p8/pal14l4-as-ampal18p8.txt53
-rw-r--r--regtests/jedutil/baseline/ampal18p8/pal16h2-as-ampal18p8.txt31
-rw-r--r--regtests/jedutil/baseline/ampal18p8/pal16l2-as-ampal18p8.txt31
-rw-r--r--regtests/jedutil/baseline/ampal18p8/pal16l8-as-ampal18p8.txt89
-rw-r--r--regtests/jedutil/eqns/PALASM/ampal18p8/pal10h8-as-ampal18p8.pds119
-rw-r--r--regtests/jedutil/eqns/PALASM/ampal18p8/pal10l8-as-ampal18p8.pds119
-rw-r--r--regtests/jedutil/eqns/PALASM/ampal18p8/pal12h6-as-ampal18p8.pds101
-rw-r--r--regtests/jedutil/eqns/PALASM/ampal18p8/pal12l6-as-ampal18p8.pds101
-rw-r--r--regtests/jedutil/eqns/PALASM/ampal18p8/pal14h4-as-ampal18p8.pds83
-rw-r--r--regtests/jedutil/eqns/PALASM/ampal18p8/pal14l4-as-ampal18p8.pds83
-rw-r--r--regtests/jedutil/eqns/PALASM/ampal18p8/pal16h2-as-ampal18p8.pds65
-rw-r--r--regtests/jedutil/eqns/PALASM/ampal18p8/pal16l2-as-ampal18p8.pds65
-rw-r--r--regtests/jedutil/eqns/PALASM/ampal18p8/pal16l8-as-ampal18p8.pds119
-rw-r--r--regtests/jedutil/jeds/ampal18p8/pal10h8-as-ampal18p8.jed90
-rw-r--r--regtests/jedutil/jeds/ampal18p8/pal10l8-as-ampal18p8.jed90
-rw-r--r--regtests/jedutil/jeds/ampal18p8/pal12h6-as-ampal18p8.jed90
-rw-r--r--regtests/jedutil/jeds/ampal18p8/pal12l6-as-ampal18p8.jed90
-rw-r--r--regtests/jedutil/jeds/ampal18p8/pal14h4-as-ampal18p8.jed90
-rw-r--r--regtests/jedutil/jeds/ampal18p8/pal14l4-as-ampal18p8.jed90
-rw-r--r--regtests/jedutil/jeds/ampal18p8/pal16h2-as-ampal18p8.jed90
-rw-r--r--regtests/jedutil/jeds/ampal18p8/pal16l2-as-ampal18p8.jed90
-rw-r--r--regtests/jedutil/jeds/ampal18p8/pal16l8-as-ampal18p8.jed90
27 files changed, 2266 insertions, 0 deletions
diff --git a/regtests/jedutil/baseline/ampal18p8/pal10h8-as-ampal18p8.txt b/regtests/jedutil/baseline/ampal18p8/pal10h8-as-ampal18p8.txt
new file mode 100644
index 00000000000..5b8dae63d99
--- /dev/null
+++ b/regtests/jedutil/baseline/ampal18p8/pal10h8-as-ampal18p8.txt
@@ -0,0 +1,97 @@
+Inputs:
+
+1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19
+
+Outputs:
+
+12 (Combinatorial, Output feedback output, Active high)
+13 (Combinatorial, Output feedback output, Active high)
+14 (Combinatorial, Output feedback output, Active high)
+15 (Combinatorial, Output feedback output, Active high)
+16 (Combinatorial, Output feedback output, Active high)
+17 (Combinatorial, Output feedback output, Active high)
+18 (Combinatorial, Output feedback output, Active high)
+19 (Combinatorial, Output feedback output, Active high)
+
+Equations:
+
+o12 = i2 +
+ i1 & i3 +
+ i4 & /i11 +
+ i5 +
+ i6 +
+ /i1 & i7 +
+ i8 +
+ i9 & i11
+o12.oe = vcc
+
+o13 = /i2 +
+ /i4 +
+ /i3 & /i6 +
+ /i8 +
+ /i11 +
+ /i9 +
+ /i1 & /i7 +
+ /i5
+o13.oe = vcc
+
+o14 = i4 +
+ /i8 & i11 +
+ /i6 +
+ /i2 +
+ i5 & /i11 +
+ i7 +
+ /i3 & /i9 +
+ /i1
+o14.oe = vcc
+
+o15 = i5 +
+ /i1 +
+ i1 & i7 +
+ /i3 +
+ i1 & /i3 +
+ i2 & i9 +
+ /i8 +
+ i4
+o15.oe = vcc
+
+o16 = i6 +
+ i3 & i11 +
+ i6 & i8 +
+ /i1 +
+ /i8 +
+ /i7 & /i8 +
+ /i2 & /i9 +
+ /i5 & i7 & i8
+o16.oe = vcc
+
+o17 = i7 +
+ i2 & i9 +
+ i3 & i4 +
+ /i5 +
+ /i9 +
+ /i8 +
+ /i1 & /i11 +
+ i6 & i9
+o17.oe = vcc
+
+o18 = /i1 +
+ /i3 +
+ /i5 +
+ /i7 +
+ /i9 +
+ /i11 +
+ i1 & i7 & i11 +
+ i3 & i5 & i9
+o18.oe = vcc
+
+o19 = i3 & i11 +
+ i1 +
+ /i1 & /i9 +
+ /i3 & /i5 & /i7 +
+ i2 +
+ i4 +
+ i6 +
+ i8
+o19.oe = vcc
+
diff --git a/regtests/jedutil/baseline/ampal18p8/pal10l8-as-ampal18p8.txt b/regtests/jedutil/baseline/ampal18p8/pal10l8-as-ampal18p8.txt
new file mode 100644
index 00000000000..78a3cef7b0d
--- /dev/null
+++ b/regtests/jedutil/baseline/ampal18p8/pal10l8-as-ampal18p8.txt
@@ -0,0 +1,97 @@
+Inputs:
+
+1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19
+
+Outputs:
+
+12 (Combinatorial, Output feedback output, Active low)
+13 (Combinatorial, Output feedback output, Active low)
+14 (Combinatorial, Output feedback output, Active low)
+15 (Combinatorial, Output feedback output, Active low)
+16 (Combinatorial, Output feedback output, Active low)
+17 (Combinatorial, Output feedback output, Active low)
+18 (Combinatorial, Output feedback output, Active low)
+19 (Combinatorial, Output feedback output, Active low)
+
+Equations:
+
+/o12 = /i1 & i7 +
+ i8 +
+ i9 & i11 +
+ i2 +
+ i1 & i3 +
+ i5 +
+ i4 & /i11 +
+ i6
+o12.oe = vcc
+
+/o13 = /i8 +
+ /i11 +
+ /i9 +
+ /i3 & /i6 +
+ /i1 & /i7 +
+ /i2 +
+ /i4 +
+ /i5
+o13.oe = vcc
+
+/o14 = /i3 & /i9 +
+ /i6 +
+ /i2 +
+ i4 +
+ /i8 & i11 +
+ i7 +
+ i5 & /i11 +
+ /i1
+o14.oe = vcc
+
+/o15 = i4 +
+ i1 & /i3 +
+ i2 & i9 +
+ i5 +
+ i1 & i7 +
+ /i3 +
+ /i8 +
+ /i1
+o15.oe = vcc
+
+/o16 = i6 +
+ /i2 & /i9 +
+ i3 & i11 +
+ /i8 +
+ i6 & i8 +
+ /i1 +
+ /i5 & i7 & i8 +
+ /i7 & /i8
+o16.oe = vcc
+
+/o17 = i3 & i4 +
+ /i5 +
+ /i9 +
+ /i1 & /i11 +
+ i7 +
+ i2 & i9 +
+ i6 & i9 +
+ /i8
+o17.oe = vcc
+
+/o18 = /i9 +
+ i3 & i5 & i9 +
+ /i7 +
+ /i11 +
+ /i1 +
+ /i3 +
+ /i5 +
+ i1 & i7 & i11
+o18.oe = vcc
+
+/o19 = /i3 & /i5 & /i7 +
+ i2 +
+ i8 +
+ i3 & i11 +
+ i1 +
+ i4 +
+ i6 +
+ /i1 & /i9
+o19.oe = vcc
+
diff --git a/regtests/jedutil/baseline/ampal18p8/pal12h6-as-ampal18p8.txt b/regtests/jedutil/baseline/ampal18p8/pal12h6-as-ampal18p8.txt
new file mode 100644
index 00000000000..4f70393f5b5
--- /dev/null
+++ b/regtests/jedutil/baseline/ampal18p8/pal12h6-as-ampal18p8.txt
@@ -0,0 +1,75 @@
+Inputs:
+
+1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19
+
+Outputs:
+
+13 (Combinatorial, Output feedback output, Active high)
+14 (Combinatorial, Output feedback output, Active high)
+15 (Combinatorial, Output feedback output, Active high)
+16 (Combinatorial, Output feedback output, Active high)
+17 (Combinatorial, Output feedback output, Active high)
+18 (Combinatorial, Output feedback output, Active high)
+
+Equations:
+
+o13 = /i2 +
+ /i4 +
+ /i3 & /i6 +
+ /i8 +
+ /i11 +
+ /i9 +
+ /i1 & /i7 +
+ /i5
+o13.oe = vcc
+
+o14 = i4 +
+ /i8 & i11 +
+ /i6 +
+ /i2 +
+ i5 & /i11 +
+ i7 +
+ /i3 & /i9 +
+ /i1 & /i12
+o14.oe = vcc
+
+o15 = i5 & i19 +
+ /i1 +
+ i1 & i7 +
+ /i3 +
+ i1 & /i3 +
+ i2 & i9 +
+ /i8 +
+ i4
+o15.oe = vcc
+
+o16 = i6 +
+ i3 & i11 +
+ i6 & i8 +
+ /i1 +
+ /i8 +
+ /i7 & /i8 +
+ /i2 & /i9 +
+ /i5 & i7 & i8
+o16.oe = vcc
+
+o17 = i7 & i12 +
+ i2 & i9 +
+ i3 & i4 +
+ /i5 +
+ /i9 +
+ /i8 +
+ /i1 & /i11 +
+ i6 & i9
+o17.oe = vcc
+
+o18 = /i1 +
+ /i3 +
+ /i5 +
+ /i7 +
+ /i9 & /i19 +
+ /i11 +
+ i1 & i7 & i11 +
+ i3 & i5 & i9
+o18.oe = vcc
+
diff --git a/regtests/jedutil/baseline/ampal18p8/pal12l6-as-ampal18p8.txt b/regtests/jedutil/baseline/ampal18p8/pal12l6-as-ampal18p8.txt
new file mode 100644
index 00000000000..31e39086292
--- /dev/null
+++ b/regtests/jedutil/baseline/ampal18p8/pal12l6-as-ampal18p8.txt
@@ -0,0 +1,75 @@
+Inputs:
+
+1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19
+
+Outputs:
+
+13 (Combinatorial, Output feedback output, Active low)
+14 (Combinatorial, Output feedback output, Active low)
+15 (Combinatorial, Output feedback output, Active low)
+16 (Combinatorial, Output feedback output, Active low)
+17 (Combinatorial, Output feedback output, Active low)
+18 (Combinatorial, Output feedback output, Active low)
+
+Equations:
+
+/o13 = /i8 +
+ /i11 +
+ /i9 +
+ /i3 & /i6 +
+ /i1 & /i7 +
+ /i2 +
+ /i4 & /i12 +
+ /i5
+o13.oe = vcc
+
+/o14 = /i3 & /i9 & i19 +
+ /i6 +
+ /i2 +
+ i4 +
+ /i8 & i11 +
+ i7 +
+ i5 & /i11 +
+ /i1
+o14.oe = vcc
+
+/o15 = i4 +
+ i1 & /i3 +
+ i2 & i9 +
+ i5 +
+ i1 & i7 +
+ /i3 +
+ /i8 +
+ /i1
+o15.oe = vcc
+
+/o16 = i6 +
+ /i2 & /i9 +
+ i3 & i11 +
+ /i8 +
+ i6 & i8 +
+ /i1 +
+ /i5 & i7 & i8 +
+ /i7 & /i8 & i12
+o16.oe = vcc
+
+/o17 = i3 & i4 +
+ /i5 +
+ /i9 +
+ /i1 & /i11 +
+ i7 +
+ i2 & i9 & /i19 +
+ i6 & i9 +
+ /i8
+o17.oe = vcc
+
+/o18 = /i9 +
+ i3 & i5 & i9 +
+ /i7 +
+ /i11 +
+ /i1 +
+ /i3 +
+ /i5 +
+ i1 & i7 & i11
+o18.oe = vcc
+
diff --git a/regtests/jedutil/baseline/ampal18p8/pal14h4-as-ampal18p8.txt b/regtests/jedutil/baseline/ampal18p8/pal14h4-as-ampal18p8.txt
new file mode 100644
index 00000000000..4c7f55a1dba
--- /dev/null
+++ b/regtests/jedutil/baseline/ampal18p8/pal14h4-as-ampal18p8.txt
@@ -0,0 +1,53 @@
+Inputs:
+
+1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19
+
+Outputs:
+
+14 (Combinatorial, Output feedback output, Active high)
+15 (Combinatorial, Output feedback output, Active high)
+16 (Combinatorial, Output feedback output, Active high)
+17 (Combinatorial, Output feedback output, Active high)
+
+Equations:
+
+o14 = i4 +
+ /i8 & i11 +
+ /i12 +
+ /i2 +
+ i5 & /i11 +
+ i7 & i12 +
+ /i3 & /i9 +
+ /i1
+o14.oe = vcc
+
+o15 = i5 +
+ /i13 +
+ i1 & i7 +
+ /i3 +
+ /i3 & i13 +
+ i2 & i9 +
+ /i8 +
+ i4
+o15.oe = vcc
+
+o16 = i6 +
+ i3 & i11 +
+ i6 & i18 +
+ /i1 +
+ /i18 +
+ /i7 & /i8 +
+ /i2 & /i9 +
+ /i5 & i7 & i8
+o16.oe = vcc
+
+o17 = i7 +
+ i2 & i19 +
+ i3 & i4 +
+ /i5 +
+ /i9 +
+ /i19 +
+ /i1 & /i11 +
+ i6 & i9
+o17.oe = vcc
+
diff --git a/regtests/jedutil/baseline/ampal18p8/pal14l4-as-ampal18p8.txt b/regtests/jedutil/baseline/ampal18p8/pal14l4-as-ampal18p8.txt
new file mode 100644
index 00000000000..967c5f1702d
--- /dev/null
+++ b/regtests/jedutil/baseline/ampal18p8/pal14l4-as-ampal18p8.txt
@@ -0,0 +1,53 @@
+Inputs:
+
+1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19
+
+Outputs:
+
+14 (Combinatorial, Output feedback output, Active low)
+15 (Combinatorial, Output feedback output, Active low)
+16 (Combinatorial, Output feedback output, Active low)
+17 (Combinatorial, Output feedback output, Active low)
+
+Equations:
+
+/o14 = /i8 & i11 +
+ i4 +
+ /i12 +
+ i5 & /i11 +
+ i1 +
+ i7 & i12 +
+ /i3 & /i9 +
+ /i2
+o14.oe = vcc
+
+/o15 = i1 & i7 +
+ /i8 +
+ i5 +
+ /i13 +
+ /i3 +
+ i2 & i9 +
+ i4 +
+ /i3 & i13
+o15.oe = vcc
+
+/o16 = /i18 +
+ i3 & i11 +
+ i6 +
+ i6 & i18 +
+ /i1 +
+ /i5 & i7 & i8 +
+ /i2 & /i9 +
+ /i7 & /i8
+o16.oe = vcc
+
+/o17 = i2 & i19 +
+ /i9 +
+ /i19 +
+ i3 & i4 +
+ i6 & i9 +
+ /i5 +
+ /i1 & /i11 +
+ i7
+o17.oe = vcc
+
diff --git a/regtests/jedutil/baseline/ampal18p8/pal16h2-as-ampal18p8.txt b/regtests/jedutil/baseline/ampal18p8/pal16h2-as-ampal18p8.txt
new file mode 100644
index 00000000000..358dc093584
--- /dev/null
+++ b/regtests/jedutil/baseline/ampal18p8/pal16h2-as-ampal18p8.txt
@@ -0,0 +1,31 @@
+Inputs:
+
+1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19
+
+Outputs:
+
+15 (Combinatorial, Output feedback output, Active high)
+16 (Combinatorial, Output feedback output, Active high)
+
+Equations:
+
+o15 = i5 +
+ /i13 & /i14 +
+ i1 & i7 +
+ /i3 & i14 +
+ /i3 & i13 +
+ i2 & i9 +
+ /i8 +
+ i4
+o15.oe = vcc
+
+o16 = i6 +
+ i3 & i11 +
+ i6 & i18 +
+ /i1 & /i17 +
+ /i18 +
+ /i7 & /i8 +
+ /i2 & /i9 +
+ /i5 & i7 & i8 & i17
+o16.oe = vcc
+
diff --git a/regtests/jedutil/baseline/ampal18p8/pal16l2-as-ampal18p8.txt b/regtests/jedutil/baseline/ampal18p8/pal16l2-as-ampal18p8.txt
new file mode 100644
index 00000000000..615dda7cdb6
--- /dev/null
+++ b/regtests/jedutil/baseline/ampal18p8/pal16l2-as-ampal18p8.txt
@@ -0,0 +1,31 @@
+Inputs:
+
+1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19
+
+Outputs:
+
+15 (Combinatorial, Output feedback output, Active low)
+16 (Combinatorial, Output feedback output, Active low)
+
+Equations:
+
+/o15 = i5 & /i11 +
+ /i3 & i14 +
+ /i3 & i13 +
+ /i13 & /i14 +
+ i1 & i7 & i12 +
+ /i8 & i18 +
+ i2 & i9 +
+ i4 & i17 & /i19
+o15.oe = vcc
+
+/o16 = /i2 & /i9 & i19 +
+ i3 & i11 & /i18 +
+ /i5 & i7 & i8 & i17 +
+ i6 & i18 +
+ /i1 & i14 & /i17 +
+ i13 & /i18 +
+ /i7 & /i8 & /i12 +
+ i6
+o16.oe = vcc
+
diff --git a/regtests/jedutil/baseline/ampal18p8/pal16l8-as-ampal18p8.txt b/regtests/jedutil/baseline/ampal18p8/pal16l8-as-ampal18p8.txt
new file mode 100644
index 00000000000..5608bdc0ccc
--- /dev/null
+++ b/regtests/jedutil/baseline/ampal18p8/pal16l8-as-ampal18p8.txt
@@ -0,0 +1,89 @@
+Inputs:
+
+1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19
+
+Outputs:
+
+12 (Combinatorial, Output feedback output, Active high)
+13 (Combinatorial, Output feedback output, Active low)
+14 (Combinatorial, Output feedback output, Active low)
+15 (Combinatorial, Output feedback output, Active low)
+16 (Combinatorial, Output feedback output, Active low)
+17 (Combinatorial, Output feedback output, Active low)
+18 (Combinatorial, Output feedback output, Active high)
+19 (Combinatorial, Output feedback output, Active high)
+
+Equations:
+
+o12 = i1 & /i2 +
+ /i1 & i3 +
+ /i3 & i7 +
+ i4 & o13 +
+ i6 & /o13 +
+ i6 & /i7 +
+ /i6 & /i8 & /i9
+o12.oe = /i5
+
+/o13 = i3 +
+ o14 +
+ /i11 +
+ i2 +
+ /i4 & /o14 +
+ i8 & i9 +
+ i5
+o13.oe = vcc
+
+/o14 = i4 +
+ /i8 & i11 +
+ o15 +
+ /i2 +
+ i5 & /i11 +
+ i7 +
+ /i3 & /i9
+o14.oe = i1
+
+/o15 = i5 +
+ /o16 +
+ i1 & i7 +
+ /i3 +
+ /i3 & o16 +
+ i2 & i9 +
+ /i8
+o15.oe = vcc
+
+/o16 = i6 +
+ i3 & i11 +
+ i6 & o17 +
+ /i1 +
+ /o17 +
+ /i7 & /i8 +
+ /i2 & /i9
+o16.oe = /i11
+
+/o17 = i7 +
+ i2 & o18 +
+ i3 & i4 +
+ /i5 +
+ /i9 +
+ /o18 +
+ /i1 & /i11
+o17.oe = vcc
+
+o18 = i3 +
+ i8 +
+ i9 & i11 +
+ i1 +
+ /i4 +
+ i2 +
+ i5 & /i7
+o18.oe = vcc
+
+o19 = o18 +
+ o17 +
+ o16 +
+ o15 +
+ o14 +
+ o13 +
+ /o13 & /o14 & /o15 & /o16 & /o17 & /o18
+o19.oe = i3
+
diff --git a/regtests/jedutil/eqns/PALASM/ampal18p8/pal10h8-as-ampal18p8.pds b/regtests/jedutil/eqns/PALASM/ampal18p8/pal10h8-as-ampal18p8.pds
new file mode 100644
index 00000000000..3cf9c714392
--- /dev/null
+++ b/regtests/jedutil/eqns/PALASM/ampal18p8/pal10h8-as-ampal18p8.pds
@@ -0,0 +1,119 @@
+;PALASM Design Description
+
+;---------------------------------- Declaration Segment ------------
+TITLE PAL10H8 Test
+PATTERN A
+REVISION 1.0
+AUTHOR MAMEDev
+COMPANY MAMEDev
+DATE 08/25/13
+
+CHIP PAL10H8Test PAL18P8
+
+SIGNATURE #b0010011001100110011001100110011001100110011001100110011001100100
+
+;---------------------------------- PIN Declarations ---------------
+PIN 1 I1 COMBINATORIAL ;
+PIN 2 I2 COMBINATORIAL ;
+PIN 3 I3 COMBINATORIAL ;
+PIN 4 I4 COMBINATORIAL ;
+PIN 5 I5 COMBINATORIAL ;
+PIN 6 I6 COMBINATORIAL ;
+PIN 7 I7 COMBINATORIAL ;
+PIN 8 I8 COMBINATORIAL ;
+PIN 9 I9 COMBINATORIAL ;
+PIN 10 GND ;
+PIN 11 I11 COMBINATORIAL ;
+PIN 12 O12 COMBINATORIAL ;
+PIN 13 O13 COMBINATORIAL ;
+PIN 14 O14 COMBINATORIAL ;
+PIN 15 O15 COMBINATORIAL ;
+PIN 16 O16 COMBINATORIAL ;
+PIN 17 O17 COMBINATORIAL ;
+PIN 18 O18 COMBINATORIAL ;
+PIN 19 O19 COMBINATORIAL ;
+PIN 20 VCC ;
+
+;----------------------------------- Boolean Equation Segment ------
+EQUATIONS
+
+MINIMIZE_OFF
+
+O12 = I2 +
+ I1 * I3 +
+ I4 * /I11 +
+ I5 +
+ I6 +
+ /I1 * I7 +
+ I8 +
+ I9 * I11
+
+O13 = /I2 +
+ /I4 +
+ /I3 * /I6 +
+ /I8 +
+ /I11 +
+ /I9 +
+ /I1 * /I7 +
+ /I5
+
+O14 = I4 +
+ /I8 * I11 +
+ /I6 +
+ /I2 +
+ I5 * /I11 +
+ I7 +
+ /I3 * /I9 +
+ /I1
+
+O15 = I5 +
+ /I1 +
+ I1 * I7 +
+ /I3 +
+ I1 * /I3 +
+ I2 * I9 +
+ /I8 +
+ I4
+
+O16 = I6 +
+ I3 * I11 +
+ I6 * I8 +
+ /I1 +
+ /I8 +
+ /I7 * /I8 +
+ /I2 * /I9 +
+ /i5 * I7 * I8
+
+O17 = I7 +
+ I2 * I9 +
+ I3 * I4 +
+ /I5 +
+ /I9 +
+ /I8 +
+ /I1 * /I11 +
+ I6 * I9
+
+O18 = /I1 +
+ /I3 +
+ /I5 +
+ /I7 +
+ /I9 +
+ /I11 +
+ I1 * I7 * I11 +
+ I3 * I5 * I9
+
+O19 = I3 * I11 +
+ I1 +
+ /I1 * /I9 +
+ /I3 * /I5 * /I7 +
+ I2 +
+ I4 +
+ I6 +
+ I8
+
+MINIMIZE_ON
+
+;----------------------------------- Simulation Segment ------------
+SIMULATION
+
+;-------------------------------------------------------------------
diff --git a/regtests/jedutil/eqns/PALASM/ampal18p8/pal10l8-as-ampal18p8.pds b/regtests/jedutil/eqns/PALASM/ampal18p8/pal10l8-as-ampal18p8.pds
new file mode 100644
index 00000000000..4841fd124fe
--- /dev/null
+++ b/regtests/jedutil/eqns/PALASM/ampal18p8/pal10l8-as-ampal18p8.pds
@@ -0,0 +1,119 @@
+;PALASM Design Description
+
+;---------------------------------- Declaration Segment ------------
+TITLE PAL10L8 Test
+PATTERN A
+REVISION 1.0
+AUTHOR MAMEDev
+COMPANY MAMEDev
+DATE 08/25/13
+
+CHIP PAL10L8Test PAL18P8
+
+SIGNATURE #b0010011001100110011001100110011001100110011001100110011001100100
+
+;---------------------------------- PIN Declarations ---------------
+PIN 1 I1 COMBINATORIAL ;
+PIN 2 I2 COMBINATORIAL ;
+PIN 3 I3 COMBINATORIAL ;
+PIN 4 I4 COMBINATORIAL ;
+PIN 5 I5 COMBINATORIAL ;
+PIN 6 I6 COMBINATORIAL ;
+PIN 7 I7 COMBINATORIAL ;
+PIN 8 I8 COMBINATORIAL ;
+PIN 9 I9 COMBINATORIAL ;
+PIN 10 GND ;
+PIN 11 I11 COMBINATORIAL ;
+PIN 12 O12 COMBINATORIAL ;
+PIN 13 O13 COMBINATORIAL ;
+PIN 14 O14 COMBINATORIAL ;
+PIN 15 O15 COMBINATORIAL ;
+PIN 16 O16 COMBINATORIAL ;
+PIN 17 O17 COMBINATORIAL ;
+PIN 18 O18 COMBINATORIAL ;
+PIN 19 O19 COMBINATORIAL ;
+PIN 20 VCC ;
+
+;----------------------------------- Boolean Equation Segment ------
+EQUATIONS
+
+MINIMIZE_OFF
+
+/O12 = /I1 * I7 +
+ I8 +
+ I9 * I11 +
+ I2 +
+ I1 * I3 +
+ I5 +
+ I4 * /I11 +
+ I6
+
+/O13 = /I8 +
+ /I11 +
+ /I9 +
+ /I3 * /I6 +
+ /I1 * /I7 +
+ /I2 +
+ /I4 +
+ /I5
+
+/O14 = /I3 * /I9 +
+ /I6 +
+ /I2 +
+ I4 +
+ /I8 * I11 +
+ I7 +
+ I5 * /I11 +
+ /I1
+
+/O15 = I4 +
+ I1 * /I3 +
+ I2 * I9 +
+ I5 +
+ I1 * I7 +
+ /I3 +
+ /I8 +
+ /I1
+
+/O16 = I6 +
+ /I2 * /I9 +
+ I3 * I11 +
+ /I8 +
+ I6 * I8 +
+ /I1 +
+ /i5 * I7 * I8 +
+ /I7 * /I8
+
+/O17 = I3 * I4 +
+ /I5 +
+ /I9 +
+ /I1 * /I11 +
+ I7 +
+ I2 * I9 +
+ I6 * I9 +
+ /I8
+
+/O18 = /I9 +
+ I3 * I5 * I9 +
+ /I7 +
+ /I11 +
+ /I1 +
+ /I3 +
+ /I5 +
+ I1 * I7 * I11
+
+/O19 = /I3 * /I5 * /I7 +
+ I2 +
+ I8 +
+ I3 * I11 +
+ I1 +
+ I4 +
+ I6 +
+ /I1 * /I9
+
+MINIMIZE_ON
+
+;----------------------------------- Simulation Segment ------------
+SIMULATION
+
+;-------------------------------------------------------------------
diff --git a/regtests/jedutil/eqns/PALASM/ampal18p8/pal12h6-as-ampal18p8.pds b/regtests/jedutil/eqns/PALASM/ampal18p8/pal12h6-as-ampal18p8.pds
new file mode 100644
index 00000000000..ebe77ff8db4
--- /dev/null
+++ b/regtests/jedutil/eqns/PALASM/ampal18p8/pal12h6-as-ampal18p8.pds
@@ -0,0 +1,101 @@
+;PALASM Design Description
+
+;---------------------------------- Declaration Segment ------------
+TITLE PAL12H6 Test
+PATTERN A
+REVISION 1.0
+AUTHOR MAMEDev
+COMPANY MAMEDev
+DATE 08/25/13
+
+CHIP PAL12H6Test PAL18P8
+
+SIGNATURE #b0010011001100110011001100110011001100110011001100110011001100100
+
+;---------------------------------- PIN Declarations ---------------
+PIN 1 I1 COMBINATORIAL ;
+PIN 2 I2 COMBINATORIAL ;
+PIN 3 I3 COMBINATORIAL ;
+PIN 4 I4 COMBINATORIAL ;
+PIN 5 I5 COMBINATORIAL ;
+PIN 6 I6 COMBINATORIAL ;
+PIN 7 I7 COMBINATORIAL ;
+PIN 8 I8 COMBINATORIAL ;
+PIN 9 I9 COMBINATORIAL ;
+PIN 10 GND ;
+PIN 11 I11 COMBINATORIAL ;
+PIN 12 I12 COMBINATORIAL ;
+PIN 13 O13 COMBINATORIAL ;
+PIN 14 O14 COMBINATORIAL ;
+PIN 15 O15 COMBINATORIAL ;
+PIN 16 O16 COMBINATORIAL ;
+PIN 17 O17 COMBINATORIAL ;
+PIN 18 O18 COMBINATORIAL ;
+PIN 19 I19 COMBINATORIAL ;
+PIN 20 VCC ;
+
+;----------------------------------- Boolean Equation Segment ------
+EQUATIONS
+
+MINIMIZE_OFF
+
+O13 = /I2 +
+ /I4 +
+ /I3 * /I6 +
+ /I8 +
+ /I11 +
+ /I9 +
+ /I1 * /I7 +
+ /I5
+
+O14 = I4 +
+ /I8 * I11 +
+ /I6 +
+ /I2 +
+ I5 * /I11 +
+ I7 +
+ /I3 * /I9 +
+ /I1 * /I12
+
+O15 = I5 * I19 +
+ /I1 +
+ I1 * I7 +
+ /I3 +
+ I1 * /I3 +
+ I2 * I9 +
+ /I8 +
+ I4
+
+O16 = I6 +
+ I3 * I11 +
+ I6 * I8 +
+ /I1 +
+ /I8 +
+ /I7 * /I8 +
+ /I2 * /I9 +
+ /i5 * I7 * I8
+
+O17 = I7 * I12 +
+ I2 * I9 +
+ I3 * I4 +
+ /I5 +
+ /I9 +
+ /I8 +
+ /I1 * /I11 +
+ I6 * I9
+
+O18 = /I1 +
+ /I3 +
+ /I5 +
+ /I7 +
+ /I9 * /I19 +
+ /I11 +
+ I1 * I7 * I11 +
+ I3 * I5 * I9
+
+MINIMIZE_ON
+
+;----------------------------------- Simulation Segment ------------
+SIMULATION
+
+;-------------------------------------------------------------------
diff --git a/regtests/jedutil/eqns/PALASM/ampal18p8/pal12l6-as-ampal18p8.pds b/regtests/jedutil/eqns/PALASM/ampal18p8/pal12l6-as-ampal18p8.pds
new file mode 100644
index 00000000000..3568dd79538
--- /dev/null
+++ b/regtests/jedutil/eqns/PALASM/ampal18p8/pal12l6-as-ampal18p8.pds
@@ -0,0 +1,101 @@
+;PALASM Design Description
+
+;---------------------------------- Declaration Segment ------------
+TITLE PAL12L6 Test
+PATTERN A
+REVISION 1.0
+AUTHOR MAMEDev
+COMPANY MAMEDev
+DATE 08/25/13
+
+CHIP PAL12L6Test PAL18P8
+
+SIGNATURE #b0010011001100110011001100110011001100110011001100110011001100100
+
+;---------------------------------- PIN Declarations ---------------
+PIN 1 I1 COMBINATORIAL ;
+PIN 2 I2 COMBINATORIAL ;
+PIN 3 I3 COMBINATORIAL ;
+PIN 4 I4 COMBINATORIAL ;
+PIN 5 I5 COMBINATORIAL ;
+PIN 6 I6 COMBINATORIAL ;
+PIN 7 I7 COMBINATORIAL ;
+PIN 8 I8 COMBINATORIAL ;
+PIN 9 I9 COMBINATORIAL ;
+PIN 10 GND ;
+PIN 11 I11 COMBINATORIAL ;
+PIN 12 I12 COMBINATORIAL ;
+PIN 13 O13 COMBINATORIAL ;
+PIN 14 O14 COMBINATORIAL ;
+PIN 15 O15 COMBINATORIAL ;
+PIN 16 O16 COMBINATORIAL ;
+PIN 17 O17 COMBINATORIAL ;
+PIN 18 O18 COMBINATORIAL ;
+PIN 19 I19 COMBINATORIAL ;
+PIN 20 VCC ;
+
+;----------------------------------- Boolean Equation Segment ------
+EQUATIONS
+
+MINIMIZE_OFF
+
+/O13 = /I8 +
+ /I11 +
+ /I9 +
+ /I3 * /I6 +
+ /I1 * /I7 +
+ /I2 +
+ /I4 * /I12 +
+ /I5
+
+/O14 = /I3 * /I9 * I19 +
+ /I6 +
+ /I2 +
+ I4 +
+ /I8 * I11 +
+ I7 +
+ I5 * /I11 +
+ /I1
+
+/O15 = I4 +
+ I1 * /I3 +
+ I2 * I9 +
+ I5 +
+ I1 * I7 +
+ /I3 +
+ /I8 +
+ /I1
+
+/O16 = I6 +
+ /I2 * /I9 +
+ I3 * I11 +
+ /I8 +
+ I6 * I8 +
+ /I1 +
+ /i5 * I7 * I8 +
+ /I7 * /I8 * I12
+
+/O17 = I3 * I4 +
+ /I5 +
+ /I9 +
+ /I1 * /I11 +
+ I7 +
+ I2 * I9 * /I19 +
+ I6 * I9 +
+ /I8
+
+/O18 = /I9 +
+ I3 * I5 * I9 +
+ /I7 +
+ /I11 +
+ /I1 +
+ /I3 +
+ /I5 +
+ I1 * I7 * I11
+
+MINIMIZE_ON
+
+;----------------------------------- Simulation Segment ------------
+SIMULATION
+
+;-------------------------------------------------------------------
diff --git a/regtests/jedutil/eqns/PALASM/ampal18p8/pal14h4-as-ampal18p8.pds b/regtests/jedutil/eqns/PALASM/ampal18p8/pal14h4-as-ampal18p8.pds
new file mode 100644
index 00000000000..1da96c947de
--- /dev/null
+++ b/regtests/jedutil/eqns/PALASM/ampal18p8/pal14h4-as-ampal18p8.pds
@@ -0,0 +1,83 @@
+;PALASM Design Description
+
+;---------------------------------- Declaration Segment ------------
+TITLE PAL14H4 Test
+PATTERN A
+REVISION 1.0
+AUTHOR MAMEDev
+COMPANY MAMEDev
+DATE 08/25/13
+
+CHIP PAL14H4Test PAL18P8
+
+SIGNATURE #b0010011001100110011001100110011001100110011001100110011001100100
+
+;---------------------------------- PIN Declarations ---------------
+PIN 1 I1 COMBINATORIAL ;
+PIN 2 I2 COMBINATORIAL ;
+PIN 3 I3 COMBINATORIAL ;
+PIN 4 I4 COMBINATORIAL ;
+PIN 5 I5 COMBINATORIAL ;
+PIN 6 I6 COMBINATORIAL ;
+PIN 7 I7 COMBINATORIAL ;
+PIN 8 I8 COMBINATORIAL ;
+PIN 9 I9 COMBINATORIAL ;
+PIN 10 GND ;
+PIN 11 I11 COMBINATORIAL ;
+PIN 12 I12 COMBINATORIAL ;
+PIN 13 I13 COMBINATORIAL ;
+PIN 14 O14 COMBINATORIAL ;
+PIN 15 O15 COMBINATORIAL ;
+PIN 16 O16 COMBINATORIAL ;
+PIN 17 O17 COMBINATORIAL ;
+PIN 18 I18 COMBINATORIAL ;
+PIN 19 I19 COMBINATORIAL ;
+PIN 20 VCC ;
+
+;----------------------------------- Boolean Equation Segment ------
+EQUATIONS
+
+MINIMIZE_OFF
+
+O14 = I4 +
+ /I8 * I11 +
+ /I12 +
+ /I2 +
+ I5 * /I11 +
+ I7 * I12 +
+ /I3 * /I9 +
+ /I1
+
+O15 = I5 +
+ /I13 +
+ I1 * I7 +
+ /I3 +
+ /I3 * I13 +
+ I2 * I9 +
+ /I8 +
+ I4
+
+O16 = I6 +
+ I3 * I11 +
+ I6 * I18 +
+ /I1 +
+ /I18 +
+ /I7 * /I8 +
+ /I2 * /I9 +
+ /i5 * I7 * I8
+
+O17 = I7 +
+ I2 * I19 +
+ I3 * I4 +
+ /I5 +
+ /I9 +
+ /I19 +
+ /I1 * /I11 +
+ I6 * I9
+
+MINIMIZE_ON
+
+;----------------------------------- Simulation Segment ------------
+SIMULATION
+
+;-------------------------------------------------------------------
diff --git a/regtests/jedutil/eqns/PALASM/ampal18p8/pal14l4-as-ampal18p8.pds b/regtests/jedutil/eqns/PALASM/ampal18p8/pal14l4-as-ampal18p8.pds
new file mode 100644
index 00000000000..a2857768646
--- /dev/null
+++ b/regtests/jedutil/eqns/PALASM/ampal18p8/pal14l4-as-ampal18p8.pds
@@ -0,0 +1,83 @@
+;PALASM Design Description
+
+;---------------------------------- Declaration Segment ------------
+TITLE PAL14L4 Test
+PATTERN A
+REVISION 1.0
+AUTHOR MAMEDev
+COMPANY MAMEDev
+DATE 08/25/13
+
+CHIP PAL14L4Test PAL18P8
+
+SIGNATURE #b0010011001100110011001100110011001100110011001100110011001100100
+
+;---------------------------------- PIN Declarations ---------------
+PIN 1 I1 COMBINATORIAL ;
+PIN 2 I2 COMBINATORIAL ;
+PIN 3 I3 COMBINATORIAL ;
+PIN 4 I4 COMBINATORIAL ;
+PIN 5 I5 COMBINATORIAL ;
+PIN 6 I6 COMBINATORIAL ;
+PIN 7 I7 COMBINATORIAL ;
+PIN 8 I8 COMBINATORIAL ;
+PIN 9 I9 COMBINATORIAL ;
+PIN 10 GND ;
+PIN 11 I11 COMBINATORIAL ;
+PIN 12 I12 COMBINATORIAL ;
+PIN 13 I13 COMBINATORIAL ;
+PIN 14 O14 COMBINATORIAL ;
+PIN 15 O15 COMBINATORIAL ;
+PIN 16 O16 COMBINATORIAL ;
+PIN 17 O17 COMBINATORIAL ;
+PIN 18 I18 COMBINATORIAL ;
+PIN 19 I19 COMBINATORIAL ;
+PIN 20 VCC ;
+
+;----------------------------------- Boolean Equation Segment ------
+EQUATIONS
+
+MINIMIZE_OFF
+
+/O14 = /I8 * I11 +
+ I4 +
+ /I12 +
+ I5 * /I11 +
+ I1 +
+ I7 * I12 +
+ /I3 * /I9 +
+ /I2
+
+/O15 = I1 * I7 +
+ /I8 +
+ I5 +
+ /I13 +
+ /I3 +
+ I2 * I9 +
+ I4 +
+ /I3 * I13
+
+/O16 = /I18 +
+ I3 * I11 +
+ I6 +
+ I6 * I18 +
+ /I1 +
+ /i5 * I7 * I8 +
+ /I2 * /I9 +
+ /I7 * /I8
+
+/O17 = I2 * I19 +
+ /I9 +
+ /I19 +
+ I3 * I4 +
+ I6 * I9 +
+ /I5 +
+ /I1 * /I11 +
+ I7
+
+MINIMIZE_ON
+
+;----------------------------------- Simulation Segment ------------
+SIMULATION
+
+;-------------------------------------------------------------------
diff --git a/regtests/jedutil/eqns/PALASM/ampal18p8/pal16h2-as-ampal18p8.pds b/regtests/jedutil/eqns/PALASM/ampal18p8/pal16h2-as-ampal18p8.pds
new file mode 100644
index 00000000000..d9b7a4509a9
--- /dev/null
+++ b/regtests/jedutil/eqns/PALASM/ampal18p8/pal16h2-as-ampal18p8.pds
@@ -0,0 +1,65 @@
+;PALASM Design Description
+
+;---------------------------------- Declaration Segment ------------
+TITLE PAL16H2 Test
+PATTERN A
+REVISION 1.0
+AUTHOR MAMEDev
+COMPANY MAMEDev
+DATE 08/25/13
+
+CHIP PAL16H2Test PAL18P8
+
+SIGNATURE #b0010011001100110011001100110011001100110011001100110011001100100
+
+;---------------------------------- PIN Declarations ---------------
+PIN 1 I1 COMBINATORIAL ;
+PIN 2 I2 COMBINATORIAL ;
+PIN 3 I3 COMBINATORIAL ;
+PIN 4 I4 COMBINATORIAL ;
+PIN 5 I5 COMBINATORIAL ;
+PIN 6 I6 COMBINATORIAL ;
+PIN 7 I7 COMBINATORIAL ;
+PIN 8 I8 COMBINATORIAL ;
+PIN 9 I9 COMBINATORIAL ;
+PIN 10 GND ;
+PIN 11 I11 COMBINATORIAL ;
+PIN 12 I12 COMBINATORIAL ;
+PIN 13 I13 COMBINATORIAL ;
+PIN 14 I14 COMBINATORIAL ;
+PIN 15 O15 COMBINATORIAL ;
+PIN 16 O16 COMBINATORIAL ;
+PIN 17 I17 COMBINATORIAL ;
+PIN 18 I18 COMBINATORIAL ;
+PIN 19 I19 COMBINATORIAL ;
+PIN 20 VCC ;
+
+;----------------------------------- Boolean Equation Segment ------
+EQUATIONS
+
+MINIMIZE_OFF
+
+O15 = I5 +
+ /I13 * /I14 +
+ I1 * I7 +
+ /I3 * I14 +
+ /I3 * I13 +
+ I2 * I9 +
+ /I8 +
+ I4
+
+O16 = I6 +
+ I3 * I11 +
+ I6 * I18 +
+ /I1 * /I17 +
+ /I18 +
+ /I7 * /I8 +
+ /I2 * /I9 +
+ /i5 * I7 * I8 * I17
+
+MINIMIZE_ON
+
+;----------------------------------- Simulation Segment ------------
+SIMULATION
+
+;-------------------------------------------------------------------
diff --git a/regtests/jedutil/eqns/PALASM/ampal18p8/pal16l2-as-ampal18p8.pds b/regtests/jedutil/eqns/PALASM/ampal18p8/pal16l2-as-ampal18p8.pds
new file mode 100644
index 00000000000..3b7fd87a2c9
--- /dev/null
+++ b/regtests/jedutil/eqns/PALASM/ampal18p8/pal16l2-as-ampal18p8.pds
@@ -0,0 +1,65 @@
+;PALASM Design Description
+
+;---------------------------------- Declaration Segment ------------
+TITLE PAL16L2 Test
+PATTERN A
+REVISION 1.0
+AUTHOR MAMEDev
+COMPANY MAMEDev
+DATE 08/25/13
+
+CHIP PAL16L2Test PAL18P8
+
+SIGNATURE #b0010011001100110011001100110011001100110011001100110011001100100
+
+;---------------------------------- PIN Declarations ---------------
+PIN 1 I1 COMBINATORIAL ;
+PIN 2 I2 COMBINATORIAL ;
+PIN 3 I3 COMBINATORIAL ;
+PIN 4 I4 COMBINATORIAL ;
+PIN 5 I5 COMBINATORIAL ;
+PIN 6 I6 COMBINATORIAL ;
+PIN 7 I7 COMBINATORIAL ;
+PIN 8 I8 COMBINATORIAL ;
+PIN 9 I9 COMBINATORIAL ;
+PIN 10 GND ;
+PIN 11 I11 COMBINATORIAL ;
+PIN 12 I12 COMBINATORIAL ;
+PIN 13 I13 COMBINATORIAL ;
+PIN 14 I14 COMBINATORIAL ;
+PIN 15 O15 COMBINATORIAL ;
+PIN 16 O16 COMBINATORIAL ;
+PIN 17 I17 COMBINATORIAL ;
+PIN 18 I18 COMBINATORIAL ;
+PIN 19 I19 COMBINATORIAL ;
+PIN 20 VCC ;
+
+;----------------------------------- Boolean Equation Segment ------
+EQUATIONS
+
+MINIMIZE_OFF
+
+/O15 = I5 * /I11 +
+ /I3 * I14 +
+ /I3 * I13 +
+ /I13 * /I14 +
+ I1 * I7 * I12 +
+ /I8 * I18 +
+ I2 * I9 +
+ I4 * I17 * /I19
+
+/O16 = /I2 * /I9 * I19 +
+ I3 * I11 * /I18 +
+ /i5 * I7 * I8 * I17 +
+ I6 * I18 +
+ /I1 * I14 * /I17 +
+ I13 * /I18 +
+ /I7 * /I8 * /I12 +
+ I6
+
+MINIMIZE_ON
+
+;----------------------------------- Simulation Segment ------------
+SIMULATION
+
+;-------------------------------------------------------------------
diff --git a/regtests/jedutil/eqns/PALASM/ampal18p8/pal16l8-as-ampal18p8.pds b/regtests/jedutil/eqns/PALASM/ampal18p8/pal16l8-as-ampal18p8.pds
new file mode 100644
index 00000000000..ff01258418b
--- /dev/null
+++ b/regtests/jedutil/eqns/PALASM/ampal18p8/pal16l8-as-ampal18p8.pds
@@ -0,0 +1,119 @@
+;PALASM Design Description
+
+;---------------------------------- Declaration Segment ------------
+TITLE PAL16L8 Test 1
+PATTERN A
+REVISION 1.0
+AUTHOR MAMEDev
+COMPANY MAMEDev
+DATE 08/25/13
+
+CHIP PAL16L8 PAL18P8
+
+SIGNATURE #b1110011001100110011001100110011001100110011001100110011001100110
+
+;---------------------------------- PIN Declarations ---------------
+PIN 1 I1 COMBINATORIAL ;
+PIN 2 I2 COMBINATORIAL ;
+PIN 3 I3 COMBINATORIAL ;
+PIN 4 I4 COMBINATORIAL ;
+PIN 5 I5 COMBINATORIAL ;
+PIN 6 I6 COMBINATORIAL ;
+PIN 7 I7 COMBINATORIAL ;
+PIN 8 I8 COMBINATORIAL ;
+PIN 9 I9 COMBINATORIAL ;
+PIN 10 GND ;
+PIN 11 I11 COMBINATORIAL ;
+PIN 12 O12 COMBINATORIAL ;
+PIN 13 O13 COMBINATORIAL ;
+PIN 14 O14 COMBINATORIAL ;
+PIN 15 O15 COMBINATORIAL ;
+PIN 16 O16 COMBINATORIAL ;
+PIN 17 O17 COMBINATORIAL ;
+PIN 18 O18 COMBINATORIAL ;
+PIN 19 O19 COMBINATORIAL ;
+PIN 20 VCC ;
+
+;----------------------------------- Boolean Equation Segment ------
+EQUATIONS
+
+MINIMIZE_OFF
+
+O12 = I1 * /I2 +
+ /I1 * I3 +
+ /I3 * I7 +
+ I4 * O13 +
+ I6 * /O13 +
+ I6 * /I7 +
+ /I6 * /I8 * /I9
+O12.TRST = /I5
+
+/O13 = I3 +
+ O14 +
+ /I11 +
+ I2 +
+ /I4 * /O14 +
+ I8 * I9 +
+ I5
+O13.TRST = VCC
+
+/O14 = I4 +
+ /I8 * I11 +
+ O15 +
+ /I2 +
+ I5 * /I11 +
+ I7 +
+ /I3 * /I9
+O14.TRST = I1
+
+/O15 = I5 +
+ /O16 +
+ I1 * I7 +
+ /I3 +
+ /I3 * O16 +
+ I2 * I9 +
+ /I8
+O15.TRST = VCC
+
+/O16 = I6 +
+ I3 * I11 +
+ I6 * O17 +
+ /I1 +
+ /O17 +
+ /I7 * /I8 +
+ /I2 * /I9
+O16.TRST = /I11
+
+/O17 = I7 +
+ I2 * O18 +
+ I3 * I4 +
+ /I5 +
+ /I9 +
+ /O18 +
+ /I1 * /I11
+O17.TRST = VCC
+
+O18 = I3 +
+ I8 +
+ I9 * I11 +
+ I1 +
+ /I4 +
+ I2 +
+ I5 * /I7
+O18.TRST = VCC
+
+O19 = O18 +
+ O17 +
+ O16 +
+ O15 +
+ O14 +
+ O13 +
+ /O13 * /O14 * /O15 * /O16 * /O17 * /O18
+O19.TRST = I3
+
+MINIMIZE_ON
+
+;----------------------------------- Simulation Segment ------------
+SIMULATION
+
+;-------------------------------------------------------------------
diff --git a/regtests/jedutil/jeds/ampal18p8/pal10h8-as-ampal18p8.jed b/regtests/jedutil/jeds/ampal18p8/pal10h8-as-ampal18p8.jed
new file mode 100644
index 00000000000..0fb38aa728c
--- /dev/null
+++ b/regtests/jedutil/jeds/ampal18p8/pal10h8-as-ampal18p8.jed
@@ -0,0 +1,90 @@
+
+PALASM4 PAL ASSEMBLER - MARKET RELEASE 1.5a (8-20-92)
+ (C) - COPYRIGHT ADVANCED MICRO DEVICES INC., 1992
+
+
+TITLE :PAL10H8 Test AUTHOR :MAMEDev
+PATTERN :A COMPANY:MAMEDev
+REVISION:1.0 DATE :08/25/13
+
+
+PAL18P8
+PAL10H8TEST*
+QP20*
+QF2600*
+G0*F0*
+L0000 111111111111111111111111111111111111*
+L0036 111101111111111111111111111111011111*
+L0072 110111111111111111111111111111111111*
+L0108 111011111111111111111111111110111111*
+L0144 111110111111101111111011111111111111*
+L0180 011111111111111111111111111111111111*
+L0216 111111110111111111111111111111111111*
+L0252 111111111111111101111111111111111111*
+L0288 111111111111111111111111011111111111*
+L0324 111111111111111111111111111111111111*
+L0360 111011111111111111111111111111111111*
+L0396 111110111111111111111111111111111111*
+L0432 111111111111101111111111111111111111*
+L0468 111111111111111111111011111111111111*
+L0504 111111111111111111111111111110111111*
+L0540 111111111111111111111111111111101111*
+L0576 110111111111111111110111111111011111*
+L0612 111101111111011111111111111101111111*
+L0648 111111111111111111111111111111111111*
+L0684 111111111111111111110111111111111111*
+L0720 011111111111111111111111111101111111*
+L0756 111101110111111111111111111111111111*
+L0792 111111111111101111111111111111111111*
+L0828 111111111111111111111111111110111111*
+L0864 111111111111111111111111101111111111*
+L0900 111011111111111111111111111111101111*
+L0936 111111111111111101111111111101111111*
+L0972 111111111111111111111111111111111111*
+L1008 111111111111111101111111111111111111*
+L1044 111101111111111111111111111111011111*
+L1080 111111111111111101111111011111111111*
+L1116 111011111111111111111111111111111111*
+L1152 111111111111111111111111101111111111*
+L1188 111111111111111111111011101111111111*
+L1224 101111111111111111111111111110111111*
+L1260 111111111111101111110111011111111111*
+L1296 111111111111111111111111111111111111*
+L1332 111111111111011111111111111111111111*
+L1368 111011111111111111111111111111111111*
+L1404 110111111111111111110111111111111111*
+L1440 111110111111111111111111111111111111*
+L1476 110110111111111111111111111111111111*
+L1512 011111111111111111111111111101111111*
+L1548 111111111111111111111111101111111111*
+L1584 111111110111111111111111111111111111*
+L1620 111111111111111111111111111111111111*
+L1656 111111110111111111111111111111111111*
+L1692 111111111111111111111111101111011111*
+L1728 111111111111111110111111111111111111*
+L1764 101111111111111111111111111111111111*
+L1800 111111111111011111111111111111101111*
+L1836 111111111111111111110111111111111111*
+L1872 111110111111111111111111111110111111*
+L1908 111011111111111111111111111111111111*
+L1944 111111111111111111111111111111111111*
+L1980 101111111111111111111111111111111111*
+L2016 111111111011111111111111111111111111*
+L2052 111110111111111110111111111111111111*
+L2088 111111111111111111111111101111111111*
+L2124 111111111111111111111111111111101111*
+L2160 111111111111111111111111111110111111*
+L2196 111011111111111111111011111111111111*
+L2232 111111111111101111111111111111111111*
+L2268 111111111111111111111111111111111111*
+L2304 011111111111111111111111111111111111*
+L2340 110101111111111111111111111111111111*
+L2376 111111110111111111111111111111101111*
+L2412 111111111111011111111111111111111111*
+L2448 111111111111111101111111111111111111*
+L2484 111011111111111111110111111111111111*
+L2520 111111111111111111111111011111111111*
+L2556 111111111111111111111111111101011111*
+L2592 11111111*
+C3B70*
+67FE
diff --git a/regtests/jedutil/jeds/ampal18p8/pal10l8-as-ampal18p8.jed b/regtests/jedutil/jeds/ampal18p8/pal10l8-as-ampal18p8.jed
new file mode 100644
index 00000000000..8c4757be5ad
--- /dev/null
+++ b/regtests/jedutil/jeds/ampal18p8/pal10l8-as-ampal18p8.jed
@@ -0,0 +1,90 @@
+
+PALASM4 PAL ASSEMBLER - MARKET RELEASE 1.5a (8-20-92)
+ (C) - COPYRIGHT ADVANCED MICRO DEVICES INC., 1992
+
+
+TITLE :PAL10L8 Test AUTHOR :MAMEDev
+PATTERN :A COMPANY:MAMEDev
+REVISION:1.0 DATE :08/25/13
+
+
+PAL18P8
+PAL10L8TEST*
+QP20*
+QF2600*
+G0*F0*
+L0000 111111111111111111111111111111111111*
+L0036 111110111111101111111011111111111111*
+L0072 011111111111111111111111111111111111*
+L0108 111111111111111111111111011111111111*
+L0144 111101111111111111111111111111011111*
+L0180 110111111111111111111111111111111111*
+L0216 111111110111111111111111111111111111*
+L0252 111111111111111101111111111111111111*
+L0288 111011111111111111111111111110111111*
+L0324 111111111111111111111111111111111111*
+L0360 111111111111111111111111111110111111*
+L0396 111101111111011111111111111101111111*
+L0432 111111111111111111111011111111111111*
+L0468 111111111111111111111111111111101111*
+L0504 111011111111111111111111111111111111*
+L0540 111110111111111111111111111111111111*
+L0576 111111111111101111111111111111111111*
+L0612 110111111111111111110111111111011111*
+L0648 111111111111111111111111111111111111*
+L0684 111101110111111111111111111111111111*
+L0720 111111111111101111111111111111111111*
+L0756 111111111111111111111111111110111111*
+L0792 111011111111111111111111111111101111*
+L0828 111111111111111111110111111111111111*
+L0864 011111111111111111111111111101111111*
+L0900 111111111111111101111111111101111111*
+L0936 111111111111111111111111101111111111*
+L0972 111111111111111111111111111111111111*
+L1008 111111111111111101111111111111111111*
+L1044 101111111111111111111111111110111111*
+L1080 111101111111111111111111111111011111*
+L1116 111111111111111111111111101111111111*
+L1152 111111111111111101111111011111111111*
+L1188 111011111111111111111111111111111111*
+L1224 111111111111101111110111011111111111*
+L1260 111111111111111111111011101111111111*
+L1296 111111111111111111111111111111111111*
+L1332 111111110111111111111111111111111111*
+L1368 110110111111111111111111111111111111*
+L1404 011111111111111111111111111101111111*
+L1440 111111111111011111111111111111111111*
+L1476 110111111111111111110111111111111111*
+L1512 111110111111111111111111111111111111*
+L1548 111111111111111111111111101111111111*
+L1584 111011111111111111111111111111111111*
+L1620 111111111111111111111111111111111111*
+L1656 111110111111111111111111111110111111*
+L1692 111111111111111110111111111111111111*
+L1728 101111111111111111111111111111111111*
+L1764 111111110111111111111111111111111111*
+L1800 111111111111111111111111101111011111*
+L1836 111111111111111111110111111111111111*
+L1872 111111111111011111111111111111101111*
+L1908 111011111111111111111111111111111111*
+L1944 111111111111111111111111111111111111*
+L1980 111111111111111111111111101111111111*
+L2016 111111111111111111111111111111101111*
+L2052 111111111111111111111111111110111111*
+L2088 111110111111111110111111111111111111*
+L2124 111011111111111111111011111111111111*
+L2160 101111111111111111111111111111111111*
+L2196 111111111011111111111111111111111111*
+L2232 111111111111101111111111111111111111*
+L2268 111111111111111111111111111111111111*
+L2304 111011111111111111110111111111111111*
+L2340 111111111111111111111111011111111111*
+L2376 111111111111111111111111111101011111*
+L2412 011111111111111111111111111111111111*
+L2448 110101111111111111111111111111111111*
+L2484 111111111111011111111111111111111111*
+L2520 111111110111111111111111111111101111*
+L2556 111111111111111101111111111111111111*
+L2592 00000000*
+C3981*
+67F3
diff --git a/regtests/jedutil/jeds/ampal18p8/pal12h6-as-ampal18p8.jed b/regtests/jedutil/jeds/ampal18p8/pal12h6-as-ampal18p8.jed
new file mode 100644
index 00000000000..0af9422206e
--- /dev/null
+++ b/regtests/jedutil/jeds/ampal18p8/pal12h6-as-ampal18p8.jed
@@ -0,0 +1,90 @@
+
+PALASM4 PAL ASSEMBLER - MARKET RELEASE 1.5a (8-20-92)
+ (C) - COPYRIGHT ADVANCED MICRO DEVICES INC., 1992
+
+
+TITLE :PAL12H6 Test AUTHOR :MAMEDev
+PATTERN :A COMPANY:MAMEDev
+REVISION:1.0 DATE :08/25/13
+
+
+PAL18P8
+PAL12H6TEST*
+QP20*
+QF2600*
+G0*F0*
+L0000 000000000000000000000000000000000000*
+L0036 000000000000000000000000000000000000*
+L0072 000000000000000000000000000000000000*
+L0108 000000000000000000000000000000000000*
+L0144 000000000000000000000000000000000000*
+L0180 000000000000000000000000000000000000*
+L0216 000000000000000000000000000000000000*
+L0252 000000000000000000000000000000000000*
+L0288 000000000000000000000000000000000000*
+L0324 111111111111111111111111111111111111*
+L0360 111011111111111111111111111111111111*
+L0396 111110111111111111111111111111111111*
+L0432 111111111111101111111111111111111111*
+L0468 111111111111111111111011111111111111*
+L0504 111111111111111111111111111110111011*
+L0540 111111111111111111111111111111101111*
+L0576 110111111111111111110111111111011111*
+L0612 111101111111011111111111111101111111*
+L0648 111111111111111111111111111111111111*
+L0684 111111111111111111110111111111111101*
+L0720 011111111111111111111111111101111111*
+L0756 111101110111111111111111111111111111*
+L0792 111111111111101111111111111111111111*
+L0828 111111111111111111111111111110111111*
+L0864 111111111111111111111111101111111111*
+L0900 111011111111111111111111111111101111*
+L0936 111111111111111101111111111101111111*
+L0972 111111111111111111111111111111111111*
+L1008 111111111111111101111111111111111111*
+L1044 111101111111111111111111111111011111*
+L1080 111111111111111101111111011111111111*
+L1116 111011111111111111111111111111111111*
+L1152 111111111111111111111111101111111111*
+L1188 111111111111111111111011101111111111*
+L1224 101111111111111111111111111110111111*
+L1260 111111111111101111110111011111111111*
+L1296 111111111111111111111111111111111111*
+L1332 111111111111011111111111111111110111*
+L1368 111011111111111111111111111111111111*
+L1404 110111111111111111110111111111111111*
+L1440 111110111111111111111111111111111111*
+L1476 110110111111111111111111111111111111*
+L1512 011111111111111111111111111101111111*
+L1548 111111111111111111111111101111111111*
+L1584 111111110111111111111111111111111111*
+L1620 111111111111111111111111111111111111*
+L1656 111111110111111111111111111111111111*
+L1692 111111111111111111111111101111011111*
+L1728 111111111111111110111111111111111111*
+L1764 101111111111111111111111111111111111*
+L1800 111111111111011111111111111111101111*
+L1836 111111111111111111110111111111111111*
+L1872 111110111111111111111111111110111111*
+L1908 111011111111111111111111111111111110*
+L1944 111111111111111111111111111111111111*
+L1980 101111111111111111111111111111111111*
+L2016 111111111011111111111111111111111111*
+L2052 111110111111111110111111111111111111*
+L2088 111111111111111111111111101111111111*
+L2124 111111111111111111111111111111101111*
+L2160 111111111111111111111111111110111111*
+L2196 111011111111111111111011111111111111*
+L2232 111111111111101111111111111111111111*
+L2268 000000000000000000000000000000000000*
+L2304 000000000000000000000000000000000000*
+L2340 000000000000000000000000000000000000*
+L2376 000000000000000000000000000000000000*
+L2412 000000000000000000000000000000000000*
+L2448 000000000000000000000000000000000000*
+L2484 000000000000000000000000000000000000*
+L2520 000000000000000000000000000000000000*
+L2556 000000000000000000000000000000000000*
+L2592 01111110*
+CEBC7*
+65AD
diff --git a/regtests/jedutil/jeds/ampal18p8/pal12l6-as-ampal18p8.jed b/regtests/jedutil/jeds/ampal18p8/pal12l6-as-ampal18p8.jed
new file mode 100644
index 00000000000..0e75276288c
--- /dev/null
+++ b/regtests/jedutil/jeds/ampal18p8/pal12l6-as-ampal18p8.jed
@@ -0,0 +1,90 @@
+
+PALASM4 PAL ASSEMBLER - MARKET RELEASE 1.5a (8-20-92)
+ (C) - COPYRIGHT ADVANCED MICRO DEVICES INC., 1992
+
+
+TITLE :PAL12L6 Test AUTHOR :MAMEDev
+PATTERN :A COMPANY:MAMEDev
+REVISION:1.0 DATE :08/25/13
+
+
+PAL18P8
+PAL12L6TEST*
+QP20*
+QF2600*
+G0*F0*
+L0000 000000000000000000000000000000000000*
+L0036 000000000000000000000000000000000000*
+L0072 000000000000000000000000000000000000*
+L0108 000000000000000000000000000000000000*
+L0144 000000000000000000000000000000000000*
+L0180 000000000000000000000000000000000000*
+L0216 000000000000000000000000000000000000*
+L0252 000000000000000000000000000000000000*
+L0288 000000000000000000000000000000000000*
+L0324 111111111111111111111111111111111111*
+L0360 111111111111111111111111111110111111*
+L0396 111101111111011111111111111101111111*
+L0432 111111111111111111111011111111111111*
+L0468 111111111111111111111111111111101111*
+L0504 111011111111111111111111111111111111*
+L0540 111110111111111111111111111111111111*
+L0576 111111111111101111111111111111111111*
+L0612 110111111111111111110111111111011111*
+L0648 111111111111111111111111111111111111*
+L0684 111101110111111111111111111111111111*
+L0720 111111111111101111111111111111111111*
+L0756 111111111111111111111111111110111111*
+L0792 111011111111111111111111111111101111*
+L0828 111111111111111111110111111111111111*
+L0864 011111111111111111111111111101111011*
+L0900 111111111111111101111111111101111111*
+L0936 111111111111111111111111101111111111*
+L0972 111111111111111111111111111111111111*
+L1008 111111111111111101111111111111111111*
+L1044 101111111111111111111111111110111111*
+L1080 111101111111111111111111111111011111*
+L1116 111111111111111111111111101111111111*
+L1152 111111111111111101111111011111111111*
+L1188 111011111111111111111111111111111111*
+L1224 111111111111101111110111011111111111*
+L1260 111111111111111111111011101111111101*
+L1296 111111111111111111111111111111111111*
+L1332 111111110111111111111111111111111111*
+L1368 110110111111111111111111111111111111*
+L1404 011111111111111111111111111101111111*
+L1440 111111111111011111111111111111111111*
+L1476 110111111111111111110111111111111111*
+L1512 111110111111111111111111111111111111*
+L1548 111111111111111111111111101111111111*
+L1584 111011111111111111111111111111111111*
+L1620 111111111111111111111111111111111111*
+L1656 111110111111111111111111111110110111*
+L1692 111111111111111110111111111111111111*
+L1728 101111111111111111111111111111111111*
+L1764 111111110111111111111111111111111111*
+L1800 111111111111111111111111101111011111*
+L1836 111111111111111111110111111111111111*
+L1872 111111111111011111111111111111101111*
+L1908 111011111111111111111111111111111111*
+L1944 111111111111111111111111111111111111*
+L1980 111111111111111111111111101111111111*
+L2016 111111111111111111111111111111101111*
+L2052 111111111111111111111111111110111111*
+L2088 111110111111111110111111111111111111*
+L2124 111011111111111111111011111111111111*
+L2160 101111111111111111111111111111111111*
+L2196 111111111011111111111111111111111110*
+L2232 111111111111101111111111111111111111*
+L2268 000000000000000000000000000000000000*
+L2304 000000000000000000000000000000000000*
+L2340 000000000000000000000000000000000000*
+L2376 000000000000000000000000000000000000*
+L2412 000000000000000000000000000000000000*
+L2448 000000000000000000000000000000000000*
+L2484 000000000000000000000000000000000000*
+L2520 000000000000000000000000000000000000*
+L2556 000000000000000000000000000000000000*
+L2592 00000000*
+CEA1D*
+65A5
diff --git a/regtests/jedutil/jeds/ampal18p8/pal14h4-as-ampal18p8.jed b/regtests/jedutil/jeds/ampal18p8/pal14h4-as-ampal18p8.jed
new file mode 100644
index 00000000000..4c12853a026
--- /dev/null
+++ b/regtests/jedutil/jeds/ampal18p8/pal14h4-as-ampal18p8.jed
@@ -0,0 +1,90 @@
+
+PALASM4 PAL ASSEMBLER - MARKET RELEASE 1.5a (8-20-92)
+ (C) - COPYRIGHT ADVANCED MICRO DEVICES INC., 1992
+
+
+TITLE :PAL14H4 Test AUTHOR :MAMEDev
+PATTERN :A COMPANY:MAMEDev
+REVISION:1.0 DATE :08/25/13
+
+
+PAL18P8
+PAL14H4TEST*
+QP20*
+QF2600*
+G0*F0*
+L0000 000000000000000000000000000000000000*
+L0036 000000000000000000000000000000000000*
+L0072 000000000000000000000000000000000000*
+L0108 000000000000000000000000000000000000*
+L0144 000000000000000000000000000000000000*
+L0180 000000000000000000000000000000000000*
+L0216 000000000000000000000000000000000000*
+L0252 000000000000000000000000000000000000*
+L0288 000000000000000000000000000000000000*
+L0324 000000000000000000000000000000000000*
+L0360 000000000000000000000000000000000000*
+L0396 000000000000000000000000000000000000*
+L0432 000000000000000000000000000000000000*
+L0468 000000000000000000000000000000000000*
+L0504 000000000000000000000000000000000000*
+L0540 000000000000000000000000000000000000*
+L0576 000000000000000000000000000000000000*
+L0612 000000000000000000000000000000000000*
+L0648 111111111111111111111111111111111111*
+L0684 111111111111111111110111111111111111*
+L0720 011111111111111111111111111111110111*
+L0756 111101110111111111111111111111111111*
+L0792 111111111111101111111111111111111111*
+L0828 111111111111111111111111111110111111*
+L0864 111111111111111111111111111111111011*
+L0900 111011111111111111111111111111101111*
+L0936 111111111111111101111111111101111111*
+L0972 111111111111111111111111111111111111*
+L1008 111111111111111101111111111111111111*
+L1044 111101111111111111111111111111011111*
+L1080 111111011111111101111111111111111111*
+L1116 111011111111111111111111111111111111*
+L1152 111111101111111111111111111111111111*
+L1188 111111111111111111111011101111111111*
+L1224 101111111111111111111111111110111111*
+L1260 111111111111101111110111011111111111*
+L1296 111111111111111111111111111111111111*
+L1332 111111111111011111111111111111111111*
+L1368 111111111111111111111111111011111111*
+L1404 110111111111111111110111111111111111*
+L1440 111110111111111111111111111111111111*
+L1476 111110111111111111111111110111111111*
+L1512 011111111111111111111111111101111111*
+L1548 111111111111111111111111101111111111*
+L1584 111111110111111111111111111111111111*
+L1620 111111111111111111111111111111111111*
+L1656 111111110111111111111111111111111111*
+L1692 111111111111111111111111101111011111*
+L1728 111111111111111111111111111111111110*
+L1764 101111111111111111111111111111111111*
+L1800 111111111111011111111111111111101111*
+L1836 111111111111111111110111111111111101*
+L1872 111110111111111111111111111110111111*
+L1908 111011111111111111111111111111111111*
+L1944 000000000000000000000000000000000000*
+L1980 000000000000000000000000000000000000*
+L2016 000000000000000000000000000000000000*
+L2052 000000000000000000000000000000000000*
+L2088 000000000000000000000000000000000000*
+L2124 000000000000000000000000000000000000*
+L2160 000000000000000000000000000000000000*
+L2196 000000000000000000000000000000000000*
+L2232 000000000000000000000000000000000000*
+L2268 000000000000000000000000000000000000*
+L2304 000000000000000000000000000000000000*
+L2340 000000000000000000000000000000000000*
+L2376 000000000000000000000000000000000000*
+L2412 000000000000000000000000000000000000*
+L2448 000000000000000000000000000000000000*
+L2484 000000000000000000000000000000000000*
+L2520 000000000000000000000000000000000000*
+L2556 000000000000000000000000000000000000*
+L2592 00111100*
+C9C6F*
+6333
diff --git a/regtests/jedutil/jeds/ampal18p8/pal14l4-as-ampal18p8.jed b/regtests/jedutil/jeds/ampal18p8/pal14l4-as-ampal18p8.jed
new file mode 100644
index 00000000000..26c645dcc77
--- /dev/null
+++ b/regtests/jedutil/jeds/ampal18p8/pal14l4-as-ampal18p8.jed
@@ -0,0 +1,90 @@
+
+PALASM4 PAL ASSEMBLER - MARKET RELEASE 1.5a (8-20-92)
+ (C) - COPYRIGHT ADVANCED MICRO DEVICES INC., 1992
+
+
+TITLE :PAL14L4 Test AUTHOR :MAMEDev
+PATTERN :A COMPANY:MAMEDev
+REVISION:1.0 DATE :08/25/13
+
+
+PAL18P8
+PAL14L4TEST*
+QP20*
+QF2600*
+G0*F0*
+L0000 000000000000000000000000000000000000*
+L0036 000000000000000000000000000000000000*
+L0072 000000000000000000000000000000000000*
+L0108 000000000000000000000000000000000000*
+L0144 000000000000000000000000000000000000*
+L0180 000000000000000000000000000000000000*
+L0216 000000000000000000000000000000000000*
+L0252 000000000000000000000000000000000000*
+L0288 000000000000000000000000000000000000*
+L0324 000000000000000000000000000000000000*
+L0360 000000000000000000000000000000000000*
+L0396 000000000000000000000000000000000000*
+L0432 000000000000000000000000000000000000*
+L0468 000000000000000000000000000000000000*
+L0504 000000000000000000000000000000000000*
+L0540 000000000000000000000000000000000000*
+L0576 000000000000000000000000000000000000*
+L0612 000000000000000000000000000000000000*
+L0648 111111111111111111111111111111111111*
+L0684 011111111111111111111111111111110111*
+L0720 111111111111111111111111111110111111*
+L0756 111111111111111111111111111111111011*
+L0792 111101110111111111111111111111111111*
+L0828 111111111111111101111111111101111111*
+L0864 111111111111101111111111111111111111*
+L0900 111011111111111111111111111111101111*
+L0936 111111111111111111110111111111111111*
+L0972 111111111111111111111111111111111111*
+L1008 111111101111111111111111111111111111*
+L1044 111101111111111111111111111111011111*
+L1080 111111111111111101111111111111111111*
+L1116 111111011111111101111111111111111111*
+L1152 111011111111111111111111111111111111*
+L1188 111111111111101111110111011111111111*
+L1224 101111111111111111111111111110111111*
+L1260 111111111111111111111011101111111111*
+L1296 111111111111111111111111111111111111*
+L1332 110111111111111111110111111111111111*
+L1368 111111111111111111111111101111111111*
+L1404 111111111111011111111111111111111111*
+L1440 111111111111111111111111111011111111*
+L1476 111110111111111111111111111111111111*
+L1512 011111111111111111111111111101111111*
+L1548 111111110111111111111111111111111111*
+L1584 111110111111111111111111110111111111*
+L1620 111111111111111111111111111111111111*
+L1656 111111111111111111111111101111011111*
+L1692 111111110111111111111111111111111111*
+L1728 111111111111111111111111111111111110*
+L1764 111111111111011111111111111111101111*
+L1800 110111111111111111111111111111111111*
+L1836 111111111111111111110111111111111101*
+L1872 111110111111111111111111111110111111*
+L1908 101111111111111111111111111111111111*
+L1944 000000000000000000000000000000000000*
+L1980 000000000000000000000000000000000000*
+L2016 000000000000000000000000000000000000*
+L2052 000000000000000000000000000000000000*
+L2088 000000000000000000000000000000000000*
+L2124 000000000000000000000000000000000000*
+L2160 000000000000000000000000000000000000*
+L2196 000000000000000000000000000000000000*
+L2232 000000000000000000000000000000000000*
+L2268 000000000000000000000000000000000000*
+L2304 000000000000000000000000000000000000*
+L2340 000000000000000000000000000000000000*
+L2376 000000000000000000000000000000000000*
+L2412 000000000000000000000000000000000000*
+L2448 000000000000000000000000000000000000*
+L2484 000000000000000000000000000000000000*
+L2520 000000000000000000000000000000000000*
+L2556 000000000000000000000000000000000000*
+L2592 00000000*
+C9D90*
+6321
diff --git a/regtests/jedutil/jeds/ampal18p8/pal16h2-as-ampal18p8.jed b/regtests/jedutil/jeds/ampal18p8/pal16h2-as-ampal18p8.jed
new file mode 100644
index 00000000000..5482c396281
--- /dev/null
+++ b/regtests/jedutil/jeds/ampal18p8/pal16h2-as-ampal18p8.jed
@@ -0,0 +1,90 @@
+
+PALASM4 PAL ASSEMBLER - MARKET RELEASE 1.5a (8-20-92)
+ (C) - COPYRIGHT ADVANCED MICRO DEVICES INC., 1992
+
+
+TITLE :PAL16H2 Test AUTHOR :MAMEDev
+PATTERN :A COMPANY:MAMEDev
+REVISION:1.0 DATE :08/25/13
+
+
+PAL18P8
+PAL16H2TEST*
+QP20*
+QF2600*
+G0*F0*
+L0000 000000000000000000000000000000000000*
+L0036 000000000000000000000000000000000000*
+L0072 000000000000000000000000000000000000*
+L0108 000000000000000000000000000000000000*
+L0144 000000000000000000000000000000000000*
+L0180 000000000000000000000000000000000000*
+L0216 000000000000000000000000000000000000*
+L0252 000000000000000000000000000000000000*
+L0288 000000000000000000000000000000000000*
+L0324 000000000000000000000000000000000000*
+L0360 000000000000000000000000000000000000*
+L0396 000000000000000000000000000000000000*
+L0432 000000000000000000000000000000000000*
+L0468 000000000000000000000000000000000000*
+L0504 000000000000000000000000000000000000*
+L0540 000000000000000000000000000000000000*
+L0576 000000000000000000000000000000000000*
+L0612 000000000000000000000000000000000000*
+L0648 000000000000000000000000000000000000*
+L0684 000000000000000000000000000000000000*
+L0720 000000000000000000000000000000000000*
+L0756 000000000000000000000000000000000000*
+L0792 000000000000000000000000000000000000*
+L0828 000000000000000000000000000000000000*
+L0864 000000000000000000000000000000000000*
+L0900 000000000000000000000000000000000000*
+L0936 000000000000000000000000000000000000*
+L0972 111111111111111111111111111111111111*
+L1008 111111111111111101111111111111111111*
+L1044 111101111111111111111111111111011111*
+L1080 111111011111111101111111111111111111*
+L1116 111011111110111111111111111111111111*
+L1152 111111101111111111111111111111111111*
+L1188 111111111111111111111011101111111111*
+L1224 101111111111111111111111111110111111*
+L1260 111111111101101111110111011111111111*
+L1296 111111111111111111111111111111111111*
+L1332 111111111111011111111111111111111111*
+L1368 111111111111111111111110111011111111*
+L1404 110111111111111111110111111111111111*
+L1440 111110111111111111111101111111111111*
+L1476 111110111111111111111111110111111111*
+L1512 011111111111111111111111111101111111*
+L1548 111111111111111111111111101111111111*
+L1584 111111110111111111111111111111111111*
+L1620 000000000000000000000000000000000000*
+L1656 000000000000000000000000000000000000*
+L1692 000000000000000000000000000000000000*
+L1728 000000000000000000000000000000000000*
+L1764 000000000000000000000000000000000000*
+L1800 000000000000000000000000000000000000*
+L1836 000000000000000000000000000000000000*
+L1872 000000000000000000000000000000000000*
+L1908 000000000000000000000000000000000000*
+L1944 000000000000000000000000000000000000*
+L1980 000000000000000000000000000000000000*
+L2016 000000000000000000000000000000000000*
+L2052 000000000000000000000000000000000000*
+L2088 000000000000000000000000000000000000*
+L2124 000000000000000000000000000000000000*
+L2160 000000000000000000000000000000000000*
+L2196 000000000000000000000000000000000000*
+L2232 000000000000000000000000000000000000*
+L2268 000000000000000000000000000000000000*
+L2304 000000000000000000000000000000000000*
+L2340 000000000000000000000000000000000000*
+L2376 000000000000000000000000000000000000*
+L2412 000000000000000000000000000000000000*
+L2448 000000000000000000000000000000000000*
+L2484 000000000000000000000000000000000000*
+L2520 000000000000000000000000000000000000*
+L2556 000000000000000000000000000000000000*
+L2592 00011000*
+C4CCB*
+60C1
diff --git a/regtests/jedutil/jeds/ampal18p8/pal16l2-as-ampal18p8.jed b/regtests/jedutil/jeds/ampal18p8/pal16l2-as-ampal18p8.jed
new file mode 100644
index 00000000000..46172b48c41
--- /dev/null
+++ b/regtests/jedutil/jeds/ampal18p8/pal16l2-as-ampal18p8.jed
@@ -0,0 +1,90 @@
+
+PALASM4 PAL ASSEMBLER - MARKET RELEASE 1.5a (8-20-92)
+ (C) - COPYRIGHT ADVANCED MICRO DEVICES INC., 1992
+
+
+TITLE :PAL16L2 Test AUTHOR :MAMEDev
+PATTERN :A COMPANY:MAMEDev
+REVISION:1.0 DATE :08/25/13
+
+
+PAL18P8
+PAL16L2TEST*
+QP20*
+QF2600*
+G0*F0*
+L0000 000000000000000000000000000000000000*
+L0036 000000000000000000000000000000000000*
+L0072 000000000000000000000000000000000000*
+L0108 000000000000000000000000000000000000*
+L0144 000000000000000000000000000000000000*
+L0180 000000000000000000000000000000000000*
+L0216 000000000000000000000000000000000000*
+L0252 000000000000000000000000000000000000*
+L0288 000000000000000000000000000000000000*
+L0324 000000000000000000000000000000000000*
+L0360 000000000000000000000000000000000000*
+L0396 000000000000000000000000000000000000*
+L0432 000000000000000000000000000000000000*
+L0468 000000000000000000000000000000000000*
+L0504 000000000000000000000000000000000000*
+L0540 000000000000000000000000000000000000*
+L0576 000000000000000000000000000000000000*
+L0612 000000000000000000000000000000000000*
+L0648 000000000000000000000000000000000000*
+L0684 000000000000000000000000000000000000*
+L0720 000000000000000000000000000000000000*
+L0756 000000000000000000000000000000000000*
+L0792 000000000000000000000000000000000000*
+L0828 000000000000000000000000000000000000*
+L0864 000000000000000000000000000000000000*
+L0900 000000000000000000000000000000000000*
+L0936 000000000000000000000000000000000000*
+L0972 111111111111111111111111111111111111*
+L1008 101111111111111111111111111110110111*
+L1044 111101101111111111111111111111011111*
+L1080 111111111101101111110111011111111111*
+L1116 111111011111111101111111111111111111*
+L1152 111011111110111111111101111111111111*
+L1188 111111101111111111111111110111111111*
+L1224 111111111111111111111011101111111110*
+L1260 111111111111111101111111111111111111*
+L1296 111111111111111111111111111111111111*
+L1332 111111111111011111111111111111101111*
+L1368 111110111111111111111101111111111111*
+L1404 111110111111111111111111110111111111*
+L1440 111111111111111111111110111011111111*
+L1476 110111111111111111110111111111111101*
+L1512 111111011111111111111111101111111111*
+L1548 011111111111111111111111111101111111*
+L1584 111111110101111111111111111111111011*
+L1620 000000000000000000000000000000000000*
+L1656 000000000000000000000000000000000000*
+L1692 000000000000000000000000000000000000*
+L1728 000000000000000000000000000000000000*
+L1764 000000000000000000000000000000000000*
+L1800 000000000000000000000000000000000000*
+L1836 000000000000000000000000000000000000*
+L1872 000000000000000000000000000000000000*
+L1908 000000000000000000000000000000000000*
+L1944 000000000000000000000000000000000000*
+L1980 000000000000000000000000000000000000*
+L2016 000000000000000000000000000000000000*
+L2052 000000000000000000000000000000000000*
+L2088 000000000000000000000000000000000000*
+L2124 000000000000000000000000000000000000*
+L2160 000000000000000000000000000000000000*
+L2196 000000000000000000000000000000000000*
+L2232 000000000000000000000000000000000000*
+L2268 000000000000000000000000000000000000*
+L2304 000000000000000000000000000000000000*
+L2340 000000000000000000000000000000000000*
+L2376 000000000000000000000000000000000000*
+L2412 000000000000000000000000000000000000*
+L2448 000000000000000000000000000000000000*
+L2484 000000000000000000000000000000000000*
+L2520 000000000000000000000000000000000000*
+L2556 000000000000000000000000000000000000*
+L2592 00000000*
+C4D56*
+60A0
diff --git a/regtests/jedutil/jeds/ampal18p8/pal16l8-as-ampal18p8.jed b/regtests/jedutil/jeds/ampal18p8/pal16l8-as-ampal18p8.jed
new file mode 100644
index 00000000000..24a3d01d789
--- /dev/null
+++ b/regtests/jedutil/jeds/ampal18p8/pal16l8-as-ampal18p8.jed
@@ -0,0 +1,90 @@
+
+PALASM4 PAL ASSEMBLER - MARKET RELEASE 1.5a (8-20-92)
+ (C) - COPYRIGHT ADVANCED MICRO DEVICES INC., 1992
+
+
+TITLE :PAL16L8 Test 1 AUTHOR :MAMEDev
+PATTERN :A COMPANY:MAMEDev
+REVISION:1.0 DATE :08/25/13
+
+
+PAL18P8
+PAL16L8*
+QP20*
+QF2600*
+G0*F0*
+L0000 111101111111111111111111111111111111*
+L0036 111111011111111111111111111111111111*
+L0072 111111111101111111111111111111111111*
+L0108 111111111111110111111111111111111111*
+L0144 111111111111111111011111111111111111*
+L0180 111111111111111111111101111111111111*
+L0216 111111111111111111111111110111111111*
+L0252 111111101110111011101110111011111111*
+L0288 000000000000000000000000000000000000*
+L0324 111111111111111111111111111111111111*
+L0360 111101111111111111111111111111111111*
+L0396 111111111111111111111111011111111111*
+L0432 111111111111111111111111111101011111*
+L0468 110111111111111111111111111111111111*
+L0504 111111111011111111111111111111111111*
+L0540 011111111111111111111111111111111111*
+L0576 111111111111011111111011111111111111*
+L0612 000000000000000000000000000000000000*
+L0648 111111111111111111111111111111111111*
+L0684 111111111111111111110111111111111111*
+L0720 011111011111111111111111111111111111*
+L0756 111101110111111111111111111111111111*
+L0792 111111111111101111111111111111111111*
+L0828 111111111111111111111111111110111111*
+L0864 111111101111111111111111111111111111*
+L0900 111011111111111111111111111111101111*
+L0936 000000000000000000000000000000000000*
+L0972 111111111111111111111111111111101111*
+L1008 111111111111111101111111111111111111*
+L1044 111101111111111111111111111111011111*
+L1080 111111111101111101111111111111111111*
+L1116 111011111111111111111111111111111111*
+L1152 111111111110111111111111111111111111*
+L1188 111111111111111111111011101111111111*
+L1224 101111111111111111111111111110111111*
+L1260 000000000000000000000000000000000000*
+L1296 111111111111111111111111111111111111*
+L1332 111111111111011111111111111111111111*
+L1368 111111111111111011111111111111111111*
+L1404 110111111111111111110111111111111111*
+L1440 111110111111111111111111111111111111*
+L1476 111110111111110111111111111111111111*
+L1512 011111111111111111111111111101111111*
+L1548 111111111111111111111111101111111111*
+L1584 000000000000000000000000000000000000*
+L1620 110111111111111111111111111111111111*
+L1656 111111110111111111111111111111111111*
+L1692 111111111111111111111111101111011111*
+L1728 111111111111111111011111111111111111*
+L1764 101111111111111111111111111111111111*
+L1800 111111111111011111111111111111101111*
+L1836 111111111111111111110111111111111111*
+L1872 111110111111111111111111111110111111*
+L1908 000000000000000000000000000000000000*
+L1944 111111111111111111111111111111111111*
+L1980 111101111111111111111111111111111111*
+L2016 111111111111111111111101111111111111*
+L2052 111111111111111111111111111111101111*
+L2088 011111111111111111111111111111111111*
+L2124 111111111011111111111110111111111111*
+L2160 111111111111111111111111011101111111*
+L2196 111111111111011111111111111111111111*
+L2232 000000000000000000000000000000000000*
+L2268 111111111111101111111111111111111111*
+L2304 100111111111111111111111111111111111*
+L2340 111001111111111111111111111111111111*
+L2376 111110111111111111110111111111111111*
+L2412 111111110111111111111111110111111111*
+L2448 111111111111111101111111111011111111*
+L2484 111111111111111101111011111111111111*
+L2520 111111111111111110111111101110111111*
+L2556 000000000000000000000000000000000000*
+L2592 11000001*
+C1616*
+6599