Subversion Repositories MB01 Project

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 - 1
||	FILE:	#0005.PLD
2
||	PROJ:	20120602
3
||	PART:	G26CV12-#0005
4
||
5
||	DEV :	GAL26CV12
6
||
7
|| 	DESC:	DECODER MEMORIA
8
||
9
|
10
|GAL26CV12
11
|
12
|| INPUT
13
|  1:A7, 2:A8, 3:A9, 4:A10, 5:A11, 6:A12, 8:A13, 9:A14, 10:A15,
14
| 11:RES, 12:XE0, 13:XE1, 14:XE2, 28:CLB,
15
|| OUTPUT
16
|  15:IO0, 16:IO1, 17:DHS, 18:SYS, 19:ML, 20:MH, 22:PBE, 23:DB0,
17
|  24:PB0, 25:CX0, 26:CX1, 27:CX2
18
|
19
| ACTIVE-LOW: CX0, CX1, CX2, IO0, IO1
20
|
21
|
22
| SIGNATURE: "0005    "
23
|
24
||
25
|  BLK0 = (RES & A15' & A14' & A13')
26
|  BLK1 = (RES & A15' & A14' & A13)
27
|  BLK2 = (RES & A15' & A14  & A13')
28
|  BLK3 = (RES & A15' & A14  & A13)
29
|  CX0  = (BLK1 & XE0  & CLB')
30
|  CX1  = (BLK2 & XE1  & CLB')
31
|  CX2  = (BLK3 & XE2  & CLB')
32
|| RAM DBR LOW
33
|  BLK1A = ((BLK1 & XE0') # (BLK1 & CLB))
34
|  BLK2A = ((BLK2 & XE1') # (BLK2 & CLB))
35
|  BLK3A = ((BLK3 & XE2') # (BLK3 & CLB))
36
|  ML = (BLK0 # BLK1A # BLK2A # BLK3A)
37
||
38
|| BLK4  => 8000 - BFFF 16K
39
|  B4  = (A15 & A14')
40
|| BLK5  => C000 - DFFF 8K
41
|  B5  = (A15 & A14 & A13')
42
|| BLK6  => E000 - EFFF 4K
43
|  B6  = (A15 & A14 & A13 & A12')
44
|| BLK7  => F000 - F7FF 2K
45
|  B7  = (A15 & A14 & A13 & A12 & A11')
46
|| BLK8  => F800 - FBFF 1K
47
|  B8  = (A15 & A14 & A13 & A12 & A11 & A10')
48
|| BLK9  => FC00 - FDFF 512B
49
|  B9  = (A15 & A14 & A13 & A12 & A11 & A10 & A9')
50
|| BLK91 => FD00 - FDFF 256 B
51
|  B91 = (A15 & A14 & A13 & A12 & A11 & A10 & A9' & A8)
52
|| BLK10 => FE00 - FEFF 256B (I/O 1)
53
|  B10 = (A15 & A14 & A13 & A12 & A11 & A10 & A9  & A8')
54
|| BLK11 => FF00 - FF7F 128B (I/O 0)
55
|  B11 = (A15 & A14 & A13 & A12 & A11 & A10 & A9 & A8 & A7')
56
|| BLK12 => FF80 - FFFF 128B (SYSTEM PBR)
57
|  B12 = (A15 & A14 & A13 & A12 & A11 & A10 & A9 & A8 & A7)
58
||
59
|  IO0 = (RES & B11)
60
|  IO1 = (RES & B10)
61
||
62
|  MH  = ((B4 # B5 # B6 # B7 # B8 # B9) & RES)
63
||
64
|  PBE = ((B4 # B5 # B6 # B7 # B8 # B9 # B12) & RES)
65
||
66
|| SELEZIONE DBR HIGH
67
|  X0 = (A15)
68
|  X1 = (A15' & A14)
69
|  X2 = (A15' & A14' & A13)
70
|  X3 = (A15' & A14' & A13' & A12)
71
|  X4 = (A15' & A14' & A13' & A12' & A11)
72
|  DHS = (X0 # X1 # X2 # X3 # X4)
73
||
74
|| PAGINE COMUNI IN BANCO 0
75
|| P00 => 0080 - 00FF
76
|  P00 = (A15' & A14' & A13' & A12' & A11' & A10' & A9' & A8' & A7)
77
|| P01 => 0100 - 01FF
78
|  P01 = (A15' & A14' & A13' & A12' & A11' & A10' & A9' & A8)
79
|| P02 => 0200 - 02FF
80
|  P02 = (A15' & A14' & A13' & A12' & A11' & A10' & A9  & A8')
81
|| P03 => 0300 - 03FF
82
|  P03 = (A15' & A14' & A13' & A12' & A11' & A10' & A9  & A8)
83
|| P04 => 0400 - 03FF
84
|  P04 = (A15' & A14' & A13' & A12' & A11' & A10  & A9' & A8')
85
|| P05 => 0500 - 05FF
86
|  P05 = (A15' & A14' & A13' & A12' & A11' & A10  & A9' & A8)
87
|  CMR = (P00 # P01 # P02 # P03 # P04 # P05)
88
||
89
|| FORZATURA DBR IN BANCO 0
90
|  DB0 = (CMR # CLB)
91
||
92
|| FORZATURA PBR IN BANCO 0
93
|  PB0 = (B91 # B12 # CLB)
94
|  SYS = ((B91 # B12) & RES)