summaryrefslogtreecommitdiffstatshomepage
path: root/regtests
diff options
context:
space:
mode:
author Kevin Eshbach <keshbach@comcast.net>2022-02-18 22:38:44 -0500
committer GitHub <noreply@github.com>2022-02-18 22:38:44 -0500
commit1bbf1261ea8e4b73b87161643f9298c616c7f466 (patch)
treea57e23f0b068f7460fd7006251700431c8879c59 /regtests
parent8541608e12421aa720acd9796daf073288ea2d45 (diff)
Bug fix for when viewing the logic equations of the GAL16V8 device with jedutil (#9315)
* Fixed the viewing of a GAL16V8 device when in simple mode and pins 15 or 16 have no product terms.
Diffstat (limited to 'regtests')
-rw-r--r--regtests/jedutil/baseline/gal16v8/gal16v8_simple_mode_2.txt25
-rw-r--r--regtests/jedutil/eqns/WinCUPL/gal16v8/gal16v8_simple_mode_2.pld41
-rw-r--r--regtests/jedutil/jeds/gal16v8/gal16v8_simple_mode_2.jed27
3 files changed, 93 insertions, 0 deletions
diff --git a/regtests/jedutil/baseline/gal16v8/gal16v8_simple_mode_2.txt b/regtests/jedutil/baseline/gal16v8/gal16v8_simple_mode_2.txt
new file mode 100644
index 00000000000..68cb5d26f29
--- /dev/null
+++ b/regtests/jedutil/baseline/gal16v8/gal16v8_simple_mode_2.txt
@@ -0,0 +1,25 @@
+Inputs:
+
+1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 17, 18, 19
+
+Outputs:
+
+12 (Combinatorial, Output feedback output, Active low)
+15 (Combinatorial, No output feedback, Active low)
+16 (Combinatorial, No output feedback, Active low)
+
+Equations:
+
+/o12 = i1 +
+ i2 +
+ i3 +
+ /i4 +
+ /i5
+o12.oe = vcc
+
+/o15 =
+o15.oe = vcc
+
+/o16 =
+o16.oe = vcc
+
diff --git a/regtests/jedutil/eqns/WinCUPL/gal16v8/gal16v8_simple_mode_2.pld b/regtests/jedutil/eqns/WinCUPL/gal16v8/gal16v8_simple_mode_2.pld
new file mode 100644
index 00000000000..1908328cc28
--- /dev/null
+++ b/regtests/jedutil/eqns/WinCUPL/gal16v8/gal16v8_simple_mode_2.pld
@@ -0,0 +1,41 @@
+Name GAL16V8 Simple Mode Test 2 ;
+PartNo 00 ;
+Date 2/16/2022 ;
+Revision 01 ;
+Designer MAME ;
+Company MAME ;
+Assembly None ;
+Location ;
+Device G16V8A ;
+
+/* Simple Mode Test 2 */
+
+/* Input Pins */
+PIN 1 = [I1] ;
+PIN 2 = [I2] ;
+PIN 3 = [I3] ;
+PIN 4 = [I4] ;
+PIN 5 = [I5] ;
+PIN 6 = [I6] ;
+PIN 7 = [I7] ;
+PIN 8 = [I8] ;
+PIN 9 = [I9] ;
+PIN 11 = [I11] ;
+
+/* Output Pins */
+PINNODE 12 = [O12] ;
+PINNODE 13 = [O13] ;
+PINNODE 14 = [O14] ;
+PINNODE 15 = [O15] ;
+PINNODE 16 = [O16] ;
+PINNODE 17 = [O17] ;
+PINNODE 18 = [O18] ;
+PINNODE 19 = [O19] ;
+
+/* Logic Equations */
+
+!O12 = I1 #
+ I2 #
+ I3 #
+ !I4 #
+ !I5 ;
diff --git a/regtests/jedutil/jeds/gal16v8/gal16v8_simple_mode_2.jed b/regtests/jedutil/jeds/gal16v8/gal16v8_simple_mode_2.jed
new file mode 100644
index 00000000000..e851793a1b7
--- /dev/null
+++ b/regtests/jedutil/jeds/gal16v8/gal16v8_simple_mode_2.jed
@@ -0,0 +1,27 @@
+
+CUPL(WM) 5.0a Serial# 60008009
+Device g16v8as Library DLIB-h-40-2
+Created Wed Feb 16 21:22:13 2022
+Name GAL16V8 Simple Mode Test 2
+Partno 00
+Revision 01
+Date 2/16/2022
+Designer MAME
+Company MAME
+Assembly None
+Location
+*QP20
+*QF2194
+*G0
+*F0
+*L01792 11011111111111111111111111111111
+*L01824 01111111111111111111111111111111
+*L01856 11110111111111111111111111111111
+*L01888 11111111101111111111111111111111
+*L01920 11111111111110111111111111111111
+*L02048 00000000001100000011000000100000
+*L02112 00000000111111101111111111111111
+*L02144 11111111111111111111111111111111
+*L02176 111111111111111110
+*C1C49
+*9652 \ No newline at end of file