Added PLL/clock generator and SD RC model

This commit is contained in:
Joppe Blondel
2025-10-19 15:36:55 +02:00
parent 3b04f3a6be
commit eb7caaf2c5
10 changed files with 615 additions and 16 deletions

15
sim/overrides/clk_gen.v Normal file
View File

@@ -0,0 +1,15 @@
`timescale 1ns/1ps
// =============================================================================
// Clock generator/PLL
// Simple direct generation for simulation purposes
// =============================================================================
module clk_gen(
input wire clk_in,
output wire clk_out_15
);
reg clk_15;
initial clk_15 <= 1'b0;
always #6.667 clk_15 <= !clk_15;
assign clk_out_15 = clk_15;
endmodule