Subversion Repositories MB01 Project

Rev

Blame | Last modification | View Log | Download | RSS feed

||      FILE:   #0053LL.PLD
||      PROJ:   20120601        
||      PART:   G26CV12-#0053
||
||      DEV :   GAL26CV12
||
||      DESC:   MASTER DECODER
||
|
|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, CS0, ME, CSF
|
|
| SIGNATURE: "0053LL  "
|
|| VERSIONE DEBUG/LOADER
|
|| --------------------------------------------------------
|| 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
|| --------------------------------------------------------
||
|| 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' )
|| B5KA -> BLOCCO 512KB F00000 - F7FFFF (RAM SOLO SE XFE=0)
|  B5KA = (VMA' & A23  & A22  & A21  & A20  & A19' & XFE' & FWE')
|| B5KB -> BLOCCO 512KB F00000 - F7FFFF (RAM SOLO SE XFE=1, FWE=0, RW=0)
|  B5KB = (VMA' & A23  & A22  & A21  & A20  & A19' & XFE & FWE' & RW')
|  B6K  = (A23 & A22 & A21 & A20 & A19 & VMA')
|  B6KR = (B6K & RW)
|  B6KW = (B6K & HIM' & RW' & FWE)
|  B6KWA = (B6K & RW' & FWE & XFE' & HIM)
|  B6RM = (B6KR # B6KW # B6KWA)
||
|| 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 080000 - F7FFFF
|  MXH = (B4MH # B2MH # B1MH # B5KA # B5KB)
|  MXL = (B4ML # B2ML # B1ML # B5KL)
|  ME  = (MXL # MXH # B6RM)
||
|| --------------------------------------------------------
||
|  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)
|| --------------------------------------------------------
||
|| FS0  -> ABILITA FLASH RANGE F00000 - F7FFFF SOLO SE XFE=1
|| FS0R -> ABILITA FLASH RANGE F00000 - F7FFFF SOLO LETTURA
|  FS0R = (A23 & A22 & A21 & A20 & A19' & VMA' & RW  & XFE)
|| FS0W -> ABILITA FLASH RANGE F00000 - F7FFFF SOLO SCRITTURA (FWE=1)
|| FS0W = (A23 & A22 & A21 & A20 & A19' & VMA' & RW' & XFE & FWE)
||
|| /FE -> ABILITAZIONE FLASH RANGE F00000 - F7FFFF
|| FE = (FS0R # FS0W)
|  FE = FS0R
|| --------------------------------------------------------
||
|| FS1  -> ABILITA FLASH RANGE F80000 - FFFFFF
|| FS1R -> ABILITA FLASH RANGE F80000 - FFFFFF SOLO LETTURA
||  FS1R = (A23 & A22 & A21 & A20 & A19 & VMA' & RW & HIM')
|| FS1W -> ABILITA FLASH RANGE F80000 - FFFFFF SOLO SCRITTURA (FWE=1)
||  FS1W = (A23 & A22 & A21 & A20 & A19 & VMA' & RW' & FWE & HIM)
|  FS1W = (A23 & A22 & A21 & A20 & A19' & VMA' & RW' & FWE & XFE)
|  FS2W = (A23 & A22 & A21 & A20 & A19' & VMA' & RW' & FWE & XFE')
|  FS1R = (A23 & A22 & A21 & A20 & A19' & VMA' & RW  & FWE & XFE')
|| FS2R -> MAPPA RANGE 00FE00 - 00FFFF IN F8FE00 - F8FFFF (HIM=0, RW=1)
|  FS2R = (RB7 & RW & HIM')
||
|| /CSF -> ABILITAZIONE FLASH RANGE F80000 - FFFFFF
||  CSF = (FS2R # FS1W)
|  CSF = (FS1R # FS2R # FS1W # FS2W)