From 3d91b7e16fdc0733dccdc5f6ff24919b956cca7d Mon Sep 17 00:00:00 2001 From: Luca Date: Sat, 19 Oct 2024 20:24:40 +0200 Subject: [PATCH] fix: divide sys_clk by 2 for dvi_bus_clk --- pixelflut.v | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pixelflut.v b/pixelflut.v index 886e8d7..ade8aca 100644 --- a/pixelflut.v +++ b/pixelflut.v @@ -27,10 +27,16 @@ module pixelflut ( end end + reg dvi_bus_clk; + + always @(posedge sys_clk) begin + dvi_bus_clk <= ~dvi_bus_clk; + end + wire [15:0] dvi_bus; dvi display ( - .bus_clk (sys_clk), + .bus_clk (dvi_bus_clk), .bus_data(dvi_bus), .bus_addr(dvi_bus), .reset (1'b0),