-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path03_chaser.jed
216 lines (193 loc) · 8.28 KB
/
03_chaser.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
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
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 uses the example of a simple chser light type setup to show how register mode can be *
N: used to build a simple state machine. All 8 outputs are used and buffer in flip flops. The only *
N: input is a single clock. and the state transitions are very simple *
N: +-------+ *
N: Clock -| 1 20|- Vcc *
N: UNUSED -| 2 19|- Output7 (MSB) *
N: UNUSED -| 3 18|- Output6 *
N: UNUSED -| 4 17|- Output5 *
N: UNUSED -| 5 16|- Output4 *
N: UNUSED -| 6 15|- Output3 *
N: UNUSED -| 7 14|- Output2 *
N: UNUSED -| 8 13|- Output1 *
N: UNUSED -| 9 12|- Output0 (LSB) *
N: GND -|10 11|- /OE *
N: +-------+ *
N: | Prev State | Next State | *
N: |------------|------------| *
N: | 0000 0001 | 0000 0010 | *
N: | 0000 0010 | 0000 0100 | *
N: | 0000 0100 | 0000 1000 | *
N: | 0000 1000 | 0001 0000 | *
N: | 0001 0000 | 0010 0000 | *
N: | 0010 0000 | 0100 0000 | *
N: | 0100 0000 | 1000 0000 | *
N: | 1000 0000 | 0000 0001 | *
N: | Default | 0000 0001 | *
N: This state machine requires every line to only go high on a single possible input state. The exception being the LSB line which goes high in all but 7 possible states. That is less than the 8 line limit, so this will fit in the part, though the LSB (pin12) will have to be negative logic so we set it to active low. *
N: Register Mode *
N: A = Pin 2 *
N: B = Pin 19 *
N: C = Pin 3 *
N: D = Pin 18 *
N: E = Pin 4 *
N: F = Pin 17 *
N: G = Pin 5 *
N: H = Pin 16 *
N: I = Pin 6 *
N: J = Pin 15 *
N: K = Pin 7 *
N: L = Pin 14 *
N: M = Pin 8 *
N: N = Pin 13 *
N: O = Pin 9 *
N: P = Pin 12 *
N: Pin1 : Clock *
N: Pin11: /OE *
N: Because the device is using register mode pin11 must be tied low to enable the output. *
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 00000000000000000000000000000000*
L0032 00000000000000000000000000000000*
L0064 00000000000000000000000000000000*
L0096 00000000000000000000000000000000*
L0128 00000000000000000000000000000000*
L0160 00000000000000000000000000000000*
L0192 00000000000000000000000000000000*
L0224 11101101111011101110111011101110*
N: Block for PIN 18 *
N: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _*
N: AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPP*
L0256 00000000000000000000000000000000*
L0288 00000000000000000000000000000000*
L0320 00000000000000000000000000000000*
L0352 00000000000000000000000000000000*
L0384 00000000000000000000000000000000*
L0416 00000000000000000000000000000000*
L0448 00000000000000000000000000000000*
L0480 11101110110111101110111011101110*
N: Block for PIN 17 *
N: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _*
N: AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPP*
L0512 00000000000000000000000000000000*
L0544 00000000000000000000000000000000*
L0576 00000000000000000000000000000000*
L0608 00000000000000000000000000000000*
L0640 00000000000000000000000000000000*
L0672 00000000000000000000000000000000*
L0704 00000000000000000000000000000000*
L0736 11101110111011011110111011101110*
N: Block for PIN 16 *
N: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _*
N: AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPP*
L0768 00000000000000000000000000000000*
L0800 00000000000000000000000000000000*
L0832 00000000000000000000000000000000*
L0864 00000000000000000000000000000000*
L0896 00000000000000000000000000000000*
L0928 00000000000000000000000000000000*
L0960 00000000000000000000000000000000*
L0992 11101110111011101101111011101110*
N: Block for PIN 15 *
N: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _*
N: AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPP*
L1024 00000000000000000000000000000000*
L1056 00000000000000000000000000000000*
L1088 00000000000000000000000000000000*
L1120 00000000000000000000000000000000*
L1152 00000000000000000000000000000000*
L1184 00000000000000000000000000000000*
L1216 00000000000000000000000000000000*
L1248 11101110111011101110110111101110*
N: Block for PIN 14 *
N: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _*
N: AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPP*
L1280 00000000000000000000000000000000*
L1312 00000000000000000000000000000000*
L1344 00000000000000000000000000000000*
L1376 00000000000000000000000000000000*
L1408 00000000000000000000000000000000*
L1440 00000000000000000000000000000000*
L1472 00000000000000000000000000000000*
L1504 11101110111011101110111011011110*
N: Block for PIN 13 *
N: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _*
N: AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPP*
L1536 00000000000000000000000000000000*
L1568 00000000000000000000000000000000*
L1600 00000000000000000000000000000000*
L1632 00000000000000000000000000000000*
L1664 00000000000000000000000000000000*
L1696 00000000000000000000000000000000*
L1728 00000000000000000000000000000000*
L1760 11101110111011101110111011101101*
N: Block for PIN 12 *
N: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _*
N: AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPP*
L1792 00000000000000000000000000000000*
L1824 11101110111011101110111011101101*
L1856 11101110111011101110111011011110*
L1888 11101110111011101110110111101110*
L1920 11101110111011101101111011101110*
L1952 11101110111011011110111011101110*
L1984 11101110110111101110111011101110*
L2016 11101101111011101110111011101110*
N: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _*
N: AABBCCDDEEFFGGHHIIJJKKLLMMNNOOPP*
N: XOR set to the the active state of each output (0=low, 1=high)*
N: 11111111*
N: 98765432*
L2048 11111110*
N: Signature*
L2056 0101010101010101010101010101010101010101010101010101010101010101*
N: AC1 sets whether the output pin is registered(0-output pin, 1-input pin)*
N: In register mode, registered outputs feedback the output whether enabled or not *
N: combinatorial outputs use the first logic line to control OE per 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 01*
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*
C29e9*
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*
2c76