This repository was archived by the owner on Aug 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHC11_CPU.bdf
More file actions
200 lines (200 loc) · 6.26 KB
/
HC11_CPU.bdf
File metadata and controls
200 lines (200 loc) · 6.26 KB
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
/*
WARNING: Do NOT edit the input and output ports in this file in a text
editor if you plan to continue editing the block that represents it in
the Block Editor! File corruption is VERY likely to occur.
*/
/*
Copyright (C) 1991-2009 Altera Corporation
Your use of Altera Corporation's design tools, logic functions
and other software and tools, and its AMPP partner logic
functions, and any output files from any of the foregoing
(including device programming or simulation files), and any
associated documentation or information are expressly subject
to the terms and conditions of the Altera Program License
Subscription Agreement, Altera MegaCore Function License
Agreement, or other applicable license agreement, including,
without limitation, that your use is for the sole purpose of
programming logic devices manufactured by Altera and sold by
Altera or its authorized distributors. Please refer to the
applicable agreement for further details.
*/
//#pragma file_not_in_maxplusii_format
(header "graphic" (version "1.3"))
(symbol
(rect 984 96 1200 256)
(text "Lab_3" (rect 5 0 40 14)(font "Arial" (font_size 8)))
(text "inst1" (rect 8 144 31 156)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "clock" (rect 21 27 50 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "T1_enable" (rect 0 0 59 14)(font "Arial" (font_size 8)))
(text "T1_enable" (rect 21 43 80 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "T2_enable" (rect 0 0 59 14)(font "Arial" (font_size 8)))
(text "T2_enable" (rect 21 59 80 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "reg_select[2..0]" (rect 0 0 88 14)(font "Arial" (font_size 8)))
(text "reg_select[2..0]" (rect 21 75 109 89)(font "Arial" (font_size 8)))
(line (pt 0 80)(pt 16 80)(line_width 3))
)
(port
(pt 0 96)
(input)
(text "ALU_sel[2..0]" (rect 0 0 76 14)(font "Arial" (font_size 8)))
(text "ALU_sel[2..0]" (rect 21 91 97 105)(font "Arial" (font_size 8)))
(line (pt 0 96)(pt 16 96)(line_width 3))
)
(port
(pt 0 112)
(input)
(text "data_sel" (rect 0 0 48 14)(font "Arial" (font_size 8)))
(text "data_sel" (rect 21 107 69 121)(font "Arial" (font_size 8)))
(line (pt 0 112)(pt 16 112)(line_width 1))
)
(port
(pt 0 128)
(input)
(text "data_input[7..0]" (rect 0 0 87 14)(font "Arial" (font_size 8)))
(text "data_input[7..0]" (rect 21 123 108 137)(font "Arial" (font_size 8)))
(line (pt 0 128)(pt 16 128)(line_width 3))
)
(port
(pt 216 32)
(output)
(text "Address[7..0]" (rect 0 0 77 14)(font "Arial" (font_size 8)))
(text "Address[7..0]" (rect 118 27 195 41)(font "Arial" (font_size 8)))
(line (pt 216 32)(pt 200 32)(line_width 3))
)
(port
(pt 216 48)
(output)
(text "C" (rect 0 0 8 14)(font "Arial" (font_size 8)))
(text "C" (rect 187 43 195 57)(font "Arial" (font_size 8)))
(line (pt 216 48)(pt 200 48)(line_width 1))
)
(port
(pt 216 64)
(output)
(text "V" (rect 0 0 9 14)(font "Arial" (font_size 8)))
(text "V" (rect 186 59 195 73)(font "Arial" (font_size 8)))
(line (pt 216 64)(pt 200 64)(line_width 1))
)
(port
(pt 216 80)
(output)
(text "Z" (rect 0 0 8 14)(font "Arial" (font_size 8)))
(text "Z" (rect 187 75 195 89)(font "Arial" (font_size 8)))
(line (pt 216 80)(pt 200 80)(line_width 1))
)
(port
(pt 216 96)
(output)
(text "N" (rect 0 0 8 14)(font "Arial" (font_size 8)))
(text "N" (rect 187 91 195 105)(font "Arial" (font_size 8)))
(line (pt 216 96)(pt 200 96)(line_width 1))
)
(port
(pt 216 112)
(output)
(text "result[7..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
(text "result[7..0]" (rect 135 107 195 121)(font "Arial" (font_size 8)))
(line (pt 216 112)(pt 200 112)(line_width 3))
)
(drawing
(rectangle (rect 16 16 200 144)(line_width 1))
)
)
(symbol
(rect 64 168 200 296)
(text "lab2" (rect 5 0 28 14)(font "Arial" (font_size 8)))
(text "inst" (rect 8 112 25 124)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "D[15..0]" (rect 0 0 43 14)(font "Arial" (font_size 8)))
(text "D[15..0]" (rect 21 27 64 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "LD/CNT" (rect 0 0 42 14)(font "Arial" (font_size 8)))
(text "LD/CNT" (rect 21 43 63 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "CLK" (rect 0 0 23 14)(font "Arial" (font_size 8)))
(text "CLK" (rect 21 59 44 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "RST" (rect 0 0 23 14)(font "Arial" (font_size 8)))
(text "RST" (rect 21 75 44 89)(font "Arial" (font_size 8)))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 136 32)
(output)
(text "q[15..0]" (rect 0 0 42 14)(font "Arial" (font_size 8)))
(text "q[15..0]" (rect 73 27 115 41)(font "Arial" (font_size 8)))
(line (pt 136 32)(pt 120 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 120 112)(line_width 1))
)
)
(symbol
(rect 496 160 656 240)
(text "lpm_rom0" (rect 52 1 119 17)(font "Arial" (font_size 10)))
(text "inst3" (rect 8 64 31 76)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "address[15..0]" (rect 0 0 82 14)(font "Arial" (font_size 8)))
(text "address[15..0]" (rect 20 26 102 40)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "clock" (rect 26 42 55 56)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 160 40)
(output)
(text "q[15..0]" (rect 0 0 42 14)(font "Arial" (font_size 8)))
(text "q[15..0]" (rect 105 34 147 48)(font "Arial" (font_size 8)))
(line (pt 160 40)(pt 144 40)(line_width 3))
)
(drawing
(line (pt 16 16)(pt 144 16)(line_width 1))
(line (pt 144 16)(pt 144 64)(line_width 1))
(line (pt 144 64)(pt 16 64)(line_width 1))
(line (pt 16 64)(pt 16 16)(line_width 1))
(line (pt 16 42)(pt 22 48)(line_width 1))
(line (pt 22 48)(pt 16 54)(line_width 1))
)
)
(rectangle (rect 912 64 1280 424)(fill (color 0 255 0)))
(rectangle (rect -8 96 288 368)(fill (color 255 0 0)))