1
0
mirror of https://github.com/antonblanchard/chiselwatt.git synced 2026-03-02 09:56:54 +00:00
Files
antonblanchard.chiselwatt/pll/pll_mmcme2.v
Anton Blanchard c942fba2a9 Reformat PLLs
Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
2020-02-02 14:03:00 +11:00

27 lines
429 B
Verilog

module pll(
input clki,
output clko,
output lock
);
wire clkfb;
MMCME2_BASE #(
.BANDWIDTH("OPTIMIZED"),
.CLKFBOUT_MULT_F(50.0),
.CLKIN1_PERIOD(83.33),
.CLKOUT0_DIVIDE_F(12.0),
.DIVCLK_DIVIDE(1),
.STARTUP_WAIT("FALSE")
) MMCME2_BASE_inst (
.CLKOUT0(clko),
.CLKFBOUT(clkfb),
.LOCKED(lock),
.CLKIN1(clki),
.PWRDWN(1'b0),
.RST(1'b0),
.CLKFBIN(clkfb)
);
endmodule