-
Notifications
You must be signed in to change notification settings - Fork 0
/
02_3to8decoder.jed
183 lines (166 loc) · 6.97 KB
/
02_3to8decoder.jed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
Note: The first character in the file is 0x02(Start Transmission)*
N Comment Lines just have to start with an N, all lines end with a *
N: This file was based on a file written by Minipro open source software v0.4dev*
N: The information in this file is compiled from the following sources and experimentation*
N: JEDEC File Format Specification*
N: http://www.pldtool.com/pdf/fmt_jedec.pdf *
N: Lattice Original GAL16v8 Datasheet *
N: http://ee-classes.usc.edu/ee459/library/datasheets/16v8.pdf *
N: ATMEL/Microchip ATF16v8B Datasheet *
N: http://ww1.microchip.com/downloads/en/devicedoc/atmel-0364-pld-atf16v8b-8bq-8bql-datasheet.pdf *
N: Minipro software gitlab site *
N: https://gitlab.com/DavidGriffith/minipro/ *
N: Peepaw McDonald's video Generic Array Logic Hand Disassembly of the JEDEC File *
N: https://www.youtube.com/watch?v=h_d4npbKpdY *
N: FUNCTION *
N: This file implements a 3 to 8 decoder user pins 1(MSB) to 3(LSB) as inputs and Pin 19(000) to 12(111) as the outputs *
N: This uses Simple mode. Has all the outputs activated and set to active low (all XOR bits are 0). *
N: Each output is tied to the equivalent binary value for its decoded value. *
N: For example the L0000 line shows that Pin 19 (000) is connected to /B, /A and /C. *
N: For example the L0768 line shows that Pin 16 (011) is connected to /B, A and C. *
N: Simple Mode *
N: A = Pin 2 *
N: B = Pin 1 *
N: C = Pin 3 *
N: D = Pin 19 *
N: E = Pin 4 *
N: F = Pin 18 *
N: G = Pin 5 *
N: H = Pin 17 *
N: I = Pin 6 *
N: J = Pin 14 *
N: K = Pin 7 *
N: L = Pin 13 *
N: M = Pin 8 *
N: N = Pin 12 *
N: O = Pin 9 *
N: P = Pin 11 *
N: (D) sets the device type*
Device: ATF16V8B*
N (QP) 20 Pins in the ATF16V8B*
QP20*
N: (QF) 2194 Fuses in the ATF16V8B*
QF2194*
N: (F) Default Fuse Setting 0*
F0*
N: (G) Security Fuse set this to 1 to turn on DRM (Boo!)*
G0*
N: (L) These are the Actual fuse setting Starting with the address and then the bits in order *
N: 0=connected, 1=disconnect *
N: The connected signals in each row are ANDed together.*
N: Each block of 8 rows is then ORed together to get the input to the output logic specified by the Mode fuses.*
N: Unused OR gate inputs are usually set to all 0s to hold the unused input low*
N: Block for PIN 19 *
N: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _*
N: AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPP*
L0000 10101011111111111111111111111111*
L0032 00000000000000000000000000000000*
L0064 00000000000000000000000000000000*
L0096 00000000000000000000000000000000*
L0128 00000000000000000000000000000000*
L0160 00000000000000000000000000000000*
L0192 00000000000000000000000000000000*
L0224 00000000000000000000000000000000*
N: Block for PIN 18 *
N: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _*
N: AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPP*
L0256 10100111111111111111111111111111*
L0288 00000000000000000000000000000000*
L0320 00000000000000000000000000000000*
L0352 00000000000000000000000000000000*
L0384 00000000000000000000000000000000*
L0416 00000000000000000000000000000000*
L0448 00000000000000000000000000000000*
L0480 00000000000000000000000000000000*
N: Block for PIN 17 *
N: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _*
N: AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPP*
L0512 01101011111111111111111111111111*
L0544 00000000000000000000000000000000*
L0576 00000000000000000000000000000000*
L0608 00000000000000000000000000000000*
L0640 00000000000000000000000000000000*
L0672 00000000000000000000000000000000*
L0704 00000000000000000000000000000000*
L0736 00000000000000000000000000000000*
N: Block for PIN 16 *
N: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _*
N: AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPP*
L0768 01100111111111111111111111111111*
L0800 00000000000000000000000000000000*
L0832 00000000000000000000000000000000*
L0864 00000000000000000000000000000000*
L0896 00000000000000000000000000000000*
L0928 00000000000000000000000000000000*
L0960 00000000000000000000000000000000*
L0992 00000000000000000000000000000000*
N: Block for PIN 15 *
N: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _*
N: AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPP*
L1024 10011011111111111111111111111111*
L1056 00000000000000000000000000000000*
L1088 00000000000000000000000000000000*
L1120 00000000000000000000000000000000*
L1152 00000000000000000000000000000000*
L1184 00000000000000000000000000000000*
L1216 00000000000000000000000000000000*
L1248 00000000000000000000000000000000*
N: Block for PIN 14 *
N: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _*
N: AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPP*
L1280 10010111111111111111111111111111*
L1312 00000000000000000000000000000000*
L1344 00000000000000000000000000000000*
L1376 00000000000000000000000000000000*
L1408 00000000000000000000000000000000*
L1440 00000000000000000000000000000000*
L1472 00000000000000000000000000000000*
L1504 00000000000000000000000000000000*
N: Block for PIN 13 *
N: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _*
N: AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPP*
L1536 01011011111111111111111111111111*
L1568 00000000000000000000000000000000*
L1600 00000000000000000000000000000000*
L1632 00000000000000000000000000000000*
L1664 00000000000000000000000000000000*
L1696 00000000000000000000000000000000*
L1728 00000000000000000000000000000000*
L1760 00000000000000000000000000000000*
N: Block for PIN 12 *
N: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _*
N: AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPP*
L1792 01010111111111111111111111111111*
L1824 00000000000000000000000000000000*
L1856 00000000000000000000000000000000*
L1888 00000000000000000000000000000000*
L1920 00000000000000000000000000000000*
L1952 00000000000000000000000000000000*
L1984 00000000000000000000000000000000*
L2016 00000000000000000000000000000000*
N: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _*
N: AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPP*
N: XOR set to the the active state of each output (0=low, 1=high)*
N: 11111111*
N: 98765432*
L2048 00000000*
N: Signature*
L2056 0101010101010101010101010101010101010101010101010101010101010101*
N: AC1 sets whether the output pin is enabled(0-output pin, 1-input pin)*
N: 11111111*
N: 98765432*
L2120 00000000*
N: PTD for each input to the OR's from the fuse lines above this sets if they are (1-enabled, 0-disabled)*
L2128 1111111111111111111111111111111111111111111111111111111111111111*
N: SYN and AC0 Sets mode of chip*
N: 00 - Undefined *
N: 01 - Register Mode *
N: 10 - Simple Mode *
N: 11 - Complex Mode *
L2192 10*
N: (C) Checksum of the fuse (L & F) data. The minipro tool can ignore this and will actually tell you how to set it if you want to turn off the warning*
C2c2d*
N: The first character in the last line of the file is 0x03(End Transmission) followed by the file checksum lowercase hex*
N: minipro can ignore this and will actually tell you how to set it if you want to turn off the warning or release a file with an appropriate checksum*
d52b