-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdecoder.bsf
More file actions
184 lines (184 loc) · 5.91 KB
/
decoder.bsf
File metadata and controls
184 lines (184 loc) · 5.91 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
/*
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) 2020 Intel Corporation. All rights reserved.
Your use of Intel Corporation's design tools, logic functions
and other software and tools, and any 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 Intel Program License
Subscription Agreement, the Intel Quartus Prime License Agreement,
the Intel FPGA IP License Agreement, or other applicable license
agreement, including, without limitation, that your use is for
the sole purpose of programming logic devices manufactured by
Intel and sold by Intel or its authorized distributors. Please
refer to the applicable agreement for further details, at
https://fpgasoftware.intel.com/eula.
*/
(header "symbol" (version "1.2"))
(symbol
(rect 16 16 184 336)
(text "decoder" (rect 5 0 53 19)(font "Intel Clear" (font_size 8)))
(text "inst" (rect 8 299 24 316)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "IR[7..0]" (rect 0 0 42 19)(font "Intel Clear" (font_size 8)))
(text "IR[7..0]" (rect 21 27 63 46)(font "Intel Clear" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "Carry" (rect 0 0 31 19)(font "Intel Clear" (font_size 8)))
(text "Carry" (rect 21 43 52 62)(font "Intel Clear" (font_size 8)))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 0 64)
(input)
(text "Zero" (rect 0 0 27 19)(font "Intel Clear" (font_size 8)))
(text "Zero" (rect 21 59 48 78)(font "Intel Clear" (font_size 8)))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 0 80)
(input)
(text "CLK" (rect 0 0 23 19)(font "Intel Clear" (font_size 8)))
(text "CLK" (rect 21 75 44 94)(font "Intel Clear" (font_size 8)))
(line (pt 0 80)(pt 16 80))
)
(port
(pt 0 96)
(input)
(text "CE" (rect 0 0 15 19)(font "Intel Clear" (font_size 8)))
(text "CE" (rect 21 91 36 110)(font "Intel Clear" (font_size 8)))
(line (pt 0 96)(pt 16 96))
)
(port
(pt 0 112)
(input)
(text "CLR" (rect 0 0 23 19)(font "Intel Clear" (font_size 8)))
(text "CLR" (rect 21 107 44 126)(font "Intel Clear" (font_size 8)))
(line (pt 0 112)(pt 16 112))
)
(port
(pt 168 32)
(output)
(text "MUXA" (rect 0 0 36 19)(font "Intel Clear" (font_size 8)))
(text "MUXA" (rect 111 27 147 46)(font "Intel Clear" (font_size 8)))
(line (pt 168 32)(pt 152 32))
)
(port
(pt 168 48)
(output)
(text "MUXB" (rect 0 0 36 19)(font "Intel Clear" (font_size 8)))
(text "MUXB" (rect 111 43 147 62)(font "Intel Clear" (font_size 8)))
(line (pt 168 48)(pt 152 48))
)
(port
(pt 168 64)
(output)
(text "MUXC" (rect 0 0 36 19)(font "Intel Clear" (font_size 8)))
(text "MUXC" (rect 111 59 147 78)(font "Intel Clear" (font_size 8)))
(line (pt 168 64)(pt 152 64))
)
(port
(pt 168 80)
(output)
(text "EN_DA" (rect 0 0 41 19)(font "Intel Clear" (font_size 8)))
(text "EN_DA" (rect 106 75 147 94)(font "Intel Clear" (font_size 8)))
(line (pt 168 80)(pt 152 80))
)
(port
(pt 168 96)
(output)
(text "EN_PC" (rect 0 0 40 19)(font "Intel Clear" (font_size 8)))
(text "EN_PC" (rect 107 91 147 110)(font "Intel Clear" (font_size 8)))
(line (pt 168 96)(pt 152 96))
)
(port
(pt 168 112)
(output)
(text "EN_IN" (rect 0 0 36 19)(font "Intel Clear" (font_size 8)))
(text "EN_IN" (rect 111 107 147 126)(font "Intel Clear" (font_size 8)))
(line (pt 168 112)(pt 152 112))
)
(port
(pt 168 128)
(output)
(text "RAM" (rect 0 0 27 19)(font "Intel Clear" (font_size 8)))
(text "RAM" (rect 120 123 147 142)(font "Intel Clear" (font_size 8)))
(line (pt 168 128)(pt 152 128))
)
(port
(pt 168 144)
(output)
(text "ALU_S0" (rect 0 0 48 19)(font "Intel Clear" (font_size 8)))
(text "ALU_S0" (rect 99 139 147 158)(font "Intel Clear" (font_size 8)))
(line (pt 168 144)(pt 152 144))
)
(port
(pt 168 160)
(output)
(text "ALU_S1" (rect 0 0 48 19)(font "Intel Clear" (font_size 8)))
(text "ALU_S1" (rect 99 155 147 174)(font "Intel Clear" (font_size 8)))
(line (pt 168 160)(pt 152 160))
)
(port
(pt 168 176)
(output)
(text "ALU_S2" (rect 0 0 48 19)(font "Intel Clear" (font_size 8)))
(text "ALU_S2" (rect 99 171 147 190)(font "Intel Clear" (font_size 8)))
(line (pt 168 176)(pt 152 176))
)
(port
(pt 168 192)
(output)
(text "ALU_S3" (rect 0 0 48 19)(font "Intel Clear" (font_size 8)))
(text "ALU_S3" (rect 99 187 147 206)(font "Intel Clear" (font_size 8)))
(line (pt 168 192)(pt 152 192))
)
(port
(pt 168 208)
(output)
(text "ALU_S4" (rect 0 0 48 19)(font "Intel Clear" (font_size 8)))
(text "ALU_S4" (rect 99 203 147 222)(font "Intel Clear" (font_size 8)))
(line (pt 168 208)(pt 152 208))
)
(port
(pt 168 224)
(output)
(text "FETCH" (rect 0 0 40 19)(font "Intel Clear" (font_size 8)))
(text "FETCH" (rect 107 219 147 238)(font "Intel Clear" (font_size 8)))
(line (pt 168 224)(pt 152 224))
)
(port
(pt 168 240)
(output)
(text "DECODE" (rect 0 0 50 19)(font "Intel Clear" (font_size 8)))
(text "DECODE" (rect 97 235 147 254)(font "Intel Clear" (font_size 8)))
(line (pt 168 240)(pt 152 240))
)
(port
(pt 168 256)
(output)
(text "EXECUTE" (rect 0 0 55 19)(font "Intel Clear" (font_size 8)))
(text "EXECUTE" (rect 92 251 147 270)(font "Intel Clear" (font_size 8)))
(line (pt 168 256)(pt 152 256))
)
(port
(pt 168 272)
(output)
(text "INCREMENT" (rect 0 0 71 19)(font "Intel Clear" (font_size 8)))
(text "INCREMENT" (rect 76 267 147 286)(font "Intel Clear" (font_size 8)))
(line (pt 168 272)(pt 152 272))
)
(drawing
(rectangle (rect 16 16 152 304))
)
)