- reorganized project directory structure
[z80comp2] / hw / glue.pld
1 GAL16V8
2 gluez80
3
4 A4 A5 A6 A7 A15 NC M1 MREQ IOREQ GND
5 RFSH RD WR NC /IACK UARTENP /UARTEN /RAMEN /ROMEN VCC
6
7 ROMEN = /MREQ * RFSH * /A15
8 RAMEN = /MREQ * RFSH * A15
9 UARTEN = /IOREQ*M1*/A7*/A6*/A5*/A4*/RD + /IOREQ*M1*/A7*/A6*/A5*/A4*/WR
10 UARTENP = /IOREQ*M1*/A7*/A6*/A5*/A4*/RD + /IOREQ*M1*/A7*/A6*/A5*/A4*/WR
11 IACK = /IOREQ * /M1
12
13 DESCRIPTION
14 Z80 computer 2 glue logic and address decoding
15 /ROMEN enables the ROM for memory cycles from 0000h to 0fffh
16 /RAMEN enables the RAM for memory cycles from 1000h to ffffh
17 /UARTEN enables the DUART for I/O cycles from port 0 to 15
18 UARTENP is the negation of /UARTEN, needed for the DUART wait state logic
19 /IACK signifies an interrupt acknowledge cycle