mirror of
https://github.com/holub/mame
synced 2025-04-19 07:00:31 +03:00

* 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.
125 lines
2.1 KiB
Plaintext
125 lines
2.1 KiB
Plaintext
Name GAL22V10 Combinatorial Mode Test ;
|
|
PartNo 00 ;
|
|
Date 5/3/2020 ;
|
|
Revision 01 ;
|
|
Designer MAME ;
|
|
Company MAME ;
|
|
Assembly None ;
|
|
Location ;
|
|
Device G22V10 ;
|
|
|
|
/* Combinatorial Mode Test */
|
|
|
|
/* 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 10 = [I10] ;
|
|
PIN 11 = [I11] ;
|
|
PIN 13 = [I13] ;
|
|
PIN 14 = [I14] ;
|
|
PIN 23 = [I23] ;
|
|
|
|
/* Output Pins */
|
|
PINNODE 15 = [O15] ;
|
|
PINNODE 16 = [O16] ;
|
|
PINNODE 17 = [O17] ;
|
|
PINNODE 18 = [O18] ;
|
|
PINNODE 19 = [O19] ;
|
|
PINNODE 20 = [O20] ;
|
|
PINNODE 21 = [O21] ;
|
|
PINNODE 22 = [O22] ;
|
|
|
|
/* Logic Equations */
|
|
|
|
ASYNC_RESET = !I2 & O15 & !O16 & O17 & !O18;
|
|
SYNC_PRESET = O19 & !O20 & O21 & !O22 & I23;
|
|
|
|
O15 = I1 & !I2 #
|
|
I3 #
|
|
I4 & !I5 & I6 & I7 & !I8 & I9 #
|
|
!I10 & !I11 #
|
|
I13 #
|
|
I14 #
|
|
I23;
|
|
O15.oe = !I23;
|
|
O15.AR = ASYNC_RESET;
|
|
O15.SP = SYNC_PRESET;
|
|
|
|
O16 = I1 & I2 & I3 & I4 & I5 #
|
|
I6 & I7 & I8 & I9 & I10 #
|
|
I13 #
|
|
I14 & !O21 #
|
|
I23 #
|
|
!I5 & O17 & O18 #
|
|
!I2;
|
|
O16.AR = ASYNC_RESET;
|
|
O16.SP = SYNC_PRESET;
|
|
|
|
O17 = !I7 & O21 #
|
|
I8 #
|
|
!I3 #
|
|
!I1 & !I2 & I3 #
|
|
!I4 & !I5 #
|
|
!I6 & !I7 & !I8 & !I9 & !I10 #
|
|
!O18;
|
|
O17.AR = ASYNC_RESET;
|
|
O17.SP = SYNC_PRESET;
|
|
|
|
!O18 = I1 #
|
|
I3 #
|
|
I5 #
|
|
I7 #
|
|
I9 #
|
|
I11 #
|
|
I13;
|
|
O18.AR = ASYNC_RESET;
|
|
O18.SP = SYNC_PRESET;
|
|
|
|
O19 = !I13 #
|
|
!I11 #
|
|
!I9 #
|
|
!I7 #
|
|
!I5 #
|
|
!I3 #
|
|
!I1;
|
|
O19.AR = ASYNC_RESET;
|
|
O19.SP = SYNC_PRESET;
|
|
|
|
O20 = I6 #
|
|
I13 & O19 #
|
|
I1 & !I7 #
|
|
O18 #
|
|
I9 & !I13 #
|
|
I14 & !O17 #
|
|
!O16;
|
|
O20.AR = ASYNC_RESET;
|
|
O20.SP = SYNC_PRESET;
|
|
|
|
!O21 = !I1 & I2 #
|
|
!I3 #
|
|
!I4 & I5 & !I6 & !I7 & I8 & !I9 #
|
|
I10 & I11 #
|
|
!I13 #
|
|
!I14 #
|
|
!I23;
|
|
O21.oe = !I23;
|
|
O21.AR = ASYNC_RESET;
|
|
O21.SP = SYNC_PRESET;
|
|
|
|
O22 = !I8 & I23 #
|
|
!O19 & I23 #
|
|
!O18 #
|
|
O17 #
|
|
O16 #
|
|
!I2 & I8 & I14 #
|
|
!I2 & !I4 & !I6 & !I8 & !I10 & !I14;
|
|
O22.AR = ASYNC_RESET;
|
|
O22.SP = SYNC_PRESET;
|