From d9727c4202731bb187e983770bacffb03672998b 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: Thu, 16 May 2024 09:10:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=80=E4=B8=AA=E8=AF=AD?= =?UTF-8?q?=E6=B3=95=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- led_matrix/key.v | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/led_matrix/key.v b/led_matrix/key.v index a693e5c..3a1a685 100644 --- a/led_matrix/key.v +++ b/led_matrix/key.v @@ -63,12 +63,11 @@ reg [7:0] y; always @(posedge sys_clk or negedge sys_rst) begin if (sys_rst == 1'b0) begin x <= 8'b0000_0000; + y <= 8'b1111_1111; end else begin - x <= KEY_CODE + x <= KEY_CODE; end - - endcase end lm u_lm(