1 |
2 |
charcole |
/*
|
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 "symbol" (version "1.1"))
|
22 |
|
|
(symbol
|
23 |
|
|
(rect 16 16 216 320)
|
24 |
|
|
(text "boss" (rect 5 0 23 12)(font "Arial" ))
|
25 |
|
|
(text "inst" (rect 8 288 20 300)(font "Arial" ))
|
26 |
|
|
(port
|
27 |
|
|
(pt 0 32)
|
28 |
|
|
(input)
|
29 |
|
|
(text "clk" (rect 0 0 10 12)(font "Arial" ))
|
30 |
|
|
(text "clk" (rect 21 27 31 39)(font "Arial" ))
|
31 |
|
|
(line (pt 0 32)(pt 16 32)(line_width 1))
|
32 |
|
|
)
|
33 |
|
|
(port
|
34 |
|
|
(pt 0 48)
|
35 |
|
|
(input)
|
36 |
|
|
(text "adcDout" (rect 0 0 33 12)(font "Arial" ))
|
37 |
|
|
(text "adcDout" (rect 21 43 54 55)(font "Arial" ))
|
38 |
|
|
(line (pt 0 48)(pt 16 48)(line_width 1))
|
39 |
|
|
)
|
40 |
|
|
(port
|
41 |
|
|
(pt 0 64)
|
42 |
|
|
(input)
|
43 |
|
|
(text "reset" (rect 0 0 20 12)(font "Arial" ))
|
44 |
|
|
(text "reset" (rect 21 59 41 71)(font "Arial" ))
|
45 |
|
|
(line (pt 0 64)(pt 16 64)(line_width 1))
|
46 |
|
|
)
|
47 |
|
|
(port
|
48 |
|
|
(pt 200 48)
|
49 |
|
|
(output)
|
50 |
|
|
(text "waddress[16..0]" (rect 0 0 61 12)(font "Arial" ))
|
51 |
|
|
(text "waddress[16..0]" (rect 118 43 179 55)(font "Arial" ))
|
52 |
|
|
(line (pt 200 48)(pt 184 48)(line_width 3))
|
53 |
|
|
)
|
54 |
|
|
(port
|
55 |
|
|
(pt 200 64)
|
56 |
|
|
(output)
|
57 |
|
|
(text "we" (rect 0 0 10 12)(font "Arial" ))
|
58 |
|
|
(text "we" (rect 169 59 179 71)(font "Arial" ))
|
59 |
|
|
(line (pt 200 64)(pt 184 64)(line_width 1))
|
60 |
|
|
)
|
61 |
|
|
(port
|
62 |
|
|
(pt 200 80)
|
63 |
|
|
(output)
|
64 |
|
|
(text "pe" (rect 0 0 9 12)(font "Arial" ))
|
65 |
|
|
(text "pe" (rect 170 75 179 87)(font "Arial" ))
|
66 |
|
|
(line (pt 200 80)(pt 184 80)(line_width 1))
|
67 |
|
|
)
|
68 |
|
|
(port
|
69 |
|
|
(pt 200 96)
|
70 |
|
|
(output)
|
71 |
|
|
(text "romCS" (rect 0 0 29 12)(font "Arial" ))
|
72 |
|
|
(text "romCS" (rect 150 91 179 103)(font "Arial" ))
|
73 |
|
|
(line (pt 200 96)(pt 184 96)(line_width 1))
|
74 |
|
|
)
|
75 |
|
|
(port
|
76 |
|
|
(pt 200 112)
|
77 |
|
|
(output)
|
78 |
|
|
(text "ramCS" (rect 0 0 29 12)(font "Arial" ))
|
79 |
|
|
(text "ramCS" (rect 150 107 179 119)(font "Arial" ))
|
80 |
|
|
(line (pt 200 112)(pt 184 112)(line_width 1))
|
81 |
|
|
)
|
82 |
|
|
(port
|
83 |
|
|
(pt 200 128)
|
84 |
|
|
(output)
|
85 |
|
|
(text "led0" (rect 0 0 15 12)(font "Arial" ))
|
86 |
|
|
(text "led0" (rect 164 123 179 135)(font "Arial" ))
|
87 |
|
|
(line (pt 200 128)(pt 184 128)(line_width 1))
|
88 |
|
|
)
|
89 |
|
|
(port
|
90 |
|
|
(pt 200 144)
|
91 |
|
|
(output)
|
92 |
|
|
(text "led1" (rect 0 0 14 12)(font "Arial" ))
|
93 |
|
|
(text "led1" (rect 165 139 179 151)(font "Arial" ))
|
94 |
|
|
(line (pt 200 144)(pt 184 144)(line_width 1))
|
95 |
|
|
)
|
96 |
|
|
(port
|
97 |
|
|
(pt 200 160)
|
98 |
|
|
(output)
|
99 |
|
|
(text "led2" (rect 0 0 15 12)(font "Arial" ))
|
100 |
|
|
(text "led2" (rect 164 155 179 167)(font "Arial" ))
|
101 |
|
|
(line (pt 200 160)(pt 184 160)(line_width 1))
|
102 |
|
|
)
|
103 |
|
|
(port
|
104 |
|
|
(pt 200 176)
|
105 |
|
|
(output)
|
106 |
|
|
(text "lcdCS" (rect 0 0 23 12)(font "Arial" ))
|
107 |
|
|
(text "lcdCS" (rect 156 171 179 183)(font "Arial" ))
|
108 |
|
|
(line (pt 200 176)(pt 184 176)(line_width 1))
|
109 |
|
|
)
|
110 |
|
|
(port
|
111 |
|
|
(pt 200 192)
|
112 |
|
|
(output)
|
113 |
|
|
(text "lcdRS" (rect 0 0 24 12)(font "Arial" ))
|
114 |
|
|
(text "lcdRS" (rect 155 187 179 199)(font "Arial" ))
|
115 |
|
|
(line (pt 200 192)(pt 184 192)(line_width 1))
|
116 |
|
|
)
|
117 |
|
|
(port
|
118 |
|
|
(pt 200 208)
|
119 |
|
|
(output)
|
120 |
|
|
(text "lcdReset" (rect 0 0 35 12)(font "Arial" ))
|
121 |
|
|
(text "lcdReset" (rect 144 203 179 215)(font "Arial" ))
|
122 |
|
|
(line (pt 200 208)(pt 184 208)(line_width 1))
|
123 |
|
|
)
|
124 |
|
|
(port
|
125 |
|
|
(pt 200 224)
|
126 |
|
|
(output)
|
127 |
|
|
(text "nadcCS" (rect 0 0 31 12)(font "Arial" ))
|
128 |
|
|
(text "nadcCS" (rect 148 219 179 231)(font "Arial" ))
|
129 |
|
|
(line (pt 200 224)(pt 184 224)(line_width 1))
|
130 |
|
|
)
|
131 |
|
|
(port
|
132 |
|
|
(pt 200 240)
|
133 |
|
|
(output)
|
134 |
|
|
(text "a17" (rect 0 0 12 12)(font "Arial" ))
|
135 |
|
|
(text "a17" (rect 167 235 179 247)(font "Arial" ))
|
136 |
|
|
(line (pt 200 240)(pt 184 240)(line_width 1))
|
137 |
|
|
)
|
138 |
|
|
(port
|
139 |
|
|
(pt 200 256)
|
140 |
|
|
(output)
|
141 |
|
|
(text "a18" (rect 0 0 12 12)(font "Arial" ))
|
142 |
|
|
(text "a18" (rect 167 251 179 263)(font "Arial" ))
|
143 |
|
|
(line (pt 200 256)(pt 184 256)(line_width 1))
|
144 |
|
|
)
|
145 |
|
|
(port
|
146 |
|
|
(pt 200 32)
|
147 |
|
|
(bidir)
|
148 |
|
|
(text "data[7..0]" (rect 0 0 36 12)(font "Arial" ))
|
149 |
|
|
(text "data[7..0]" (rect 143 27 179 39)(font "Arial" ))
|
150 |
|
|
(line (pt 200 32)(pt 184 32)(line_width 3))
|
151 |
|
|
)
|
152 |
|
|
(drawing
|
153 |
|
|
(rectangle (rect 16 16 184 288)(line_width 1))
|
154 |
|
|
)
|
155 |
|
|
)
|