From 853bc8e1b782af25e95bf3582cf5069eec6e67d4 Mon Sep 17 00:00:00 2001 From: uvok Date: Fri, 26 Dec 2025 18:08:19 +0100 Subject: Complain about timing --- ser_to_par.v | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ser_to_par.v') diff --git a/ser_to_par.v b/ser_to_par.v index 754fdc0..d56dd03 100644 --- a/ser_to_par.v +++ b/ser_to_par.v @@ -11,6 +11,11 @@ module ser_to_par ( output reg[7:0] dat_o ); +// Learning: +// Ugh, this is fucking stupid. +// if I send out directly at the rising clock edge, +// the output will violate setup and hold times??? +// always @(posedge clk_i or negedge rst_i) begin if (!rst_i) begin dat_o <= 8'b0; -- cgit v1.2.3