Blame | Last modification | View Log | Download | RSS feed
|| FILE: #0053X.PLD
|| PROJ: 20120601
|| PART: G26CV12-#0053
||
|| DEV : GAL26CV12
||
|| DESC: MASTER DECODER - NEW BUS BOARD
||
|
|GAL26CV12
|
|| INPUT
| 1:A9, 2:A10, 3:A11, 4:A12, 5:A13, 6:A14, 8:A15, 9:A16, 10:A17,
| 11:A18, 12:A19, 13:A20, 14:A21, 15:A22, 16:A23, 17:VMA, 18:RW,
| 24:HIM, 25:X0E, 26:X1E, 27:XFE, 28:FWE,
|| OUTPUT
| 19:FE, 20:CS0, 22:ME, 23:CSF
|
| ACTIVE-LOW: FE, ME, CSF
|
|
| SIGNATURE: "0053X "
|
|| NEW VERSION
|
|| --------------------------------------------------------
|| HIM -> MAPPA AREA 00FE00 - 00FFFF IN RAM INVECE CHE IN FLASH
|| X0E -> ABILITA EXTERN MEMORY (/CX0) IN BANCO 1 AREA 010000 - 011FFF (8K)
|| X1E -> ABILITA EXTERN MEMORY (/CX1) IN BANCO 1 AREA 012000 - 013FFF (8K)
|| XFE -> ABILITA FLASH MEMORY BANCHI F0/F7 AREA F00000 - F7FFFF
|| FWE -> ABILITA WRITE FLASH MEMORY
|| --------------------------------------------------------
||
|| /FE -> ABILITA FLASH MEMORY F00000 - F7FFFF (512K)
|| /ME -> ABILITA BANCHI RAM DA 4MB (ESCLUSO CSX, BK0)
|| BLOCCO F80000 - FFFFFF ABILITATO SE:
|| HIM = 1 AND XFE = 1 AND RW = 0
|| HIM = 0 AND RW = 1
|| /CS0 -> PRIMO BLOCCO 128K IN 00000 - 01FFFF (ESCLUSO IO)
|| /CSF -> BLOCCO FLASH IN F80000 - FFFFFF (512K)
|| READ ONLY IF HIM = 1 AND XFE = 1
|| MAPPA 00FE00 - 00FFFF IN F8FE00 - F8FFFF SE HIM=0 E RW=1
|| --------------------------------------------------------
|| FIRST 128K
||
| BANK0 = (A23' & A22' & A21' & A20' & A19' & A18' & A17' & A16' & VMA')
| BANK1 = (A23' & A22' & A21' & A20' & A19' & A18' & A17' & A16 & VMA')
|| --------------------------------------------------------
||
|| B0M -> ABILITAZIONE RAM RANGE 000000 - 00FFFF (BANCO 0)
||
|| BLOCCO 32K
| RB0 = (BANK0 & A15' )
|| BLOCCO 16K
| RB1 = (BANK0 & A15 & A14' )
|| BLOCCO 8K
| RB2 = (BANK0 & A15 & A14 & A13' )
|| BLOCCO 4K
| RB3 = (BANK0 & A15 & A14 & A13 & A12' )
|| BLOCCO 2K
| RB4 = (BANK0 & A15 & A14 & A13 & A12 & A11' )
|| BLOCCO 1K
| RB5 = (BANK0 & A15 & A14 & A13 & A12 & A11 & A10')
|| ULTIMO BLOCCO 512B (00FE00 - 00FFFF)
| RB7 = (BANK0 & A15 & A14 & A13 & A12 & A11 & A10 & A9)
|| RB7A -> RANGE 00FE00 - 00FFFF IN RAM SOLO SE HIM=1
| RB7A = (RB7 & HIM)
|| RB7B -> RANGE 00FE00 - 00FFFF IN RAM SOLO SE RW=0
| RB7B = (RB7 & RW')
||
| B0M = (RB0 # RB1 # RB2 # RB3 # RB4 # RB5 # RB7A # RB7B)
|| --------------------------------------------------------
||
|| B1M -> ABILITAZIONE RAM RANGE 010000 - 01FFFF (BANCO 1)
||
|| B32KH -> BLOCCO 32KB 018000 - 01FFFF
| B32KH = (BANK1 & A15)
|| B16KH -> BLOCCO 16KB 014000 - 017FFF
| B16KH = (BANK1 & A15' & A14)
|| B08KL -> BLOCCO 8KB 010000 - 011FFF
| B08KL = (BANK1 & A15' & A14' & A13' & X0E')
|| B08KH -> BLOCCO 8KB 012000 - 013FFF
| B08KH = (BANK1 & A15' & A14' & A13 & X1E')
||
| B1M = (B32KH # B16KH # B08KL # B08KH)
|| --------------------------------------------------------
||
|| CS0 -> ABILITAZIONE RAM RANGE 000000 - 01FFFF (BANCHI 0 & 1)
| CS0 = (B0M # B1M)
|| --------------------------------------------------------
|| CS1 -> BANCO 2 & 3 - AREA 020000 - 03FFFF (128K)
| CS1 = (A23' & A22' & A21' & A20' & A19' & A18' & A17 & VMA')
|| CS2 -> BANCO 4,5,6 & 7 - AREA 040000 - 07FFFF (256K)
| CS2 = (A23' & A22' & A21' & A20' & A19' & A18 & VMA')
|| --------------------------------------------------------
||
|| ABILITAZIONE RAM RANGE 020000 - FFFFFF
|| B4MH -> BLOCCO 4MB 800000 - BFFFFF
| B4MH = (VMA' & A23 & A22' )
|| B2MH -> BLOCCO 2MB C00000 - DFFFFF
| B2MH = (VMA' & A23 & A22 & A21' )
|| B1MH -> BLOCCO 1MB E00000 - EFFFFF
| B1MH = (VMA' & A23 & A22 & A21 & A20' )
|| B5K -> BLOCCO 512KB F00000 - F7FFFF (RAM SOLO SE XFE=0, HIM=1)
| B5K = (VMA' & A23 & A22 & A21 & A20 & A19' & XFE' & HIM)
|| B6K -> BLOCCO 512KB F80000 - FFFFFF ALWAYS MAPPED
| B6K = (A23 & A22 & A21 & A20 & A19 & VMA')
||
|| B4ML -> BLOCCO 4MB 400000 - 7FFFFF
| B4ML = (VMA' & A23' & A22 )
|| B2ML -> BLOCCO 2MB 200000 - 3FFFFF
| B2ML = (VMA' & A23' & A22' & A21 )
|| B1ML -> BLOCCO 1MB 100000 - 1FFFFF
| B1ML = (VMA' & A23' & A22' & A21' & A20 )
|| B5KL -> BLOCCO 512KB 080000 - 0FFFFF
| B5KL = (VMA' & A23' & A22' & A21' & A20' & A19 )
||
|| /ME -> ABILITAZIONE RAM RANGE 000000 - F7FFFF
| MXH = (B4MH # B2MH # B1MH # B5K # B6K)
| MXL = (B4ML # B2ML # B1ML # B5KL # CS0 # CS1 # CS2)
| ME = (MXL # MXH)
||
|| --------------------------------------------------------
|| /FE -> ABILITA FLASH RANGE F00000 - F7FFFF
||
|| FS1R -> MAPPA RANGE 00FE00 - 00FFFF IN FLASH (HIM=0, RW=1) - BOOT
| FS1R = (RB7 & RW & HIM')
|| FS2 -> ABILITA FLASH RANGE F00000 - F7FFFF (XFE=1, FWE=1)
| FS2 = (A23 & A22 & A21 & A20 & A19' & VMA' & FWE & XFE)
| FE = (FS1R # FS2)
|| --------------------------------------------------------
|| EMULATOR
|| /CSF -> ABILITAZIONE EMULATOR RANGE F80000 - FFFFFF (XFE=1, FWE=0)
| CSF = (A23 & A22 & A21 & A20 & A19' & VMA' & FWE' & XFE)