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: "0053EE  "
23
|
24
|| LAST VERSIONE DEBUG/LOADER 2018/26/01
25
||
26
||	FWE	XFE	RW	BANK $F0
27
||	0	X	X	/ME (RAM)
28
||	1	0	x	/CSF (FLASH)
29
||	1	1	1	/FE (EEROM8U READ ONLY)
30
||	1	1	0	/ME (RAM WRITE ONLY)
31
||
32
|| --------------------------------------------------------
33
|| HIM -> MAPPA AREA 00FE00 - 00FFFF IN RAM INVECE CHE IN FLASH
34
|| X0E -> ABILITA EXTERN MEMORY (/CX0) IN BANCO 1 AREA 010000 - 011FFF (8K)
35
|| X1E -> ABILITA EXTERN MEMORY (/CX1) IN BANCO 1 AREA 012000 - 013FFF (8K)
36
|| --------------------------------------------------------
37
||
38
|| /FE  -> ABILITA EEROM8U F00000 - F7FFFF (512K)
39
|| /ME  -> ABILITA BANCHI RAM DA 4MB (ESCLUSO CSX, BK0)
40
|| /CS0 -> PRIMO BLOCCO 128K IN 00000 - 01FFFF (ESCLUSO IO)
41
|| /CSF -> ENABLE FLASH IN F00000 - F7FFFF (512K)
42
||
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 FWE=0)
53
|  B5KA = (VMA' & A23  & A22  & A21  & A20  & A19' & FWE')
54
|| B5KB -> BLOCCO 512KB F00000 - F7FFFF (RAM SOLO SE XFE=1, FWE=1, RW=0)
55
|  B5KB = (VMA' & A23  & A22  & A21  & A20  & A19' & XFE & FWE & RW')
56
|| B6K  -> BLOCCO 512KB F80000 - FFFFFF (ALWAYS RAM)
57
|  B6K  = (A23 & A22 & A21 & A20 & A19 & VMA')
58
||
59
|| B4ML -> BLOCCO 4MB 400000 - 7FFFFF
60
|  B4ML = (VMA' & A23' & A22  )
61
|| B2ML -> BLOCCO 2MB 200000 - 3FFFFF
62
|  B2ML = (VMA' & A23' & A22' & A21  )
63
|| B1ML -> BLOCCO 1MB 100000 - 1FFFFF
64
|  B1ML = (VMA' & A23' & A22' & A21' & A20  )
65
|| B5KL -> BLOCCO 512KB 080000 - 0FFFFF
66
|  B5KL = (VMA' & A23' & A22' & A21' & A20' & A19  )
67
||
68
|| /ME   -> ABILITAZIONE RAM RANGE 080000 - F7FFFF
69
|  MXH = (B4MH # B2MH # B1MH # B5KA # B5KB)
70
|  MXL = (B4ML # B2ML # B1ML # B5KL # B6K)
71
|  ME  = (MXL # MXH)
72
||
73
|| --------------------------------------------------------
74
||
75
|  BANK0 = (A23' & A22' & A21' & A20' & A19' & A18' & A17' & A16' & VMA')
76
|  BANK1 = (A23' & A22' & A21' & A20' & A19' & A18' & A17' & A16  & VMA')
77
|| --------------------------------------------------------
78
||
79
|| B0M -> ABILITAZIONE RAM RANGE 000000 - 00FFFF (BANCO 0)
80
||
81
|| BLOCCO 32K
82
|  RB0 = (BANK0 & A15' )
83
|| BLOCCO 16K
84
|  RB1 = (BANK0 & A15  & A14' )
85
|| BLOCCO 8K
86
|  RB2 = (BANK0 & A15  & A14  & A13' )
87
|| BLOCCO 4K
88
|  RB3 = (BANK0 & A15  & A14  & A13  & A12' )
89
|| BLOCCO 2K
90
|  RB4 = (BANK0 & A15  & A14  & A13  & A12  & A11' )
91
|| BLOCCO 1K
92
|  RB5 = (BANK0 & A15  & A14  & A13  & A12  & A11  & A10')
93
|| ULTIMO BLOCCO 512B (00FE00 - 00FFFF)
94
|  RB7 = (BANK0 & A15  & A14  & A13  & A12  & A11  & A10 & A9)
95
|| RB7A -> RANGE 00FE00 - 00FFFF IN RAM SOLO SE HIM=1
96
|  RB7A = (RB7 & HIM)
97
|| RB7B -> RANGE 00FE00 - 00FFFF IN RAM SOLO SE RW=0
98
|  RB7B = (RB7 & RW')
99
||
100
|  B0M = (RB0 # RB1 # RB2 # RB3 # RB4 # RB5 # RB7A # RB7B)
101
|| --------------------------------------------------------
102
||
103
|| B1M -> ABILITAZIONE RAM RANGE 010000 - 01FFFF (BANCO 1)
104
||
105
|| B32KH -> BLOCCO 32KB 018000 - 01FFFF
106
|  B32KH = (BANK1 & A15)
107
|| B16KH -> BLOCCO 16KB 014000 - 017FFF
108
|  B16KH = (BANK1 & A15' & A14)
109
|| B08KL -> BLOCCO 8KB 010000 - 011FFF
110
|  B08KL = (BANK1 & A15' & A14' & A13' & X0E')
111
|| B08KH -> BLOCCO 8KB 012000 - 013FFF
112
|  B08KH = (BANK1 & A15' & A14' & A13  & X1E')
113
||
114
|  B1M = (B32KH # B16KH # B08KL # B08KH)
115
|| --------------------------------------------------------
116
||
117
|| /CS0 -> ABILITAZIONE RAM RANGE 000000 - 01FFFF (BANCHI 0 & 1)
118
|  CS0 = (B0M # B1M)
119
|| --------------------------------------------------------
120
||
121
|| /CSF -> ABILITAZIONE FLASH RANGE F00000 - F7FFFF
122
|| CSFA -> ALWAYS IF: FWE=1, XFE=0
123
|  CSFA = (A23 & A22 & A21 & A20 & A19' & VMA' & FWE & XFE')
124
|| CSFB -> MAPPA RANGE 00FE00 - 00FFFF IN F8FE00 - F8FFFF (HIM=0, RW=1)
125
|  CSFB = (RB7 & RW & HIM')
126
|  CSF  = (CSFA # CSFB)
127
|| --------------------------------------------------------
128
||
129
|| /FE  -> ABILITAZIONE EEROM8U RANGE F00000 - F7FFFF
130
|| /FE  -> ALWAYS IF: FWE=1, XFE=1, RW=1
131
|  FE   = (A23 & A22 & A21 & A20 & A19' & VMA' & RW & XFE & FWE)