mame/regtests/jedutil/eqns/WinCUPL/gal16v8/gal16v8_simple_mode.pld
Kevin Eshbach 4a69cf6ba0
jedutil updates: [keshbach]
* Initial support for viewing the logic equations of the PLS100, 82S100, PLS101 and 82S101.
* Initial support for viewing the logic equations of the PLS100, 82S100,
PLS101 and 82S101.
* Added support to view the the logic equations of the PALCE22V10 device
* Improved the documentation on the Magix game and the undumped PAL's (security fuses blown)
* Added PAL22V10 as another device that is equivalent to ythe PALCE22V10 device.
* Added initial registration test for the PALCE22V10/PAL22V10 devices
* Adding PAL22V10 combinatorial regression test data.
* Updated jedutil with a new command that will take a jed file and list the devices that the jed file could represent
* Initial work on supporting the GAL20V8 device.
* Adding an initial regression test for the GAL20V8.
* Tweaked the function to print text to handle the end of line character.
* Fixed some mis-configurations of the GAL20V8 device.
* Added regression tests for the GAL20V8 device.
* Fixed the output of the GAL20V8 when viewing a jed in simple mode to properly display outputs as also being inputs for certain pins
* Fixed the output of a GAL16V8 device in Simple Mode to mark relevant output pins as providing feedback as documented in the datasheet.
* Corrected the output feedback state when in simple mode for the GAL16V8 and GAL20V8 devices.
2020-05-19 20:42:50 -04:00

82 lines
1.6 KiB
Plaintext

Name GAL16V8 Simple Mode Test ;
PartNo 00 ;
Date 4/22/2020 ;
Revision 01 ;
Designer MAME ;
Company MAME ;
Assembly None ;
Location ;
Device G16V8A ;
/* Simple Mode Test */
/*
NOTE:
According to the datasheet when in Simple Mode pins 12, 13, 14, 17, 18, 19
can be configured as combinatorial output with feedback, but WinCUPL
will not allow these pins to be fed back into a different product term.
I'm assuming WinCUPL is wrong and not the datasheet because the GAL20V8
device supports this configuration and WinCUPL will allow it.
*/
/* 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] ;
PIN 13 = [I13] ;
PIN 14 = [I14] ;
PIN 17 = [I17] ;
PIN 19 = [I19] ;
/* Output Pins */
PINNODE 12 = [O12] ;
PINNODE 15 = [O15] ;
PINNODE 16 = [O16] ;
PINNODE 18 = [O18] ;
/* Logic Equations */
!O12 = I1 & I3 & I5 #
I7 & I9 & I11 #
I13 & I17 #
!I17 #
!I8 #
!I1 & !I2 & !I3 & !I4 & !I5 & !I7 #
I2 & I4 & I6 #
I8 & I14 ;
!O15 = !I1 & !I3 & !I5 #
!I7 & !I9 & !I11 #
!I13 & !I17 #
!I2 & !I4 #
I4 #
!I2 & !I4 & !I6 #
!I8 & !I14 #
I13 & I17 ;
O16 = !I11 & !I13 & !I14 & I17 #
I6 & I7 & I8 & I9 #
!I1 & !I2 & !I3 & !I4 & !I5 #
!I17 #
I11 & I13 & I14 #
!I6 & !I7 & !I8 & !I9 #
I1 & I2 & I3 & I4 & I5 ;
!O18 = !I1 & !I3 #
!I5 & !I7 #
!I9 & !I11 #
!I13 & I19 #
I17 #
I2 & I4 & I6 #
I8 & I9 #
I14;