-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathblackbox.v
92 lines (83 loc) · 1.88 KB
/
blackbox.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
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
(* blackbox *)
module seven_segment_seconds (
input wire clk,
input wire reset,
input wire [23:0] compare_in,
input wire update_compare,
output wire [6:0] led_out);
endmodule
(* blackbox *)
module ws2812 (
input wire [23:0] rgb_data,
input wire [7:0] led_num,
input wire write,
input wire reset,
input wire clk, //12MHz
output reg data);
endmodule
(* blackbox *)
module vga_clock (
input wire clk,
input wire reset_n,
input wire adj_hrs,
input wire adj_min,
input wire adj_sec,
output wire hsync,
output wire vsync,
output wire [5:0] rrggbb);
endmodule
(* blackbox *)
module asic_freq(
input wire clk,
input wire rst,
input wire [3:0] addr,
input [31:0] value,
input strobe,
input samplee,
output [31:0] o,
output [31:0] oc,
output tx,
output [8:0] col_drvs,
output [7:0] seg_drvs);
endmodule
(* blackbox *)
module spinet5 (
input clk,
input rst,
input [37:0] io_in,
output [37:0] io_out);
endmodule
(* blackbox *)
module watch_hhmm (
//input wire clk_system_i, // 10 MHz
input wire sysclk_i, // 32.768 KHz shared with SoC
input wire smode_i, // safe mode
input wire sclk_i,// safe clock GPIO 32.768 KHz
input wire rstn_i, // active low
input wire dvalid_i, // Data from wishbone is valid
input wire [11:0] cfg_i, // initial values for counters
output wire [6:0] segment_hxxx,
output wire [6:0] segment_xhxx,
output wire [6:0] segment_xxmx,
output wire [6:0] segment_xxxm
);
endmodule
(* blackbox *)
module challenge(
input uart,
input clk_10,
output led_green,
output led_red
);
endmodule
(* blackbox *)
module MM2hdmi(
input clock,
input reset,
input [15:0] io_data,
input io_newData,
output [7:0] io_red,
output io_vSync,
output io_hSync
);
endmodule