Blame | Last modification | View Log | Download | RSS feed
|| FILE: #0203.PLD
|| PROJ: 20120601
|| PART: G26CV12-#0203
||
|| 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:HIM,
| 25:SW0, 26:SW1, 27:S0, S1:FWE,
|| OUTPUT
| 19:CEE, 20:CS0, 22:CSR, 23:CSF, 24:CSE
|
| ACTIVE-LOW: CEE, CS0, CSR, CSF, CSE
|
|
| SIGNATURE: "00203 "
|
|| MAP
|| CS0 - RAM BANK $00
|| CSR - RAM BANK $F0
|| CSF - FLASH BANK $F0
|| CSE - EEROM BANK $F0
|| CEE - EMU8U BANK $F0
||
|| MAP $00FE00 - $00FFFF IF HIM = 0
|| --------------------------------------
|| SW0 SW1 TYPE SIGNAL
|| 0 X FLASH CSF
|| 1 0 EEROM CSE
|| 1 1 EMU8U CEE
||
|| MAP $00FE00 - $00FFFF IF HIM = 1
|| --------------------------------------
|| SW0 SW1 TYPE SIGNAL
|| X X RAM BANK $00 CS0
||
|| MAP BANK $F0 : $F00000 - $F0FFFF
|| --------------------------------------
|| S1 S0 TYPE SIGNAL
|| 0 0 RAM bank $F0 CSR
|| 0 1 FLASH CSF
|| 1 0 EEROM CSE
|| 1 1 EMU8U CEE
||
|| --------------------------------------------------------
||
|| BANK $00 : $000000 - $00FFFF
| BANK0 = (A23' & A22' & A21' & A20' & A19' & A18' & A17' & A16' & VMA')
||
|| 32K BLOCK
| RB0 = (BANK0 & A15' )
|| 16K BLOCK
| RB1 = (BANK0 & A15 & A14' )
|| 8K BLOCK
| RB2 = (BANK0 & A15 & A14 & A13' )
|| 4K BLOCK
| RB3 = (BANK0 & A15 & A14 & A13 & A12' )
|| 2K BLOCK
| RB4 = (BANK0 & A15 & A14 & A13 & A12 & A11' )
|| 1K BLOCK
| RB5 = (BANK0 & A15 & A14 & A13 & A12 & A11 & A10')
|| 512 BYTES BLOCK $00FC00 - $00FDFF RESERVED FOR I/O
|| RB6 = (BANK0 & A15 & A14 & A13 & A12 & A11 & A10 & A9')
||
|| LAST 512 BYTES BLOCK ($00FE00 - $00FFFF) ONLY IF HIM=1
| RB7 = (BANK0 & A15 & A14 & A13 & A12 & A11 & A10 & A9 & HIM)
||
|| BANK $00 RAM SELECT
| CS0A = (RB0 # RB1 # RB2 # RB3 # RB4 # RB5 # RB7)
||
|| BANK $01 : $010000 - $01FFFF
| BANK1 = (A23' & A22' & A21' & A20' & A19' & A18' & A17' & A16 & VMA')
||
|| 16K BLOCK $010000 - $013FFF RESERVED FOR EXTERNAL RAM
|| BR0 = (BANK1 & A15' & A14')
|| 16K BLOCK $014000 - $017FFF
| BR1 = (BANK1 & A15' & A14)
|| 32K BLOCK $018000 - $01FFFF
| BR2 = (BANK1 & A15)
||
|| BANK $01 RAM SELECT
| CS0B = (BR1 # BR2 # BR3)
||
|| BANK $02 & $03 : $020000 - $03FFFF (128K BLOK)
| CS0C = (A23' & A22' & A21' & A20' & A19' & A18' & A17 & VMA')
||
|| BANK $03 - $07 : $040000 - $07FFFF (256K BLOK)
| CS0D = (A23' & A22' & A21' & A20' & A19' & A18 & VMA')
||
|| BANK $00 - $07 RAM SELECTION (512K BLOCK)
| CSR = (CS0A # CS0B # CS0C # CS0D)
||
|| --------------------------------------------------------
||
|| BANKF0: $F00000 - $F7FFFF
| BANKF0 = (A23 & A22 & A21 & A20 & A19' & VMA')
||
|| LAST 512 BYTES BLOCK ON BANK $00 ($00FE00 - $00FFFF) ONLY IF HIM=0
| BR7 = (BANK0 & A15 & A14 & A13 & A12 & A11 & A10 & A9 & HIM')
|| BR7 MAPPED TO FLASH IF SW0=0
| BR7F = BR7 & SW0'
|| BR7 MAPPED TO EEROM IF SW0=1 & SW1=1
| BR7E = BR7 & SW0 & SW1
|| BR7 MAPPED TO EMU8U IF SW0=1 & SW1=0
| BR7U = BR7 & SW0 & SW1'
|| BANK $F0 MAPPED TO FLASH IF S0=1 & S1=0
| BF0F = BANKF0 & S0 & S1'
|| BANK $F0 MAPPED TO EEROM IF S0=0 & S1=1
| BF0E = BANKF0 & S0' & S1
|| BANK $F0 MAPPED TO EMU8U IF S0=1 & S1=1
| BF0U = BANKF0 & S0 & S1
|| BANK $F0 MAPPED TO RAM IF S0=0 & S1=0
| BF0R = BANKF0 & S0' & S1'
|
| CSR = BF0R
| CSF = (BF0F # BR7F)
| CSE = (BF0E # BR7E)
| CEE = (BF0U # BR7U)