BGA
Advanced Member level 4
Help for a PAL
I'm looking the eqautions of a PAL16R8 used in an old project. I need help because I never used pal.
The equations are:
Pins 1 TO 10:
CLK ENININT DRIN15 DRIN14 CHANGE0 CHANGE1 PULLUP NC NC GND
Pins 11 TO 20:
OE /O1 /O2 /O3 /O4 /SETCHANGE NC /O7 /ININT VCC
Equations:
O1:= DRIN14 O2:= O1 O3:= DRIN15 O4:= O3
SETCHANGE:=O1 * /O2 + /O1 * O2 + O3 * /O4 + O4 * /O3 +
+ CHANGE0 + CHANGE1 + /PULLUP
O7:= ENININT
ININT:= O7 * (O1 * /O2 + O2 * /O1 +O3 * /O4 + O4 * /O3 +
+ CHANGE0 + CHANGE1 + /PULLUP)
Looking the equations it seems that:
the output /SETCHANGE it's the negate of (CHANGE0 OR CHANGE1 OR PULLUP)
and the output /ININT it's the negate of ENININT AND (CHANGE0 OR CHANGE1 OR PULLUP).
Is it correct ?
If yes, why the designer uses in the equations the signals O1 * /O2 + O2 * /O1 etc. etc. that results in a logic 1 ever (O1 and O2 are ugual).
Thanks in advance.
I'm looking the eqautions of a PAL16R8 used in an old project. I need help because I never used pal.
The equations are:
Pins 1 TO 10:
CLK ENININT DRIN15 DRIN14 CHANGE0 CHANGE1 PULLUP NC NC GND
Pins 11 TO 20:
OE /O1 /O2 /O3 /O4 /SETCHANGE NC /O7 /ININT VCC
Equations:
O1:= DRIN14 O2:= O1 O3:= DRIN15 O4:= O3
SETCHANGE:=O1 * /O2 + /O1 * O2 + O3 * /O4 + O4 * /O3 +
+ CHANGE0 + CHANGE1 + /PULLUP
O7:= ENININT
ININT:= O7 * (O1 * /O2 + O2 * /O1 +O3 * /O4 + O4 * /O3 +
+ CHANGE0 + CHANGE1 + /PULLUP)
Looking the equations it seems that:
the output /SETCHANGE it's the negate of (CHANGE0 OR CHANGE1 OR PULLUP)
and the output /ININT it's the negate of ENININT AND (CHANGE0 OR CHANGE1 OR PULLUP).
Is it correct ?
If yes, why the designer uses in the equations the signals O1 * /O2 + O2 * /O1 etc. etc. that results in a logic 1 ever (O1 and O2 are ugual).
Thanks in advance.