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

02-25-01

From PLD Archive
Revision as of 12:11, 30 October 2024 by Jon (talk | contribs) (Found on...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Found on...

Equations

/* U76 labeled 02-25-01 */
/* Ataxx Joystick PAL (Joystick 1 Left/Right) */

/* Dedicated input pins */

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

/* Programmable output pins */

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

/* Output equations */

!B4 = !I1;
!B3 = !I0;
!B0 = !I6 & !I7 & !I8;

/* Output enable equations */

 B4.oe = !I9;
 B3.oe = !I9;