fix some bugs

This commit is contained in:
SikongJueluo
2024-05-17 16:47:28 +08:00
parent d345fed4e7
commit 1ad504cb9f
5 changed files with 17 additions and 10 deletions

View File

@@ -22,7 +22,7 @@ module crop #(
localparam SEND_DATA = 2;
reg [1:0] state, nextState;
reg [11:0] cnt_x, cnt_y;
reg [31:0] cnt_x, cnt_y;
reg [3 * COLOR_DEPTH - 1:0] data;
// 状态切换