Subversion Repositories MB01 Project

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 - 1
||	FILE:	#0155.PLD
2
||	PROJ:	20120600
3
||	PART:	G16V8-#0155
4
||
5
||	DEV :	GAL16V8
6
||
7
|| 	DESC:	DECODER ATA 0/1
8
||
9
|
10
|GAL16V8
11
|
12
|| INPUT
13
|  1:A0, 2:A1, 3:A2, 4:A3, 5:RW, 6:PHI2, 7:ATA, 8:-, 9:-, 11:PHI0,
14
|| OUTPUT
15
|  12:HWO, 13:HWC, 14:GA, 15:IOR, 16:IOW, 17:CS0, 18:CS1, 19:HRD
16
|
17
| ACTIVE-LOW: HWC, HWO, HRD, CS0, CS1, GA, IOR, IOW
18
|
19
| PROPERTY:"SIMPLE"
20
|
21
| SIGNATURE: "0155C   "
22
|
23
|| --------------------------------------------------------
24
|| INDIRIZZO I/O ATA
25
|  IOA = (ATA')
26
|| --------------------------------------------------------
27
|| ATAA => XXX0 - XXX7
28
|  ATAA = (IOA & A3')
29
|| ATAB => XXXE - XXXF
30
|  ATAB = (IOA & A3 & A2 & A1)
31
|| REGISTRO HIGH DATA ATA => XXXC
32
|  HDA0 = (IOA & A3 & A2 & A1' & A0')
33
|| REGISTRO DATI 16 BIT ATA => XXX0
34
|  RDR0 = (ATAA & A2' & A1' & A0')
35
|| --------------------------------------------------------
36
|| CONTROLLO ATA
37
|| CS0 => XXX0 - XXX7
38
|  CS0 =  (ATAA & PHI2)
39
|| CS1 => XXXE - XXXF
40
|  CS1 = (ATAB & PHI2)
41
|  ATAX = (ATAA # ATAB)
42
|  GA  = ATAX
43
|| --------------------------------------------------------
44
|| SEGNALI ATA IOR, IOW
45
|| IOR, IOW SINCRONIZZATI CON PHI2
46
|  RD1 = (ATAX & RW  & PHI2)
47
|  WR1 = (ATAX & RW' & PHI2 & PHI0)
48
|  IOR = RD1
49
|  IOW = WR1
50
|| --------------------------------------------------------
51
|| CONTROLLO REGISTRO HIGH ATA
52
|| HWC => WRITE XXXC (comando clock)
53
|  HWC = (HDA0 & RW' & PHI0)
54
|| HRD => READ  XXXC
55
|  HRD = (HDA0 & RW)
56
|| HWO => WRITE REG. ATA XXX0 (8 bit alti)
57
|  HWO = (RDR0 & RW')