*IDENTIFICATION ZXEPRSEL; *TYPE GAL20V8; *PINS %INPUTS% A1 = 2, WR = 3, A4 = 4, A6 = 5, A7 = 6, D0 = 7, D1 = 8, IORQ = 9, M1 = 10, T0 = 11, T1 = 14, T2 = 15, T3 = 23, %pin 13 (OE) connect to GND% %OUTPUTS % CLK.T = 22, %connect to pin 1% EA14.R = 16, EA15.R = 17, LED0.T = 18, LED1.T = 19, LED2.T = 20, LED3.T = 21; *BOOLEAN-EQUATIONS CLK.E = VCC; CLK = /IORQ*M1*A7*/A6*/A4*/WR*/A1+T0+T1+T2+T3; EA14 = D0*/IORQ*M1*A7*/A6*/A4*/WR*/A1+T1+T3; EA15 = D1*/IORQ*M1*A7*/A6*/A4*/WR*/A1+T2+T3; LED0.E = VCC; /LED0 = /EA14*/EA15; LED1.E = VCC; /LED1 = EA14*/EA15; LED2.E = VCC; /LED2 = /EA14*EA15; LED3.E = VCC; /LED3 = EA14*EA15; *END
Make your own free website on Tripod.com