-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstruction_decoder.bsf
More file actions
114 lines (114 loc) · 3.83 KB
/
instruction_decoder.bsf
File metadata and controls
114 lines (114 loc) · 3.83 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
/*
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 160 240)
(text "instruction_decoder" (rect 5 0 121 19)(font "Intel Clear" (font_size 8)))
(text "inst" (rect 8 203 24 220)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "A[7..0]" (rect 0 0 38 19)(font "Intel Clear" (font_size 8)))
(text "A[7..0]" (rect 21 27 59 46)(font "Intel Clear" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 144 32)
(output)
(text "JUMPZ" (rect 0 0 43 19)(font "Intel Clear" (font_size 8)))
(text "JUMPZ" (rect 80 27 123 46)(font "Intel Clear" (font_size 8)))
(line (pt 144 32)(pt 128 32))
)
(port
(pt 144 48)
(output)
(text "INPT" (rect 0 0 29 19)(font "Intel Clear" (font_size 8)))
(text "INPT" (rect 94 43 123 62)(font "Intel Clear" (font_size 8)))
(line (pt 144 48)(pt 128 48))
)
(port
(pt 144 64)
(output)
(text "JUMPNZ" (rect 0 0 53 19)(font "Intel Clear" (font_size 8)))
(text "JUMPNZ" (rect 70 59 123 78)(font "Intel Clear" (font_size 8)))
(line (pt 144 64)(pt 128 64))
)
(port
(pt 144 80)
(output)
(text "OUTPT" (rect 0 0 43 19)(font "Intel Clear" (font_size 8)))
(text "OUTPT" (rect 80 75 123 94)(font "Intel Clear" (font_size 8)))
(line (pt 144 80)(pt 128 80))
)
(port
(pt 144 96)
(output)
(text "JUMPC" (rect 0 0 43 19)(font "Intel Clear" (font_size 8)))
(text "JUMPC" (rect 80 91 123 110)(font "Intel Clear" (font_size 8)))
(line (pt 144 96)(pt 128 96))
)
(port
(pt 144 112)
(output)
(text "LOAD" (rect 0 0 34 19)(font "Intel Clear" (font_size 8)))
(text "LOAD" (rect 89 107 123 126)(font "Intel Clear" (font_size 8)))
(line (pt 144 112)(pt 128 112))
)
(port
(pt 144 128)
(output)
(text "JUMPNC" (rect 0 0 53 19)(font "Intel Clear" (font_size 8)))
(text "JUMPNC" (rect 70 123 123 142)(font "Intel Clear" (font_size 8)))
(line (pt 144 128)(pt 128 128))
)
(port
(pt 144 144)
(output)
(text "ADD" (rect 0 0 27 19)(font "Intel Clear" (font_size 8)))
(text "ADD" (rect 96 139 123 158)(font "Intel Clear" (font_size 8)))
(line (pt 144 144)(pt 128 144))
)
(port
(pt 144 160)
(output)
(text "JUMP" (rect 0 0 35 19)(font "Intel Clear" (font_size 8)))
(text "JUMP" (rect 88 155 123 174)(font "Intel Clear" (font_size 8)))
(line (pt 144 160)(pt 128 160))
)
(port
(pt 144 176)
(output)
(text "SUB" (rect 0 0 25 19)(font "Intel Clear" (font_size 8)))
(text "SUB" (rect 98 171 123 190)(font "Intel Clear" (font_size 8)))
(line (pt 144 176)(pt 128 176))
)
(port
(pt 144 192)
(output)
(text "BITAND" (rect 0 0 47 19)(font "Intel Clear" (font_size 8)))
(text "BITAND" (rect 76 187 123 206)(font "Intel Clear" (font_size 8)))
(line (pt 144 192)(pt 128 192))
)
(drawing
(rectangle (rect 16 16 128 208))
)
)