From 8a51531a09738208440969b903d730f26c6ed1e7 Mon Sep 17 00:00:00 2001 From: tracer-ysyx Date: Wed, 10 Jan 2024 20:50:49 +0800 Subject: [PATCH] =?UTF-8?q?>=20build=5Fnpc=5FVKeyboard=5Fnvboard=20=20ysyx?= =?UTF-8?q?=5F22040000=20=E6=9D=8E=E5=BF=83=E6=9D=A8=20=20Linux=20calcite?= =?UTF-8?q?=206.1.69=20#1-NixOS=20SMP=20PREEMPT=5FDYNAMIC=20Wed=20Dec=2020?= =?UTF-8?q?=2016:00:29=20UTC=202023=20x86=5F64=20GNU/Linux=20=20=2020:50:4?= =?UTF-8?q?9=20=20up=202=20days=2019:51,=20=202=20users,=20=20load=20avera?= =?UTF-8?q?ge:=201.16,=200.91,=200.89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- npc/core/src/main/scala/SegGenerator.scala | 3 +++ 1 file changed, 3 insertions(+) diff --git a/npc/core/src/main/scala/SegGenerator.scala b/npc/core/src/main/scala/SegGenerator.scala index ecdb4a6..56e65b8 100644 --- a/npc/core/src/main/scala/SegGenerator.scala +++ b/npc/core/src/main/scala/SegGenerator.scala @@ -41,6 +41,9 @@ class SegGenerator(seg_count: Int) extends Module { }.elsewhen(!release_state) { keycode := io.keycode.bits counter.inc() + }.otherwise{ + // Release code on io.keycode.bits + release_state := false.B } }