-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpll.v
More file actions
42 lines (36 loc) · 967 Bytes
/
Copy pathpll.v
File metadata and controls
42 lines (36 loc) · 967 Bytes
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
/**
* PLL configuration
*
* This Verilog module was generated automatically
* using the icepll tool from the IceStorm project.
* Use at your own risk.
*
* Given input frequency: 12.000 MHz
* Requested output frequency: 48.000 MHz
* Achieved output frequency: 48.000 MHz
*/
module pll(
input clock_in,
output global_clock,
output locked
);
wire g_lock_int;
wire g_clock_int;
SB_PLL40_CORE #(
.FEEDBACK_PATH("SIMPLE"),
.DIVR(4'b0000), // DIVR = 0
.DIVF(7'b0111111), // DIVF = 63
.DIVQ(3'b100), // DIVQ = 4
.FILTER_RANGE(3'b001) // FILTER_RANGE = 1
) uut (
.LOCK(g_lock_int),
.RESETB(1'b1),
.BYPASS(1'b0),
.REFERENCECLK(clock_in),
.PLLOUTCORE(g_clock_int)
);
SB_GB clk_gb ( .USER_SIGNAL_TO_GLOBAL_BUFFER(g_clock_int)
, .GLOBAL_BUFFER_OUTPUT(global_clock) );
SB_GB lck_gb ( .USER_SIGNAL_TO_GLOBAL_BUFFER(g_lock_int)
, .GLOBAL_BUFFER_OUTPUT(locked) );
endmodule