mirror of
https://github.com/holub/mame
synced 2025-10-07 09:25:34 +03:00
Numerous jedutil tool improvements. [Kevin Eshbach]
Made some modifications to the jedutil tool to allow the viewing of simple combinatorial jeds (adding support for registered and gals in the future) by taking a jed file and printing out human-readable equations. Changed the command line options of the jedutil tool to know take an initial argument to specify what the tool should do. For example to convert a jed to bin the command is now: jedutil –convert <source.jed> <dest.bin> jedutil –convert <source.bin> <dest.jed> To view a jed file with human-readable equations the command is jedutil –view <source.jed> <pal type> Added a simple regression test for the tool that just verifies that the currently known pals have the row and column fuse location mapped correctly and at the moment this tool runs under windows only. Under the directory src/regtests/jedutil there is a Windows Script File with the name jedtest.wsf that if run from the command line with the command “cscript jedtest.wsf” will verify that a dump of the jeds in src/regtests/jedutil/jeds matches the good dumps in src/regtests/jedutil/baseline. Reference jed files created using the tool eqn2jed which is included with Opal Jr and these files are in src/regtests/jedutil/eqns.
This commit is contained in:
parent
47c42009c7
commit
ec94908b35
35
.gitattributes
vendored
35
.gitattributes
vendored
@ -7656,6 +7656,41 @@ src/osd/windows/winutf8.h svneol=native#text/plain
|
||||
src/osd/windows/winutil.c svneol=native#text/plain
|
||||
src/osd/windows/winutil.h svneol=native#text/plain
|
||||
src/osd/windows/winwork.c svneol=native#text/plain
|
||||
src/regtests/jedutil/baseline/pal10h8.txt svneol=native#text/plain
|
||||
src/regtests/jedutil/baseline/pal10l8.txt svneol=native#text/plain
|
||||
src/regtests/jedutil/baseline/pal12h6.txt svneol=native#text/plain
|
||||
src/regtests/jedutil/baseline/pal12l6.txt svneol=native#text/plain
|
||||
src/regtests/jedutil/baseline/pal14h4.txt svneol=native#text/plain
|
||||
src/regtests/jedutil/baseline/pal14l4.txt svneol=native#text/plain
|
||||
src/regtests/jedutil/baseline/pal16h2.txt svneol=native#text/plain
|
||||
src/regtests/jedutil/baseline/pal16l2.txt svneol=native#text/plain
|
||||
src/regtests/jedutil/baseline/pal16l8.txt svneol=native#text/plain
|
||||
src/regtests/jedutil/baseline/pal20l10.txt svneol=native#text/plain
|
||||
src/regtests/jedutil/baseline/pal20l8.txt svneol=native#text/plain
|
||||
src/regtests/jedutil/eqns/pal10h8.eqn svneol=native#text/plain
|
||||
src/regtests/jedutil/eqns/pal10l8.eqn svneol=native#text/plain
|
||||
src/regtests/jedutil/eqns/pal12h6.eqn svneol=native#text/plain
|
||||
src/regtests/jedutil/eqns/pal12l6.eqn svneol=native#text/plain
|
||||
src/regtests/jedutil/eqns/pal14h4.eqn svneol=native#text/plain
|
||||
src/regtests/jedutil/eqns/pal14l4.eqn svneol=native#text/plain
|
||||
src/regtests/jedutil/eqns/pal16h2.eqn svneol=native#text/plain
|
||||
src/regtests/jedutil/eqns/pal16l2.eqn svneol=native#text/plain
|
||||
src/regtests/jedutil/eqns/pal16l8.eqn svneol=native#text/plain
|
||||
src/regtests/jedutil/eqns/pal20l10.eqn svneol=native#text/plain
|
||||
src/regtests/jedutil/eqns/pal20l8.eqn svneol=native#text/plain
|
||||
src/regtests/jedutil/eqns/readme.txt svneol=native#text/plain
|
||||
src/regtests/jedutil/jeds/pal10h8.jed svneol=native#text/plain
|
||||
src/regtests/jedutil/jeds/pal10l8.jed svneol=native#text/plain
|
||||
src/regtests/jedutil/jeds/pal12h6.jed svneol=native#text/plain
|
||||
src/regtests/jedutil/jeds/pal12l6.jed svneol=native#text/plain
|
||||
src/regtests/jedutil/jeds/pal14h4.jed svneol=native#text/plain
|
||||
src/regtests/jedutil/jeds/pal14l4.jed svneol=native#text/plain
|
||||
src/regtests/jedutil/jeds/pal16h2.jed svneol=native#text/plain
|
||||
src/regtests/jedutil/jeds/pal16l2.jed svneol=native#text/plain
|
||||
src/regtests/jedutil/jeds/pal16l8.jed svneol=native#text/plain
|
||||
src/regtests/jedutil/jeds/pal20l10.jed svneol=native#text/plain
|
||||
src/regtests/jedutil/jeds/pal20l8.jed svneol=native#text/plain
|
||||
src/regtests/jedutil/jedtest.wsf svneol=native#text/plain
|
||||
src/tools/chdman.c svneol=native#text/plain
|
||||
src/tools/jedutil.c svneol=native#text/plain
|
||||
src/tools/ldresample.c svneol=native#text/plain
|
||||
|
33
src/regtests/jedutil/baseline/pal10h8.txt
Normal file
33
src/regtests/jedutil/baseline/pal10h8.txt
Normal file
@ -0,0 +1,33 @@
|
||||
o12 = /i1 & i2 & i3 & i4 & i5 & i6 & i7 & i8 +
|
||||
i9 & i11
|
||||
o12.oe = vcc
|
||||
|
||||
o13 = i1 & /i2 & i3 & i4 & i5 & i6 & i7 & i8 +
|
||||
/i9 & i11
|
||||
o13.oe = vcc
|
||||
|
||||
o14 = i1 & i2 & /i3 & i4 & i5 & i6 & i7 & i8 +
|
||||
i9 & /i11
|
||||
o14.oe = vcc
|
||||
|
||||
o15 = i1 & i2 & i3 & /i4 & i5 & i6 & i7 & i8 +
|
||||
/i9 & /i11
|
||||
o15.oe = vcc
|
||||
|
||||
o16 = i1 & i2 & i3 & i4 & /i5 & i6 & i7 & i8 +
|
||||
/i9 & /i11
|
||||
o16.oe = vcc
|
||||
|
||||
o17 = i1 & i2 & i3 & i4 & i5 & /i6 & i7 & i8 +
|
||||
i9 & /i11
|
||||
o17.oe = vcc
|
||||
|
||||
o18 = i1 & i2 & i3 & i4 & i5 & i6 & /i7 & i8 +
|
||||
/i9 & i11
|
||||
o18.oe = vcc
|
||||
|
||||
o19 = i1 & i2 & i3 & i4 & i5 & i6 & i7 & /i8 +
|
||||
i11
|
||||
o19.oe = vcc
|
||||
|
||||
|
33
src/regtests/jedutil/baseline/pal10l8.txt
Normal file
33
src/regtests/jedutil/baseline/pal10l8.txt
Normal file
@ -0,0 +1,33 @@
|
||||
/o12 = /i1 & i2 & i3 & i4 & i5 & i6 & i7 & i8 +
|
||||
i9 & i11
|
||||
o12.oe = vcc
|
||||
|
||||
/o13 = i1 & /i2 & i3 & i4 & i5 & i6 & i7 & i8 +
|
||||
/i9 & i11
|
||||
o13.oe = vcc
|
||||
|
||||
/o14 = i1 & i2 & /i3 & i4 & i5 & i6 & i7 & i8 +
|
||||
i9 & /i11
|
||||
o14.oe = vcc
|
||||
|
||||
/o15 = i1 & i2 & i3 & /i4 & i5 & i6 & i7 & i8 +
|
||||
/i9 & /i11
|
||||
o15.oe = vcc
|
||||
|
||||
/o16 = i1 & i2 & i3 & i4 & /i5 & i6 & i7 & i8 +
|
||||
/i9 & /i11
|
||||
o16.oe = vcc
|
||||
|
||||
/o17 = i1 & i2 & i3 & i4 & i5 & /i6 & i7 & i8 +
|
||||
i9 & /i11
|
||||
o17.oe = vcc
|
||||
|
||||
/o18 = i1 & i2 & i3 & i4 & i5 & i6 & /i7 & i8 +
|
||||
i11
|
||||
o18.oe = vcc
|
||||
|
||||
/o19 = i1 & i2 & i3 & i4 & i5 & i6 & i7 & /i8 +
|
||||
/i9
|
||||
o19.oe = vcc
|
||||
|
||||
|
29
src/regtests/jedutil/baseline/pal12h6.txt
Normal file
29
src/regtests/jedutil/baseline/pal12h6.txt
Normal file
@ -0,0 +1,29 @@
|
||||
o13 = /i1 & i2 & i3 & i4 & i5 & i6 & i7 & i8 +
|
||||
i9 & i11 +
|
||||
/i19 +
|
||||
i12
|
||||
o13.oe = vcc
|
||||
|
||||
o14 = i1 & /i2 & i3 & i4 & i5 & i6 & i7 & i8 +
|
||||
/i9 & i11
|
||||
o14.oe = vcc
|
||||
|
||||
o15 = i1 & i2 & i3 & /i4 & i5 & i6 & i7 & i8 +
|
||||
/i9 & /i11
|
||||
o15.oe = vcc
|
||||
|
||||
o16 = i1 & i2 & i3 & i4 & i5 & i6 & /i7 & i8 +
|
||||
i9 & /i11
|
||||
o16.oe = vcc
|
||||
|
||||
o17 = i1 & i2 & i3 & i4 & /i5 & i6 & i7 & i8 +
|
||||
/i9 & /i11
|
||||
o17.oe = vcc
|
||||
|
||||
o18 = i1 & i2 & i3 & i4 & i5 & /i6 & i7 & i8 +
|
||||
/i9 & i11 +
|
||||
i19 +
|
||||
/i12
|
||||
o18.oe = vcc
|
||||
|
||||
|
29
src/regtests/jedutil/baseline/pal12l6.txt
Normal file
29
src/regtests/jedutil/baseline/pal12l6.txt
Normal file
@ -0,0 +1,29 @@
|
||||
/o13 = /i1 & i2 & i3 & i4 & i5 & i6 & i7 & i8 +
|
||||
i9 & i11 +
|
||||
/i19 +
|
||||
i12
|
||||
o13.oe = vcc
|
||||
|
||||
/o14 = i1 & /i2 & i3 & i4 & i5 & i6 & i7 & i8 +
|
||||
/i9 & i11
|
||||
o14.oe = vcc
|
||||
|
||||
/o15 = i1 & i2 & /i3 & i4 & i5 & i6 & i7 & i8 +
|
||||
i9 & i11
|
||||
o15.oe = vcc
|
||||
|
||||
/o16 = i1 & i2 & i3 & /i4 & i5 & i6 & i7 & i8 +
|
||||
/i9 & /i11
|
||||
o16.oe = vcc
|
||||
|
||||
/o17 = i1 & i2 & i3 & i4 & /i5 & i6 & i7 & i8 +
|
||||
/i9 & /i11
|
||||
o17.oe = vcc
|
||||
|
||||
/o18 = i1 & i2 & i3 & i4 & i5 & /i6 & i7 & i8 +
|
||||
/i9 & i11 +
|
||||
i19 +
|
||||
/i12
|
||||
o18.oe = vcc
|
||||
|
||||
|
25
src/regtests/jedutil/baseline/pal14h4.txt
Normal file
25
src/regtests/jedutil/baseline/pal14h4.txt
Normal file
@ -0,0 +1,25 @@
|
||||
o14 = /i1 & i2 & i3 & i4 & i5 & i6 & i7 & i8 +
|
||||
i9 & i11 +
|
||||
/i12 & /i13 +
|
||||
i18 & /i19
|
||||
o14.oe = vcc
|
||||
|
||||
o15 = i1 & /i2 & i3 & i4 & i5 & i6 & i7 & i8 +
|
||||
i9 & /i11 +
|
||||
i12 & i13 +
|
||||
/i18 & i19
|
||||
o15.oe = vcc
|
||||
|
||||
o16 = i1 & i2 & /i3 & i4 & i5 & i6 & i7 & i8 +
|
||||
/i9 & i11 +
|
||||
i12 & /i13 +
|
||||
/i18 & /i19
|
||||
o16.oe = vcc
|
||||
|
||||
o17 = i1 & i2 & i3 & /i4 & i5 & i6 & i7 & i8 +
|
||||
i9 & i11 +
|
||||
/i12 & i13 +
|
||||
i18 & i19
|
||||
o17.oe = vcc
|
||||
|
||||
|
25
src/regtests/jedutil/baseline/pal14l4.txt
Normal file
25
src/regtests/jedutil/baseline/pal14l4.txt
Normal file
@ -0,0 +1,25 @@
|
||||
/o14 = i1 & /i2 & i3 & i4 & i5 & i6 & i7 & i8 +
|
||||
/i9 & i11 +
|
||||
i12 & /i13 +
|
||||
i18 & i19
|
||||
o14.oe = vcc
|
||||
|
||||
/o15 = i1 & i2 & i3 & /i4 & i5 & i6 & i7 & i8 +
|
||||
/i9 & /i11 +
|
||||
/i12 & i13 +
|
||||
/i18 & i19
|
||||
o15.oe = vcc
|
||||
|
||||
/o16 = i1 & i2 & i3 & i4 & /i5 & i6 & i7 & i8 +
|
||||
/i9 & /i11 +
|
||||
i12 & i13 +
|
||||
i18 & /i19
|
||||
o16.oe = vcc
|
||||
|
||||
/o17 = i1 & i2 & i3 & i4 & i5 & /i6 & i7 & i8 +
|
||||
/i9 & i11 +
|
||||
/i12 & /i13 +
|
||||
/i18 & /i19
|
||||
o17.oe = vcc
|
||||
|
||||
|
21
src/regtests/jedutil/baseline/pal16h2.txt
Normal file
21
src/regtests/jedutil/baseline/pal16h2.txt
Normal file
@ -0,0 +1,21 @@
|
||||
o15 = i1 & i2 & i3 & /i4 & i5 & /i6 & i7 & i8 +
|
||||
i9 +
|
||||
/i11 +
|
||||
i12 +
|
||||
/i13 +
|
||||
i14 +
|
||||
/i17 +
|
||||
i18 & /i19
|
||||
o15.oe = vcc
|
||||
|
||||
o16 = i1 & i2 & /i3 & i4 & /i5 & i6 & i7 & i8 +
|
||||
/i9 +
|
||||
i11 +
|
||||
/i12 +
|
||||
i13 +
|
||||
/i14 +
|
||||
i17 +
|
||||
/i18 & i19
|
||||
o16.oe = vcc
|
||||
|
||||
|
21
src/regtests/jedutil/baseline/pal16l2.txt
Normal file
21
src/regtests/jedutil/baseline/pal16l2.txt
Normal file
@ -0,0 +1,21 @@
|
||||
/o15 = i1 & i2 & i3 & /i4 & i5 & i6 & i7 & i8 +
|
||||
/i9 +
|
||||
/i11 +
|
||||
/i12 +
|
||||
i13 +
|
||||
i14 +
|
||||
i17 +
|
||||
i18 & i19
|
||||
o15.oe = vcc
|
||||
|
||||
/o16 = i1 & i2 & i3 & i4 & i5 & i6 & /i7 & i8 +
|
||||
i9 +
|
||||
i11 +
|
||||
i12 +
|
||||
/i13 +
|
||||
/i14 +
|
||||
/i17 +
|
||||
/i18 & /i19
|
||||
o16.oe = vcc
|
||||
|
||||
|
73
src/regtests/jedutil/baseline/pal16l8.txt
Normal file
73
src/regtests/jedutil/baseline/pal16l8.txt
Normal file
@ -0,0 +1,73 @@
|
||||
/o12 = i3 & i7 & /i9 +
|
||||
i1 & o13 +
|
||||
i3 +
|
||||
/i6 +
|
||||
i8 +
|
||||
/i9 +
|
||||
i7 & /o13
|
||||
o12.oe = vcc
|
||||
|
||||
/o13 = i11 & /o14 +
|
||||
/i9 +
|
||||
i8 +
|
||||
/i7 +
|
||||
/i6 & o14 +
|
||||
i5 +
|
||||
i4
|
||||
o13.oe = i2 & o14
|
||||
|
||||
/o14 = i1 & /o15 +
|
||||
/i8 +
|
||||
i1 & /i8 +
|
||||
i1 & /i2 & /o15 +
|
||||
/i2 +
|
||||
i2 & /i8 & o15 +
|
||||
i3
|
||||
o14.oe = vcc
|
||||
|
||||
/o15 = i3 & i6 & i7 & /i11 +
|
||||
i6 & o16 +
|
||||
i3 & /o16 +
|
||||
i7 +
|
||||
/i11 +
|
||||
i6 & i7 +
|
||||
i7 & /i11
|
||||
o15.oe = vcc
|
||||
|
||||
/o16 = /i3 & /o17 +
|
||||
/i4 & /i11 +
|
||||
/i3 & /i4 +
|
||||
/i3 & i4 +
|
||||
/i7 & o17 +
|
||||
/i7 & /i11 +
|
||||
i4
|
||||
o16.oe = vcc
|
||||
|
||||
/o17 = i2 & i5 & i6 & /i7 +
|
||||
i2 & /o18 +
|
||||
i5 +
|
||||
i6 +
|
||||
/i7 & o18 +
|
||||
i2 & /i7 +
|
||||
i5 & i6
|
||||
o17.oe = /o16
|
||||
|
||||
/o18 = /i2 & i5 & i6 & /i7 +
|
||||
i3 & i6 & i7 & i11 +
|
||||
i3 +
|
||||
/i2 & /i7 +
|
||||
i3 & i11 +
|
||||
i5 & i6 & /i7 +
|
||||
i7 & i11
|
||||
o18.oe = vcc
|
||||
|
||||
/o19 = i5 & i6 & /i7 & i11 +
|
||||
i3 & i6 & i7 +
|
||||
i5 +
|
||||
i6 +
|
||||
i7 +
|
||||
i11 +
|
||||
/i7
|
||||
o19.oe = vcc
|
||||
|
||||
|
51
src/regtests/jedutil/baseline/pal20l10.txt
Normal file
51
src/regtests/jedutil/baseline/pal20l10.txt
Normal file
@ -0,0 +1,51 @@
|
||||
/o14 = /i11 +
|
||||
i10 +
|
||||
i9 & /o15
|
||||
o14.oe = o15
|
||||
|
||||
/o15 = /i1 & i2 & /i3 & i4 & i11 +
|
||||
/i1 & i2 & /i3 & /i5 & /i13 & o16 +
|
||||
/i1 & i2 & /i3 & i6
|
||||
o15.oe = /o16
|
||||
|
||||
/o16 = i1 & /i2 & /o17 +
|
||||
i3 & /i4 +
|
||||
i3 & i9 & o17
|
||||
o16.oe = vcc
|
||||
|
||||
/o17 = /o18 +
|
||||
i10 & o18 +
|
||||
i9
|
||||
o17.oe = i4 & i5
|
||||
|
||||
/o18 = i1 & /i2 & i3 & /i4 & /i8 +
|
||||
/i6 & i7 & i8 & i9 & i10 & /o19 +
|
||||
i1 & i2 & i3 & /i4 & /i5 & o19
|
||||
o18.oe = i1 & i10
|
||||
|
||||
/o19 = i11 & o20 +
|
||||
i2 & /i10 +
|
||||
i9 & i11
|
||||
o19.oe = i8 & /o20
|
||||
|
||||
/o20 = o21 +
|
||||
/i6 +
|
||||
/i7 & /o21
|
||||
o20.oe = vcc
|
||||
|
||||
/o21 = i1 & i8 +
|
||||
/i4 & /o22 +
|
||||
o22
|
||||
o21.oe = i5 & i6
|
||||
|
||||
/o22 = i1 & /i8 +
|
||||
/i8 +
|
||||
i1
|
||||
o22.oe = i3 & /i7
|
||||
|
||||
/o23 = i7 +
|
||||
i11 +
|
||||
/i13
|
||||
o23.oe = vcc
|
||||
|
||||
|
73
src/regtests/jedutil/baseline/pal20l8.txt
Normal file
73
src/regtests/jedutil/baseline/pal20l8.txt
Normal file
@ -0,0 +1,73 @@
|
||||
/o15 = /i1 & i2 & /i3 & i4 & i11 +
|
||||
/i1 & i2 & /i3 & /i5 & /i13 +
|
||||
/i1 & i2 & /i3 & i6 & i14 +
|
||||
/i1 & i2 & /i3 & /i7 & /i23 +
|
||||
/i1 & i2 & /i3 & i8 & /i11 +
|
||||
/i1 & i2 & /i3 & /i9 & i13 +
|
||||
/o16
|
||||
o15.oe = o16
|
||||
|
||||
/o16 = i1 & /i2 & /o17 +
|
||||
i3 & /i4 +
|
||||
i5 & /i6 +
|
||||
i7 & /i8 +
|
||||
i3 & i9 & o17 +
|
||||
i1 & /i2 & i3 & /i4 & i5 & /i6 & i7 & /i8 & /i9 +
|
||||
/i8 & /i9
|
||||
o16.oe = vcc
|
||||
|
||||
/o17 = /o18 & /i23 +
|
||||
i10 & o18 +
|
||||
i9 +
|
||||
i8 +
|
||||
/i7 +
|
||||
/i6 +
|
||||
i5
|
||||
o17.oe = i4 & i5
|
||||
|
||||
/o18 = i1 & /i2 & i3 & /i4 & /i8 & i23 +
|
||||
i1 & i2 & i3 & /i4 & /i5 +
|
||||
/i6 & i7 & i8 & i9 & i10 & /o19 +
|
||||
i11 & i13 & i14 & i23 +
|
||||
/i6 & i7 & i8 & i9 & i10 +
|
||||
i3 & i13 & i14 & i23 +
|
||||
i1 & i2 & i3 & /i4 & /i5 & o19
|
||||
o18.oe = i1 & i10 & i23
|
||||
|
||||
/o19 = i9 & /i10 & i11 & i23 +
|
||||
i9 +
|
||||
/i10 +
|
||||
i11 & o20 +
|
||||
i23 +
|
||||
i2 & /i10 & i23 +
|
||||
i9 & i11
|
||||
o19.oe = i8 & /o20
|
||||
|
||||
/o20 = o21 +
|
||||
/i2 +
|
||||
/i3 +
|
||||
/i4 +
|
||||
/i5 +
|
||||
/i6 +
|
||||
/i7 & /o21
|
||||
o20.oe = vcc
|
||||
|
||||
/o21 = i1 & i8 +
|
||||
/i14 +
|
||||
i1 & /i5 & i8 +
|
||||
i23 +
|
||||
i1 & i8 & /i14 +
|
||||
i13 +
|
||||
i1 & i11
|
||||
o21.oe = i5 & i6
|
||||
|
||||
/o22 = i1 & /i8 +
|
||||
/i8 +
|
||||
i1 +
|
||||
/i10 +
|
||||
/i23 +
|
||||
i8 & /i13 +
|
||||
/i11
|
||||
o22.oe = i3 & /i7
|
||||
|
||||
|
30
src/regtests/jedutil/eqns/pal10h8.eqn
Normal file
30
src/regtests/jedutil/eqns/pal10h8.eqn
Normal file
@ -0,0 +1,30 @@
|
||||
chip 2000 PAL10H8
|
||||
|
||||
i1=1 i2=2 i3=3 i4=4 i5=5 i6=6 i7=7 i8=8 i9=9 GND=10 i11=11
|
||||
o12=12 o13=13 o14=14 o15=15 o16=16 o17=17 o18=18 o19=19 VCC=20
|
||||
|
||||
equations
|
||||
|
||||
o12 = /i1 & i2 & i3 & i4 & i5 & i6 & i7 & i8 +
|
||||
i9 & i11
|
||||
|
||||
o13 = i1 & /i2 & i3 & i4 & i5 & i6 & i7 & i8 +
|
||||
/i9 & i11
|
||||
|
||||
o14 = i1 & i2 & /i3 & i4 & i5 & i6 & i7 & i8 +
|
||||
i9 & /i11
|
||||
|
||||
o15 = i1 & i2 & i3 & /i4 & i5 & i6 & i7 & i8 +
|
||||
/i9 & /i11
|
||||
|
||||
o16 = i1 & i2 & i3 & i4 & /i5 & i6 & i7 & i8 +
|
||||
/i9 & /i11
|
||||
|
||||
o17 = i1 & i2 & i3 & i4 & i5 & /i6 & i7 & i8 +
|
||||
i9 & /i11
|
||||
|
||||
o18 = i1 & i2 & i3 & i4 & i5 & i6 & /i7 & i8 +
|
||||
/i9 & i11
|
||||
|
||||
o19 = i1 & i2 & i3 & i4 & i5 & i6 & i7 & /i8 +
|
||||
i11
|
30
src/regtests/jedutil/eqns/pal10l8.eqn
Normal file
30
src/regtests/jedutil/eqns/pal10l8.eqn
Normal file
@ -0,0 +1,30 @@
|
||||
chip 2000 PAL10L8
|
||||
|
||||
i1=1 i2=2 i3=3 i4=4 i5=5 i6=6 i7=7 i8=8 i9=9 GND=10 i11=11
|
||||
o12=12 o13=13 o14=14 o15=15 o16=16 o17=17 o18=18 o19=19 VCC=20
|
||||
|
||||
equations
|
||||
|
||||
/o12 = /i1 & i2 & i3 & i4 & i5 & i6 & i7 & i8 +
|
||||
i9 & i11
|
||||
|
||||
/o13 = i1 & /i2 & i3 & i4 & i5 & i6 & i7 & i8 +
|
||||
/i9 & i11
|
||||
|
||||
/o14 = i1 & i2 & /i3 & i4 & i5 & i6 & i7 & i8 +
|
||||
i9 & /i11
|
||||
|
||||
/o15 = i1 & i2 & i3 & /i4 & i5 & i6 & i7 & i8 +
|
||||
/i9 & /i11
|
||||
|
||||
/o16 = i1 & i2 & i3 & i4 & /i5 & i6 & i7 & i8 +
|
||||
/i9 & /i11
|
||||
|
||||
/o17 = i1 & i2 & i3 & i4 & i5 & /i6 & i7 & i8 +
|
||||
i9 & /i11
|
||||
|
||||
/o18 = i1 & i2 & i3 & i4 & i5 & i6 & /i7 & i8 +
|
||||
i11
|
||||
|
||||
/o19 = i1 & i2 & i3 & i4 & i5 & i6 & i7 & /i8 +
|
||||
/i9
|
28
src/regtests/jedutil/eqns/pal12h6.eqn
Normal file
28
src/regtests/jedutil/eqns/pal12h6.eqn
Normal file
@ -0,0 +1,28 @@
|
||||
chip 2000 PAL12H6
|
||||
|
||||
i1=1 i2=2 i3=3 i4=4 i5=5 i6=6 i7=7 i8=8 i9=9 GND=10 i11=11
|
||||
i12=12 o13=13 o14=14 o15=15 o16=16 o17=17 o18=18 i19=19 VCC=20
|
||||
|
||||
equations
|
||||
|
||||
o13 = /i1 & i2 & i3 & i4 & i5 & i6 & i7 & i8 +
|
||||
i9 & i11 +
|
||||
/i19 +
|
||||
i12
|
||||
|
||||
o14 = i1 & /i2 & i3 & i4 & i5 & i6 & i7 & i8 +
|
||||
/i9 & i11
|
||||
|
||||
o15 = i1 & i2 & i3 & /i4 & i5 & i6 & i7 & i8 +
|
||||
/i9 & /i11
|
||||
|
||||
o16 = i1 & i2 & i3 & i4 & i5 & i6 & /i7 & i8 +
|
||||
i9 & /i11
|
||||
|
||||
o17 = i1 & i2 & i3 & i4 & /i5 & i6 & i7 & i8 +
|
||||
/i9 & /i11
|
||||
|
||||
o18 = i1 & i2 & i3 & i4 & i5 & /i6 & i7 & i8 +
|
||||
/i9 & i11 +
|
||||
i19 +
|
||||
/i12
|
28
src/regtests/jedutil/eqns/pal12l6.eqn
Normal file
28
src/regtests/jedutil/eqns/pal12l6.eqn
Normal file
@ -0,0 +1,28 @@
|
||||
chip 2000 PAL12L6
|
||||
|
||||
i1=1 i2=2 i3=3 i4=4 i5=5 i6=6 i7=7 i8=8 i9=9 GND=10 i11=11
|
||||
i12=12 o13=13 o14=14 o15=15 o16=16 o17=17 o18=18 i19=19 VCC=20
|
||||
|
||||
equations
|
||||
|
||||
/o13 = /i1 & i2 & i3 & i4 & i5 & i6 & i7 & i8 +
|
||||
i9 & i11 +
|
||||
/i19 +
|
||||
i12
|
||||
|
||||
/o14 = i1 & /i2 & i3 & i4 & i5 & i6 & i7 & i8 +
|
||||
/i9 & i11
|
||||
|
||||
/o15 = i1 & i2 & /i3 & i4 & i5 & i6 & i7 & i8 +
|
||||
i9 & i11
|
||||
|
||||
/o16 = i1 & i2 & i3 & /i4 & i5 & i6 & i7 & i8 +
|
||||
/i9 & /i11
|
||||
|
||||
/o17 = i1 & i2 & i3 & i4 & /i5 & i6 & i7 & i8 +
|
||||
/i9 & /i11
|
||||
|
||||
/o18 = i1 & i2 & i3 & i4 & i5 & /i6 & i7 & i8 +
|
||||
/i9 & i11 +
|
||||
i19 +
|
||||
/i12
|
26
src/regtests/jedutil/eqns/pal14h4.eqn
Normal file
26
src/regtests/jedutil/eqns/pal14h4.eqn
Normal file
@ -0,0 +1,26 @@
|
||||
chip 2000 PAL14H4
|
||||
|
||||
i1=1 i2=2 i3=3 i4=4 i5=5 i6=6 i7=7 i8=8 i9=9 GND=10 i11=11
|
||||
i12=12 i13=13 o14=14 o15=15 o16=16 o17=17 i18=18 i19=19 VCC=20
|
||||
|
||||
equations
|
||||
|
||||
o14 = /i1 & i2 & i3 & i4 & i5 & i6 & i7 & i8 +
|
||||
i9 & i11 +
|
||||
/i12 & /i13 +
|
||||
i18 & /i19
|
||||
|
||||
o15 = i1 & /i2 & i3 & i4 & i5 & i6 & i7 & i8 +
|
||||
i9 & /i11 +
|
||||
i12 & i13 +
|
||||
/i18 & i19
|
||||
|
||||
o16 = i1 & i2 & /i3 & i4 & i5 & i6 & i7 & i8 +
|
||||
/i9 & i11 +
|
||||
i12 & /i13 +
|
||||
/i18 & /i19
|
||||
|
||||
o17 = i1 & i2 & i3 & /i4 & i5 & i6 & i7 & i8 +
|
||||
i9 & i11 +
|
||||
/i12 & i13 +
|
||||
i18 & i19
|
26
src/regtests/jedutil/eqns/pal14l4.eqn
Normal file
26
src/regtests/jedutil/eqns/pal14l4.eqn
Normal file
@ -0,0 +1,26 @@
|
||||
chip 2000 PAL14L4
|
||||
|
||||
i1=1 i2=2 i3=3 i4=4 i5=5 i6=6 i7=7 i8=8 i9=9 GND=10 i11=11
|
||||
i12=12 i13=13 o14=14 o15=15 o16=16 o17=17 i18=18 i19=19 VCC=20
|
||||
|
||||
equations
|
||||
|
||||
/o14 = i1 & /i2 & i3 & i4 & i5 & i6 & i7 & i8 +
|
||||
/i9 & i11 +
|
||||
i12 & /i13 +
|
||||
i18 & i19
|
||||
|
||||
/o15 = i1 & i2 & i3 & /i4 & i5 & i6 & i7 & i8 +
|
||||
/i9 & /i11 +
|
||||
/i12 & i13 +
|
||||
/i18 & i19
|
||||
|
||||
/o16 = i1 & i2 & i3 & i4 & /i5 & i6 & i7 & i8 +
|
||||
/i9 & /i11 +
|
||||
i12 & i13 +
|
||||
i18 & /i19
|
||||
|
||||
/o17 = i1 & i2 & i3 & i4 & i5 & /i6 & i7 & i8 +
|
||||
/i9 & i11 +
|
||||
/i12 & /i13 +
|
||||
/i18 & /i19
|
24
src/regtests/jedutil/eqns/pal16h2.eqn
Normal file
24
src/regtests/jedutil/eqns/pal16h2.eqn
Normal file
@ -0,0 +1,24 @@
|
||||
chip 2000 PAL16H2
|
||||
|
||||
i1=1 i2=2 i3=3 i4=4 i5=5 i6=6 i7=7 i8=8 i9=9 GND=10 i11=11
|
||||
i12=12 i13=13 i14=14 o15=15 o16=16 i17=17 i18=18 i19=19 VCC=20
|
||||
|
||||
equations
|
||||
|
||||
o15 = i1 & i2 & i3 & /i4 & i5 & /i6 & i7 & i8 +
|
||||
i9 +
|
||||
/i11 +
|
||||
i12 +
|
||||
/i13 +
|
||||
i14 +
|
||||
/i17 +
|
||||
i18 & /i19
|
||||
|
||||
o16 = i1 & i2 & /i3 & i4 & /i5 & i6 & i7 & i8 +
|
||||
/i9 +
|
||||
i11 +
|
||||
/i12 +
|
||||
i13 +
|
||||
/i14 +
|
||||
i17 +
|
||||
/i18 & i19
|
24
src/regtests/jedutil/eqns/pal16l2.eqn
Normal file
24
src/regtests/jedutil/eqns/pal16l2.eqn
Normal file
@ -0,0 +1,24 @@
|
||||
chip 2000 PAL16L2
|
||||
|
||||
i1=1 i2=2 i3=3 i4=4 i5=5 i6=6 i7=7 i8=8 i9=9 GND=10 i11=11
|
||||
i12=12 i13=13 i14=14 o15=15 o16=16 i17=17 i18=18 i19=19 VCC=20
|
||||
|
||||
equations
|
||||
|
||||
/o15 = i1 & i2 & i3 & /i4 & i5 & i6 & i7 & i8 +
|
||||
/i9 +
|
||||
/i11 +
|
||||
/i12 +
|
||||
i13 +
|
||||
i14 +
|
||||
i17 +
|
||||
i18 & i19
|
||||
|
||||
/o16 = i1 & i2 & i3 & i4 & i5 & i6 & /i7 & i8 +
|
||||
i9 +
|
||||
i11 +
|
||||
i12 +
|
||||
/i13 +
|
||||
/i14 +
|
||||
/i17 +
|
||||
/i18 & /i19
|
79
src/regtests/jedutil/eqns/pal16l8.eqn
Normal file
79
src/regtests/jedutil/eqns/pal16l8.eqn
Normal file
@ -0,0 +1,79 @@
|
||||
md
|
||||
chip 2000 PAL16L8
|
||||
|
||||
i1=1 i2=2 i3=3 i4=4 i5=5 i6=6 i7=7 i8=8 i9=9 GND=10
|
||||
i11=11 o12=12 o13=13 o14=14 o15=15 o16=16 o17=17 o18=18 o19=19 VCC=20
|
||||
|
||||
equations
|
||||
|
||||
/o12 = i3 & i7 & /i9 +
|
||||
i1 & o13 +
|
||||
i3 +
|
||||
/i6 +
|
||||
i8 +
|
||||
/i9 +
|
||||
i7 & /o13
|
||||
o12.oe = vcc
|
||||
|
||||
/o13 = i11 & /o14 +
|
||||
/i9 +
|
||||
i8 +
|
||||
/i7 +
|
||||
/i6 & o14 +
|
||||
i5 +
|
||||
i4
|
||||
o13.oe = i2 & o14
|
||||
|
||||
/o14 = i1 & /o15 +
|
||||
/i8 +
|
||||
i1 & /i8 +
|
||||
i1 & /i2 & /o15 +
|
||||
/i2 +
|
||||
i2 & /i8 & o15 +
|
||||
i3
|
||||
o14.oe = vcc
|
||||
|
||||
/o15 = i3 & i6 & i7 & /i11 +
|
||||
i6 & o16 +
|
||||
i3 & /o16 +
|
||||
i7 +
|
||||
/i11 +
|
||||
i6 & i7 +
|
||||
i7 & /i11
|
||||
o15.oe = vcc
|
||||
|
||||
/o16 = /i3 & /o17 +
|
||||
/i4 & /i11 +
|
||||
/i4 & /i3 +
|
||||
/i3 & i4 +
|
||||
/i7 & o17 +
|
||||
/i7 & /i11 +
|
||||
i4
|
||||
o16.oe = vcc
|
||||
|
||||
/o17 = i2 & i5 & i6 & /i7 +
|
||||
i2 & /o18 +
|
||||
i5 +
|
||||
i6 +
|
||||
/i7 & o18 +
|
||||
i2 & /i7 +
|
||||
i5 & i6
|
||||
o17.oe = /o16
|
||||
|
||||
/o18 = /i2 & i5 & i6 & /i7 +
|
||||
i3 & i6 & i7 & i11 +
|
||||
i3 +
|
||||
/i2 & /i7 +
|
||||
i3 & i11 +
|
||||
i5 & i6 & /i7 +
|
||||
i7 & i11
|
||||
o18.oe = vcc
|
||||
|
||||
/o19 = i5 & i6 & /i7 & i11 +
|
||||
i3 & i6 & i7 +
|
||||
i5 +
|
||||
i6 +
|
||||
i7 +
|
||||
i11 +
|
||||
/i7
|
||||
o19.oe = vcc
|
56
src/regtests/jedutil/eqns/pal20l10.eqn
Normal file
56
src/regtests/jedutil/eqns/pal20l10.eqn
Normal file
@ -0,0 +1,56 @@
|
||||
chip 2000 PAL20L10
|
||||
|
||||
i1=1 i2=2 i3=3 i4=4 i5=5 i6=6 i7=7 i8=8 i9=9 i10=10 i11=11 GND=12
|
||||
i13=13 o14=14 o15=15 o16=16 o17=17 o18=18 o19=19 o20=20 o21=21 o22=22 o23=23 VCC=24
|
||||
|
||||
equations
|
||||
|
||||
/o14 = /i11 +
|
||||
i10 +
|
||||
i9 & /o15
|
||||
o14.oe = o15
|
||||
|
||||
/o15 = /i1 & i2 & /i3 & i4 & i11 +
|
||||
/i1 & i2 & /i3 & /i5 & /i13 & o16 +
|
||||
/i1 & i2 & /i3 & i6
|
||||
o15.oe = /o16
|
||||
|
||||
/o16 = i1 & /i2 & /o17 +
|
||||
i3 & /i4 +
|
||||
i3 & i9 & o17
|
||||
o16.oe = vcc
|
||||
|
||||
/o17 = /o18 +
|
||||
i10 & o18 +
|
||||
i9
|
||||
o17.oe = i4 & i5
|
||||
|
||||
/o18 = i1 & /i2 & i3 & /i4 & /i8 +
|
||||
/i6 & i7 & i8 & i9 & i10 & /o19 +
|
||||
i1 & i2 & i3 & /i4 & /i5 & o19
|
||||
o18.oe = i1 & i10
|
||||
|
||||
/o19 = i11 & o20 +
|
||||
i2 & /i10 +
|
||||
i9 & i11
|
||||
o19.oe = i8 & /o20
|
||||
|
||||
/o20 = o21 +
|
||||
/i6 +
|
||||
/i7 & /o21
|
||||
o20.oe = vcc
|
||||
|
||||
/o21 = i1 & i8 +
|
||||
/i4 & /o22 +
|
||||
o22
|
||||
o21.oe = i5 & i6
|
||||
|
||||
/o22 = i1 & /i8 +
|
||||
/i8 +
|
||||
i1
|
||||
o22.oe = i3 & /i7
|
||||
|
||||
/o23 = i7 +
|
||||
i11 +
|
||||
/i13
|
||||
o23.oe = vcc
|
78
src/regtests/jedutil/eqns/pal20l8.eqn
Normal file
78
src/regtests/jedutil/eqns/pal20l8.eqn
Normal file
@ -0,0 +1,78 @@
|
||||
chip 2000 PAL20L8
|
||||
|
||||
i1=1 i2=2 i3=3 i4=4 i5=5 i6=6 i7=7 i8=8 i9=9 i10=10 i11=11 GND=12
|
||||
i13=13 i14=14 o15=15 o16=16 o17=17 o18=18 o19=19 o20=20 o21=21 o22=22 i23=23 VCC=24
|
||||
|
||||
equations
|
||||
|
||||
/o15 = /i1 & i2 & /i3 & i4 & i11 +
|
||||
/i1 & i2 & /i3 & /i5 & /i13 +
|
||||
/i1 & i2 & /i3 & i6 & i14 +
|
||||
/i1 & i2 & /i3 & /i7 & /i23 +
|
||||
/i1 & i2 & /i3 & i8 & /i11 +
|
||||
/i1 & i2 & /i3 & /i9 & i13 +
|
||||
/o16
|
||||
o15.oe = o16
|
||||
|
||||
/o16 = i1 & /i2 & /o17 +
|
||||
i3 & /i4 +
|
||||
i5 & /i6 +
|
||||
i7 & /i8 +
|
||||
i3 & i9 & o17 +
|
||||
i1 & /i2 & i3 & /i4 & i5 & /i6 & i7 & /i8 & /i9 +
|
||||
/i8 & /i9
|
||||
o16.oe = vcc
|
||||
|
||||
/o17 = /i23 & /o18 +
|
||||
i10 & o18 +
|
||||
i9 +
|
||||
i8 +
|
||||
/i7 +
|
||||
/i6 +
|
||||
i5
|
||||
o17.oe = i4 & i5
|
||||
|
||||
/o18 = i1 & /i2 & i3 & /i4 & /i8 & i23 +
|
||||
i1 & i2 & i3 & /i4 & /i5 +
|
||||
/i6 & i7 & i8 & i9 & i10 & /o19 +
|
||||
i11 & i13 & i14 & i23 +
|
||||
/i6 & i7 & i8 & i9 & i10 +
|
||||
i3 & i13 & i14 & i23 +
|
||||
i1 & i2 & i3 & /i4 & /i5 & o19
|
||||
o18.oe = i1 & i10 & i23
|
||||
|
||||
/o19 = i9 & /i10 & i11 & i23 +
|
||||
i9 +
|
||||
/i10 +
|
||||
i11 & o20 +
|
||||
i23 +
|
||||
i2 & /i10 & i23 +
|
||||
i9 & i11
|
||||
o19.oe = i8 & /o20
|
||||
|
||||
/o20 = o21 +
|
||||
/i2 +
|
||||
/i3 +
|
||||
/i4 +
|
||||
/i5 +
|
||||
/i6 +
|
||||
/i7 & /o21
|
||||
o20.oe = vcc
|
||||
|
||||
/o21 = i1 & i8 +
|
||||
/i14 +
|
||||
i1 & /i5 & i8 +
|
||||
i23 +
|
||||
i1 & i8 & /i14 +
|
||||
i13 +
|
||||
i1 & i11
|
||||
o21.oe = i5 & i6
|
||||
|
||||
/o22 = i1 & /i8 +
|
||||
/i8 +
|
||||
i1 +
|
||||
/i10 +
|
||||
/i23 +
|
||||
i8 & /i13 +
|
||||
/i11
|
||||
o22.oe = i3 & /i7
|
1
src/regtests/jedutil/eqns/readme.txt
Normal file
1
src/regtests/jedutil/eqns/readme.txt
Normal file
@ -0,0 +1 @@
|
||||
This files are for use with the utility eqn2jed which is a tool included with Opal Jr. The tools takes this equation files and automatically creates a jed file.
|
36
src/regtests/jedutil/jeds/pal10h8.jed
Normal file
36
src/regtests/jedutil/jeds/pal10h8.jed
Normal file
@ -0,0 +1,36 @@
|
||||
|
||||
PAL10H8
|
||||
EQN2JED - Boolean Equations to JEDEC file assembler (Version V101)
|
||||
Copyright (c) National Semiconductor Corporation 1990-1993
|
||||
Assembled from "pal10h8.eqn". Date: 8-27-112
|
||||
*
|
||||
NOTE PINS i1:1 i2:2 i3:3 i4:4 i5:5 i6:6 i7:7 i8:8 i9:9 GND:10*
|
||||
NOTE PINS i11:11 o12:12 o13:13 o14:14 o15:15 o16:16 o17:17 o18:18*
|
||||
NOTE PINS o19:19 VCC:20*
|
||||
QF0320*QP20*F0*
|
||||
L0000
|
||||
01010101010101101111
|
||||
11111111111111111101*
|
||||
L0040
|
||||
01010101010110011111
|
||||
11111111111111111001*
|
||||
L0080
|
||||
01010101011001011111
|
||||
11111111111111110110*
|
||||
L0120
|
||||
01010101100101011111
|
||||
11111111111111111010*
|
||||
L0160
|
||||
01010110010101011111
|
||||
11111111111111111010*
|
||||
L0200
|
||||
01011001010101011111
|
||||
11111111111111110110*
|
||||
L0240
|
||||
10010101010101011111
|
||||
11111111111111111001*
|
||||
L0280
|
||||
01100101010101011111
|
||||
11111111111111110101*
|
||||
C1E2E*
|
||||
0000
|
36
src/regtests/jedutil/jeds/pal10l8.jed
Normal file
36
src/regtests/jedutil/jeds/pal10l8.jed
Normal file
@ -0,0 +1,36 @@
|
||||
|
||||
PAL10L8
|
||||
EQN2JED - Boolean Equations to JEDEC file assembler (Version V101)
|
||||
Copyright (c) National Semiconductor Corporation 1990-1993
|
||||
Assembled from "pal10l8.eqn". Date: 8-27-112
|
||||
*
|
||||
NOTE PINS i1:1 i2:2 i3:3 i4:4 i5:5 i6:6 i7:7 i8:8 i9:9 GND:10*
|
||||
NOTE PINS i11:11 o12:12 o13:13 o14:14 o15:15 o16:16 o17:17 o18:18*
|
||||
NOTE PINS o19:19 VCC:20*
|
||||
QF0320*QP20*F0*
|
||||
L0000
|
||||
01010101010101101111
|
||||
11111111111111111011*
|
||||
L0040
|
||||
01010101010110011111
|
||||
11111111111111111101*
|
||||
L0080
|
||||
01010101011001011111
|
||||
11111111111111110110*
|
||||
L0120
|
||||
01010101100101011111
|
||||
11111111111111111010*
|
||||
L0160
|
||||
01010110010101011111
|
||||
11111111111111111010*
|
||||
L0200
|
||||
01011001010101011111
|
||||
11111111111111110110*
|
||||
L0240
|
||||
10010101010101011111
|
||||
11111111111111111001*
|
||||
L0280
|
||||
01100101010101011111
|
||||
11111111111111110101*
|
||||
C1E6E*
|
||||
0000
|
34
src/regtests/jedutil/jeds/pal12h6.jed
Normal file
34
src/regtests/jedutil/jeds/pal12h6.jed
Normal file
@ -0,0 +1,34 @@
|
||||
|
||||
PAL12H6
|
||||
EQN2JED - Boolean Equations to JEDEC file assembler (Version V101)
|
||||
Copyright (c) National Semiconductor Corporation 1990-1993
|
||||
Assembled from "pal12h6.eqn". Date: 8-27-112
|
||||
*
|
||||
NOTE PINS i1:1 i2:2 i3:3 i4:4 i5:5 i6:6 i7:7 i8:8 i9:9 GND:10*
|
||||
NOTE PINS i11:11 i12:12 o13:13 o14:14 o15:15 o16:16 o17:17 o18:18*
|
||||
NOTE PINS i19:19 VCC:20*
|
||||
QF0384*QP20*F0*
|
||||
L0000
|
||||
010101110101100101111111
|
||||
111111111111111111111001
|
||||
111111011111111111111111
|
||||
111111111111111111101111*
|
||||
L0096
|
||||
010101110110010101111111
|
||||
111111111111111111111010*
|
||||
L0144
|
||||
010101110101011001111111
|
||||
111111111111111111110110*
|
||||
L0192
|
||||
010101111001010101111111
|
||||
111111111111111111111010*
|
||||
L0240
|
||||
100101110101010101111111
|
||||
111111111111111111111001*
|
||||
L0288
|
||||
011001110101010101111111
|
||||
111111111111111111110101
|
||||
111111101111111111111111
|
||||
111111111111111111011111*
|
||||
C2948*
|
||||
0000
|
34
src/regtests/jedutil/jeds/pal12l6.jed
Normal file
34
src/regtests/jedutil/jeds/pal12l6.jed
Normal file
@ -0,0 +1,34 @@
|
||||
|
||||
PAL12L6
|
||||
EQN2JED - Boolean Equations to JEDEC file assembler (Version V101)
|
||||
Copyright (c) National Semiconductor Corporation 1990-1993
|
||||
Assembled from "pal12l6.eqn". Date: 8-27-112
|
||||
*
|
||||
NOTE PINS i1:1 i2:2 i3:3 i4:4 i5:5 i6:6 i7:7 i8:8 i9:9 GND:10*
|
||||
NOTE PINS i11:11 i12:12 o13:13 o14:14 o15:15 o16:16 o17:17 o18:18*
|
||||
NOTE PINS i19:19 VCC:20*
|
||||
QF0384*QP20*F0*
|
||||
L0000
|
||||
010101110101100101111111
|
||||
111111111111111111111001
|
||||
111111011111111111111111
|
||||
111111111111111111101111*
|
||||
L0096
|
||||
010101110110010101111111
|
||||
111111111111111111111010*
|
||||
L0144
|
||||
010101111001010101111111
|
||||
111111111111111111111010*
|
||||
L0192
|
||||
010110110101010101111111
|
||||
111111111111111111110101*
|
||||
L0240
|
||||
100101110101010101111111
|
||||
111111111111111111111001*
|
||||
L0288
|
||||
011001110101010101111111
|
||||
111111111111111111110101
|
||||
111111101111111111111111
|
||||
111111111111111111011111*
|
||||
C29B8*
|
||||
0000
|
32
src/regtests/jedutil/jeds/pal14h4.jed
Normal file
32
src/regtests/jedutil/jeds/pal14h4.jed
Normal file
@ -0,0 +1,32 @@
|
||||
|
||||
PAL14H4
|
||||
EQN2JED - Boolean Equations to JEDEC file assembler (Version V101)
|
||||
Copyright (c) National Semiconductor Corporation 1990-1993
|
||||
Assembled from "PAL14H4.eqn". Date: 8-24-112
|
||||
*
|
||||
NOTE PINS i1:1 i2:2 i3:3 i4:4 i5:5 i6:6 i7:7 i8:8 i9:9 GND:10*
|
||||
NOTE PINS i11:11 i12:12 i13:13 o14:14 o15:15 o16:16 o17:17 i18:18*
|
||||
NOTE PINS i19:19 VCC:20*
|
||||
QF0448*QP20*F0*
|
||||
L0000
|
||||
0101011110110101011101111111
|
||||
1111111111111111111111110101
|
||||
1111111111111111110111101111
|
||||
1111110111011111111111111111*
|
||||
L0112
|
||||
0101101101110101011101111111
|
||||
1111111111111111111111111001
|
||||
1111111111111111111011011111
|
||||
1111111011101111111111111111*
|
||||
L0224
|
||||
1001011101110101011101111111
|
||||
1111111111111111111111110110
|
||||
1111111111111111110111011111
|
||||
1111110111101111111111111111*
|
||||
L0336
|
||||
0110011101110101011101111111
|
||||
1111111111111111111111110101
|
||||
1111111111111111111011101111
|
||||
1111111011011111111111111111*
|
||||
C3116*
|
||||
0000
|
32
src/regtests/jedutil/jeds/pal14l4.jed
Normal file
32
src/regtests/jedutil/jeds/pal14l4.jed
Normal file
@ -0,0 +1,32 @@
|
||||
|
||||
PAL14L4
|
||||
EQN2JED - Boolean Equations to JEDEC file assembler (Version V101)
|
||||
Copyright (c) National Semiconductor Corporation 1990-1993
|
||||
Assembled from "PAL14L4.eqn". Date: 8-24-112
|
||||
*
|
||||
NOTE PINS i1:1 i2:2 i3:3 i4:4 i5:5 i6:6 i7:7 i8:8 i9:9 GND:10*
|
||||
NOTE PINS i11:11 i12:12 i13:13 o14:14 o15:15 o16:16 o17:17 i18:18*
|
||||
NOTE PINS i19:19 VCC:20*
|
||||
QF0448*QP20*F0*
|
||||
L0000
|
||||
0101011101110110011101111111
|
||||
1111111111111111111111111001
|
||||
1111111111111111111011101111
|
||||
1111111011101111111111111111*
|
||||
L0112
|
||||
0101011101111001011101111111
|
||||
1111111111111111111111111010
|
||||
1111111111111111110111011111
|
||||
1111111011011111111111111111*
|
||||
L0224
|
||||
0101011110110101011101111111
|
||||
1111111111111111111111111010
|
||||
1111111111111111110111101111
|
||||
1111110111101111111111111111*
|
||||
L0336
|
||||
1001011101110101011101111111
|
||||
1111111111111111111111111001
|
||||
1111111111111111111011011111
|
||||
1111110111011111111111111111*
|
||||
C306A*
|
||||
0000
|
30
src/regtests/jedutil/jeds/pal16h2.jed
Normal file
30
src/regtests/jedutil/jeds/pal16h2.jed
Normal file
@ -0,0 +1,30 @@
|
||||
|
||||
PAL16H2
|
||||
EQN2JED - Boolean Equations to JEDEC file assembler (Version V101)
|
||||
Copyright (c) National Semiconductor Corporation 1990-1993
|
||||
Assembled from "PAL16H2.eqn". Date: 8-24-112
|
||||
*
|
||||
NOTE PINS i1:1 i2:2 i3:3 i4:4 i5:5 i6:6 i7:7 i8:8 i9:9 GND:10*
|
||||
NOTE PINS i11:11 i12:12 i13:13 i14:14 o15:15 o16:16 i17:17 i18:18*
|
||||
NOTE PINS i19:19 VCC:20*
|
||||
QF0512*QP20*F0*
|
||||
L0000
|
||||
01011011011110110111011101111111
|
||||
11111111111111111111111111111011
|
||||
11111111111111111111111111111101
|
||||
11111111111111111111111111101111
|
||||
11111111111111111111110111111111
|
||||
11111111111111111110111111111111
|
||||
11111111111111011111111111111111
|
||||
11111101111011111111111111111111*
|
||||
L0256
|
||||
01010111101101111011011101111111
|
||||
11111111111111111111111111110111
|
||||
11111111111111111111111111111110
|
||||
11111111111111111111111111011111
|
||||
11111111111111111111111011111111
|
||||
11111111111111111101111111111111
|
||||
11111111111111101111111111111111
|
||||
11111110110111111111111111111111*
|
||||
C3BDA*
|
||||
0000
|
30
src/regtests/jedutil/jeds/pal16l2.jed
Normal file
30
src/regtests/jedutil/jeds/pal16l2.jed
Normal file
@ -0,0 +1,30 @@
|
||||
|
||||
PAL16L2
|
||||
EQN2JED - Boolean Equations to JEDEC file assembler (Version V101)
|
||||
Copyright (c) National Semiconductor Corporation 1990-1993
|
||||
Assembled from "PAL16L2.eqn". Date: 8-24-112
|
||||
*
|
||||
NOTE PINS i1:1 i2:2 i3:3 i4:4 i5:5 i6:6 i7:7 i8:8 i9:9 GND:10*
|
||||
NOTE PINS i11:11 i12:12 i13:13 i14:14 o15:15 o16:16 i17:17 i18:18*
|
||||
NOTE PINS i19:19 VCC:20*
|
||||
QF0512*QP20*F0*
|
||||
L0000
|
||||
01010111011101110111101101111111
|
||||
11111111111111111111111111110111
|
||||
11111111111111111111111111111101
|
||||
11111111111111111111111111011111
|
||||
11111111111111111111111011111111
|
||||
11111111111111111110111111111111
|
||||
11111111111111101111111111111111
|
||||
11111110111011111111111111111111*
|
||||
L0256
|
||||
01010111101101110111011101111111
|
||||
11111111111111111111111111111011
|
||||
11111111111111111111111111111110
|
||||
11111111111111111111111111101111
|
||||
11111111111111111111110111111111
|
||||
11111111111111111101111111111111
|
||||
11111111111111011111111111111111
|
||||
11111101110111111111111111111111*
|
||||
C3BEB*
|
||||
0000
|
85
src/regtests/jedutil/jeds/pal16l8.jed
Normal file
85
src/regtests/jedutil/jeds/pal16l8.jed
Normal file
@ -0,0 +1,85 @@
|
||||
|
||||
PAL16L8
|
||||
EQN2JED - Boolean Equations to JEDEC file assembler (Version V101)
|
||||
Copyright (c) National Semiconductor Corporation 1990-1993
|
||||
Assembled from "pal16l8.eqn". Date: 8-29-112
|
||||
md
|
||||
*
|
||||
NOTE PINS i1:1 i2:2 i3:3 i4:4 i5:5 i6:6 i7:7 i8:8 i9:9 GND:10*
|
||||
NOTE PINS i11:11 o12:12 o13:13 o14:14 o15:15 o16:16 o17:17 o18:18*
|
||||
NOTE PINS o19:19 VCC:20*
|
||||
QF2048*QP20*F0*
|
||||
L0000
|
||||
11111111111111111111111111111111
|
||||
11111111111101110111101111111101
|
||||
11110111111111110111011111111111
|
||||
11111111111101111111111111111111
|
||||
11111111111111110111111111111111
|
||||
11111111111111111111011111111111
|
||||
11111111111111111111111111111101
|
||||
11111111111111111111101111111111*
|
||||
L0256
|
||||
11111111111111111111111111111111
|
||||
10111111111101110111101111111111
|
||||
11110111111111110111011111111101
|
||||
11110111111111111111111111111111
|
||||
10111111111111111111101111111111
|
||||
11110111111111111111111111111101
|
||||
11111111111101110111101111111111
|
||||
11111111111111111111011111111101*
|
||||
L0512
|
||||
11111111111111101111111111111111
|
||||
01111111111101110111101111111111
|
||||
01111110111111111111111111111111
|
||||
11111111111101111111111111111111
|
||||
11111111111111110111111111111111
|
||||
11111101111111111111101111111111
|
||||
01111111111111111111101111111111
|
||||
11111111111101110111111111111111*
|
||||
L0768
|
||||
11111111111111111111111111111111
|
||||
11111011111011111111111111111111
|
||||
11111111101111111111111111111110
|
||||
11111011101111111111111111111111
|
||||
11111011011111111111111111111111
|
||||
11111111110111111111101111111111
|
||||
11111111111111111111101111111110
|
||||
11111111011111111111111111111111*
|
||||
L1024
|
||||
11111111111111111111111111111111
|
||||
11110111111111110111011111111110
|
||||
11111111111111010111111111111111
|
||||
11110111111111101111111111111111
|
||||
11111111111111111111011111111111
|
||||
11111111111111111111111111111110
|
||||
11111111111111110111011111111111
|
||||
11111111111111111111011111111110*
|
||||
L1280
|
||||
11111111111111111111111111111111
|
||||
11011111111111111110111111111111
|
||||
11111111111111111111111110111111
|
||||
11011111111111111111111110111111
|
||||
10011111111111111110111111111111
|
||||
10111111111111111111111111111111
|
||||
01111111111111111101111110111111
|
||||
11110111111111111111111111111111*
|
||||
L1536
|
||||
01111111111111111111110111111111
|
||||
11111111111111111111111011111101
|
||||
11111111111111111111111111111011
|
||||
11111111111111111111111101111111
|
||||
11111111111111111111101111111111
|
||||
11111111111111111011110111111111
|
||||
11111111111101111111111111111111
|
||||
11111111011111111111111111111111*
|
||||
L1792
|
||||
11111111111111111111111111111111
|
||||
11110111111111111111011111111011
|
||||
11011111111111111111111111011111
|
||||
11110111111111111111111111111111
|
||||
11111111111111111011111111111111
|
||||
11111111111111111111111101111111
|
||||
11111111111111111111111111111011
|
||||
11111111111111111111011111101111*
|
||||
CF3C8*
|
||||
0000
|
62
src/regtests/jedutil/jeds/pal20l10.jed
Normal file
62
src/regtests/jedutil/jeds/pal20l10.jed
Normal file
@ -0,0 +1,62 @@
|
||||
|
||||
PAL20L10
|
||||
EQN2JED - Boolean Equations to JEDEC file assembler (Version V101)
|
||||
Copyright (c) National Semiconductor Corporation 1990-1993
|
||||
Assembled from "pal20l10.eqn". Date: 8-31-112
|
||||
*
|
||||
NOTE PINS i1:1 i2:2 i3:3 i4:4 i5:5 i6:6 i7:7 i8:8 i9:9 i10:10*
|
||||
NOTE PINS i11:11 GND:12 i13:13 o14:14 o15:15 o16:16 o17:17 o18:18*
|
||||
NOTE PINS o19:19 o20:20 o21:21 o22:22 o23:23 VCC:24*
|
||||
QF1600*QP24*F0*
|
||||
L0000
|
||||
1111111111111111111111111111111111111111
|
||||
1111111111111111111101111111111111111111
|
||||
1111111111111111111111111111111111110111
|
||||
1111111111111111111111111111111111111110*
|
||||
L0160
|
||||
1111011111111111111110111111111111111111
|
||||
1101111111111111111111111011111111111111
|
||||
1111111111111111111111111011111111111111
|
||||
1101111111111111111111111111111111111111*
|
||||
L0320
|
||||
1111111111110111011111111111111111111111
|
||||
1101111111111111111111110111111111111111
|
||||
1111111010111111111111111111111111111111
|
||||
1111110111111111111111111111111111111111*
|
||||
L0480
|
||||
1111111111111111111111111111111111111111
|
||||
1111111111011111111111111111111111111111
|
||||
1111111111111111101111111111111111111111
|
||||
1111111111101111111110111111111111111111*
|
||||
L0640
|
||||
1111111111111110111111110111111111111111
|
||||
1111111111111101111111111111111111110111
|
||||
0111111111111111111111111111111110111111
|
||||
1111111111111111111111111111011111110111*
|
||||
L0800
|
||||
1101111111111111111111111111111101111111
|
||||
1001011110111111111111111011111111111111
|
||||
1111111111111111101001110111011101111111
|
||||
0101011110111011110111111111111111111111*
|
||||
L0960
|
||||
1111111101110111111111111111111111111111
|
||||
1111111111111111111111101111111111111111
|
||||
1111111111111111111111011111111101111111
|
||||
1111111111111111111111111111011111111111*
|
||||
L1120
|
||||
1111111111111111111111111111111111111111
|
||||
1001111111111111111111111110111111111111
|
||||
1111011110111111111111111111111111111111
|
||||
1111011111111111111111111101011111111111*
|
||||
L1280
|
||||
1111111111111111111111111111111011111111
|
||||
0110101101111111111111111111111111110111
|
||||
0110101111111011111111111111110111111110
|
||||
0110101111111111011111111111111111111111*
|
||||
L1440
|
||||
1111111111111111111111111111111111011111
|
||||
1111111111111111111111111111111111111011
|
||||
1111111111111111111111111111111101111111
|
||||
1111111111111111111111111111011111101111*
|
||||
CC08C*
|
||||
0000
|
84
src/regtests/jedutil/jeds/pal20l8.jed
Normal file
84
src/regtests/jedutil/jeds/pal20l8.jed
Normal file
@ -0,0 +1,84 @@
|
||||
|
||||
PAL20L8
|
||||
EQN2JED - Boolean Equations to JEDEC file assembler (Version V101)
|
||||
Copyright (c) National Semiconductor Corporation 1990-1993
|
||||
Assembled from "PAL20L8.eqn". Date: 8-30-112
|
||||
*
|
||||
NOTE PINS i1:1 i2:2 i3:3 i4:4 i5:5 i6:6 i7:7 i8:8 i9:9 i10:10*
|
||||
NOTE PINS i11:11 GND:12 i13:13 i14:14 o15:15 o16:16 o17:17 o18:18*
|
||||
NOTE PINS o19:19 o20:20 o21:21 o22:22 i23:23 VCC:24*
|
||||
QF2560*QP24*F0*
|
||||
L0000
|
||||
1111011111111111111110111111111111111111
|
||||
1101111111111111111111111011111111111111
|
||||
1111111111111111111111111011111111111111
|
||||
1101111111111111111111111111111111111111
|
||||
1111111111111111111111111111111110111111
|
||||
1111111011111111111111111111111111111111
|
||||
1111111111111111111111110111111111111110
|
||||
1111111111111111111111111111111111111011*
|
||||
L0320
|
||||
1111111111110111011111111111111111111111
|
||||
1101111111111111111111110111111111111111
|
||||
1111111111111111111111111111111111101111
|
||||
1101111111111011111111110111111111111111
|
||||
1111110111111111111111111111111111111111
|
||||
1101111111111111111111110111111111101111
|
||||
1111111111111111111111111111111111111101
|
||||
1101111111111111111111111111111111110111*
|
||||
L0640
|
||||
1111111111111111111111111111111111111111
|
||||
1111111111011111111111111111111111111111
|
||||
1011111111111111111111111111111111111111
|
||||
1111101111111111111111111111111111111111
|
||||
1111111110111111111111111111111111111111
|
||||
1111111111111011111111111111111111111111
|
||||
1111111111111111101111111111111111111111
|
||||
1111111111101111111110111111111111111111*
|
||||
L0960
|
||||
1111111111111110111111110111111111111111
|
||||
1111110111111111111111111111011110110111
|
||||
1111111111111111111111111111011111111111
|
||||
1111111111111111111111111111111110111111
|
||||
1111111111111101111111111111111111110111
|
||||
1111110111111111111111111111111111111111
|
||||
0111110111111111111111111111111110111111
|
||||
1111111111111111111111111111011111110111*
|
||||
L1280
|
||||
1101110111111111111111111111111101111111
|
||||
1001010110111111111111111011111111111111
|
||||
0101011110111011111111111111111111111111
|
||||
1111111111111111101001110111011101111111
|
||||
1111110111111111111111111111111111010101
|
||||
1111111111111111101101110111011101111111
|
||||
1111010111111111111111111111111111011101
|
||||
0101011110111011110111111111111111111111*
|
||||
L1600
|
||||
1111111101110111111111111111111111111111
|
||||
1111111011111111111111101111111111111111
|
||||
1111111111111111111111011111111101111111
|
||||
1111111111111111111111111111011111111111
|
||||
1111111111111111111111110111111111111111
|
||||
1111111111111111111110111111111111111111
|
||||
1111111111111111101111111111111111111111
|
||||
1111111111110111111111111111111111111111*
|
||||
L1920
|
||||
1111111111111111111111111111111111111111
|
||||
1001111111111111111111111110111111111111
|
||||
1111011110111111111111111111111111111111
|
||||
1111111111110111101111111111111111111111
|
||||
1111111111111111111101111011111111111111
|
||||
1111011111111111111111111101011111111111
|
||||
1001011110110111101101111011101111111111
|
||||
1111111111111111111111111011101111111111*
|
||||
L2240
|
||||
1111111111111111111111111111110111111111
|
||||
0110101101111111111111111111111111110111
|
||||
0110101111111011111111111111111111111110
|
||||
0110101111111111011111111111111111011111
|
||||
0110101011111111111110111111111111111111
|
||||
0110101111111111111111110111111111111011
|
||||
0110101111111111111111111111101111111101
|
||||
1111111111111111111111111111111011111111*
|
||||
C3192*
|
||||
0000
|
209
src/regtests/jedutil/jedtest.wsf
Normal file
209
src/regtests/jedutil/jedtest.wsf
Normal file
@ -0,0 +1,209 @@
|
||||
<?xml version="1.0"?>
|
||||
<package>
|
||||
<job id="Test"><?job debug="true" error="true"?>
|
||||
<runtime>
|
||||
<description>This script runs regresion tests on the jedutil tool.</description>
|
||||
</runtime>
|
||||
|
||||
<script language="JScript">
|
||||
<![CDATA[
|
||||
var g_Verbose = false;
|
||||
|
||||
function diffFiles(file1, file2)
|
||||
{
|
||||
var WshShell = WScript.CreateObject("WScript.Shell");
|
||||
var oExec;
|
||||
|
||||
if (g_Verbose)
|
||||
{
|
||||
WScript.Echo("Diff File 1: " + file1);
|
||||
WScript.Echo("Diff File 2: " + file2);
|
||||
WScript.Echo();
|
||||
}
|
||||
|
||||
oExec = WshShell.Exec("diff " + file1 + " " + file2);
|
||||
|
||||
while (!oExec.Status)
|
||||
{
|
||||
WScript.Sleep(100);
|
||||
}
|
||||
|
||||
if (g_Verbose)
|
||||
{
|
||||
WScript.StdOut.WriteLine(oExec.StdOut.ReadAll());
|
||||
WScript.StdErr.WriteLine(oExec.StdErr.ReadAll());
|
||||
}
|
||||
|
||||
return oExec.ExitCode;
|
||||
}
|
||||
|
||||
function runCommandAndCaptureOutput(command, outputFile)
|
||||
{
|
||||
var WshShell = WScript.CreateObject("WScript.Shell");
|
||||
var fullCommand;
|
||||
|
||||
fullCommand = "%comspec% /c ";
|
||||
fullCommand += command;
|
||||
fullCommand += " > ";
|
||||
fullCommand += outputFile;
|
||||
fullCommand += " 2>&1";
|
||||
|
||||
if (g_Verbose)
|
||||
{
|
||||
WScript.Echo("Running the command : " + command);
|
||||
WScript.Echo("Output File: " + outputFile);
|
||||
WScript.Echo();
|
||||
}
|
||||
|
||||
WshShell.Run(fullCommand, 0, true);
|
||||
}
|
||||
|
||||
function findJedTests(jedsPath, baselinePath, outputPath)
|
||||
{
|
||||
var fso = new ActiveXObject("Scripting.FileSystemObject");
|
||||
var folder = fso.GetFolder(jedsPath)
|
||||
var folderCollection = new Enumerator(folder.files);
|
||||
var jedArray = new Array();
|
||||
|
||||
while (!folderCollection.atEnd())
|
||||
{
|
||||
++jedArray.length;
|
||||
|
||||
jedArray[jedArray.length - 1] = new Object;
|
||||
|
||||
jedArray[jedArray.length - 1].name = fso.GetBaseName(folderCollection.item().name);
|
||||
jedArray[jedArray.length - 1].jedfile = folderCollection.item().path;
|
||||
jedArray[jedArray.length - 1].baselineFile = baselinePath + "\\" +
|
||||
jedArray[jedArray.length - 1].name +
|
||||
".txt";
|
||||
jedArray[jedArray.length - 1].outputFile = outputPath + "\\" +
|
||||
jedArray[jedArray.length - 1].name +
|
||||
".txt";
|
||||
|
||||
folderCollection.moveNext();
|
||||
}
|
||||
|
||||
return jedArray;
|
||||
}
|
||||
|
||||
function runViewJedTests(jedArray, jedUtilApp)
|
||||
{
|
||||
var command;
|
||||
|
||||
for (i = 0; i < jedArray.length; ++i)
|
||||
{
|
||||
command = jedUtilApp + " -view " + jedArray[i].jedfile + " " +
|
||||
jedArray[i].name;
|
||||
|
||||
if (g_Verbose)
|
||||
{
|
||||
WScript.Echo("Viewing the JED file: " + jedArray[i].jedfile);
|
||||
WScript.Echo();
|
||||
}
|
||||
|
||||
runCommandAndCaptureOutput(command, jedArray[i].outputFile);
|
||||
}
|
||||
}
|
||||
|
||||
function runDiffJedTests(jedArray)
|
||||
{
|
||||
var result = true;
|
||||
|
||||
for (i = 0; i < jedArray.length; ++i)
|
||||
{
|
||||
if (g_Verbose)
|
||||
{
|
||||
WScript.Echo("Diffing the output from viewing the JED file: " + jedArray[i].jedfile);
|
||||
}
|
||||
|
||||
if (diffFiles(jedArray[i].baselineFile, jedArray[i].outputFile))
|
||||
{
|
||||
WScript.Echo("Results are different for " + jedArray[i].name);
|
||||
WScript.Echo();
|
||||
|
||||
result = false;
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
function main()
|
||||
{
|
||||
var result = 0;
|
||||
var WshShell = WScript.CreateObject("WScript.Shell");
|
||||
var fso = new ActiveXObject("Scripting.FileSystemObject");
|
||||
var jedsPath = WshShell.CurrentDirectory + "\\jeds";
|
||||
var baselinePath = WshShell.CurrentDirectory + "\\baseline";
|
||||
var outputPath = WshShell.CurrentDirectory + "\\output";
|
||||
var jedUtilApp = WshShell.CurrentDirectory + "\\..\\..\\..\\jedutil.exe";
|
||||
var jedArray = new Array();
|
||||
|
||||
if (g_Verbose)
|
||||
{
|
||||
WScript.Echo("JED Path: " + jedsPath);
|
||||
WScript.Echo("Baseline Path: " + baselinePath);
|
||||
WScript.Echo("Output Path: " + outputPath);
|
||||
WScript.Echo("jedutil App: " + jedUtilApp);
|
||||
WScript.Echo();
|
||||
}
|
||||
|
||||
if (fso.FolderExists(outputPath))
|
||||
{
|
||||
if (g_Verbose)
|
||||
{
|
||||
WScript.Echo("Emptying the output directory");
|
||||
WScript.Echo();
|
||||
}
|
||||
|
||||
fso.DeleteFile(outputPath + "\\*.*");
|
||||
}
|
||||
else
|
||||
{
|
||||
if (g_Verbose)
|
||||
{
|
||||
WScript.Echo("Creating the output directory");
|
||||
WScript.Echo();
|
||||
}
|
||||
|
||||
fso.CreateFolder(outputPath);
|
||||
}
|
||||
|
||||
jedArray = findJedTests(jedsPath, baselinePath, outputPath);
|
||||
|
||||
runViewJedTests(jedArray, jedUtilApp);
|
||||
|
||||
if (!runDiffJedTests(jedArray))
|
||||
{
|
||||
result = 1;
|
||||
}
|
||||
|
||||
if (!result)
|
||||
{
|
||||
WScript.Echo("All tests ran successfully.");
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
var result = main();
|
||||
|
||||
WScript.Quit(result);
|
||||
}
|
||||
catch (e)
|
||||
{
|
||||
WScript.Echo("Error Occurred");
|
||||
WScript.Echo("");
|
||||
WScript.Echo("Name: " + e.name);
|
||||
WScript.Echo("Message: " + e.message);
|
||||
WScript.Echo("Number: " + e.number);
|
||||
WScript.Echo("Description: " + e.description);
|
||||
|
||||
WScript.Quit(1);
|
||||
}
|
||||
]]>
|
||||
</script>
|
||||
</job>
|
||||
</package>
|
1477
src/tools/jedutil.c
1477
src/tools/jedutil.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user