From 36d351f4e07635a806d5ca67749fa6fb46db810f Mon Sep 17 00:00:00 2001 From: uvok Date: Fri, 26 Dec 2025 18:17:44 +0100 Subject: continue complaining --- par_to_ser.v | 3 ++- ser_to_par.v | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/par_to_ser.v b/par_to_ser.v index 5e261a9..b3a8eb0 100644 --- a/par_to_ser.v +++ b/par_to_ser.v @@ -18,7 +18,8 @@ reg [7:0] send_data = 8'hff; // Learning: // Ugh, this is fucking stupid. // if I send out directly at the rising clock edge, -// the output will violate setup and hold times??? +// the output, when directly used again with the same clock, +// will violate setup and hold times??? // always @(posedge clk_i or negedge rst_i) begin diff --git a/ser_to_par.v b/ser_to_par.v index 14ac831..fc6d22f 100644 --- a/ser_to_par.v +++ b/ser_to_par.v @@ -2,6 +2,7 @@ // Learning: // I don't like this. // I think I need a signal / way to say "I'm finished"? +// or generally, an enable pin. // module ser_to_par ( @@ -14,7 +15,8 @@ module ser_to_par ( // Learning: // Ugh, this is fucking stupid. // if I send out directly at the rising clock edge, -// the output will violate setup and hold times??? +// the output, when directly used again with the same clock, +// will violate setup and hold times??? // always @(posedge clk_i or negedge rst_i) begin if (!rst_i) begin -- cgit v1.2.3