1 |
3 |
gdevic |
/*
|
2 |
|
|
WARNING: Do NOT edit the input and output ports in this file in a text
|
3 |
|
|
editor if you plan to continue editing the block that represents it in
|
4 |
|
|
the Block Editor! File corruption is VERY likely to occur.
|
5 |
|
|
*/
|
6 |
|
|
/*
|
7 |
|
|
Copyright (C) 1991-2013 Altera Corporation
|
8 |
|
|
Your use of Altera Corporation's design tools, logic functions
|
9 |
|
|
and other software and tools, and its AMPP partner logic
|
10 |
|
|
functions, and any output files from any of the foregoing
|
11 |
|
|
(including device programming or simulation files), and any
|
12 |
|
|
associated documentation or information are expressly subject
|
13 |
|
|
to the terms and conditions of the Altera Program License
|
14 |
|
|
Subscription Agreement, Altera MegaCore Function License
|
15 |
|
|
Agreement, or other applicable license agreement, including,
|
16 |
|
|
without limitation, that your use is for the sole purpose of
|
17 |
|
|
programming logic devices manufactured by Altera and sold by
|
18 |
|
|
Altera or its authorized distributors. Please refer to the
|
19 |
|
|
applicable agreement for further details.
|
20 |
|
|
*/
|
21 |
|
|
(header "graphic" (version "1.4"))
|
22 |
|
|
(pin
|
23 |
|
|
(input)
|
24 |
|
|
(rect 40 80 216 96)
|
25 |
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
26 |
|
|
(text "address[15..0]" (rect 9 0 79 12)(font "Arial" ))
|
27 |
|
|
(pt 176 8)
|
28 |
|
|
(drawing
|
29 |
|
|
(line (pt 92 12)(pt 117 12))
|
30 |
|
|
(line (pt 92 4)(pt 117 4))
|
31 |
|
|
(line (pt 121 8)(pt 176 8))
|
32 |
|
|
(line (pt 92 12)(pt 92 4))
|
33 |
|
|
(line (pt 117 4)(pt 121 8))
|
34 |
|
|
(line (pt 117 12)(pt 121 8))
|
35 |
|
|
)
|
36 |
|
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
|
37 |
|
|
)
|
38 |
|
|
(pin
|
39 |
|
|
(input)
|
40 |
|
|
(rect 40 96 216 112)
|
41 |
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
42 |
|
|
(text "clk" (rect 9 0 23 12)(font "Arial" ))
|
43 |
|
|
(pt 176 8)
|
44 |
|
|
(drawing
|
45 |
|
|
(line (pt 92 12)(pt 117 12))
|
46 |
|
|
(line (pt 92 4)(pt 117 4))
|
47 |
|
|
(line (pt 121 8)(pt 176 8))
|
48 |
|
|
(line (pt 92 12)(pt 92 4))
|
49 |
|
|
(line (pt 117 4)(pt 121 8))
|
50 |
|
|
(line (pt 117 12)(pt 121 8))
|
51 |
|
|
)
|
52 |
|
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
|
53 |
|
|
)
|
54 |
|
|
(pin
|
55 |
|
|
(input)
|
56 |
|
|
(rect 40 112 216 128)
|
57 |
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
58 |
|
|
(text "bus_ab_pin_we" (rect 9 0 83 12)(font "Arial" ))
|
59 |
|
|
(pt 176 8)
|
60 |
|
|
(drawing
|
61 |
|
|
(line (pt 92 12)(pt 117 12))
|
62 |
|
|
(line (pt 92 4)(pt 117 4))
|
63 |
|
|
(line (pt 121 8)(pt 176 8))
|
64 |
|
|
(line (pt 92 12)(pt 92 4))
|
65 |
|
|
(line (pt 117 4)(pt 121 8))
|
66 |
|
|
(line (pt 117 12)(pt 121 8))
|
67 |
|
|
)
|
68 |
|
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
|
69 |
|
|
)
|
70 |
|
|
(pin
|
71 |
|
|
(input)
|
72 |
|
|
(rect 40 32 216 48)
|
73 |
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
74 |
|
|
(text "pin_control_oe" (rect 9 0 79 12)(font "Arial" ))
|
75 |
|
|
(pt 176 8)
|
76 |
|
|
(drawing
|
77 |
|
|
(line (pt 92 12)(pt 117 12))
|
78 |
|
|
(line (pt 92 4)(pt 117 4))
|
79 |
|
|
(line (pt 121 8)(pt 176 8))
|
80 |
|
|
(line (pt 92 12)(pt 92 4))
|
81 |
|
|
(line (pt 117 4)(pt 121 8))
|
82 |
|
|
(line (pt 117 12)(pt 121 8))
|
83 |
|
|
)
|
84 |
|
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
|
85 |
|
|
)
|
86 |
|
|
(pin
|
87 |
|
|
(output)
|
88 |
|
|
(rect 568 80 744 96)
|
89 |
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
90 |
|
|
(text "abus[15..0]" (rect 90 0 145 12)(font "Arial" ))
|
91 |
|
|
(pt 0 8)
|
92 |
|
|
(drawing
|
93 |
|
|
(line (pt 0 8)(pt 52 8))
|
94 |
|
|
(line (pt 52 4)(pt 78 4))
|
95 |
|
|
(line (pt 52 12)(pt 78 12))
|
96 |
|
|
(line (pt 52 12)(pt 52 4))
|
97 |
|
|
(line (pt 78 4)(pt 82 8))
|
98 |
|
|
(line (pt 82 8)(pt 78 12))
|
99 |
|
|
(line (pt 78 12)(pt 82 8))
|
100 |
|
|
)
|
101 |
|
|
)
|
102 |
|
|
(symbol
|
103 |
|
|
(rect 480 72 528 104)
|
104 |
|
|
(text "TRI" (rect 1 0 16 10)(font "Arial" (font_size 6)))
|
105 |
|
|
(text "inst" (rect 3 21 20 33)(font "Arial" ))
|
106 |
|
|
(port
|
107 |
|
|
(pt 0 16)
|
108 |
|
|
(input)
|
109 |
|
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
|
110 |
|
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
|
111 |
|
|
(line (pt 0 16)(pt 14 16))
|
112 |
|
|
)
|
113 |
|
|
(port
|
114 |
|
|
(pt 24 0)
|
115 |
|
|
(input)
|
116 |
|
|
(text "OE" (rect 26 0 37 12)(font "Courier New" (bold))(invisible))
|
117 |
|
|
(text "OE" (rect 26 0 37 12)(font "Courier New" (bold))(invisible))
|
118 |
|
|
(line (pt 24 12)(pt 24 0))
|
119 |
|
|
)
|
120 |
|
|
(port
|
121 |
|
|
(pt 48 16)
|
122 |
|
|
(output)
|
123 |
|
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
|
124 |
|
|
(text "OUT" (rect 32 7 46 19)(font "Courier New" (bold))(invisible))
|
125 |
|
|
(line (pt 32 16)(pt 48 16))
|
126 |
|
|
)
|
127 |
|
|
(drawing
|
128 |
|
|
(line (pt 14 25)(pt 14 7))
|
129 |
|
|
(line (pt 14 25)(pt 32 16))
|
130 |
|
|
(line (pt 14 7)(pt 32 16))
|
131 |
|
|
)
|
132 |
|
|
)
|
133 |
|
|
(symbol
|
134 |
|
|
(rect 312 64 376 144)
|
135 |
|
|
(text "DFFE" (rect 1 0 25 10)(font "Arial" (font_size 6)))
|
136 |
|
|
(text "apin_latch" (rect 3 68 52 80)(font "Arial" ))
|
137 |
|
|
(port
|
138 |
|
|
(pt 32 0)
|
139 |
|
|
(input)
|
140 |
|
|
(text "PRN" (rect 24 13 41 25)(font "Courier New" (bold)))
|
141 |
|
|
(text "PRN" (rect 24 11 41 23)(font "Courier New" (bold)))
|
142 |
|
|
(line (pt 32 4)(pt 32 0))
|
143 |
|
|
)
|
144 |
|
|
(port
|
145 |
|
|
(pt 32 80)
|
146 |
|
|
(input)
|
147 |
|
|
(text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold)))
|
148 |
|
|
(text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold)))
|
149 |
|
|
(line (pt 32 80)(pt 32 76))
|
150 |
|
|
)
|
151 |
|
|
(port
|
152 |
|
|
(pt 0 24)
|
153 |
|
|
(input)
|
154 |
|
|
(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
|
155 |
|
|
(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
|
156 |
|
|
(line (pt 0 24)(pt 12 24))
|
157 |
|
|
)
|
158 |
|
|
(port
|
159 |
|
|
(pt 0 40)
|
160 |
|
|
(input)
|
161 |
|
|
(text "CLK" (rect 2 28 19 40)(font "Courier New" (bold))(invisible))
|
162 |
|
|
(text "CLK" (rect 2 28 19 40)(font "Courier New" (bold))(invisible))
|
163 |
|
|
(line (pt 0 40)(pt 12 40))
|
164 |
|
|
)
|
165 |
|
|
(port
|
166 |
|
|
(pt 0 56)
|
167 |
|
|
(input)
|
168 |
|
|
(text "ENA" (rect 14 50 31 62)(font "Courier New" (bold)))
|
169 |
|
|
(text "ENA" (rect 14 50 31 62)(font "Courier New" (bold)))
|
170 |
|
|
(line (pt 0 56)(pt 12 56))
|
171 |
|
|
)
|
172 |
|
|
(port
|
173 |
|
|
(pt 64 24)
|
174 |
|
|
(output)
|
175 |
|
|
(text "Q" (rect 44 20 49 32)(font "Courier New" (bold)))
|
176 |
|
|
(text "Q" (rect 44 20 48 32)(font "Courier New" (bold)))
|
177 |
|
|
(line (pt 53 24)(pt 64 24))
|
178 |
|
|
)
|
179 |
|
|
(drawing
|
180 |
|
|
(line (pt 12 68)(pt 52 68))
|
181 |
|
|
(line (pt 12 12)(pt 52 12))
|
182 |
|
|
(line (pt 52 68)(pt 52 12))
|
183 |
|
|
(line (pt 12 68)(pt 12 12))
|
184 |
|
|
(line (pt 12 34)(pt 19 41))
|
185 |
|
|
(line (pt 18 41)(pt 12 47))
|
186 |
|
|
(circle (rect 28 4 36 12))
|
187 |
|
|
(circle (rect 28 68 36 76))
|
188 |
|
|
)
|
189 |
|
|
)
|
190 |
|
|
(symbol
|
191 |
|
|
(rect 240 88 288 120)
|
192 |
|
|
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
|
193 |
|
|
(text "nclk" (rect 3 21 23 33)(font "Arial" ))
|
194 |
|
|
(port
|
195 |
|
|
(pt 0 16)
|
196 |
|
|
(input)
|
197 |
|
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
|
198 |
|
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
|
199 |
|
|
(line (pt 0 16)(pt 13 16))
|
200 |
|
|
)
|
201 |
|
|
(port
|
202 |
|
|
(pt 48 16)
|
203 |
|
|
(output)
|
204 |
|
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
|
205 |
|
|
(text "OUT" (rect 32 7 46 19)(font "Courier New" (bold))(invisible))
|
206 |
|
|
(line (pt 39 16)(pt 48 16))
|
207 |
|
|
)
|
208 |
|
|
(drawing
|
209 |
|
|
(line (pt 13 25)(pt 13 7))
|
210 |
|
|
(line (pt 13 7)(pt 31 16))
|
211 |
|
|
(line (pt 13 25)(pt 31 16))
|
212 |
|
|
(circle (rect 31 12 39 20))
|
213 |
|
|
)
|
214 |
|
|
)
|
215 |
|
|
(connector
|
216 |
|
|
(pt 216 88)
|
217 |
|
|
(pt 312 88)
|
218 |
|
|
(bus)
|
219 |
|
|
)
|
220 |
|
|
(connector
|
221 |
|
|
(pt 216 120)
|
222 |
|
|
(pt 312 120)
|
223 |
|
|
)
|
224 |
|
|
(connector
|
225 |
|
|
(pt 504 40)
|
226 |
|
|
(pt 504 72)
|
227 |
|
|
)
|
228 |
|
|
(connector
|
229 |
|
|
(pt 216 40)
|
230 |
|
|
(pt 504 40)
|
231 |
|
|
)
|
232 |
|
|
(connector
|
233 |
|
|
(pt 376 88)
|
234 |
|
|
(pt 480 88)
|
235 |
|
|
(bus)
|
236 |
|
|
)
|
237 |
|
|
(connector
|
238 |
|
|
(pt 528 88)
|
239 |
|
|
(pt 568 88)
|
240 |
|
|
(bus)
|
241 |
|
|
)
|
242 |
|
|
(connector
|
243 |
|
|
(pt 216 104)
|
244 |
|
|
(pt 240 104)
|
245 |
|
|
)
|
246 |
|
|
(connector
|
247 |
|
|
(pt 288 104)
|
248 |
|
|
(pt 312 104)
|
249 |
|
|
)
|
250 |
|
|
(text "Repeated 16 times, once for each address pin." (rect 472 144 738 158)(font "Arial" (font_size 8)))
|
251 |
|
|
(title_block
|
252 |
|
|
(rect 40 184 297 236)
|
253 |
|
|
(name "title-custom-small")
|
254 |
|
|
(section (rect 0 0 256 17)(text "PROJECT" (rect 2 0 52 12)(font "Arial" ))(text "A-Z80" (rect 56 2 94 17)(font "Arial" (font_size 9)(bold)))(border))
|
255 |
|
|
(section (rect 104 0 256 17)(text "MODULE" (rect 2 1 48 13)(font "Arial" ))(text "address_pins" (rect 43 2 135 17)(font "Arial" (font_size 9)(bold)))(border))
|
256 |
|
|
(section (rect 0 18 256 34)(text "DESIGNER" (rect 2 0 59 12)(font "Arial" ))(text "Goran Devic" (rect 56 2 135 17)(font "Arial" (font_size 9)))(border))
|
257 |
|
|
(section (rect 0 35 256 51)(text "DATE" (rect 2 0 30 12)(font "Arial" ))(text "June 14, 2014" (rect 56 3 136 17)(font "Arial" (font_size 8)))(border))
|
258 |
|
|
(section (rect 192 35 256 51)(text "REV" (rect 2 1 25 13)(font "Arial" ))(text "1.3" (rect 43 3 60 17)(font "Arial" (font_size 8)))(border))
|
259 |
|
|
(drawing
|
260 |
|
|
)
|
261 |
|
|
)
|