fpga: lib: simplify timing in pulse stretch

Original-commit: 2a3520b068456f1fdd291d4f8b0165e435a21757
This commit is contained in:
Max Köhler
2025-01-23 19:18:48 -06:00
committed by Wade Fife
parent edfe117b9c
commit 52cc1735fd
+1 -2
View File
@@ -66,10 +66,9 @@ module pulse_stretch #(
end
1'b1: begin
count <= count + 1'b1;
if (count == SCALE)
state <= 1'b0;
else
count <= count + 1'b1;
end
endcase
end