-
Notifications
You must be signed in to change notification settings - Fork 0
/
game_over_title.v
46 lines (34 loc) · 1.32 KB
/
game_over_title.v
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
module game_over_title(x, y, flush_x, flush_y, colour, enable);
input [7:0] x;
input [7:0] y;
input [7:0] flush_x;
input [7:0] flush_y;
output [5:0] colour;
output enable;
wire [5:0] char_g_colour;
wire char_g_enable;
char_g(x, y, flush_x, flush_y, char_g_colour, char_g_enable);
wire [5:0] char_a_colour;
wire char_a_enable;
char_a(x + 16'd10, y, flush_x, flush_y, char_a_colour, char_a_enable);
wire [5:0] char_m_colour;
wire char_m_enable;
char_m(x + 16'd20, y, flush_x, flush_y, char_m_colour, char_m_enable);
wire [5:0] char_e_colour;
wire char_e_enable;
char_e(x + 16'd30, y, flush_x, flush_y, char_e_colour, char_e_enable);
wire [5:0] char_o_colour;
wire char_o_enable;
char_o(x + 16'd40, y, flush_x, flush_y, char_o_colour, char_o_enable);
wire [5:0] char_v_colour;
wire char_v_enable;
char_v(x + 16'd50, y, flush_x, flush_y, char_v_colour, char_v_enable);
wire [5:0] char_e2_colour;
wire char_e2_enable;
char_e(x + 16'd60, y, flush_x, flush_y, char_e2_colour, char_e2_enable);
wire [5:0] char_r_colour;
wire char_r_enable;
char_r(x + 16'd70, y, flush_x, flush_y, char_r_colour, char_r_enable);
assign colour = char_g_colour;
assign enable = char_g_enable || char_a_enable || char_m_enable || char_e_enable || char_o_enable || char_v_enable || char_e2_enable || char_r_enable;
endmodule