1 |
2 |
lucas.vbal |
/*
|
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) 2017 Intel Corporation. All rights reserved.
|
8 |
|
|
Your use of Intel 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 Intel Program License
|
14 |
|
|
Subscription Agreement, the Intel Quartus Prime License Agreement,
|
15 |
|
|
the Intel MegaCore Function License Agreement, or other
|
16 |
|
|
applicable license agreement, including, without limitation,
|
17 |
|
|
that your use is for the sole purpose of programming logic
|
18 |
|
|
devices manufactured by Intel and sold by Intel or its
|
19 |
|
|
authorized distributors. Please refer to the applicable
|
20 |
|
|
agreement for further details.
|
21 |
|
|
*/
|
22 |
|
|
(header "symbol" (version "1.1"))
|
23 |
|
|
(symbol
|
24 |
|
|
(rect 16 16 248 256)
|
25 |
|
|
(text "Sprite_Processor" (rect 5 0 74 12)(font "Arial" ))
|
26 |
|
|
(text "inst" (rect 8 224 20 236)(font "Arial" ))
|
27 |
|
|
(port
|
28 |
|
|
(pt 0 32)
|
29 |
|
|
(input)
|
30 |
|
|
(text "R_in[7..0]" (rect 0 0 40 12)(font "Arial" ))
|
31 |
|
|
(text "R_in[7..0]" (rect 21 27 61 39)(font "Arial" ))
|
32 |
|
|
(line (pt 0 32)(pt 16 32)(line_width 3))
|
33 |
|
|
)
|
34 |
|
|
(port
|
35 |
|
|
(pt 0 48)
|
36 |
|
|
(input)
|
37 |
|
|
(text "G_in[7..0]" (rect 0 0 38 12)(font "Arial" ))
|
38 |
|
|
(text "G_in[7..0]" (rect 21 43 59 55)(font "Arial" ))
|
39 |
|
|
(line (pt 0 48)(pt 16 48)(line_width 3))
|
40 |
|
|
)
|
41 |
|
|
(port
|
42 |
|
|
(pt 0 64)
|
43 |
|
|
(input)
|
44 |
|
|
(text "B_in[7..0]" (rect 0 0 37 12)(font "Arial" ))
|
45 |
|
|
(text "B_in[7..0]" (rect 21 59 58 71)(font "Arial" ))
|
46 |
|
|
(line (pt 0 64)(pt 16 64)(line_width 3))
|
47 |
|
|
)
|
48 |
|
|
(port
|
49 |
|
|
(pt 0 80)
|
50 |
|
|
(input)
|
51 |
|
|
(text "clk" (rect 0 0 10 12)(font "Arial" ))
|
52 |
|
|
(text "clk" (rect 21 75 31 87)(font "Arial" ))
|
53 |
|
|
(line (pt 0 80)(pt 16 80)(line_width 1))
|
54 |
|
|
)
|
55 |
|
|
(port
|
56 |
|
|
(pt 0 96)
|
57 |
|
|
(input)
|
58 |
|
|
(text "rst" (rect 0 0 10 12)(font "Arial" ))
|
59 |
|
|
(text "rst" (rect 21 91 31 103)(font "Arial" ))
|
60 |
|
|
(line (pt 0 96)(pt 16 96)(line_width 1))
|
61 |
|
|
)
|
62 |
|
|
(port
|
63 |
|
|
(pt 0 112)
|
64 |
|
|
(input)
|
65 |
|
|
(text "sprite_id[383..0]" (rect 0 0 62 12)(font "Arial" ))
|
66 |
|
|
(text "sprite_id[383..0]" (rect 21 107 83 119)(font "Arial" ))
|
67 |
|
|
(line (pt 0 112)(pt 16 112)(line_width 3))
|
68 |
|
|
)
|
69 |
|
|
(port
|
70 |
|
|
(pt 0 128)
|
71 |
|
|
(input)
|
72 |
|
|
(text "sprite_x[639..0]" (rect 0 0 61 12)(font "Arial" ))
|
73 |
|
|
(text "sprite_x[639..0]" (rect 21 123 82 135)(font "Arial" ))
|
74 |
|
|
(line (pt 0 128)(pt 16 128)(line_width 3))
|
75 |
|
|
)
|
76 |
|
|
(port
|
77 |
|
|
(pt 0 144)
|
78 |
|
|
(input)
|
79 |
|
|
(text "sprite_y[639..0]" (rect 0 0 62 12)(font "Arial" ))
|
80 |
|
|
(text "sprite_y[639..0]" (rect 21 139 83 151)(font "Arial" ))
|
81 |
|
|
(line (pt 0 144)(pt 16 144)(line_width 3))
|
82 |
|
|
)
|
83 |
|
|
(port
|
84 |
|
|
(pt 0 160)
|
85 |
|
|
(input)
|
86 |
|
|
(text "sprite_color[1023..0]" (rect 0 0 79 12)(font "Arial" ))
|
87 |
|
|
(text "sprite_color[1023..0]" (rect 21 155 100 167)(font "Arial" ))
|
88 |
|
|
(line (pt 0 160)(pt 16 160)(line_width 3))
|
89 |
|
|
)
|
90 |
|
|
(port
|
91 |
|
|
(pt 0 176)
|
92 |
|
|
(input)
|
93 |
|
|
(text "sprite_shape[1023..0]" (rect 0 0 83 12)(font "Arial" ))
|
94 |
|
|
(text "sprite_shape[1023..0]" (rect 21 171 104 183)(font "Arial" ))
|
95 |
|
|
(line (pt 0 176)(pt 16 176)(line_width 3))
|
96 |
|
|
)
|
97 |
|
|
(port
|
98 |
|
|
(pt 0 192)
|
99 |
|
|
(input)
|
100 |
|
|
(text "V_pos_in[9..0]" (rect 0 0 60 12)(font "Arial" ))
|
101 |
|
|
(text "V_pos_in[9..0]" (rect 21 187 81 199)(font "Arial" ))
|
102 |
|
|
(line (pt 0 192)(pt 16 192)(line_width 3))
|
103 |
|
|
)
|
104 |
|
|
(port
|
105 |
|
|
(pt 0 208)
|
106 |
|
|
(input)
|
107 |
|
|
(text "H_pos_in[9..0]" (rect 0 0 59 12)(font "Arial" ))
|
108 |
|
|
(text "H_pos_in[9..0]" (rect 21 203 80 215)(font "Arial" ))
|
109 |
|
|
(line (pt 0 208)(pt 16 208)(line_width 3))
|
110 |
|
|
)
|
111 |
|
|
(port
|
112 |
|
|
(pt 232 32)
|
113 |
|
|
(output)
|
114 |
|
|
(text "R_out[7..0]" (rect 0 0 46 12)(font "Arial" ))
|
115 |
|
|
(text "R_out[7..0]" (rect 165 27 211 39)(font "Arial" ))
|
116 |
|
|
(line (pt 232 32)(pt 216 32)(line_width 3))
|
117 |
|
|
)
|
118 |
|
|
(port
|
119 |
|
|
(pt 232 48)
|
120 |
|
|
(output)
|
121 |
|
|
(text "G_out[7..0]" (rect 0 0 44 12)(font "Arial" ))
|
122 |
|
|
(text "G_out[7..0]" (rect 167 43 211 55)(font "Arial" ))
|
123 |
|
|
(line (pt 232 48)(pt 216 48)(line_width 3))
|
124 |
|
|
)
|
125 |
|
|
(port
|
126 |
|
|
(pt 232 64)
|
127 |
|
|
(output)
|
128 |
|
|
(text "B_out[7..0]" (rect 0 0 43 12)(font "Arial" ))
|
129 |
|
|
(text "B_out[7..0]" (rect 168 59 211 71)(font "Arial" ))
|
130 |
|
|
(line (pt 232 64)(pt 216 64)(line_width 3))
|
131 |
|
|
)
|
132 |
|
|
(drawing
|
133 |
|
|
(rectangle (rect 16 16 216 224)(line_width 1))
|
134 |
|
|
)
|
135 |
|
|
)
|