From 3eb9fc25f7a7ba2d0e7897f01b6ba29424c338f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=B3=E5=85=89=E5=B0=91=E5=B9=B4?= <849317537@qq.com> Date: Tue, 14 May 2024 15:49:01 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=80=E5=8D=95=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- led_matrix/tb_lm.v | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/led_matrix/tb_lm.v b/led_matrix/tb_lm.v index dbd4ed2..2f3d32e 100644 --- a/led_matrix/tb_lm.v +++ b/led_matrix/tb_lm.v @@ -47,8 +47,7 @@ reg [7:0]x; reg [7:0]y; always @(posedge sys_clk or negedge sys_rst) begin if (sys_rst == 1'b0) begin - k_1 <= 1'b0; - k_2 <= 1'b0; + {k_2, k_1} <= 2'b11; x <= 8'b00000000; y <= 8'b11111111; // 所有的都显示算了 end