> build_npc_VKeyboard_nvboard

ysyx_22040000 李心杨
 Linux calcite 6.1.69 #1-NixOS SMP PREEMPT_DYNAMIC Wed Dec 20 16:00:29 UTC 2023 x86_64 GNU/Linux
  20:50:49  up 2 days 19:51,  2 users,  load average: 1.16, 0.91, 0.89
This commit is contained in:
tracer-ysyx 2024-01-10 20:50:49 +08:00 committed by xinyangli
parent 187aa3fc23
commit 8a51531a09

View file

@ -41,6 +41,9 @@ class SegGenerator(seg_count: Int) extends Module {
}.elsewhen(!release_state) { }.elsewhen(!release_state) {
keycode := io.keycode.bits keycode := io.keycode.bits
counter.inc() counter.inc()
}.otherwise{
// Release code on io.keycode.bits
release_state := false.B
} }
} }