Subversion Repositories MB01 Project

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 - 1
||	FILE:	#0053LL.PLD
2
||	PROJ:	20120601
3
||	PART:	G26CV12-#0053
4
||
5
||	DEV :	GAL26CV12
6
||
7
|| 	DESC:	MASTER DECODER
8
||
9
|
10
|GAL26CV12
11
|
12
|| INPUT
13
|  1:A9, 2:A10, 3:A11, 4:A12, 5:A13, 6:A14, 8:A15, 9:A16, 10:A17,
14
| 11:A18, 12:A19, 13:A20, 14:A21, 15:A22, 16:A23, 17:VMA, 18:RW,
15
| 24:HIM, 25:X0E, 26:X1E, 27:XFE, 28:FWE,
16
|| OUTPUT
17
|  19:FE, 20:CS0, 22:ME, 23:CSF
18
|
19
| ACTIVE-LOW: FE, CS0, ME, CSF
20
|
21
|
22
| SIGNATURE: "0053LL  "
23
|
24
|| VERSIONE DEBUG/LOADER
25
|
26
|| --------------------------------------------------------
27
|| HIM -> MAPPA AREA 00FE00 - 00FFFF IN RAM INVECE CHE IN FLASH
28
|| X0E -> ABILITA EXTERN MEMORY (/CX0) IN BANCO 1 AREA 010000 - 011FFF (8K)
29
|| X1E -> ABILITA EXTERN MEMORY (/CX1) IN BANCO 1 AREA 012000 - 013FFF (8K)
30
|| XFE -> ABILITA FLASH  MEMORY BANCHI F0/F7 AREA F00000 - F7FFFF
31
|| FWE -> ABILITA WRITE FLASH MEMORY
32
|| --------------------------------------------------------
33
||
34
|| /FE  -> ABILITA FLASH MEMORY F00000 - F7FFFF (512K)
35
|| /ME  -> ABILITA BANCHI RAM DA 4MB (ESCLUSO CSX, BK0)
36
||	   BLOCCO F80000 - FFFFFF ABILITATO SE:
37
||		HIM = 1 AND XFE = 1 AND RW = 0
38
||		HIM = 0 AND RW = 1
39
|| /CS0 -> PRIMO BLOCCO 128K IN 00000 - 01FFFF (ESCLUSO IO)
40
|| /CSF -> BLOCCO FLASH IN F80000 - FFFFFF (512K)
41
||	   READ ONLY IF HIM = 1 AND XFE = 1
42
||	   MAPPA 00FE00 - 00FFFF IN F8FE00 - F8FFFF SE HIM=0 E RW=1
43
|| --------------------------------------------------------
44
||
45
|| ABILITAZIONE RAM RANGE 020000 - FFFFFF
46
|| B4MH -> BLOCCO 4MB 800000 - BFFFFF
47
|  B4MH = (VMA' & A23  & A22' )
48
|| B2MH -> BLOCCO 2MB C00000 - DFFFFF
49
|  B2MH = (VMA' & A23  & A22  & A21' )
50
|| B1MH -> BLOCCO 1MB E00000 - EFFFFF
51
|  B1MH = (VMA' & A23  & A22  & A21  & A20' )
52
|| B5KA -> BLOCCO 512KB F00000 - F7FFFF (RAM SOLO SE XFE=0)
53
|  B5KA = (VMA' & A23  & A22  & A21  & A20  & A19' & XFE' & FWE')
54
|| B5KB -> BLOCCO 512KB F00000 - F7FFFF (RAM SOLO SE XFE=1, FWE=0, RW=0)
55
|  B5KB = (VMA' & A23  & A22  & A21  & A20  & A19' & XFE & FWE' & RW')
56
|  B6K  = (A23 & A22 & A21 & A20 & A19 & VMA')
57
|  B6KR = (B6K & RW)
58
|  B6KW = (B6K & HIM' & RW' & FWE)
59
|  B6KWA = (B6K & RW' & FWE & XFE' & HIM)
60
|  B6RM = (B6KR # B6KW # B6KWA)
61
||
62
|| B4ML -> BLOCCO 4MB 400000 - 7FFFFF
63
|  B4ML = (VMA' & A23' & A22  )
64
|| B2ML -> BLOCCO 2MB 200000 - 3FFFFF
65
|  B2ML = (VMA' & A23' & A22' & A21  )
66
|| B1ML -> BLOCCO 1MB 100000 - 1FFFFF
67
|  B1ML = (VMA' & A23' & A22' & A21' & A20  )
68
|| B5KL -> BLOCCO 512KB 080000 - 0FFFFF
69
|  B5KL = (VMA' & A23' & A22' & A21' & A20' & A19  )
70
||
71
|| /ME   -> ABILITAZIONE RAM RANGE 080000 - F7FFFF
72
|  MXH = (B4MH # B2MH # B1MH # B5KA # B5KB)
73
|  MXL = (B4ML # B2ML # B1ML # B5KL)
74
|  ME  = (MXL # MXH # B6RM)
75
||
76
|| --------------------------------------------------------
77
||
78
|  BANK0 = (A23' & A22' & A21' & A20' & A19' & A18' & A17' & A16' & VMA')
79
|  BANK1 = (A23' & A22' & A21' & A20' & A19' & A18' & A17' & A16  & VMA')
80
|| --------------------------------------------------------
81
||
82
|| B0M -> ABILITAZIONE RAM RANGE 000000 - 00FFFF (BANCO 0)
83
||
84
|| BLOCCO 32K
85
|  RB0 = (BANK0 & A15' )
86
|| BLOCCO 16K
87
|  RB1 = (BANK0 & A15  & A14' )
88
|| BLOCCO 8K
89
|  RB2 = (BANK0 & A15  & A14  & A13' )
90
|| BLOCCO 4K
91
|  RB3 = (BANK0 & A15  & A14  & A13  & A12' )
92
|| BLOCCO 2K
93
|  RB4 = (BANK0 & A15  & A14  & A13  & A12  & A11' )
94
|| BLOCCO 1K
95
|  RB5 = (BANK0 & A15  & A14  & A13  & A12  & A11  & A10')
96
|| ULTIMO BLOCCO 512B (00FE00 - 00FFFF)
97
|  RB7 = (BANK0 & A15  & A14  & A13  & A12  & A11  & A10 & A9)
98
|| RB7A -> RANGE 00FE00 - 00FFFF IN RAM SOLO SE HIM=1
99
|  RB7A = (RB7 & HIM)
100
|| RB7B -> RANGE 00FE00 - 00FFFF IN RAM SOLO SE RW=0
101
|  RB7B = (RB7 & RW')
102
||
103
|  B0M = (RB0 # RB1 # RB2 # RB3 # RB4 # RB5 # RB7A # RB7B)
104
|| --------------------------------------------------------
105
||
106
|| B1M -> ABILITAZIONE RAM RANGE 010000 - 01FFFF (BANCO 1)
107
||
108
|| B32KH -> BLOCCO 32KB 018000 - 01FFFF
109
|  B32KH = (BANK1 & A15)
110
|| B16KH -> BLOCCO 16KB 014000 - 017FFF
111
|  B16KH = (BANK1 & A15' & A14)
112
|| B08KL -> BLOCCO 8KB 010000 - 011FFF
113
|  B08KL = (BANK1 & A15' & A14' & A13' & X0E')
114
|| B08KH -> BLOCCO 8KB 012000 - 013FFF
115
|  B08KH = (BANK1 & A15' & A14' & A13  & X1E')
116
||
117
|  B1M = (B32KH # B16KH # B08KL # B08KH)
118
|| --------------------------------------------------------
119
||
120
|| /CS0 -> ABILITAZIONE RAM RANGE 000000 - 01FFFF (BANCHI 0 & 1)
121
|  CS0 = (B0M # B1M)
122
|| --------------------------------------------------------
123
||
124
|| FS0  -> ABILITA FLASH RANGE F00000 - F7FFFF SOLO SE XFE=1
125
|| FS0R -> ABILITA FLASH RANGE F00000 - F7FFFF SOLO LETTURA
126
|  FS0R = (A23 & A22 & A21 & A20 & A19' & VMA' & RW  & XFE)
127
|| FS0W -> ABILITA FLASH RANGE F00000 - F7FFFF SOLO SCRITTURA (FWE=1)
128
|| FS0W = (A23 & A22 & A21 & A20 & A19' & VMA' & RW' & XFE & FWE)
129
||
130
|| /FE -> ABILITAZIONE FLASH RANGE F00000 - F7FFFF
131
|| FE = (FS0R # FS0W)
132
|  FE = FS0R
133
|| --------------------------------------------------------
134
||
135
|| FS1  -> ABILITA FLASH RANGE F80000 - FFFFFF
136
|| FS1R -> ABILITA FLASH RANGE F80000 - FFFFFF SOLO LETTURA
137
||  FS1R = (A23 & A22 & A21 & A20 & A19 & VMA' & RW & HIM')
138
|| FS1W -> ABILITA FLASH RANGE F80000 - FFFFFF SOLO SCRITTURA (FWE=1)
139
||  FS1W = (A23 & A22 & A21 & A20 & A19 & VMA' & RW' & FWE & HIM)
140
|  FS1W = (A23 & A22 & A21 & A20 & A19' & VMA' & RW' & FWE & XFE)
141
|  FS2W = (A23 & A22 & A21 & A20 & A19' & VMA' & RW' & FWE & XFE')
142
|  FS1R = (A23 & A22 & A21 & A20 & A19' & VMA' & RW  & FWE & XFE')
143
|| FS2R -> MAPPA RANGE 00FE00 - 00FFFF IN F8FE00 - F8FFFF (HIM=0, RW=1)
144
|  FS2R = (RB7 & RW & HIM')
145
||
146
|| /CSF -> ABILITAZIONE FLASH RANGE F80000 - FFFFFF
147
||  CSF = (FS2R # FS1W)
148
|  CSF = (FS1R # FS2R # FS1W # FS2W)