Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Super Real Mahjong Part IV

From PLD Archive
Revision as of 19:35, 28 July 2022 by Jon (talk | contribs)

PLD

PLD Information Credits Download View
Dump Method Target Device Location ID Status Creator(s) Tester(s) Files Pictures
Bruteforced GAL16V8 U25 SX001-13 Tested ok Porchy Twistedsymphony, Hammy ZIP

Equations

SX001-13 Equations
/* Dedicated input pins */

pin 1   = I0; /* Input */
pin 2   = I1; /* Input */
pin 3   = I2; /* Input */
pin 4   = I3; /* Input */
pin 5   = I4; /* Input */
pin 6   = I5; /* Unused input */
pin 7   = I6; /* Input */
pin 8   = I7; /* Unused input */
pin 9   = I8; /* Input */
pin 11  = I9; /* Unused input */

/* Programmable output pins */

pin 12  = B0; /* Combinatorial output */
pin 13  = B1; /* Unused input */
pin 14  = B2; /* Combinatorial output */
pin 15  = B3; /* Combinatorial output */
pin 16  = B4; /* Combinatorial output */
pin 17  = B5; /* Combinatorial output */
pin 18  = B6; /* Unused input */
pin 19  = B7; /* Combinatorial output */

/* Output equations */

!B7 = !I6;
!B5 = !I0 & !I1 &  I2 &  I3 & !I4 & !I8;
!B4 = !I6;
!B3 =  I0 &  I1 &  I2 &  I3 & !I4 & !I8;
!B2 = !I0 &  I1 &  I2 &  I3 & !I4 & !I8;
!B0 =  I2 &  I3 & !I4 & !I8;

Credits