forked from jbosset/innovation_project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKROS_simonly.v
57 lines (50 loc) · 957 Bytes
/
KROS_simonly.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
47
48
49
50
51
52
53
54
55
56
57
module KROS_simonly (
input wire CLK_50,
input wire pb_freq_up,
input wire pb_freq_dn,
input pb_seq_up,
input pb_seq_dn,
input reset,
input slow_clk,
output [9:0] LEDR,
output [6:0] HEX0,
output [6:0] HEX1,
output [6:0] HEX2,
output [6:0] HEX3,
output [6:0] HEX4,
output [6:0] HEX5
);
wire [9:0] address_b_sig;
wire [5:0] seq_num;
wire [2:0] freq_num;
//wire slow_clk;
throttle i_throttle (
.CLK_50(CLK_50),
.reset(reset),
.pb_freq_up(pb_freq_up),
.pb_freq_dn(pb_freq_dn),
//.slow_clk(slow_clk),
.freq_num(freq_num)
);
seg_disp i_seq_disp (
.HEX0(HEX0),
.HEX1(HEX1),
.HEX2(HEX2),
.HEX3(HEX3),
.HEX4(HEX4),
.HEX5(HEX5),
.freq_num(freq_num),
.seq_num(seq_num),
.rom_addr(address_b_sig)
);
sequencer i_sequencer (
.pb_seq_up(pb_seq_up),
.pb_seq_dn(pb_seq_dn),
.slow_clk(slow_clk),
.CLK_50(CLK_50),
.reset(reset),
.rom_addr(address_b_sig),
.seq_num(seq_num),
.LEDR(LEDR)
);
endmodule