fpga: lib: simplify timing in pulse stretch
Original-commit: 2a3520b068456f1fdd291d4f8b0165e435a21757
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user