Subversion Repositories MB01 Project

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 - 1
||	FILE:	#0053X.PLD
2
||	PROJ:	20120601
3
||	PART:	G26CV12-#0053
4
||
5
||	DEV :	GAL26CV12
6
||
7
|| 	DESC:	MASTER DECODER - NEW BUS BOARD
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, ME, CSF
20
|
21
|
22
| SIGNATURE: "0053X   "
23
|
24
|| NEW VERSION
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
|| FIRST 128K
46
||
47
|  BANK0 = (A23' & A22' & A21' & A20' & A19' & A18' & A17' & A16' & VMA')
48
|  BANK1 = (A23' & A22' & A21' & A20' & A19' & A18' & A17' & A16  & VMA')
49
|| --------------------------------------------------------
50
||
51
|| B0M -> ABILITAZIONE RAM RANGE 000000 - 00FFFF (BANCO 0)
52
||
53
|| BLOCCO 32K
54
|  RB0 = (BANK0 & A15' )
55
|| BLOCCO 16K
56
|  RB1 = (BANK0 & A15  & A14' )
57
|| BLOCCO 8K
58
|  RB2 = (BANK0 & A15  & A14  & A13' )
59
|| BLOCCO 4K
60
|  RB3 = (BANK0 & A15  & A14  & A13  & A12' )
61
|| BLOCCO 2K
62
|  RB4 = (BANK0 & A15  & A14  & A13  & A12  & A11' )
63
|| BLOCCO 1K
64
|  RB5 = (BANK0 & A15  & A14  & A13  & A12  & A11  & A10')
65
|| ULTIMO BLOCCO 512B (00FE00 - 00FFFF)
66
|  RB7 = (BANK0 & A15  & A14  & A13  & A12  & A11  & A10 & A9)
67
|| RB7A -> RANGE 00FE00 - 00FFFF IN RAM SOLO SE HIM=1
68
|  RB7A = (RB7 & HIM)
69
|| RB7B -> RANGE 00FE00 - 00FFFF IN RAM SOLO SE RW=0
70
|  RB7B = (RB7 & RW')
71
||
72
|  B0M = (RB0 # RB1 # RB2 # RB3 # RB4 # RB5 # RB7A # RB7B)
73
|| --------------------------------------------------------
74
||
75
|| B1M -> ABILITAZIONE RAM RANGE 010000 - 01FFFF (BANCO 1)
76
||
77
|| B32KH -> BLOCCO 32KB 018000 - 01FFFF
78
|  B32KH = (BANK1 & A15)
79
|| B16KH -> BLOCCO 16KB 014000 - 017FFF
80
|  B16KH = (BANK1 & A15' & A14)
81
|| B08KL -> BLOCCO 8KB 010000 - 011FFF
82
|  B08KL = (BANK1 & A15' & A14' & A13' & X0E')
83
|| B08KH -> BLOCCO 8KB 012000 - 013FFF
84
|  B08KH = (BANK1 & A15' & A14' & A13  & X1E')
85
||
86
|  B1M = (B32KH # B16KH # B08KL # B08KH)
87
|| --------------------------------------------------------
88
||
89
|| CS0 -> ABILITAZIONE RAM RANGE 000000 - 01FFFF (BANCHI 0 & 1)
90
|  CS0 = (B0M # B1M)
91
|| --------------------------------------------------------
92
|| CS1 -> BANCO 2 & 3 - AREA 020000 - 03FFFF (128K)
93
|  CS1 = (A23' & A22' & A21' & A20' & A19' & A18' & A17  & VMA')
94
|| CS2 -> BANCO 4,5,6 & 7 - AREA 040000 - 07FFFF (256K)
95
|  CS2 = (A23' & A22' & A21' & A20' & A19' & A18 & VMA')
96
|| --------------------------------------------------------
97
||
98
|| ABILITAZIONE RAM RANGE 020000 - FFFFFF
99
|| B4MH -> BLOCCO 4MB 800000 - BFFFFF
100
|  B4MH = (VMA' & A23  & A22' )
101
|| B2MH -> BLOCCO 2MB C00000 - DFFFFF
102
|  B2MH = (VMA' & A23  & A22  & A21' )
103
|| B1MH -> BLOCCO 1MB E00000 - EFFFFF
104
|  B1MH = (VMA' & A23  & A22  & A21  & A20' )
105
|| B5K  -> BLOCCO 512KB F00000 - F7FFFF (RAM SOLO SE XFE=0, HIM=1)
106
|  B5K  = (VMA' & A23  & A22  & A21  & A20  & A19' & XFE' & HIM)
107
|| B6K -> BLOCCO 512KB F80000 - FFFFFF ALWAYS MAPPED
108
|  B6K  = (A23 & A22 & A21 & A20 & A19 & VMA')
109
||
110
|| B4ML -> BLOCCO 4MB 400000 - 7FFFFF
111
|  B4ML = (VMA' & A23' & A22  )
112
|| B2ML -> BLOCCO 2MB 200000 - 3FFFFF
113
|  B2ML = (VMA' & A23' & A22' & A21  )
114
|| B1ML -> BLOCCO 1MB 100000 - 1FFFFF
115
|  B1ML = (VMA' & A23' & A22' & A21' & A20  )
116
|| B5KL -> BLOCCO 512KB 080000 - 0FFFFF
117
|  B5KL = (VMA' & A23' & A22' & A21' & A20' & A19  )
118
||
119
|| /ME   -> ABILITAZIONE RAM RANGE 000000 - F7FFFF
120
|  MXH = (B4MH # B2MH # B1MH # B5K # B6K)
121
|  MXL = (B4ML # B2ML # B1ML # B5KL # CS0 # CS1 # CS2)
122
|  ME  = (MXL # MXH)
123
||
124
|| --------------------------------------------------------
125
|| /FE  -> ABILITA FLASH RANGE F00000 - F7FFFF
126
||
127
|| FS1R -> MAPPA RANGE 00FE00 - 00FFFF IN FLASH (HIM=0, RW=1) - BOOT
128
|  FS1R = (RB7 & RW & HIM')
129
|| FS2 -> ABILITA FLASH RANGE F00000 - F7FFFF (XFE=1, FWE=1)
130
|  FS2  = (A23 & A22 & A21 & A20 & A19' & VMA' & FWE & XFE)
131
|  FE = (FS1R # FS2)
132
|| --------------------------------------------------------
133
|| EMULATOR
134
|| /CSF -> ABILITAZIONE EMULATOR RANGE F80000 - FFFFFF (XFE=1, FWE=0)
135
|  CSF = (A23 & A22 & A21 & A20 & A19' & VMA' & FWE' & XFE)