fix offset bug
This commit is contained in:
@@ -66,9 +66,9 @@ module crop #(
|
||||
end
|
||||
end
|
||||
|
||||
if (cnt_x >= IN_WIDTH - 1) begin
|
||||
if (cnt_x >= IN_WIDTH - 3) begin
|
||||
cnt_x <= 0;
|
||||
if (cnt_y >= IN_HEIGHT - 1) begin
|
||||
if (cnt_y >= IN_HEIGHT - 3) begin
|
||||
cnt_y <= 0;
|
||||
end
|
||||
else begin
|
||||
|
Reference in New Issue
Block a user