Added pll to simulation

This commit is contained in:
Jojojoppe
2025-10-01 17:24:53 +02:00
parent 42e9bd0a0a
commit ee58fccba4
11 changed files with 36 additions and 9 deletions

View File

@@ -7,8 +7,15 @@ module toplevel(
output wire led
);
reg led_v;
wire clk_120;
always @(posedge clk or negedge reset_n) begin
gw_pllvr m_pll(
.clkout(clk_120),
.reset(!reset_n),
.clkin(clk)
);
always @(posedge clk_120 or negedge reset_n) begin
if (!reset_n) begin
led_v <= 1'b0;
end else begin